opencv::cudaarithm

Function cart_to_polar_1_def

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

Converts Cartesian coordinates into polar.

§Parameters

  • xy: Source matrix containing real and imaginary components ( CV_32FC2 ).
  • 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_1 function uses the following default values for its arguments:

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