Write bmp slides as file1.bmp, file2.bmp...
조회 수: 1 (최근 30일)
이전 댓글 표시
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
채택된 답변
Image Analyst
2012년 9월 10일
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
추가 답변 (0개)
참고 항목
카테고리
Help Center 및 File Exchange에서 Resizing and Reshaping Matrices에 대해 자세히 알아보기
제품
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!