View Issue Details Jump to Notes ] Print ]
IDProjectCategoryView StatusDate SubmittedLast Update
0008952ITKpublic2009-04-30 11:412009-04-30 11:41
Reporterkentwilliams 
Assigned Tokentwilliams 
PrioritynormalSeverityminorReproducibilityalways
StatusclosedResolutionfixed 
PlatformOSOS Version
Product VersionITK-3-12 
Target VersionFixed in VersionITK-3-12 
Summary0008952: Image Dimension can be too large for NIfTI and Analyze Image Formats
DescriptionAn end user reported trying to write a 1D NIfTI or Analyze file with a dimension of 45000, and ending up with an invalid image file.
Additional InformationIn examining the standard NIfTI/Analyze C++ include files, I determined that the dimensions array has an element type of short. This means that for most (if not all) architectures, the maximum value for any one dimension in NIfTI/Analyze files is 32767.

FIX: As per Bill Lorensen's suggestion, I modified the NIfTI and Analyze ImageIO classes to throw an exception if they encounter a dimension that will not fit in the short type.
TagsNo tags attached.
Resolution Date
Sprint
Sprint Status
Attached Files

 Relationships

  Notes
There are no notes attached to this issue.

 Issue History
Date Modified Username Field Change
2009-04-30 11:41 kentwilliams New Issue
2009-04-30 11:41 kentwilliams Status new => assigned
2009-04-30 11:41 kentwilliams Assigned To => kentwilliams
2009-04-30 11:41 kentwilliams Status assigned => closed
2009-04-30 11:41 kentwilliams Resolution open => fixed
2009-04-30 11:41 kentwilliams Fixed in Version => ITK-3-12


Copyright © 2000 - 2018 MantisBT Team