Click or drag to resize

Cv2WarpPolar Method

Remaps an image to polar or semilog-polar coordinates space.

Namespace:  OpenCvSharp
Assembly:  OpenCvSharp (in OpenCvSharp.dll) Version: 1.0.0
Syntax
public static void WarpPolar(
	InputArray src,
	OutputArray dst,
	Size dsize,
	Point2f center,
	double maxRadius,
	InterpolationFlags interpolationFlags,
	WarpPolarMode warpPolarMode
)

Parameters

src
Type: OpenCvSharpInputArray
Source image.
dst
Type: OpenCvSharpOutputArray
Destination image. It will have same type as src.
dsize
Type: OpenCvSharpSize
The destination image size (see description for valid options).
center
Type: OpenCvSharpPoint2f
The transformation center.
maxRadius
Type: SystemDouble
The radius of the bounding circle to transform. It determines the inverse magnitude scale parameter too.
interpolationFlags
Type: OpenCvSharpInterpolationFlags
interpolation methods.
warpPolarMode
Type: OpenCvSharpWarpPolarMode
interpolation 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.
See Also