EasyImage::SetCircleWarp

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

Namespace: Euresys::Open_eVision

[C++]

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

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 destination 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 destination polar image).

minimumAngle

Starting angle of the ring-wedge shape.

maximumAngle

Ending angle of the ring-wedge shape.

warpImageX

Destination warp image for the abscissas.

warpImageY

Destination warp image for the ordinates.

Remarks

Typical use is unwarping of a text printed around a circle.

Note. A ring-wedge is delimited by two concentric circles and two straight lines passing through the center.

EasyImage.SetCircleWarp

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

Namespace: Euresys.Open_eVision

[C#]

void SetCircleWarp(
   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
)

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 destination 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 destination polar image).

minimumAngle

Starting angle of the ring-wedge shape.

maximumAngle

Ending angle of the ring-wedge shape.

warpImageX

Destination warp image for the abscissas.

warpImageY

Destination warp image for the ordinates.

Remarks

Typical use is unwarping of a text printed around a circle.

Note. A ring-wedge is delimited by two concentric circles and two straight lines passing through the center.