# Renamed GradientToMagnitudeImageFilter to VectorMagnitudeImageFilter

David Doria
2011-05-03
GradientToMagnitudeImageFilter has been renamed to VectorMagnitudeImageFilter. It has been moved from the ImageGradient module to the ImageIntensity module. GradientToMagnitudeImageFilter has been made a subclass of VectorMagnitudeImageFilter and moved to the Deprecated module.

The majority of the changed files were tests which used GradientToMagnitudeImageFilter internally.

#include "itkGradientToMagnitudeImageFilter.h" typedef itk::GradientToMagnitudeImageFilter<VectorImageType,FloatImageType> FilterType; FilterType::Pointer filter = FilterType::New();
#include "itkVectorMagnitudeImageFilter.h" typedef itk::VectorMagnitudeImageFilter<VectorImageType,FloatImageType> FilterType; FilterType::Pointer filter = FilterType::New();
I5afecd8f29b07beed97534731e677214d1cceb3b I175f87493476d473a38f20f837479a7fe882230a
Documentation/Migration/RenamedGradientToMagnitudeImageFilter.xml Modules/Core/Common/test/itkNumericTraitsTest.cxx Modules/Filtering/ImageFeature/test/itkGradientVectorFlowImageFilterTest.cxx Modules/Filtering/ImageGradient/test/CMakeLists.txt Modules/Filtering/ImageGradient/test/itkDifferenceOfGaussiansGradientTest.cxx Modules/Filtering/ImageGradient/test/itkGradientToMagnitudeImageFilterTest.cxx Modules/Filtering/ImageGradient/test/itkImageGradientHeaderTest.cxx Modules/Filtering/ImageIntensity/include/itkVectorMagnitudeImageFilter.h Modules/Filtering/ImageGradient/include/itkGradientToMagnitudeImageFilter.h Modules/Filtering/ImageIntensity/test/CMakeLists.txt Modules/Filtering/ImageIntensity/test/itkVectorMagnitudeImageFilterTest.cxx Modules/Nonunit/Deprecated/include/itkGradientToMagnitudeImageFilter.h Modules/Filtering/ImageGradient/include/itkGradientToMagnitudeImageFilter.h Modules/Nonunit/Deprecated/test/CMakeLists.txt Modules/Nonunit/Deprecated/test/itkGradientToMagnitudeImageFilterTest.cxx
GradientToMagnitudeImageFilter
VectorMagnitudeImageFilter