# Merge Compose Filters

Gaëtan Lehmann
2011-05-08
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.
#include &quot;itkComposeRGBImageFilter.h&quot; typedef itk::ComposeRGBImageFilter&amp;lt; GradientMagnitudeOutputImageType, RGB2DImageType &gt; ComposeRGBFilterType;
#include &quot;itkComposeImageFilter.h&quot; typedef itk::ComposeImageFilter&amp;lt; GradientMagnitudeOutputImageType, RGB2DImageType &gt; ComposeRGBFilterType;
I8076abcbc27b0015eb8febf4f4cf2b4a87583113
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
ScalarToArrayCastImageFilter
ComposeImageFilter
ImageToVectorImageFilter
ComposeImageFilter
Compose2DCovariantVectorImageFilter
Compose3DCovariantVectorImageFilter
Compose2DVectorImageFilter
Compose3DVectorImageFilter
ComposeRGBImageFilter
ComposeRGBAImageFilter
RealAndImaginaryToComplexImageFilter