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);
78 void SetInput1(
const InputImageType *image1);
79 void SetInput2(
const InputImageType *image2);
80 void SetInput3(
const InputImageType *image3);
82 #ifdef ITK_USE_CONCEPT_CHECKING 100 void operator=(const Self &) ITK_DELETE_FUNCTION;
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)
TInputImage InputImageType
InputImageType::RegionType RegionType
void ComputeOutputPixel(std::complex< T > &pix, InputIteratorContainerType &inputItContainer)
void SetInput3(const InputImageType *image3)
virtual void ThreadedGenerateData(const RegionType &outputRegionForThread, ThreadIdType) override
ImageToImageFilter< TInputImage, TOutputImage > Superclass
SmartPointer< Self > Pointer
OutputImageType::PixelType OutputPixelType
The "itk" namespace contains all Insight Segmentation and Registration Toolkit (ITK) classes...
TOutputImage OutputImageType
virtual void BeforeThreadedGenerateData() override
DataObjectPointerArraySizeType GetNumberOfInputs() const
Get the size of the input container.
ComposeImageFilter combine several scalar images into a multicomponent image.
A multi-dimensional iterator templated over image type that walks a region of pixels.
unsigned int ThreadIdType
void SetInput1(const InputImageType *image1)
void SetInput2(const InputImageType *image2)
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)
virtual void GenerateOutputInformation(void) override
static const unsigned int Dimension