[−][src]Function opencv::imgproc::log_polar
pub fn log_polar(
src: &dyn ToInputArray,
dst: &mut dyn ToOutputArray,
center: Point2f,
m: f64,
flags: i32
) -> Result<()>
Deprecated:
This function produces same result as cv::warpPolar(src, dst, src.size(), center, maxRadius, flags+WARP_POLAR_LOG);
Remaps an image to semilog-polar coordinates space.
Deprecated: This function produces same result as cv::warpPolar(src, dst, src.size(), center, maxRadius, flags+WARP_POLAR_LOG);
@internal Transform the source image using the following transformation (See @ref polar_remaps_reference_image "Polar remaps reference image d)"):
where
and
The function emulates the human "foveal" vision and can be used for fast scale and rotation-invariant template matching, for object tracking and so forth.
Parameters
- src: Source image
- dst: Destination image. It will have same size and type as src.
- center: The transformation center; where the output precision is maximal
- M: Magnitude scale parameter. It determines the radius of the bounding circle to transform 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::linearPolar @endinternal