opencv::cudaarithm

Function polar_to_cart

Source
pub fn polar_to_cart(
    magnitude: &impl ToInputArray,
    angle: &impl ToInputArray,
    x: &mut impl ToOutputArray,
    y: &mut impl ToOutputArray,
    angle_in_degrees: bool,
    stream: &mut impl StreamTrait,
) -> Result<()>
Expand description

Converts polar coordinates into Cartesian.

§Parameters

  • magnitude: Source matrix containing magnitudes ( CV_32FC1 or CV_64FC1 ).
  • angle: Source matrix containing angles ( same type as magnitude ).
  • x: Destination matrix of real components ( same type as magnitude ).
  • y: Destination matrix of imaginary components ( same type as magnitude ).
  • angleInDegrees: Flag that indicates angles in degrees.
  • stream: Stream for the asynchronous version.

§C++ default parameters

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