how to change hyperspectral image size array?

조회 수: 1 (최근 30일)
esra cindir
esra cindir 2021년 4월 20일
댓글: esra cindir 2021년 4월 24일
I want to change my image size from 3248x242x256 to 3248x256x242 . what should i do?

답변 (1개)

Subhadeep Koley
Subhadeep Koley 2021년 4월 21일
This code snippet might help.
% Creating a random data
dataCube = rand(3248,242,256);
% Permuting the 2nd and 3rd channel
dataCubeNew = permute(dataCube, [1 3 2]);

카테고리

Help CenterFile Exchange에서 Display Point Clouds에 대해 자세히 알아보기

태그

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by