EWorldShape::Unwarp

Unwarps a distorted image using the current calibration model.

Namespace: Euresys::Open_eVision

[C++]

void Unwarp(
   EROIBW8* sourceImage,
   EROIBW8* destinationImage,
   bool interpolate,
   bool resizeDestination
)

void Unwarp(
   EROIC24* sourceImage,
   EROIC24* destinationImage,
   bool interpolate,
   bool resizeDestination
)

void Unwarp(
   EUnwarpingLut* lookupTable,
   EROIBW8* sourceImage,
   EROIBW8* destinationImage,
   bool interpolate
)

void Unwarp(
   EUnwarpingLut* lookupTable,
   EROIC24* sourceImage,
   EROIC24* destinationImage,
   bool interpolate
)

Parameters

sourceImage

Pointer to the source image/ROI.

destinationImage

Pointer to the destination unwarped image. If optionnal parameter resizeDestination is false (default value) then the source and destination images must have the same size.

interpolate

Interpolation mode. Default value is true.

resizeDestination

Resize the destination image to match the unwarped image size. Default value is false.

lookupTable

Pointer to the lookup table.

Remarks

Using a precomputed lookup table allows speeding up the unwarping process. The lookup table is initialized by means of the EWorldShape::SetupUnwarp function.

EWorldShape.Unwarp

Unwarps a distorted image using the current calibration model.

Namespace: Euresys.Open_eVision

[C#]

void Unwarp(
   EROIBW8 sourceImage,
   EROIBW8 destinationImage,
   bool interpolate,
   bool resizeDestination
)

void Unwarp(
   EROIC24 sourceImage,
   EROIC24 destinationImage,
   bool interpolate,
   bool resizeDestination
)

void Unwarp(
   EUnwarpingLut lookupTable,
   EROIBW8 sourceImage,
   EROIBW8 destinationImage,
   bool interpolate
)

void Unwarp(
   EUnwarpingLut lookupTable,
   EROIC24 sourceImage,
   EROIC24 destinationImage,
   bool interpolate
)

Parameters

sourceImage

Pointer to the source image/ROI.

destinationImage

Pointer to the destination unwarped image. If optionnal parameter resizeDestination is false (default value) then the source and destination images must have the same size.

interpolate

Interpolation mode. Default value is true.

resizeDestination

Resize the destination image to match the unwarped image size. Default value is false.

lookupTable

Pointer to the lookup table.

Remarks

Using a precomputed lookup table allows speeding up the unwarping process. The lookup table is initialized by means of the EWorldShape.SetupUnwarp function.

EWorldShape.Unwarp

Unwarps a distorted image using the current calibration model.

Module: open_evision

[Python]

Unwarp(
    sourceImage: EROIBW8
    destinationImage: EROIBW8
    interpolate: bool
    resizeDestination: bool
) -> None

Unwarp(
    sourceImage: EROIBW8
    destinationImage: EROIBW8
    interpolate: bool
) -> None

Unwarp(
    sourceImage: EROIBW8
    destinationImage: EROIBW8
) -> None

Unwarp(
    sourceImage: EROIC24
    destinationImage: EROIC24
    interpolate: bool
    resizeDestination: bool
) -> None

Unwarp(
    sourceImage: EROIC24
    destinationImage: EROIC24
    interpolate: bool
) -> None

Unwarp(
    sourceImage: EROIC24
    destinationImage: EROIC24
) -> None

Unwarp(
    lookupTable: EUnwarpingLut
    sourceImage: EROIBW8
    destinationImage: EROIBW8
    interpolate: bool
) -> None

Unwarp(
    lookupTable: EUnwarpingLut
    sourceImage: EROIBW8
    destinationImage: EROIBW8
) -> None

Unwarp(
    lookupTable: EUnwarpingLut
    sourceImage: EROIC24
    destinationImage: EROIC24
    interpolate: bool
) -> None

Unwarp(
    lookupTable: EUnwarpingLut
    sourceImage: EROIC24
    destinationImage: EROIC24
) -> None

Parameters

sourceImage

Pointer to the source image/ROI.

destinationImage

Pointer to the destination unwarped image. If optionnal parameter resizeDestination is false (default value) then the source and destination images must have the same size.

interpolate

Interpolation mode. Default value is true.

resizeDestination

Resize the destination image to match the unwarped image size. Default value is false.

lookupTable

Pointer to the lookup table.

Remarks

Using a precomputed lookup table allows speeding up the unwarping process. The lookup table is initialized by means of the EWorldShape.SetupUnwarp function.