| View Issue Details [ Jump to Notes ] | [ Print ] | ||||||||
| ID | Project | Category | View Status | Date Submitted | Last Update | ||||
| 0008476 | ITK | public | 2009-02-05 16:11 | 2010-10-21 12:32 | |||||
| Reporter | Mathieu Coursolle | ||||||||
| Assigned To | Don Bigler | ||||||||
| Priority | normal | Severity | crash | Reproducibility | always | ||||
| Status | closed | Resolution | fixed | ||||||
| Platform | OS | OS Version | |||||||
| Product Version | ITK-3-10 | ||||||||
| Target Version | Fixed in Version | ITK-3-10 | |||||||
| Summary | 0008476: itkPhilipsRECImageIO throws an exception when reading 4D images. | ||||||||
| Description | In PhilipsRECImageIO, the direction cosines are not defined for dimensions higher than 3. Therefore, a 4D image with default orientation would have it direction set to {{1, 0, 0, 0}, {0, 1, 0, 0}, {0, 0, 1, 0}, {0, 0, 0, 0}}. Note that the last direction vector is all zeros. This causes an exception when the direction is validated, as {0, 0, 0, 0} does not define a valid orientation in space (See ComputeIndexToPhysicalPointMatrices() in itkImageBase.txx). A solution would be to initialize the direction of the last direction to {0, 0, 0, 1}. A proposed patch is attached.  | ||||||||
| Tags | No tags attached. | ||||||||
| Resolution Date | |||||||||
| Sprint | |||||||||
| Sprint Status | |||||||||
| Attached Files | |||||||||
| Relationships | ||||||
  | 
||||||
| Relationships | 
| Notes | |
| 
				(0015362) Don Bigler (developer) 2009-02-24 22:30  | 
	Confirmed the bug. When trying to read a 4D Philips REC image using ITK 3.10.2, an exception is thrown when the direction cosines are checked. | 
| 
				(0015363) Don Bigler (developer) 2009-02-24 22:34  | 
	Applying the patch eliminates the exception when reading a 4D Philips REC image. Committed the patched file to cvs. | 
| 
				(0015364) Don Bigler (developer) 2009-02-24 22:34  | 
	Applying the patch eliminates the exception when reading a 4D Philips REC image. Committed the patched file to cvs. | 
| Notes | 
| Issue History | |||
| Date Modified | Username | Field | Change | 
| 2009-02-05 16:11 | Mathieu Coursolle | New Issue | |
| 2009-02-05 16:11 | Mathieu Coursolle | File Added: patch_itkPhilipsRECImageIO_Exception.txt | |
| 2009-02-05 16:11 | Mathieu Coursolle | Status | new => assigned | 
| 2009-02-05 16:11 | Mathieu Coursolle | Assigned To | => Don Bigler | 
| 2009-02-06 15:26 | Sean McBride | Relationship added | related to 0005454 | 
| 2009-02-24 22:30 | Don Bigler | Note Added: 0015362 | |
| 2009-02-24 22:30 | Don Bigler | Status | assigned => confirmed | 
| 2009-02-24 22:34 | Don Bigler | Note Added: 0015363 | |
| 2009-02-24 22:34 | Don Bigler | Note Added: 0015364 | |
| 2009-02-24 22:34 | Don Bigler | Status | confirmed => resolved | 
| 2009-02-24 22:34 | Don Bigler | Fixed in Version | => ITK-3-10 | 
| 2009-02-24 22:34 | Don Bigler | Resolution | open => fixed | 
| 2010-10-21 12:32 | Gabe Hart | Status | resolved => closed | 
| Issue History | 
| Copyright © 2000 - 2018 MantisBT Team |