HOW TO CONVERT 2D IMAGE TO 3D IMAGES.

57 views (last 30 days)
mohd akmal masud
mohd akmal masud on 8 Oct 2021
Commented: DGM on 8 Oct 2021
Hi All,
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?
  1 Comment
DGM
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.

Sign in to comment.

Answers (0)

Categories

Find more on Convert Image Type 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!