[Insight-developers] fast floor function

Brad King brad.king at kitware.com
Mon Aug 4 13:10:51 EDT 2008


Tom Vercauteren wrote:
> Sorry to ask you personally after asking the ITK developers mailing
> list (which is kept CC'ed) but I'd like to move forward. I remembered
> that you were also a VNL developer and therefore thought you might
> give me some advice.
> 
> I would like to fix and move the fast floor functions that can be
> found in itkBSplineInterpolationWeightFunction.txx and
> itkBilateralImageFilter.txx to a more convenient and testable place.
> 
> I think that Utilities/vxl/core/vnl/vnl_math.h would be a good place
> to move it to. There indeed already is a vnl_math_rnd function there.
> We could either modify that function or add a another rounding
> function there (say vnl_math_fast_rnd). Of course this would also
> imply modifying Utilities/vxl/core/vnl/tests/test_math.cxx.
> 
> Would it then be possible to maintain the modified VNL inside ITK or
> to port the modifications into VNL?

Maintaining an ITK-specific patch is not an option.  ITK supports
building with an upstream vxl.  It should not be a problem to put your
contribution upstream.  Can you join the vxl-maintainers list:

  https://lists.sourceforge.net/lists/listinfo/vxl-maintainers

?  Then the discussion can be brought up there.

-Brad


More information about the Insight-developers mailing list