cart_to_polar_2

Function cart_to_polar_2 

Source
pub fn cart_to_polar_2(
    xy: &impl ToInputArray,
    magnitude_angle: &mut impl ToOutputArray,
    angle_in_degrees: bool,
    stream: &mut impl StreamTrait,
) -> Result<()>
Expand description

Converts Cartesian coordinates into polar.

§Parameters

  • xy: Source matrix containing real and imaginary components ( CV_32FC2 ).
  • magnitudeAngle: Destination matrix of float magnitudes and angles ( CV_32FC2 ).
  • angleInDegrees: Flag for angles that must be evaluated in degrees.
  • stream: Stream for the asynchronous version.

§See also

cartToPolar

§C++ default parameters

  • angle_in_degrees: false
  • stream: Stream::Null()