<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE Change SYSTEM "https://itk.org/migrationv4/ITKMigration.dtd">
<!--**
**
** MergeComposeFilters.xml
**
** >>>>>>>>>>>>>>>>>>>>>>>>>>>>
** THIS FILE HAS BEEN AUTOMATICALLY GENERATED. EDIT IT BEFORE COMMITING
** <<<<<<<<<<<<<<<<<<<<<<<<<<<
**
**-->
<Change>
    <!--**
    ** Title for the online migration page
    **-->
    <Title>
      Merge Compose Filters
    </Title>

    <!--**
    ** The author of the change
    **-->
    <Author>
      Gaëtan Lehmann
    </Author>

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

    <!--**
    ** Plain text description of the change
    ** Extracted from git commit messages
    **-->
    <Description>
      <![CDATA[
      Merge all the compose filters in ComposeImageFilter.

      This new filter is able to combine several scalar images into an
      itk::Image of vector pixel (itk::Vector, itk::RGBPixel, ...), of
      std::complex pixel, or in an itk::VectorImage.

      It replaces the following filters:

      itk::Compose2DCovariantVectorImageFilter
      itk::Compose2DVectorImageFilter
      itk::Compose3DCovariantVectorImageFilter
      itk::Compose3DVectorImageFilter
      itk::ComposeRGBImageFilter
      itk::ImageToVectorImageFilter
      itk::ScalarToArrayCastImageFilter
      itk::ComposeRGBAImageFilter
      itk::RealAndImaginaryToComplexImageFilter

      The filters not from the Review directory have been moved to the
      Deprecated module. The two from the Review directory have been
      removed.
      ]]>
    </Description>

    <!--**
    ** Sample code snippets
    ** Extracted from git diff of changed files in Examples and Testing
    **-->
    <SampleCode>
      <Old>
        <![CDATA[
        #include &quot;itkComposeRGBImageFilter.h&quot;
        typedef itk::ComposeRGBImageFilter&amp;lt; GradientMagnitudeOutputImageType, RGB2DImageType &gt; ComposeRGBFilterType;
        ]]>
      </Old>

      <New>
        <![CDATA[
        #include &quot;itkComposeImageFilter.h&quot;
        typedef itk::ComposeImageFilter&amp;lt; GradientMagnitudeOutputImageType, RGB2DImageType &gt; ComposeRGBFilterType;
        ]]>
      </New>

    </SampleCode>

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

    <!--**
    ** List of all changed files from the topic branch
    **-->
    <FileList>
      Examples/IO/VisibleHumanPasteWrite.cxx
      Examples/IO/VisibleHumanStreamReadWrite.cxx
      Examples/Statistics/ImageToListSampleAdaptor.cxx
      Examples/Statistics/ScalarImageMarkovRandomField1.cxx
      Modules/Filtering/ImageCompose/include/itkCompose2DCovariantVectorImageFilter.h
      Modules/Filtering/ImageCompose/include/itkCompose2DVectorImageFilter.h
      Modules/Filtering/ImageCompose/include/itkCompose3DCovariantVectorImageFilter.h
      Modules/Filtering/ImageCompose/include/itkCompose3DVectorImageFilter.h
      Modules/Filtering/ImageCompose/include/itkComposeImageFilter.h
      Modules/Filtering/ImageCompose/include/itkComposeImageFilter.txx
      Modules/Filtering/ImageCompose/include/itkComposeRGBImageFilter.h
      Modules/Filtering/ImageCompose/include/itkImageToVectorImageFilter.h
      Modules/Filtering/ImageCompose/include/itkImageToVectorImageFilter.txx
      Modules/Filtering/ImageCompose/test/CMakeLists.txt
      Modules/Filtering/ImageCompose/test/itkCompose2DCovariantVectorImageFilterTest.cxx
      Modules/Filtering/ImageCompose/test/itkCompose2DVectorImageFilterTest.cxx
      Modules/Filtering/ImageCompose/test/itkCompose3DCovariantVectorImageFilterTest.cxx
      Modules/Filtering/ImageCompose/test/itkCompose3DVectorImageFilterTest.cxx
      Modules/Filtering/ImageCompose/test/itkComposeRGBAImageFilterTest.cxx
      Modules/Filtering/ImageCompose/test/itkComposeRGBImageFilterTest.cxx
      Modules/Filtering/ImageCompose/test/itkImageComposeHeaderTest.cxx
      Modules/Filtering/ImageCompose/test/itkImageReadRealAndImaginaryWriteComplexTest.cxx
      Modules/Filtering/ImageCompose/test/itkImageToVectorImageFilterTest.cxx
      Modules/Filtering/ImageIntensity/include/itkScalarToArrayCastImageFilter.h
      Modules/Filtering/ImageIntensity/include/itkScalarToArrayCastImageFilter.txx
      Modules/Filtering/ImageIntensity/test/itkImageIntensityHeaderTest.cxx
      Modules/Nonunit/Deprecated/include/itkCompose2DCovariantVectorImageFilter.h
      Modules/Nonunit/Deprecated/include/itkCompose2DVectorImageFilter.h
      Modules/Nonunit/Deprecated/include/itkCompose3DCovariantVectorImageFilter.h
      Modules/Nonunit/Deprecated/include/itkCompose3DVectorImageFilter.h
      Modules/Nonunit/Deprecated/include/itkComposeRGBImageFilter.h
      Modules/Nonunit/Deprecated/include/itkImageToVectorImageFilter.h
      Modules/Nonunit/Deprecated/include/itkImageToVectorImageFilter.txx
      Modules/Nonunit/Deprecated/include/itkScalarToArrayCastImageFilter.h
      Modules/Nonunit/Deprecated/include/itkScalarToArrayCastImageFilter.txx
      Modules/Nonunit/Deprecated/test/itkDeprecatedHeaderTest.cxx
      Modules/Nonunit/IntegratedTest/test/CMakeLists.txt
      Modules/Nonunit/IntegratedTest/test/itkBasicFiltersPrintTest.cxx
      Modules/Nonunit/IntegratedTest/test/itkBasicFiltersPrintTest2.cxx
      Modules/Nonunit/IntegratedTest/test/itkImageToHistogramFilterTest4.cxx
      Modules/Nonunit/IntegratedTest/test/itkImageToHistogramFilterTest5.cxx
      Modules/Nonunit/IntegratedTest/test/itkImageToListSampleAdaptorTest.cxx
      Modules/Nonunit/IntegratedTest/test/itkMaskedImageToHistogramFilterTest1.cxx
      Modules/Nonunit/IntegratedTest/test/itkSubsampleTest.cxx
      Modules/Nonunit/Review/include/itkComposeRGBAImageFilter.h
      Modules/Nonunit/Review/include/itkRealAndImaginaryToComplexImageFilter.h
      Modules/Nonunit/Review/test/CMakeLists.txt
      Modules/Nonunit/Review/test/itkComposeRGBAImageFilterTest.cxx
      Modules/Nonunit/Review/test/itkImageReadRealAndImaginaryWriteComplexTest.cxx
      Modules/Nonunit/Review/test/itkReviewHeaderTest.cxx
      Wrapping/WrapITK/Libraries/Compose/itkCompose2DCovariantVectorImageFilter.wrap
      Wrapping/WrapITK/Libraries/Compose/itkCompose2DVectorImageFilter.wrap
      Wrapping/WrapITK/Libraries/Compose/itkCompose3DCovariantVectorImageFilter.wrap
      Wrapping/WrapITK/Libraries/Compose/itkCompose3DVectorImageFilter.wrap
      Wrapping/WrapITK/Libraries/Compose/itkComposeImageFilter.wrap
      Wrapping/WrapITK/Libraries/Compose/itkComposeRGBAImageFilter.wrap
      Wrapping/WrapITK/Libraries/Compose/itkComposeRGBImageFilter.wrap
      Wrapping/WrapITK/Libraries/Compose/itkImageToVectorImageFilter.wrap
      Wrapping/WrapITK/Libraries/FFT/itkRealAndImaginaryToComplexImageFilter.wrap
    </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>
    **     MipsleledName
    **   </Old>
    **   <New>
    **     MisspelledName
    **   </New>
    ** </MigrationFix-Automatic>
    **-->
    <MigrationFix-Automatic>
      <Old>
        ScalarToArrayCastImageFilter
      </Old>
      <New>
        ComposeImageFilter
      </New>
    </MigrationFix-Automatic>
    <MigrationFix-Automatic>
      <Old>
        ImageToVectorImageFilter
      </Old>
      <New>
        ComposeImageFilter
      </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>
    **-->
    <MigrationFix-Manual>
      <Old>
        Compose2DCovariantVectorImageFilter
      </Old>
      <New>
      </New>
    </MigrationFix-Manual>
    <MigrationFix-Manual>
      <Old>
        Compose3DCovariantVectorImageFilter
      </Old>
      <New>
      </New>
    </MigrationFix-Manual>
    <MigrationFix-Manual>
      <Old>
        Compose2DVectorImageFilter
      </Old>
      <New>
      </New>
    </MigrationFix-Manual>
    <MigrationFix-Manual>
      <Old>
        Compose3DVectorImageFilter
      </Old>
      <New>
      </New>
    </MigrationFix-Manual>
    <MigrationFix-Manual>
      <Old>
        ComposeRGBImageFilter
      </Old>
      <New>
      </New>
    </MigrationFix-Manual>
    <MigrationFix-Manual>
      <Old>
        ComposeRGBAImageFilter
      </Old>
      <New>
      </New>
    </MigrationFix-Manual>
    <MigrationFix-Manual>
      <Old>
        RealAndImaginaryToComplexImageFilter
      </Old>
      <New>
      </New>
    </MigrationFix-Manual>

</Change>
