select the odd or even frames of a volume
Ältere Kommentare anzeigen
hi every body. i have a volume which consist of 430 images and the size of each image is 512*512. so the size of the volume is 512*512*430.
because of the large capacity of the volume, i want to select construct the volume with half of the number of images to have the volume of size 512*512*215
and i want to select the odd or even indexes of images.
how can i do that?
2 Kommentare
Walter Roberson
am 16 Jun. 2019
odd_volume = the_volume(:,:,1:2:end);
even_volume = the_volume(:,:,2:2:end);
talayeh ghodsi
am 16 Jun. 2019
Akzeptierte Antwort
Weitere Antworten (0)
Kategorien
Mehr zu Image Processing Toolbox finden Sie in Hilfe-Center und File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!