View Issue Details Jump to Notes ] Print ]
IDProjectCategoryView StatusDate SubmittedLast Update
0008346ITKpublic2009-01-05 22:432010-10-21 12:32
ReporterHans Johnson 
Assigned Tokentwilliams 
PriorityhighSeveritymajorReproducibilityalways
StatusclosedResolutionfixed 
PlatformOSOS Version
Product VersionITK-3-10 
Target VersionFixed in Version 
Summary0008346: itkWarpImageFilter must have similar API to itkResampleImageFilter
Description
I’ve been doing some code refactorings to make sure that whenenver an itkResampleImageFilter is used that Origin/Spacing/Direction/Size/StartIndex are all set. While looking at the code, it occurred to me that the itkWarpImageFilter should also follow the same semantics as the ResampleImageFilter and provide a very similar interface.

In particular, the itkWarpImageFilter does not currently allow you to set the OutputStartIndex, and it also does not contain a member function called SetOutputParametersFromImage.

itkWarpImageFilter only works properly when output image has same physical space as output image.
Additional InformationA conversation with Luis Ibanez and Jim Miller resulted in consensus that the following actions should be taken:

1) Add SetSize and SetOutputStartIndex and SetOutputParametersFromImage member functions
2) Determine if outputImage and DeformationFeild have same physical characterisitics (i.e start index, size, spacing, origin, and direction)
   a) If YES: use current algorithm
   b) If NO: need to use trilinear interpolation of the deformation field at the physical coordinates of the voxels in the outputImage.


TagsNo tags attached.
Resolution Date
Sprint
Sprint Status
Attached Files

 Relationships
related to 0008950assignedbrian avants itkWarpVectorImageFilter must have similar API to itkResampleImageFilter 

  Notes
(0015574)
Tom Vercauteren (developer)
2009-03-05 15:04

The exact same problem appears in WarpVectorImageFilter. If a patch is committed for this bug, it should be propagated to WarpVectorImageFilter.

 Issue History
Date Modified Username Field Change
2009-01-05 22:43 Hans Johnson New Issue
2009-03-05 15:04 Tom Vercauteren Note Added: 0015574
2009-03-10 20:11 Hans Johnson Status new => assigned
2009-03-10 20:11 Hans Johnson Assigned To => kentwilliams
2009-03-26 17:21 kentwilliams Status assigned => resolved
2009-03-26 17:21 kentwilliams Resolution open => fixed
2009-04-29 20:11 Hans Johnson Relationship added related to 0008950
2010-10-21 12:32 Gabe Hart Status resolved => closed


Copyright © 2000 - 2018 MantisBT Team