VCLib Documentation  6.12.2

Polar Image Transformations

Polar Image Transformations

Functions

I32 polar_image_transform (image *src, image *dst, F32 t[2], U32 r0, U8 bgnd)
 Subpixel Interpolated Polar to Cartesian Image Transformation, Integer Version. More...
 
I32 polar_image_transform2 (image *src, image *dst, F32 t[2], F32 r0, U8 bgnd)
 Subpixel Interpolated Polar to Cartesian Image Transformation, float Version. More...
 

Detailed Description

Function Documentation

◆ polar_image_transform()

I32 polar_image_transform ( image src,
image dst,
float  t[2],
U32  r0,
U8  bgnd 
)

This function calculates a bilinear interpolated transformation from polar coordinates into cartesian coordinates (Integer Version).

Parameters
[in]srcPoints to Source Image.
[out]dstPoints to Destination Image.
[in]tInverse 2D Translation Vector.
[in]r0Minimum Radius for Transform.
[in]bgndBackground Grey Value.

This function may be used to unwrap circular barcode or characters written e.g. on a CD-ROM or wafer.

Memory Consumption
None.
See also
affine_image_transform().
Return values
ERR_FORMATif src or dst is NULL.
ERR_NONEon Success.

◆ polar_image_transform2()

I32 polar_image_transform2 ( image src,
image dst,
float  t[2],
float  r0,
U8  bgnd 
)

This function calculates a bilinear interpolated transformation from polar coordinates into cartesian coordinates (float Version).

Parameters
[in]srcPoints to Source Image.
[out]dstPoints to Destination Image.
[in]tInverse 2D Translation Vector.
[in]r0Minimum Radius for Transform.
[in]bgndBackground Grey Value.

This function may be used to unwrap circular barcode or characters written e.g. on a CD-ROM or wafer.

See also
affine_image_transform().
Return values
ERR_FORMATif src or dst is NULL.
ERR_NONEon Success.