EWorldShape::SetupUnwarp
Prepares a lookup table for fast image unwarping.
Namespace: Euresys::Open_eVision
[C++]
void SetupUnwarp(
EUnwarpingLut
* lookupTable,
EROIBW8
* sourceImage,
bool interpolate,
bool resizeDestination
)
void SetupUnwarp(
EUnwarpingLut
* lookupTable,
EROIC24
* sourceImage,
bool interpolate,
bool resizeDestination
)
Parameters
lookupTable
Pointer to the lookup table.
sourceImage
Pointer to the source image/ROI.
interpolate
Interpolation mode. Default value is true
.
resizeDestination
Resize the destination image to match the unwarped image size. 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 this method, 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
this method.
EWorldShape.SetupUnwarp
Prepares a lookup table for fast image unwarping.
Namespace: Euresys.Open_eVision
[C#]
void SetupUnwarp(
EUnwarpingLut
lookupTable,
EROIBW8
sourceImage,
bool interpolate,
bool resizeDestination
)
void SetupUnwarp(
EUnwarpingLut
lookupTable,
EROIC24
sourceImage,
bool interpolate,
bool resizeDestination
)
Parameters
lookupTable
Pointer to the lookup table.
sourceImage
Pointer to the source image/ROI.
interpolate
Interpolation mode. Default value is true
.
resizeDestination
Resize the destination image to match the unwarped image size. 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 this method, 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
this method.
EWorldShape.SetupUnwarp
Prepares a lookup table for fast image unwarping.
Module: open_evision
[Python]
SetupUnwarp(
lookupTable: EUnwarpingLut
sourceImage: EROIBW8
interpolate: bool
resizeDestination: bool
) -> None
SetupUnwarp(
lookupTable: EUnwarpingLut
sourceImage: EROIBW8
interpolate: bool
) -> None
SetupUnwarp(
lookupTable: EUnwarpingLut
sourceImage: EROIBW8
) -> None
SetupUnwarp(
lookupTable: EUnwarpingLut
sourceImage: EROIC24
interpolate: bool
resizeDestination: bool
) -> None
SetupUnwarp(
lookupTable: EUnwarpingLut
sourceImage: EROIC24
interpolate: bool
) -> None
SetupUnwarp(
lookupTable: EUnwarpingLut
sourceImage: EROIC24
) -> None
Parameters
lookupTable
Pointer to the lookup table.
sourceImage
Pointer to the source image/ROI.
interpolate
Interpolation mode. Default value is true
.
resizeDestination
Resize the destination image to match the unwarped image size. 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 this method, 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
this method.