[][src]Function opencv::cudaarithm::magnitude_sqr_1

pub fn magnitude_sqr_1(
    x: &dyn ToInputArray,
    y: &dyn ToInputArray,
    magnitude: &mut dyn ToOutputArray,
    stream: &mut Stream
) -> Result<()>

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()