how can i make 3d image from 2d slices ?

5 views (last 30 days)
hi, how can i make 3d image from 5 slices of 2d images (rgb) ?
i tried cat command but when i wrote imshow to show the resulted image it tell that there was an error in this command (imshow) so what shall i do ?
this is what appeared ;
Error in imshow (line 253)
images.internal.imageDisplayParseInputs({'Parent','Border','Reduce'},preparsed_varargin{:});
  3 Comments
KALYAN ACHARJYA
KALYAN ACHARJYA on 23 Jan 2022
Please see the multi-dimensional array.
What does 2D & 3D images mean? You may consider the multiple depth layer in 3d array with individual slices.
Sally Sakr
Sally Sakr on 23 Jan 2022
@Matt J I mean that the images that I have are colored 2d images, I only try to get a 3d image from 5 slices

Sign in to comment.

Accepted Answer

Matt J
Matt J on 23 Jan 2022
Edited: Matt J on 23 Jan 2022
imshow is for displaying 2D images. For 3D images (grayscale), you could use volumeViewer.

More Answers (0)

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!