3d image visulalisation

3 次查看(过去 30 天)
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 个评论
KSSV
KSSV 2017-12-26
编辑:KSSV 2017-12-26
2D slice is of size 1024X512X3? or 1024X512 ? You my use a loop ans use imshow.
prashant singh
prashant singh 2017-12-26
i have 2d slices of 1024*512.

请先登录,再进行评论。

采纳的回答

Walter Roberson
Walter Roberson 2017-12-26
If you have R2017a or later you could try volumeViewer()

更多回答(5 个)

hf fh
hf fh 2018-5-22
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 个评论
Walter Roberson
Walter Roberson 2018-5-22
According to your other postings, you do not have 2D images, you have color images. volumeViewer() cannot be used for stacks of color image.

请先登录,再进行评论。


hf fh
hf fh 2018-5-22
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 2018-5-22
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 个评论
Walter Roberson
Walter Roberson 2018-5-22
https://www.mathworks.com/help/images/ref/imclearborder.html

请先登录,再进行评论。


hf fh
hf fh 2018-5-22
编辑:Walter Roberson 2018-5-22
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 2018-5-22
编辑:Walter Roberson 2018-5-22
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!

Translated by