HOW TO CONVERT 2D IMAGE TO 3D IMAGES.
65 views (last 30 days)
Show older comments
mohd akmal masud on 8 Oct 2021
Commented: DGM on 8 Oct 2021
I have 41 slice images in png format.
Anyone know how to convert it into 3D images. So that the images converted have thickness (let say 2.332).
I've tried like below but failed.
I = imread('images1.png');
Images13D = repmat(I, 1, 1, 2.332);
imwrite(Images13D ,'Images13D.png ');
anyone can help me?
DGM on 8 Oct 2021
You've already asked this question and the reason that this won't work has already been explained. You were given a suggestion to use meshgrid/ndgrid.
Find more on Image Processing Toolbox in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!Start Hunting!