Function opencv::cudaarithm::cart_to_polar
source · pub fn cart_to_polar(
x: &dyn ToInputArray,
y: &dyn ToInputArray,
magnitude: &mut dyn ToOutputArray,
angle: &mut dyn ToOutputArray,
angle_in_degrees: bool,
stream: &mut Stream
) -> 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
C++ default parameters
- angle_in_degrees: false
- stream: Stream::Null()