2D Gray scale volumatric image slicing: with uniform cross-section
3 次查看(过去 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.
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!