Slicer: 2145-support-for-installing-extension-from-file 25d04ae7

Author Committer Branch Timestamp Parent
jcfr jcfr 2145-support-for-installing-extension-from-file 2013-03-05 18:46:12 2145-support-for-installing-extension-from-file 6f6026d1
Changeset

BUG: UseImageSpacing defaults for GradientAnisotropicDiffusion

When Slicer4 was switched from ITKv3 to ITKv4, the
GradientAnisotropicDiffusionImageFilterTest started failing. This is
because the default for the parameter "UseImageSpacing" changed from
"off" to "on" between these versions of ITK. This patch adds an
advanced option to the CLI to enable the user to choose whether to use
image spacing, and the default is "on" in accordance with the new ITK
behavior. Tests are added that test turning this variable both on and
off, and a new regression test image is included to test the case when
the parameter is on. With these changes, the tests should pass when
both ITKv3 and ITKv4 are used.

From: Dirk Padfield <padfield@ge.com>

git-svn-id: http://svn.slicer.org/Slicer4/trunk@21786 3bd1e089-480b-0410-8dfb-8563597acbee

add - Modules/CLI/GradientAnisotropicDiffusion/Data/Baseline/GradientAnisotropicDiffusionTest2.nhdr Diff File
add - Modules/CLI/GradientAnisotropicDiffusion/Data/Baseline/GradientAnisotropicDiffusionTest2.raw.gz Diff File
mod - Modules/CLI/GradientAnisotropicDiffusion/GradientAnisotropicDiffusion.cxx Diff File
mod - Modules/CLI/GradientAnisotropicDiffusion/GradientAnisotropicDiffusion.xml Diff File
mod - Modules/CLI/GradientAnisotropicDiffusion/Testing/CMakeLists.txt Diff File