cart_to_polar_def

Function cart_to_polar_def 

Source
pub fn cart_to_polar_def(
    x: &impl ToInputArray,
    y: &impl ToInputArray,
    magnitude: &mut impl ToOutputArray,
    angle: &mut impl ToOutputArray,
) -> Result<()>
Expand description

Converts Cartesian coordinates into polar.

§Parameters

  • x: Source matrix containing real components ( CV_32FC1 ).
  • y: Source matrix containing imaginary components ( CV_32FC1 ).
  • magnitude: Destination matrix of float magnitudes ( CV_32FC1 ).
  • angle: Destination matrix of angles ( CV_32FC1 ).
  • angleInDegrees: Flag for angles that must be evaluated in degrees.
  • stream: Stream for the asynchronous version.

§See also

cartToPolar

§Note

This alternative version of cart_to_polar function uses the following default values for its arguments:

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