18#ifndef itkComposeImageFilter_h
19#define itkComposeImageFilter_h
60template <
typename TInputImage,
74 static constexpr unsigned int Dimension = TInputImage::ImageDimension;
89#ifdef ITK_USE_CONCEPT_CHECKING
100 GenerateOutputInformation()
override;
103 BeforeThreadedGenerateData()
override;
106 DynamicThreadedGenerateData(
const RegionType & outputRegionForThread)
override;
115 template <
typename T>
119 pix = std::complex<T>(inputItContainer[0].Get(), inputItContainer[1].Get());
120 ++(inputItContainer[0]);
121 ++(inputItContainer[1]);
123 template <
typename TPixel>
127 for (
unsigned int i = 0; i < this->GetNumberOfInputs(); ++i)
130 ++(inputItContainer[i]);
136#ifndef ITK_MANUAL_INSTANTIATION
137# include "itkComposeImageFilter.hxx"
ComposeImageFilter combine several scalar images into a multicomponent image.
typename InputImageType::RegionType RegionType
TInputImage InputImageType
TOutputImage OutputImageType
std::vector< InputIteratorType > InputIteratorContainerType
typename InputImageType::PixelType InputPixelType
typename OutputImageType::PixelType OutputPixelType
A multi-dimensional iterator templated over image type that walks a region of pixels.
Base class for filters that take an image as input and produce an image as output.
Light weight base class for most itk classes.
Define additional traits for native types such as int or float.
Templated n-dimensional vector image class.
#define itkConceptMacro(name, concept)
ImageBaseType::RegionType RegionType
constexpr unsigned int Dimension
The "itk" namespace contains all Insight Segmentation and Registration Toolkit (ITK) classes....