Method WarpPolar
- Namespace
- OpenCvSharp
- Assembly
- OpenCvSharp.dll
WarpPolar(InputArray, OutputArray, Size, Point2f, double, InterpolationFlags, WarpPolarMode)
Remaps an image to polar or semilog-polar coordinates space.
public static void WarpPolar(InputArray src, OutputArray dst, Size dsize, Point2f center, double maxRadius, InterpolationFlags interpolationFlags, WarpPolarMode warpPolarMode)
Parameters
srcInputArraySource image.
dstOutputArrayDestination image. It will have same type as src.
dsizeSizeThe destination image size (see description for valid options).
centerPoint2fThe transformation center.
maxRadiusdoubleThe radius of the bounding circle to transform. It determines the inverse magnitude scale parameter too.
interpolationFlagsInterpolationFlagsinterpolation methods.
warpPolarModeWarpPolarModeinterpolation methods.
Remarks
- The function can not operate in-place.
- To calculate magnitude and angle in degrees #cartToPolar is used internally thus angles are measured from 0 to 360 with accuracy about 0.3 degrees.
- This function uses #remap. Due to current implementation limitations the size of an input and output images should be less than 32767x32767.