| 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
)
Public Shared Sub WarpPolar (
src As InputArray,
dst As OutputArray,
dsize As Size,
center As Point2f,
maxRadius As Double,
interpolationFlags As InterpolationFlags,
warpPolarMode As WarpPolarMode
)
public:
static void WarpPolar(
InputArray^ src,
OutputArray^ dst,
Size dsize,
Point2f center,
double maxRadius,
InterpolationFlags interpolationFlags,
WarpPolarMode warpPolarMode
)
static member WarpPolar :
src : InputArray *
dst : OutputArray *
dsize : Size *
center : Point2f *
maxRadius : float *
interpolationFlags : InterpolationFlags *
warpPolarMode : WarpPolarMode -> unit
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