how to change hyperspectral image size array?

7 vues (au cours des 30 derniers jours)
esra cindir
esra cindir le 20 Avr 2021
Commenté : esra cindir le 24 Avr 2021
I want to change my image size from 3248x242x256 to 3248x256x242 . what should i do?

Réponses (1)

Subhadeep Koley
Subhadeep Koley le 21 Avr 2021
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]);

Catégories

En savoir plus sur Hyperspectral Image Processing dans Help Center et File Exchange

Tags

Community Treasure Hunt

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

Start Hunting!

Translated by