<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE Change SYSTEM "http://itk.org/migrationv4/ITKMigration.dtd">
<!--**
**
** RenamedGradientToMagnitudeImageFilter.xml
**
**
**-->
<Change>
    <!--**
    ** Title for the online migration page
    **-->
    <Title>
      Renamed GradientToMagnitudeImageFilter to VectorMagnitudeImageFilter
    </Title>

    <!--**
    ** The author of the change
    **-->
    <Author>
      David Doria
    </Author>

    <!--**
    ** Date of creation for the XML document
    **-->
    <Date>
      2011-05-03
    </Date>

    <!--**
    ** Plain text description of the change
    ** Extracted from git commit messages
    **-->
    <Description>
      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.

    </Description>

    <!--**
    ** Sample code snippets
    ** Extracted from git diff of changed files in Examples and Testing
    **-->
    <SampleCode>
      <Old>
      <![CDATA[
      #include "itkGradientToMagnitudeImageFilter.h"
      typedef itk::GradientToMagnitudeImageFilter<VectorImageType,FloatImageType> FilterType;
      FilterType::Pointer filter = FilterType::New();
      ]]>
      </Old>

      <New>
      <![CDATA[
      #include "itkVectorMagnitudeImageFilter.h"
      typedef itk::VectorMagnitudeImageFilter<VectorImageType,FloatImageType> FilterType;
      FilterType::Pointer filter = FilterType::New();
      ]]>
      </New>

    </SampleCode>

    <!--**
    ** The change-ids for all commits in the topic branch
    **-->
    <Gerrit-ChangeId>
      I5afecd8f29b07beed97534731e677214d1cceb3b
      I175f87493476d473a38f20f837479a7fe882230a
    </Gerrit-ChangeId>

    <!--**
    ** List of all changed files from the topic branch
    **-->
    <FileList>
      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
    </FileList>

    <MigrationFix-Automatic>
       <Old>
         GradientToMagnitudeImageFilter
       </Old>
       <New>
         VectorMagnitudeImageFilter
       </New>
    </MigrationFix-Automatic>

    <!--**
    ** If the migration can be accomplished by a simple string
    ** substitution, then use the following construct to define
    ** the substitution rule.
    **
    ** <MigrationFix-Automatic>
    **   <Old>
    **     MipsleledName
    **   </Old>
    **   <New>
    **     MisspelledName
    **   </New>
    ** </MigrationFix-Automatic>
    **-->

    <!--**
    ** If the migration can NOT be accomplished by a simple string
    ** substitution, but potential problem spots can be identified,
    ** use the following construct to define a migration flag rule.
    **
    ** <MigrationFix-Manual>
    **   OldFunctionName
    ** </MigrationFix-Manual>
    **-->

</Change>
