3d image visulalisation

3 ビュー (過去 30 日間)
prashant singh
prashant singh 2017 年 12 月 24 日
編集済み: Walter Roberson 2018 年 5 月 22 日
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