18 #ifndef itkComposeImageFilter_h
19 #define itkComposeImageFilter_h
57 template<
typename TInputImage,
typename TOutputImage=VectorImage<
typename TInputImage::PixelType, TInputImage::ImageDimension> >
70 itkStaticConstMacro(
Dimension,
unsigned int, TInputImage::ImageDimension);
82 #ifdef ITK_USE_CONCEPT_CHECKING
92 virtual void GenerateOutputInformation(
void) ITK_OVERRIDE;
94 virtual
void BeforeThreadedGenerateData() ITK_OVERRIDE;
108 void ComputeOutputPixel(std::complex<T> & pix, InputIteratorContainerType & inputItContainer )
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)
TInputImage InputImageType
InputImageType::RegionType RegionType
ImageToImageFilter< TInputImage, TOutputImage > Superclass
SmartPointer< Self > Pointer
OutputImageType::PixelType OutputPixelType
TOutputImage OutputImageType
Base class for all process objects that output image data.
ComposeImageFilter combine several scalar images into a multicomponent image.
A multi-dimensional iterator templated over image type that walks a region of pixels.
TInputImage InputImageType
const unsigned int Dimension
unsigned int ThreadIdType
std::vector< InputIteratorType > InputIteratorContainerType
Base class for filters that take an image as input and produce an image as output.
InputImageType::PixelType InputPixelType
Define additional traits for native types such as int or float.
SmartPointer< const Self > ConstPointer
#define itkConceptMacro(name, concept)