[Insight-users] RAW images IO

Karthik Krishnan Karthik.Krishnan at kitware.com
Wed Oct 26 16:26:08 EDT 2005



Diego R. Medaglia wrote:

> Hi everybody!
>  
>     I'm an ITK newbie, and I´m trying hard to open a raw image file, 
> without success. The file I´m trying to open is one of the "quarter" 
> files in the VTK data\headsq directory, specifically file querter.30 . 
> This IS a raw file, isn´t it?

yes.

>     Which class do I use? ImageFile Reader does not recognise the file 
> type (I've tried to open it executing ImageReadWrite example with this 
> file's path as argument), and RawImageIO does not seem to have a 
> method to set Image dimensions (for x and y size) as happened in VTK.

http://www.itk.org/Insight/Doxygen/html/classitk_1_1RawImageIO-members.html
SetDimensions(0,xsiz);
SetDimensions(1,ysiz);

> I´ve tried to set a ImageIOBase to ImageFileReader as a RawImageIO 
> object, but that di not work also.


>     Has anyone got any hint on this basic topic?
>            
>                     Thanks for all, Diego.
>    
>
>------------------------------------------------------------------------
>
>_______________________________________________
>Insight-users mailing list
>Insight-users at itk.org
>http://www.itk.org/mailman/listinfo/insight-users
>  
>


More information about the Insight-users mailing list