MantisBT - ITK
View Issue Details
0009212ITKpublic2009-06-26 14:382009-11-12 10:42
Bradley Lowekamp 
Bradley Lowekamp 
highmajoralways
closedfixed 
ITK-3-14 
ITK-3-16 
0009212: Exception when reading 3D image into a 2D image
From Luis:

Jim pointed out to me, during the NAMIC meeting,
that one of your recent changes on the IO classes
prevent us now from reading a 3D image into a 2D
one.

It used to be the case that a 2D image reader, when
passed a 3D image file, will read the first slice of it.

No tags attached.
Issue History
2009-06-26 14:38Bradley LowekampNew Issue
2009-06-26 14:39Bradley LowekampStatusnew => assigned
2009-06-26 14:39Bradley LowekampAssigned To => Bradley Lowekamp
2009-06-26 14:45Bradley LowekampNote Added: 0016763
2009-06-26 14:45Bradley LowekampStatusassigned => confirmed
2009-07-02 09:05Bradley LowekampDescription Updated
2009-07-02 09:08Bradley LowekampNote Added: 0016806
2009-07-02 09:19Bradley LowekampNote Added: 0016808
2009-07-02 09:35Bradley LowekampNote Added: 0016809
2009-07-27 09:34Bradley LowekampNote Added: 0016978
2009-07-27 09:34Bradley LowekampStatusconfirmed => resolved
2009-07-27 09:34Bradley LowekampResolutionopen => fixed
2009-11-12 10:42Bradley LowekampStatusresolved => closed
2009-11-12 10:42Bradley LowekampFixed in Version => ITK-3-16

Notes
(0016763)
Bradley Lowekamp   
2009-06-26 14:45   
itkImageFileDimensions test expects a possible exception in this case.
(0016806)
Bradley Lowekamp   
2009-07-02 09:08   
Submitted experimental build with the fix:
http://www.cdash.org/CDash/buildSummary.php?buildid=368564 [^]
(0016808)
Bradley Lowekamp   
2009-07-02 09:19   
modified test to check this condition:
http://public.kitware.com/cgi-bin/viewcvs.cgi/Testing/Code/IO/itkImageFileReaderTest2.cxx?root=Insight&r1=1.6&r2=1.7&sortby=date [^]

added new method ImageIORegion and changed access in ImageIOBase:
http://public.kitware.com/cgi-bin/viewcvs.cgi/Code/IO/itkImageIORegion.h?root=Insight&r1=1.23&r2=1.24&sortby=date [^]
http://public.kitware.com/cgi-bin/viewcvs.cgi/Code/IO/itkImageIORegion.cxx?root=Insight&r1=1.4&r2=1.5&sortby=date [^]
http://public.kitware.com/cgi-bin/viewcvs.cgi/Code/IO/itkImageIOBase.h?root=Insight&r1=1.53&r2=1.54&sortby=date [^]
(0016809)
Bradley Lowekamp   
2009-07-02 09:35   
The fix was committed:
http://public.kitware.com/cgi-bin/viewcvs.cgi/Code/IO/itkImageFileReader.txx?root=Insight&r1=1.85&r2=1.86&sortby=date [^]
http://public.kitware.com/cgi-bin/viewcvs.cgi/Code/IO/itkImageFileReader.h?root=Insight&r1=1.31&r2=1.32&sortby=date [^]
(0016978)
Bradley Lowekamp   
2009-07-27 09:34   
The commits appear to have fixed the issue