<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE Change SYSTEM "http://itk.org/migrationv4/ITKMigration.dtd">

<!--**
**
** BinaryModulusImageFilter.xml
**
**
** Please, make sure this file validates the following w3c test before committing it: http://validator.w3.org
**-->
<Change>
    <!--**
    ** Title for the online migration page
    **-->
    <Title>
      Binary Modulus Image Filter
    </Title>

    <!--**
    ** The author of the change
    **-->
    <Author>
      Bradley Lowekamp
    </Author>

    <!--**
    ** Date of creation for the XML document
    **-->
    <Date>
      2012-11-20
    </Date>

    <!--**
    ** Plain text description of the change
    ** Extracted from git commit messages
    **-->
    <Description>
      <![CDATA[
      ENH: Convert the Modulus filter to standard binary filter.
      By converting to a BinaryFunctor filter the ModulusImageFilter can
      take a constant for either the first argument or the second thanks to
      the generalization for the BinaryFunctor. And the additional
      functionality of being able to operate on two images is also gained.

      The ModuleTranform functor has been deprecated.

      Additionally,the second template argument of the
      ModulusImageFilter has changed it's purpose to indicate the type
      of the second parameter to the Modulus operator. Note: If only
      one template parameter was previously provided to the filter, no
      change is required.
      ]]>
    </Description>

    <!--**
    ** Sample code snippets
    ** Extracted from git diff of changed files in Examples and Testing
    **-->
    <SampleCode>

      <Old>
        <![CDATA[
typedef itk::ModulusImageFilter<InputImageType,OutputImageType> FilterType;
        ]]>
      </Old>

      <New>
        <![CDATA[
typedef itk::ModulusImageFilter<InputImageType,InputImage2Type,OutputImageType> FilterType;
        ]]>
      </New>

    </SampleCode>

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

    <!--**
    ** List of all changed files from the topic branch
    **-->
    <FileList>
      Modules/Filtering/ImageIntensity/include/itkModulusImageFilter.h
      Modules/Filtering/ImageIntensity/include/itkModulusImageFilter.hxx
    </FileList>

    <!--**
    ** If the migration can be accomplished by a simple string
    ** substitution, then use the following construct to define
    ** the substitution rule.
    **
    ** <MigrationFix-Automatic>
    **   <Old>
    **     <![CDATA[MipsleledName]]>
    **   </Old>
    **   <New>
    **     <![CDATA[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>
