Kent,<br><br>We can still keep the AnalyzeImageIO class. It would end up being a subclass of NiftiImageIO. We have done before with DicomImageIO. We cannot remove the AnalyzeImageIO class. As you said, it will break code in the ITK installed base.<br>
<br>We're too close to a release to do this now. I'll enter a bug.<br><br>Bill<br><br><div class="gmail_quote">On Wed, Feb 6, 2008 at 12:04 PM, kent williams <<a href="mailto:nkwmailinglists@gmail.com">nkwmailinglists@gmail.com</a>> wrote:<br>
<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">I see no reason to keep the AnalyzeImageIO library around; the NIfTI<br>
library does a good job of reading Analyze files. itkNiftiImageIO<br>
would need 2 characters added in CanReadFile and CanWriteFile.<br>
<br>
The only thing this would break is any code that instantiates an<br>
instance of AnalyzeImageIO and assigns it to a reader. I believe<br>
there are Analyze tests that do that.<br>
<div class="Ih2E3d"><br>
On Tue, Feb 5, 2008 at 1:19 PM, Bill Lorensen <<a href="mailto:bill.lorensen@gmail.com">bill.lorensen@gmail.com</a>> wrote:<br>
> David,<br>
><br>
</div><div><div></div><div class="Wj3C7c">> Hans Johnson has just made some changes to nifti utilities and itk classes.<br>
> It turns out that since NIFTI appears before Analyze in the IO factory, you<br>
> are probably using the NIFTI ImageIO class (whether you want to or not). I<br>
> suggest that you update Utilities/nifti, Code/IO and testing/Code/IO. Then<br>
> try your original code again.<br>
><br>
> I looked at the Analyze code and Analyze header and it seems that Analyze<br>
> does not support anything other than unsiged char for RGB pixels. Hans can<br>
> confirm this since he is the itk Analyze/Nifti expert.<br>
><br>
> Hans, in the long term will it be possible to process all analyze files with<br>
> the nifti ImageIO class? Or at least remove most of the current<br>
> AnalyzeImageIO code, perhaps by subclassing AnalyzeImageIO from<br>
> itkNiftiImageIO?<br>
><br>
> Bill<br>
><br>
</div></div></blockquote></div><br>