how to change hyperspectral image size array?

7 ビュー (過去 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]);
  1 件のコメント
esra cindir
esra cindir 2021 年 4 月 24 日
thank you :) it worked .

サインインしてコメントする。

カテゴリ

Help Center および File ExchangeHyperspectral Image Processing についてさらに検索

タグ

Community Treasure Hunt

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

Start Hunting!

Translated by