[Insight-users] Two ITK IO Problems
Julien Jomier
jjomier at cs.unc.edu
Sun Jan 9 11:58:45 EST 2005
Hi Jia,
I've put a fix for the conflict between BMP and Analyze, let us know if
you still have the problem.
Thanks again for the report,
Julien
Julien Jomier wrote:
> Hi Jia,
>
> Thanks for the report. I've put a fix for the itkJPEGImageIO.
> I'm looking into the Analyze incompatibility with bmp. We'll get back to
> you as soon as this is fixed.
>
> Thanks again,
>
> Julien
>
> Jia Fucang wrote:
>
>>Hi, everyone,
>>
>>
>>I come across two problems when I use ITK IO.
>>
>>The first is JPEG can not be written , I think there maybe a
>>typo in Insight/Code/IO/itkJPEGImageIO.cxx (CVS v1.7), line 402:
>>
>> if ( this->GetComponentType() != UCHAR
>> || this->GetComponentType() != UINT)
>>
>>maybe "||" should be "&&".
>>
>>The second is when there are fileprefix.bmp and fileprefix.hdr
>>coexist in the same directory, ITK IO can not read fileprefix.bmp
>>correctly. For example:
>>
>>imagereadcastwrite b.bmp b.png
>>
>>(there is b.hdr in the same directory)
>>cause the following exception:
>>
>>////////////////
>>ExceptionObject caught !
>>
>>itk::ExceptionObject (00F3FA54)
>>Location: "Unknown"
>>File: E:\toolkit\Insight\Code\IO\itkAnalyzeImageIO.cxx
>>Line: 696
>>Description: Analyze Data File can not be read: The following files were attempt
>>ed:
>>
>>.gz
>>
>>//////////////
>>
>>
>>Thank you!
>>
>>Fucang
>>
>>_______________________________________________
>>Insight-users mailing list
>>Insight-users at itk.org
>>http://www.itk.org/mailman/listinfo/insight-users
>
> _______________________________________________
> 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