18 #ifndef itkSplitComponentsImageFilter_h
19 #define itkSplitComponentsImageFilter_h
47 template<
typename TInputImage,
typename TOutputImage,
unsigned int TComponents = TInputImage::ImageDimension >
48 class SplitComponentsImageFilter:
49 public ImageToImageFilter< TInputImage, TOutputImage >
55 static constexpr
unsigned int ImageDimension = TInputImage::ImageDimension;
58 static constexpr
unsigned int Components = TComponents;
105 #ifndef ITK_MANUAL_INSTANTIATION
106 #include "itkSplitComponentsImageFilter.hxx"
~SplitComponentsImageFilter() override
Extract components of an Image with multi-component pixels.
static constexpr unsigned int Components
void AllocateOutputs() override
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.
TInputImage InputImageType
void PrintSelf(std::ostream &os, Indent indent) const override
void DynamicThreadedGenerateData(const OutputRegionType &outputRegion) override
static constexpr unsigned int ImageDimension
FixedArray< bool, TComponents > ComponentsMaskType
ComponentsMaskType m_ComponentsMask
TOutputImage OutputImageType
Base class for filters that take an image as input and produce an image as output.
Control indentation during Print() invocation.
typename OutputImageType::RegionType OutputRegionType
typename InputImageType::PixelType InputPixelType
ImageBaseType::RegionType RegionType
SplitComponentsImageFilter()