28 #ifndef itkRegionFromReferenceLabelMapFilter_h
29 #define itkRegionFromReferenceLabelMapFilter_h
53 template<
typename TInputImage >
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;
107 this->SetInput(input);
113 this->SetReferenceImage(input);
119 this->SetNumberOfRequiredInputs(2);
124 void GenerateOutputInformation()
override;
126 void PrintSelf(std::ostream & os,
Indent indent)
const override;
130 #ifndef ITK_MANUAL_INSTANTIATION
131 #include "itkRegionFromReferenceLabelMapFilter.hxx"
typename InputImageType::RegionType InputImageRegionType
typename InputImageType::PixelType InputImagePixelType
typename Superclass::OutputImagePointer OutputImagePointer
Light weight base class for most itk classes.
void SetInput2(const ReferenceImageType *input)
void SetInput1(const TInputImage *input)
typename Superclass::OutputImagePixelType OutputImagePixelType
typename InputImageType::IndexType IndexType
typename InputImageType::ConstPointer InputImageConstPointer
typename Superclass::OutputImageType OutputImageType
typename InputImageType::LabelObjectType LabelObjectType
ImageBaseType::SizeType SizeType
ImageBaseType::IndexType IndexType
typename InputImageType::PixelType PixelType
typename Superclass::OutputImageRegionType OutputImageRegionType
typename InputImageType::SizeType SizeType
RegionFromReferenceLabelMapFilter()
typename InputImageType::RegionType RegionType
Base class for templated image classes.
Control indentation during Print() invocation.
TInputImage InputImageType
ImageBaseType::RegionType RegionType
typename InputImageType::Pointer InputImagePointer
Change the region of a label map.
Set the region from a reference image.