3d image visulalisation

8 views (last 30 days)
prashant singh
prashant singh on 24 Dec 2017
Edited: Walter Roberson on 22 May 2018
I had set of 2d slices of 3d images. I combine them into array of size 1024*512*128. I have tried to visualize the 3d image using viewer3d and some other tools but without any success.
  2 Comments
prashant singh
prashant singh on 26 Dec 2017
i have 2d slices of 1024*512.

Sign in to comment.

Accepted Answer

Walter Roberson
Walter Roberson on 26 Dec 2017
If you have R2017a or later you could try volumeViewer()

More Answers (5)

hf fh
hf fh on 22 May 2018
I am very interested in learning on the MATLAB I would like to use to convert 2D-images into 3D -volume by using volume Viewer(); but I have problem-saving the format How so,,,
  1 Comment
Walter Roberson
Walter Roberson on 22 May 2018
According to your other postings, you do not have 2D images, you have color images. volumeViewer() cannot be used for stacks of color image.

Sign in to comment.


hf fh
hf fh on 22 May 2018
I have two-dimensional color images and I want to convert to three dimensions I tried to use it volume Viewer(); But when you save the volume there is no save for it

hf fh
hf fh on 22 May 2018
When extracting images from the Matlab shows me these edges !!! how to get rid of them I want to see the shape as size 3D using volume Viewer(); as a figure 1 thank you very much
  1 Comment
Walter Roberson
Walter Roberson on 22 May 2018
https://www.mathworks.com/help/images/ref/imclearborder.html

Sign in to comment.


hf fh
hf fh on 22 May 2018
Edited: Walter Roberson on 22 May 2018
imclearborder (), ==> This method did not fit images because it hid information in the images.
I used this method as like https://www.mathworks.com/matlabcentral/answers/23921-remove-white-space-from-around-image but I still have a problem with 20 images, it is very difficult to use it in the future.
maybe need 100 images how can I apply it to 20 or 100 images
this method good just input one image
Each time I enter an image this is very difficult for a large number of images

hf fh
hf fh on 22 May 2018
Edited: Walter Roberson on 22 May 2018
this good for 100 images
folder = '/Users/mac/Desktop/fiel2/RemoveWhiteSpace/RemoveWhiteSpace/semple';
for k = 1 : 99
% Read one image.
u_in = mat2gray(imread( fullfile(folder, sprintf('%d.tif', k) )));
%figure, imshow(u_in);
figure(k), imshow(RemoveWhiteSpace(u_in));
RemoveWhiteSpace([], 'file', sprintf('%d.tif', k) , 'output', sprintf('%d.png', k));
end

Community Treasure Hunt

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

Start Hunting!