MATLAB and Simulink resources for Arduino, LEGO, and Raspberry Pi

### Discover what MATLAB® can do for your career.

Opportunities for recent engineering grads.

# Thread Subject: 3D reconstruction from 2D slices

 Subject: 3D reconstruction from 2D slices Date: 25 Jun, 2003 10:20:58 Message: 1 of 6 Hi there, Here is my problem. I have about 600 2D slices (.bmp files) from an spherical-looking element. They are consecutive slices, but with a small gap between them (~ 3 microns). I would like to know how to reconstruct the 3D object from all the slices, taking into account the spacing in the z direction. Is there any function in Matlab, or in the image processing toolbox, that can do this? How can I do it if not? I would appreciate any help. Thank you very much. Regards
 Subject: 3D reconstruction from 2D slices From: Doug Hull Date: 25 Jun, 2003 10:36:22 Message: 2 of 6 Daniel, You may be intereseted in the case study that I present at Advanced Image Processing seminars around the country. The case study invloves automated alignment of planar slices and then visualization fo the solid once reconstructed. http://www.mathworks.com/matlabcentral/fileexchange/loadFile.do?objectId=1713&objectType=file Doug Daniel Barrera-Medrano wrote: > Hi there, > Here is my problem. > I have about 600 2D slices (.bmp files) from an spherical-looking > element. > They are consecutive slices, but with a small gap between them (~ 3 > microns). > I would like to know how to reconstruct the 3D object from all the > slices, taking into account the spacing in the z direction. > Is there any function in Matlab, or in the image processing toolbox, > that can do this? How can I do it if not? > I would appreciate any help. > Thank you very much. > Regards
 Subject: 3D reconstruction from 2D slices From: Rauno Date: 25 Jun, 2003 11:25:12 Message: 3 of 6 here is a bit of m-file, that reads in slices and shows a 3D solid: -------------------- I=zeros(500,500,600); for i=1:600     i     filename=['slice' int2str(i) '.gif'];     I(:,:,i)=imread(filename); end     whos %J = smooth3(I); p = patch(isosurface(I,1.5)); isonormals(I,p) set(p,'FaceColor','red','EdgeColor','none'); daspect([1 1 1]) view(3); axis tight camlight lighting gouraud hcap = patch(isocaps(I,1.5),'FaceColor','interp','EdgeColor','none');
 Subject: 3D reconstruction from 2D slices From: Yuri Strukov Date: 25 Jun, 2003 12:28:53 Message: 4 of 6 Here is information I found useful and sufficient when 3D-reconstructing stacks of 2D images: http://www.mathworks.com/access/helpdesk/help/techdoc/visualize/intro_vi.shtml#visualization_techniques HTH, yuri
 Subject: 3D reconstruction from 2D slices From: Lars Gregersen Date: 25 Jun, 2003 22:07:22 Message: 5 of 6 On Wed, 25 Jun 2003 10:20:58 -0400, "Daniel Barrera-Medrano" wrote: >Hi there, >Here is my problem. >I have about 600 2D slices (.bmp files) from an spherical-looking >element. >They are consecutive slices, but with a small gap between them (~ 3 >microns). >I would like to know how to reconstruct the 3D object from all the >slices, taking into account the spacing in the z direction. >Is there any function in Matlab, or in the image processing toolbox, >that can do this? How can I do it if not? Look here: http://www.mathworks.com/access/helpdesk/help/techdoc/visualize/chvolvi5.shtml#3371 There is also an MRI example on this page: http://www.mathworks.com/products/image/demos.jsp   Lars Lars Gregersen COMSOL A/S http://www.comsol.dk
 Subject: 3D reconstruction from 2D slices From: Ferrari P. Date: 1 Jul, 2012 09:37:07 Message: 6 of 6 Hi all, I have 50 slices in 2D and want to obtain 3D image from these slices. The velow links from Lars have been broken :( How to do 3D image reconstruction from 2D slices ? Thanks Lars Gregersen wrote in message ... > On Wed, 25 Jun 2003 10:20:58 -0400, "Daniel Barrera-Medrano" > wrote: > > >Hi there, > >Here is my problem. > >I have about 600 2D slices (.bmp files) from an spherical-looking > >element. > >They are consecutive slices, but with a small gap between them (~ 3 > >microns). > >I would like to know how to reconstruct the 3D object from all the > >slices, taking into account the spacing in the z direction. > >Is there any function in Matlab, or in the image processing toolbox, > >that can do this? How can I do it if not? > > Look here: > http://www.mathworks.com/access/helpdesk/help/techdoc/visualize/chvolvi5.shtml#3371 > > There is also an MRI example on this page: > http://www.mathworks.com/products/image/demos.jsp > > Lars > > Lars Gregersen > COMSOL A/S > http://www.comsol.dk

## Tags for this Thread

### What are tags?

A tag is like a keyword or category label associated with each thread. Tags make it easier for you to find threads of interest.

Anyone can tag a thread. Tags are public and visible to everyone.