MantisBT - ITK
View Issue Details
0008888ITKpublic2009-04-14 18:492009-09-19 08:03
Bradley Lowekamp 
Bradley Lowekamp 
normalmajoralways
closedfixed 
 
 
0008888: GradientNDAnisotropicDiffusionFunction does not calculate correctly with spacing
Using itk::GradientAnisotropicDiffusionImageFilter does not produce correct results when UseImageSpacingOn() is set.

The derivatives are not scaled by m_ScaleCoefficients in GradientNDAnisotropicDiffusionFunction.

VectorGradientNDAnisotropicDiffusionFunction appears to have the same bug.
VectorCurvatureNDAnisotropicDiffusionFunction appears to have the same bug.

CurvatureNDAnisotropicDiffusionFunction appears to be implemented correctly.
No tags attached.
Issue History
2009-04-14 18:49Bradley LowekampNew Issue
2009-04-14 18:59Bradley LowekampNote Added: 0016025
2009-04-24 14:10Bradley LowekampStatusnew => assigned
2009-04-24 14:10Bradley LowekampAssigned To => Bradley Lowekamp
2009-05-15 09:26Bradley LowekampNote Added: 0016472
2009-05-15 10:55Bradley LowekampNote Added: 0016480
2009-06-26 09:54Bradley LowekampNote Added: 0016757
2009-06-26 09:54Bradley LowekampStatusassigned => resolved
2009-06-26 09:54Bradley LowekampResolutionopen => fixed
2009-09-19 08:03Bill LorensenStatusresolved => closed

Notes
(0016025)
Bradley Lowekamp   
2009-04-14 18:59   
Simular changes made to scalar curvature:
http://public.kitware.com/cgi-bin/viewcvs.cgi/Code/BasicFilters/itkCurvatureNDAnisotropicDiffusionFunction.txx?root=Insight&r1=1.11&r2=1.12 [^]
(0016472)
Bradley Lowekamp   
2009-05-15 09:26   
Commit was made fixing bug in GradientNDAnisotropicDiffusionFunction:
http://public.kitware.com/cgi-bin/viewcvs.cgi/Code/BasicFilters/itkGradientNDAnisotropicDiffusionFunction.txx?root=Insight&r1=1.14&r2=1.15&sortby=date [^]

and modified test:
http://public.kitware.com/cgi-bin/viewcvs.cgi/Testing/Code/BasicFilters/itkGradientAnisotropicDiffusionImageFilterTest2.cxx?root=Insight&r1=1.10&r2=1.8&sortby=date [^]
(0016480)
Bradley Lowekamp   
2009-05-15 10:55   
committed same fix for Vector Curvature and Gradient diffusion functions:

http://public.kitware.com/cgi-bin/viewcvs.cgi/Code/BasicFilters/itkVectorCurvatureNDAnisotropicDiffusionFunction.txx.diff?cvsroot=Insight&r1=1.16&r2=1.17 [^]
http://public.kitware.com/cgi-bin/viewcvs.cgi/Code/BasicFilters/itkVectorGradientNDAnisotropicDiffusionFunction.txx.diff?cvsroot=Insight&r1=1.13&r2=1.14 [^]
(0016757)
Bradley Lowekamp   
2009-06-26 09:54   
The committed fixes appear to have resolved the issue