Function opencv::core::transpose

source ·
pub fn transpose(
    src: &impl ToInputArray,
    dst: &mut impl ToOutputArray,
) -> Result<()>
Expand description

Transposes a matrix.

The function cv::transpose transposes the matrix src : block formula

Note: No complex conjugation is done in case of a complex matrix. It should be done separately if needed.

§Parameters

  • src: input array.
  • dst: output array of the same type as src.