Write bmp slides as file1.bmp, file2.bmp...
1 Ansicht (letzte 30 Tage)
Ältere Kommentare anzeigen
I have a 3D binary volume and I want to write the corresponding slices.
I can write the bmp, the problem is thet i want them to be file1.bmp, file2.bmp...
how can I do a for for that?
iiPlane = 1; %this is the number of the slice
ui8BScan = getBScan(stcVolData.ui8Vol, iiPlane);
imwrite(ui8BScan,'/home/matt/Desktop/file','bmp')
this code gives me the bmp in the first slice
0 Kommentare
Akzeptierte Antwort
Image Analyst
am 10 Sep. 2012
See the FAQ for several code examples on how to do this: http://matlab.wikia.com/wiki/FAQ#How_can_I_process_a_sequence_of_files.3F
0 Kommentare
Weitere Antworten (0)
Siehe auch
Kategorien
Mehr zu Resizing and Reshaping Matrices finden Sie in Help Center und File Exchange
Produkte
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!