EWorldShape::SetupUnwarp

Prepares a lookup table for fast image unwarping.

Namespace: Euresys::Open_eVision

[C++]

void SetupUnwarp(
   EUnwarpingLut* lookupTable,
   EROIBW8* sourceImage,
   bool interpolate
)

void SetupUnwarp(
   EUnwarpingLut* lookupTable,
   EROIC24* sourceImage,
   bool interpolate
)

Parameters

lookupTable

Pointer to the lookup table.

sourceImage

Pointer to the source image/ROI.

interpolate

Interpolation mode. Default value is false.

Remarks

The function should be called each time the system is re-calibrated (after the optical setup has been changed, for instance). A sample source image has to be supplied to EWorldShape::SetupUnwarp, and its row pitch is recorded in order to speedup the unwarping process. This implies that the following calls to EWorldShape::Unwarp are not allowed to use images with row pitches different from the source image initially supplied to EWorldShape::SetupUnwarp.

EWorldShape.SetupUnwarp

Prepares a lookup table for fast image unwarping.

Namespace: Euresys.Open_eVision

[C#]

void SetupUnwarp(
   Euresys.Open_eVision.EUnwarpingLut lookupTable,
   Euresys.Open_eVision.EROIBW8 sourceImage,
   bool interpolate
)

void SetupUnwarp(
   Euresys.Open_eVision.EUnwarpingLut lookupTable,
   Euresys.Open_eVision.EROIC24 sourceImage,
   bool interpolate
)

Parameters

lookupTable

Pointer to the lookup table.

sourceImage

Pointer to the source image/ROI.

interpolate

Interpolation mode. Default value is false.

Remarks

The function should be called each time the system is re-calibrated (after the optical setup has been changed, for instance). A sample source image has to be supplied to EWorldShape::SetupUnwarp, and its row pitch is recorded in order to speedup the unwarping process. This implies that the following calls to EWorldShape::Unwarp are not allowed to use images with row pitches different from the source image initially supplied to EWorldShape::SetupUnwarp.