2D Gray scale volumatric image slicing: with uniform cross-section
조회 수: 1 (최근 30일)
이전 댓글 표시
Hii,
I am having problem with slicing the 2d gray scale volumatric image (as like the attached image ). Below to the text, I have shown one example of uniform slicing of 2D Gray scale volumatric image to 2D gray scale planar image. It would be my pleasure if anyone could find a solution to such slicing process.
Please try to slice the attached image.
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/326018/image.bmp)
댓글 수: 2
답변 (1개)
Vimal Rathod
2020년 7월 6일
편집: Vimal Rathod
2020년 7월 6일
You could view individual XY planes by doing normal matrix slicing and using "imshow" function. You can check each of the image plane and select the one which you want.
img = load('image_file'); % img size = K x L x M
imshow(img(:,:,n)); % where n can be any value from 1 to M
you could also use sliceViewer to view all the slides using a GUI.
s = sliceViewer(img);
For more info you could refer to the following links
참고 항목
카테고리
Help Center 및 File Exchange에서 Image Processing Toolbox에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!