EasyImage::SetInvCircleWarp

Prepares suitable warp images for use with function EasyImage::Warp to unwarp a straight rectangle into a circular ring-wedge shape. This is a polar to cartesian image conversion function.
See also EasyImage::SetCircleWarp.

Namespace: Euresys::Open_eVision

[C++]

void SetInvCircleWarp(
   float centerX,
   float centerY,
   int numberOfRadialSampledPoints,
   float minimumRadius,
   float maximumRadius,
   int numberOfTangentSampledPoints,
   float minimumAngle,
   float maximumAngle,
   EImageBW16* warpImageX,
   EImageBW16* warpImageY,
   int warpImageWidth,
   int warpImageHeight
)

Parameters

centerX

Abscissa of the ring-wedge center.

centerY

Ordinate of the ring-wedge center.

numberOfRadialSampledPoints

Number of points to be sampled in the radial direction (the height of the source polar image).

minimumRadius

Starting radius of the ring-wedge shape.

maximumRadius

Ending radius of the ring-wedge shape.

numberOfTangentSampledPoints

Number of points to be sampled in the tangent direction (the width of the source polar image).

minimumAngle

Starting angle of the ring-wedge shape.

maximumAngle

Ending angle of the ring-wedge shape.

warpImageX

Destination cartesian image for the abscissas.

warpImageY

Destination cartesian image for the ordinates.

warpImageWidth

The width of the destination cartesian images. Optional parameter, if omitted a best fit size is calculated.

warpImageHeight

The height of the destination cartesian images. Optional parameter, if omitted a best fit size is calculated.

EasyImage.SetInvCircleWarp

Prepares suitable warp images for use with function EasyImage::Warp to unwarp a straight rectangle into a circular ring-wedge shape. This is a polar to cartesian image conversion function.
See also EasyImage::SetCircleWarp.

Namespace: Euresys.Open_eVision

[C#]

void SetInvCircleWarp(
   float centerX,
   float centerY,
   int numberOfRadialSampledPoints,
   float minimumRadius,
   float maximumRadius,
   int numberOfTangentSampledPoints,
   float minimumAngle,
   float maximumAngle,
   Euresys.Open_eVision.EImageBW16 warpImageX,
   Euresys.Open_eVision.EImageBW16 warpImageY,
   int warpImageWidth,
   int warpImageHeight
)

Parameters

centerX

Abscissa of the ring-wedge center.

centerY

Ordinate of the ring-wedge center.

numberOfRadialSampledPoints

Number of points to be sampled in the radial direction (the height of the source polar image).

minimumRadius

Starting radius of the ring-wedge shape.

maximumRadius

Ending radius of the ring-wedge shape.

numberOfTangentSampledPoints

Number of points to be sampled in the tangent direction (the width of the source polar image).

minimumAngle

Starting angle of the ring-wedge shape.

maximumAngle

Ending angle of the ring-wedge shape.

warpImageX

Destination cartesian image for the abscissas.

warpImageY

Destination cartesian image for the ordinates.

warpImageWidth

The width of the destination cartesian images. Optional parameter, if omitted a best fit size is calculated.

warpImageHeight

The height of the destination cartesian images. Optional parameter, if omitted a best fit size is calculated.