Function opencv::core::transpose_nd
source · pub fn transpose_nd(
src: &impl ToInputArray,
order: &Vector<i32>,
dst: &mut impl ToOutputArray
) -> Result<()>
Expand description
Transpose for n-dimensional matrices.
Note: Input should be continuous single-channel matrix.
Parameters
- src: input array.
- order: a permutation of [0,1,..,N-1] where N is the number of axes of src. The i’th axis of dst will correspond to the axis numbered order[i] of the input.
- dst: output array of the same type as src.