[Insight-users] About Philips REC image format

Mathieu Coursolle mcoursolle at rogue-research.com
Wed Oct 29 09:55:22 EDT 2008


Hi,

Here is how we use it...

Thanks.

Mathieu


typedef itk::Image<double, 3> ITK3DImage;
typedef itk::ImageFileReader<ITK3DImage> ITK3DReader;
ITK3DReader::Pointer reader = ITK3DReader::New();
reader->SetFileName(filename);
	.
itk::PhilipsRECImageIO::Pointer parRecIO =  
itk::PhilipsRECImageIO::New();
reader->SetImageIO(parRecIO);
ITK3DImage::Pointer image = reader->GetOutput();	


On 29-Oct-08, at 9:34 AM, John Smith wrote:

> Hi,
>
> I tried to use the class provided in ITK 3.8 but I always get a  
> crash in the debug heap. Does anyone have an example to read Philips  
> REC image format?
>
> Thanks,
>
> J.
>
> System: VS 2008, ITK 3.8, and XP SP3.
>
> _______________________________________________
> Insight-users mailing list
> Insight-users at itk.org
> http://www.itk.org/mailman/listinfo/insight-users

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.itk.org/pipermail/insight-users/attachments/20081029/1dcd2d80/attachment.htm>


More information about the Insight-users mailing list