View Issue Details Jump to Notes ] Print ]
IDProjectCategoryView StatusDate SubmittedLast Update
0008709ITKpublic2009-03-09 21:362009-03-10 19:55
ReporterHans Johnson 
Assigned To 
PriorityhighSeveritymajorReproducibilityalways
StatusclosedResolutionfixed 
PlatformOSOS Version
Product VersionITK-3-12 
Target VersionFixed in VersionITK-3-12 
Summary0008709: NIFTI Vector Images not preserving orientation
DescriptionThe orienation of the vector images are no longer being preserved. This bug was exposed when other bug fixes were included for the case where a higher dimensional image is read into a lower dimensional image. The vector image filter had depended on the fact that this was not being checked, and now that it is being checked the results are often that the vector image would get the default of an identity matrix for its orientation.

This bug was mostly due to trying to make itk read and write up to 6 dimensional vector images, BUT Nifti can only handle vector images up to 4 dimensions.

There are several other limitations of the nifti IO mechanism that this code review discoverd, but only those relating to reading and writing up to 3 dimensional vector images were addressed.
Additional InformationThe patch for this is nearly complete. The test suite is being expanded to fully test vector images with non-identity directions.
TagsNo tags attached.
Resolution Date
Sprint
Sprint Status
Attached Files

 Relationships

  Notes
(0015629)
Hans Johnson (developer)
2009-03-10 19:55

This bug was fixed by rewriting the code to only work up to 4 dimensions for vector images.

/cvsroot/Insight/Insight/Code/IO/itkNiftiImageIO.cxx,v <-- Code/IO/itkNiftiImageIO.cxx
new revision: 1.74; previous revision: 1.73
/cvsroot/Insight/Insight/Testing/Code/IO/itkNiftiImageIOTest.cxx,v <-- Testing/Code/IO/itkNiftiImageIOTest.cxx
new revision: 1.23; previous revision: 1.22

 Issue History
Date Modified Username Field Change
2009-03-09 21:36 Hans Johnson New Issue
2009-03-10 19:55 Hans Johnson Note Added: 0015629
2009-03-10 19:55 Hans Johnson Status new => closed
2009-03-10 19:55 Hans Johnson Resolution open => fixed
2009-03-10 19:55 Hans Johnson Fixed in Version => ITK-3-12


Copyright © 2000 - 2018 MantisBT Team