From: Brad Henrie on
I am creating a 3-d model of a rat brain from a brain atlas. A brain atlas is like a road atlas but for the brain. It contains many 2-d slices stacked on top of each other to create a 3-d model. I have created binary images from those slices and used some scripts to make a 3-d data cube. Those scripts also display the model with the transparency I want.

The scripts use smoothing and patch commands to make the model.

My problem is that I can't get the spacing right. The atlas slices are not spread apart equally. I have used a padding approach but it produces a ribbed appearance and doesn't give me the accuracy I need. Lately I have tried patches between every slice and stacking them together. This way I can modify the vertexes and get the spacing right. I can't get this approach to work the way it is supposed to. My last approach would be linearly interpolating between the slices and producing a new intermediate slice from that. I think that would be much more difficult than any other methods.

If anybody has any ideas on how to get this to work they are most appreciated. Or if someone knows of a different way to solve this problem that would be appreciated also.

Bytheway, I have the signal processing toolbox, statistics toolbox, adobe illustrator, and adobe photoshop.

Thanks,

Brad
From: Steven Lord on

"Brad Henrie" <brad.henrie(a)uleth.ca> wrote in message
news:i1fet3$pg4$1(a)fred.mathworks.com...
>I am creating a 3-d model of a rat brain from a brain atlas. A brain atlas
>is like a road atlas but for the brain. It contains many 2-d slices stacked
>on top of each other to create a 3-d model. I have created binary images
>from those slices and used some scripts to make a 3-d data cube. Those
>scripts also display the model with the transparency I want.
> The scripts use smoothing and patch commands to make the model.
>
> My problem is that I can't get the spacing right. The atlas slices are not
> spread apart equally. I have used a padding approach but it produces a
> ribbed appearance and doesn't give me the accuracy I need. Lately I have
> tried patches between every slice and stacking them together. This way I
> can modify the vertexes and get the spacing right. I can't get this
> approach to work the way it is supposed to. My last approach would be
> linearly interpolating between the slices and producing a new intermediate
> slice from that. I think that would be much more difficult than any other
> methods.
> If anybody has any ideas on how to get this to work they are most
> appreciated. Or if someone knows of a different way to solve this problem
> that would be appreciated also.

Have you read through the Volume Visualization Techniques section in the 3D
Visualization chapter in the MATLAB documentation?

http://www.mathworks.com/access/helpdesk/help/techdoc/visualize/bqliccy.html

I believe the example that uses MRI data will be of interest to you.

--
Steve Lord
slord(a)mathworks.com
comp.soft-sys.matlab (CSSM) FAQ: http://matlabwiki.mathworks.com/MATLAB_FAQ
To contact Technical Support use the Contact Us link on
http://www.mathworks.com