View Issue Details Jump to Notes ] Print ]
IDProjectCategoryView StatusDate SubmittedLast Update
0005637ITKpublic2007-08-31 07:482008-01-26 23:56
ReporterDieter Hahn 
Assigned ToBill Lorensen 
PrioritynormalSeveritymajorReproducibilityalways
StatusclosedResolutionfixed 
PlatformOSOS Version
Product Version 
Target VersionFixed in Version 
Summary0005637: ImageTransformHelper computations wrong for 1D
DescriptionThe ImageTransformHelper realizes some meta template programs for the transform of index to physical point and vice versa. As the programs are currently written, this does not work for all dimensions. Especially, it fails for 1D.

In order to let it work for all dimensions, please see the attached suggestion for a fix.

Thanks,
Dieter
TagsNo tags attached.
Resolution Date
Sprint
Sprint Status
Attached Filesdiff file icon itkImageTransformHelper.diff [^] (783 bytes) 2007-08-31 07:48 [Show Content]

 Relationships

  Notes
(0010300)
Bill Lorensen (developer)
2008-01-26 23:52

Wrote a new test Testing/Code/Common/itkImageTransformTest that use the TransformIndexToPhysicalPoint and TransformPhysicalPointToIndex. The test tried 8, 3, 2 and 1D images. As reported, the computations for 1D were incorrect.

Applied the suggested patch and the results are correct for all dimensions.
(0010301)
Bill Lorensen (developer)
2008-01-26 23:56

http://www.itk.org/cgi-bin/viewcvs.cgi/Code/Common/itkImageTransformHelper.h?root=Insight&r2=1.9&r1=1.8 [^]

http://www.itk.org/cgi-bin/viewcvs.cgi/Testing/Code/Common/itkCommonTests2.cxx?rev=1.16&root=Insight&sortby=date&view=log [^]

http://www.itk.org/cgi-bin/viewcvs.cgi/Testing/Code/Common/CMakeLists.txt?rev=1.227&root=Insight&sortby=date&view=log [^]

http://www.itk.org/cgi-bin/viewcvs.cgi/Testing/Code/Common/itkImageTransformTest.cxx?rev=1.1&root=Insight&sortby=date&view=log [^]

 Issue History
Date Modified Username Field Change
2007-08-31 07:48 Dieter Hahn New Issue
2007-08-31 07:48 Dieter Hahn File Added: itkImageTransformHelper.diff
2007-11-28 16:13 Bill Lorensen Status new => assigned
2007-11-28 16:13 Bill Lorensen Assigned To => Bill Lorensen
2008-01-26 23:52 Bill Lorensen Status assigned => resolved
2008-01-26 23:52 Bill Lorensen Resolution open => fixed
2008-01-26 23:52 Bill Lorensen Note Added: 0010300
2008-01-26 23:56 Bill Lorensen Status resolved => closed
2008-01-26 23:56 Bill Lorensen Note Added: 0010301


Copyright © 2000 - 2018 MantisBT Team