[Insight-users] Read Analyze Image
Luis Ibanez
luis.ibanez at kitware.com
Wed May 21 14:48:23 EDT 2008
Hi Paulo,
What version of ITK are you using ?
I believe that ITK was recently modified to make the NiftiImageIO
class to be the default reader for .hdr images.
The itkAnalyzeImageIO format itself only allows a certain set of
image orientation combinations, a restriction that apparently your
image is not satisfying.
Regards,
Luis
----------------------------------------
Paulo Henrique Junqueira Amorim wrote:
> Hi,
>
> I'm trying to read the file format analyze. But when I see a window
> OutputWindow Update.
>
>
> Warning: In ..\..\..\Code\IO\itkAnalyzeImageIO.cxx line 1042
> AnalyzeImageIO(04F19ED8): Unknown orientation in file
> D:\dcm\analyze_file_format\TemplateXBAMbet.hdr
>
>
> Script:
>
> import itk
> reader = itk.ImageFileReader.IUC3.New
> (FileName="D:\\analyze_file_format\\TemplateXBAMbet.hdr")
> reader.Update() #Show Warning Message
>
>
> How could I handle this warning ?
>
>
>
> Best Regards,
> Paulo Amorim
>
>
> ------------------------------------------------------------------------
>
> _______________________________________________
> 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