MantisBT - ITK | |||||
| View Issue Details | |||||
| ID | Project | Category | View Status | Date Submitted | Last Update |
| 0008952 | ITK | public | 2009-04-30 11:41 | 2009-04-30 11:41 | |
| Reporter | kentwilliams | ||||
| Assigned To | kentwilliams | ||||
| Priority | normal | Severity | minor | Reproducibility | always |
| Status | closed | Resolution | fixed | ||
| Platform | OS | OS Version | |||
| Product Version | ITK-3-12 | ||||
| Target Version | Fixed in Version | ITK-3-12 | |||
| Resolution Date | |||||
| Sprint | |||||
| Sprint Status | |||||
| Summary | 0008952: Image Dimension can be too large for NIfTI and Analyze Image Formats | ||||
| Description | An 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. | ||||
| Steps To Reproduce | |||||
| Additional Information | In 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. | ||||
| Tags | No tags attached. | ||||
| Relationships | |||||
| Attached Files | |||||
| 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 | ||
| There are no notes attached to this issue. |