[Insight-developers] Does WarpImage Filter need updating

Luis Ibanez luis.ibanez at kitware.com
Mon Jan 5 02:10:11 EST 2009


Hi Hans,

Your suggested changes sound quite reasonable.
It makes sense for the WrapImageFilter to have an API similar to the
ResampleImageFilter.

Thanks for looking at this,


     Luis


-----------------------
Hans Johnson wrote:
> All,
> 
> 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.
> 
> Does anyone have an objection to adding a SetOutputParametersFromImage 
> and SetOutputStartIndex to the itkWarpImageFilter?
> 
> Hans
> 
> 
> ------------------------------------------------------------------------
> 
> _______________________________________________
> Insight-developers mailing list
> Insight-developers at itk.org
> http://www.itk.org/mailman/listinfo/insight-developers


More information about the Insight-developers mailing list