How to construct 3D images from 2D images taken at different depth of that object?
Show older comments
I have the 2D images of brain taken at different depth.
First of all,Every 2D images have a thickness.
1.How can I construct 3D images/higher Dimensions images from those 2D images? I have no idea how to do that. Anyone can point the direction for me? Is it the case like reconstruction of CT slice?
2. I am using the following code to read those file in tif formal and and after that I got a file for those image. How can I show that file? Imshow don't support that.
filebase = 'C:\Users\user\Desktop\matlab'; startFrame = 1; endFrame = 19; %read frames, reduce size, show frames, and build volume for i=startFrame:endFrame filename=[filebase, num2str(i,'%2d'),'.tif'] temp=double(imresize(imread(filename), 0.5)); slice(:,:,i) = (temp(:,:,1)==255) + 2*(temp(:,:,2)==255) + 4*(temp(:,:,3)==255); imagesc(slice(:,:,i)); colormap('gray') drawnow end
My english is not very good. Maybe there is something that is not very clear to you. Please ask me If you cannot understand some parts. Thank you
John
Accepted Answer
More Answers (0)
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!