EasyImage::SetCircleWarp
Prepares suitable warp images for use with function EasyImage::Warp to unwarp a circular ring-wedge shape into a straight rectangle.
Namespace: Euresys::Open_eVision_2_11
[C++]
void SetCircleWarp(
float centerX,
float centerY,
OEV_INT32 numberOfRadialSampledPoints,
float minimumRadius,
float maximumRadius,
OEV_INT32 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.
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.
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.
Namespace: Euresys.Open_eVision_2_11
[C#]
void SetCircleWarp(
float centerX,
float centerY,
int numberOfRadialSampledPoints,
float minimumRadius,
float maximumRadius,
int numberOfTangentSampledPoints,
float minimumAngle,
float maximumAngle,
Euresys.Open_eVision_2_11.EImageBW16 warpImageX,
Euresys.Open_eVision_2_11.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.
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.
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.