28#ifndef itkRegionFromReferenceLabelMapFilter_h
29#define itkRegionFromReferenceLabelMapFilter_h
53template <
typename TInputImage>
72 using typename Superclass::OutputImageType;
73 using typename Superclass::OutputImagePointer;
74 using typename Superclass::OutputImageRegionType;
75 using typename Superclass::OutputImagePixelType;
85 using PixelType =
typename InputImageType::PixelType;
93 static constexpr unsigned int InputImageDimension = TInputImage::ImageDimension;
94 static constexpr unsigned int OutputImageDimension = TOutputImage::ImageDimension;
95 static constexpr unsigned int ImageDimension = TOutputImage::ImageDimension;
110 this->SetInput(input);
117 this->SetReferenceImage(input);
133#ifndef ITK_MANUAL_INSTANTIATION
134# include "itkRegionFromReferenceLabelMapFilter.hxx"
Change the region of a label map.
typename InputImageType::ConstPointer InputImageConstPointer
typename InputImageType::PixelType InputImagePixelType
typename InputImageType::SizeType SizeType
typename InputImageType::IndexType IndexType
typename InputImageType::Pointer InputImagePointer
typename InputImageType::RegionType RegionType
typename InputImageType::RegionType InputImageRegionType
typename InputImageType::LabelObjectType LabelObjectType
typename InputImageType::PixelType PixelType
TInputImage InputImageType
Base class for templated image classes.
Control indentation during Print() invocation.
Light weight base class for most itk classes.
Set the region from a reference image.
RegionFromReferenceLabelMapFilter()
void PrintSelf(std::ostream &os, Indent indent) const override
void SetInput2(const ReferenceImageType *input)
const ReferenceImageType * GetReferenceImage() const
void GenerateOutputInformation() override
void SetInput1(const TInputImage *input)
void SetReferenceImage(const ReferenceImageType *image)
~RegionFromReferenceLabelMapFilter() override=default
SmartPointer< const Self > ConstPointer
SmartPointer< Self > Pointer
ImageBaseType::RegionType RegionType
ImageBaseType::IndexType IndexType
ImageBaseType::SizeType SizeType
The "itk" namespace contains all Insight Segmentation and Registration Toolkit (ITK) classes....