[−][src]Function opencv::imgproc::linear_polar
pub fn linear_polar(
src: &dyn ToInputArray,
dst: &mut dyn ToOutputArray,
center: Point2f,
max_radius: f64,
flags: i32
) -> Result<()>
Deprecated:
This function produces same result as cv::warpPolar(src, dst, src.size(), center, maxRadius, flags)
Remaps an image to polar coordinates space.
Deprecated: This function produces same result as cv::warpPolar(src, dst, src.size(), center, maxRadius, flags)
@internal Transform the source image using the following transformation (See @ref polar_remaps_reference_image "Polar remaps reference image c)"):
where
and
Parameters
- src: Source image
- dst: Destination image. It will have same size and type as src.
- center: The transformation center;
- maxRadius: The radius of the bounding circle to transform. It determines the inverse magnitude scale parameter too.
- flags: A combination of interpolation methods, see #InterpolationFlags
Note:
- 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.
See also
cv::logPolar @endinternal