reconstruction of 3D FROM 2D
10 views (last 30 days)
Show older comments
SIR,i have 15 images stored in a folder,it is of 2d (i.e)the images are of slices)15 slices of images,now i want to make a single image from those 15 images,(i.e) forming like a cube,can anyone tell how to process please
0 Comments
Accepted Answer
Wayne King
on 7 Oct 2011
You just asked this in your other post. Initialize a 3-D array and place the images in the 3rd dimension.
4 Comments
Image Analyst
on 7 Oct 2011
I'm not sure why you say that. You can certainly stock 2D images into a 3D stack (array) using the image3D = cat(3, image1, ..... image15) command. It's not a cube unless the 2D images are 15x15, but it is a 3D array that can be considered as an image and can be operated on with normal MATLAB commands and image processing functions. Even if it were a perfect 15x15x15 cube I think you could consider it an image. I also have several 3D data sets that have various file formats. Perhaps I misunderstood what you were trying to tell him. I think he was just trying to build a 3D array from his 2D slice arrays.
Nishanth Menon
on 14 Oct 2011
Image analyst, I think FIR is trying to ask if there is any function with which we can visualize the 3D array. I think his doubt is after creating the 3D array, how should can he see the stacked images, like rotate and see the various layers (which is possible when functions like surf() is used). Even I would like to know the answer for this. So could anyone kindly help.
More Answers (0)
See Also
Categories
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!