POV-Ray : Newsgroups : povray.advanced-users : mri data as isosurface? Server Time
1 Nov 2024 03:15:49 EDT (-0400)
  mri data as isosurface? (Message 1 to 3 of 3)  
From: [GDS|Entropy]
Subject: mri data as isosurface?
Date: 27 Jan 2009 11:52:36
Message: <497f3bd4$1@news.povray.org>
Hello,

I recall that many years ago, back when isosurfaces were part of the 
"isosurface patch", there was a demo image using MRI data I think...

Does anyone remember how to do that, or have that file?

I just had an MRI last night, and I think it would be cool to render my 
brain.

ian


Post a reply to this message

From: Mike Williams
Subject: Re: mri data as isosurface?
Date: 27 Jan 2009 12:28:51
Message: <NNqllCBQO0fJFwmr@econym.demon.co.uk>
Wasn't it [GDS|Entropy] who wrote:
>Hello,
>
>I recall that many years ago, back when isosurfaces were part of the
>"isosurface patch", there was a demo image using MRI data I think...
>
>Does anyone remember how to do that, or have that file?
>
>I just had an MRI last night, and I think it would be cool to render my
>brain.

I don't know how that would have worked with the patch, but the official 
isosurface code added the ability to use any pattern in an isosurface 
function, so if you can obtain the raw data and convert it to a DF3 file 
you can write things like

#declare F=function{ pattern{
      density_file df3 "brain.df3"
      interpolate 1 }
}
isosurface {function { 0.05 - F(x,y,z) }

-- 
Mike Williams
Gentleman of Leisure


Post a reply to this message

From: [GDS|Entropy]
Subject: Re: mri data as isosurface?
Date: 28 Jan 2009 10:28:18
Message: <49807992$1@news.povray.org>
Hmm...
Well apparently my data is in DICOM format.
I used a program called MRIco found here: http://www.sph.sc.edu/comd/rorden/ 
to convert it to Analyze format.
Apparently I will need to use the TGA to DF3 converter in p.b.u to convert 
TGAs to DF3....as there are no other converters that I can locate.

I did find info and code to patch POV to support HDF as isosurface, found 
here: http://www.linuxjournal.com/article/7486

fwiw,
ian

"Mike Williams" <nos### [at] econymdemoncouk> wrote in message 
news:NNq### [at] econymdemoncouk...
> Wasn't it [GDS|Entropy] who wrote:
>>Hello,
>>
>>I recall that many years ago, back when isosurfaces were part of the
>>"isosurface patch", there was a demo image using MRI data I think...
>>
>>Does anyone remember how to do that, or have that file?
>>
>>I just had an MRI last night, and I think it would be cool to render my
>>brain.
>
> I don't know how that would have worked with the patch, but the official 
> isosurface code added the ability to use any pattern in an isosurface 
> function, so if you can obtain the raw data and convert it to a DF3 file 
> you can write things like
>
> #declare F=function{ pattern{
>      density_file df3 "brain.df3"
>      interpolate 1 }
> }
> isosurface {function { 0.05 - F(x,y,z) }
>
> -- 
> Mike Williams
> Gentleman of Leisure
>


Post a reply to this message

Copyright 2003-2023 Persistence of Vision Raytracer Pty. Ltd.