pub fn linear_polar(
src: &impl ToInputArray,
dst: &mut impl 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)
Expand description
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 [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 [interpolation_flags]
Note:
- The function can not operate in-place.
- To calculate magnitude and angle in degrees [cart_to_polar] is used internally thus angles are measured from 0 to 360 with accuracy about 0.3 degrees.
§See also
cv::logPolar @endinternal