pub fn magnitude_sqr_1(
x: &impl ToInputArray,
y: &impl ToInputArray,
magnitude: &mut impl ToOutputArray,
stream: &mut impl StreamTrait,
) -> Result<()>Expand description
Computes squared magnitudes of complex matrix elements.
§Parameters
- xy: Source complex matrix in the interleaved format ( CV_32FC2 ).
- magnitude: Destination matrix of float magnitude squares ( CV_32FC1 ).
- stream: Stream for the asynchronous version.
§Overloaded parameters
computes squared magnitude of each (x(i), y(i)) vector supports only floating-point source
- x: Source matrix containing real components ( CV_32FC1 ).
- y: Source matrix containing imaginary components ( CV_32FC1 ).
- magnitude: Destination matrix of float magnitude squares ( CV_32FC1 ).
- stream: Stream for the asynchronous version.
§C++ default parameters
- stream: Stream::Null()