Function polar_to_cart_2

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

Converts polar coordinates into Cartesian.

§Parameters

  • magnitudeAngle: Source matrix containing magnitudes and angles ( CV_32FC2 or CV_64FC2 ).
  • xy: Destination matrix of real and imaginary components ( same depth as source ).
  • angleInDegrees: Flag that indicates angles in degrees.
  • stream: Stream for the asynchronous version.

§C++ default parameters

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