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
111 pix = std::complex<T>(inputItContainer[0].Get(), inputItContainer[1].Get());
112 ++( inputItContainer[0] );
113 ++( inputItContainer[1] );
115 template<
typename TPixel>
121 ++( inputItContainer[i] );
127 #ifndef ITK_MANUAL_INSTANTIATION
128 #include "itkComposeImageFilter.hxx"
void ComputeOutputPixel(TPixel &pix, InputIteratorContainerType &inputItContainer)
virtual void BeforeThreadedGenerateData()
TInputImage InputImageType
InputImageType::RegionType RegionType
void ComputeOutputPixel(std::complex< T > &pix, InputIteratorContainerType &inputItContainer)
void SetInput3(const InputImageType *image3)
ImageToImageFilter< TInputImage, TOutputImage > Superclass
SmartPointer< Self > Pointer
OutputImageType::PixelType OutputPixelType
TOutputImage OutputImageType
Base class for all process objects that output image data.
virtual void ThreadedGenerateData(const RegionType &outputRegionForThread, ThreadIdType)
DataObjectPointerArraySizeType GetNumberOfInputs() const
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
ImageRegionConstIterator< InputImageType > InputIteratorType
void SetInput1(const InputImageType *image1)
void SetInput2(const InputImageType *image2)
virtual void GenerateOutputInformation(void)
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)
void operator=(const Self &)
static const unsigned int Dimension
unsigned int ThreadIdType