| image = | unrollRingImg (inImg,inCenter2d,inRadius,inRingHalfThickness,inOptOutSizeX) |
| image = | unrollRingImg (inImg,inCenter2d,inRadius,inRingHalfThickness,inOptTheta0,inOptInterpolationPolicy,inOptOutSizeX) |
algorithm allowing to unroll surface of a ring
This algorithm allows to unroll surface of a ring into an image to a rectangular image area.
Given an input image
, and the following information :
: center for considered ring (x and y coordinates)
: radius for considered ring
: half thickness for considered ring
: an optional starting angle for unrolling process (with null default value)
: an optional interpolation policy used during unrolling process (see ipsdk::imaproc::attr::eInterpolationPolicy for more informations)algorithm will compute the unrolled surface of considered ring with respect to following figure :
Output image can be automatically created, in this case, user must setup
parameter.
Here is an example of application of UnrollRingImg algorithm on a 2d image :
Here is an other example of application of UnrollRingImg algorithm on a 2d image :
This algorithm can also be used on 3d cylinder oriented with respect to z axis :