[Insight-developers] CurvesLevelSetImageFilter not tested properly

Luca Antiga luca.antiga at gmail.com
Mon Mar 3 05:46:54 EST 2008


Hi all,
  while looking into itkCurvesLevelSetImageFilterTest, I noticed that  
the test is only run in 2D.

CurvesLevelSet is similar to GeodesicLevelSet except that it relies  
on minimal curvature instead of mean curvature.
Computation of the various types of curvature is performed in  
itk::LevelSetFunction::ComputeCurvatureTerm.

Looking at that method, I noticed that minimal curvature is only  
computed when dimension is != 2.
For 2D, it falls back to mean curvature.

In other words, itkCurvesLevelSetImageFilterTest does not test  
minimal curvature at all.
I just filed a bug for this issue.
The solution is to convert the test to 3D.

Greets


Luca



--
Luca Antiga, PhD
Head, Medical Imaging Unit,
Bioengineering Department,
Mario Negri Institute
email: antiga at marionegri.it
web: http://villacamozzi.marionegri.it/~luca
mail: Villa Camozzi, 24020, Ranica (BG), Italy
phone: +39 035 4535-381





More information about the Insight-developers mailing list