18 #ifndef itkComposeImageFilter_h
19 #define itkComposeImageFilter_h
57 template<
typename TInputImage,
typename TOutputImage=VectorImage<
typename TInputImage::PixelType, TInputImage::ImageDimension> >
71 static constexpr
unsigned int Dimension = TInputImage::ImageDimension;
83 #ifdef ITK_USE_CONCEPT_CHECKING
93 void GenerateOutputInformation()
override;
95 void BeforeThreadedGenerateData()
override;
97 void DynamicThreadedGenerateData(
const RegionType & outputRegionForThread)
override;
110 pix = std::complex<T>(inputItContainer[0].Get(), inputItContainer[1].Get());
111 ++( inputItContainer[0] );
112 ++( inputItContainer[1] );
114 template<
typename TPixel>
117 for (
unsigned int i = 0; i < this->GetNumberOfInputs(); i++ )
120 ++( inputItContainer[i] );
126 #ifndef ITK_MANUAL_INSTANTIATION
127 #include "itkComposeImageFilter.hxx"
void ComputeOutputPixel(TPixel &pix, InputIteratorContainerType &inputItContainer)
void ComputeOutputPixel(std::complex< T > &pix, InputIteratorContainerType &inputItContainer)
Define numeric traits for std::vector.
typename InputImageType::RegionType RegionType
The base class for all process objects (source, filters, mappers) in the Insight data processing pipe...
typename OutputImageType::PixelType OutputPixelType
Base class for all process objects that output image data.
constexpr unsigned int Dimension
TInputImage InputImageType
ComposeImageFilter combine several scalar images into a multicomponent image.
std::vector< InputIteratorType > InputIteratorContainerType
A multi-dimensional iterator templated over image type that walks a region of pixels.
TOutputImage OutputImageType
Base class for filters that take an image as input and produce an image as output.
typename InputImageType::PixelType InputPixelType
ImageBaseType::RegionType RegionType
#define itkConceptMacro(name, concept)