28 #ifndef itkRegionFromReferenceLabelMapFilter_h
29 #define itkRegionFromReferenceLabelMapFilter_h
53 template<
typename TInputImage >
83 typedef typename InputImageType::PixelType
PixelType;
91 itkStaticConstMacro(InputImageDimension,
unsigned int, TInputImage::ImageDimension);
92 itkStaticConstMacro(OutputImageDimension,
unsigned int, TOutputImage::ImageDimension);
93 itkStaticConstMacro(ImageDimension,
unsigned int, TOutputImage::ImageDimension);
106 this->SetInput(input);
112 this->SetReferenceImage(input);
118 this->SetNumberOfRequiredInputs(2);
123 virtual void GenerateOutputInformation() ITK_OVERRIDE;
125 void PrintSelf(std::ostream & os,
Indent indent) const ITK_OVERRIDE;
132 #ifndef ITK_MANUAL_INSTANTIATION
133 #include "itkRegionFromReferenceLabelMapFilter.hxx"
Light weight base class for most itk classes.
void SetInput2(const ReferenceImageType *input)
void SetInput1(const TInputImage *input)
InputImageType::IndexType IndexType
SmartPointer< const Self > ConstPointer
InputImageType::PixelType PixelType
Superclass::OutputImagePointer OutputImagePointer
~RegionFromReferenceLabelMapFilter() override
InputImageType::LabelObjectType LabelObjectType
Superclass::OutputImagePixelType OutputImagePixelType
ChangeRegionLabelMapFilter< TInputImage > Superclass
TInputImage InputImageType
InputImageType::SizeType SizeType
Superclass::OutputImageRegionType OutputImageRegionType
RegionFromReferenceLabelMapFilter Self
InputImageType::ConstPointer InputImageConstPointer
RegionFromReferenceLabelMapFilter()
InputImageType::RegionType InputImageRegionType
Base class for templated image classes.
ImageBase< itkGetStaticConstMacro(ImageDimension) > ReferenceImageType
Control indentation during Print() invocation.
Superclass::OutputImageType OutputImageType
ImageBaseType::SizeType SizeType
InputImageType::RegionType RegionType
InputImageType::Pointer InputImagePointer
SmartPointer< Self > Pointer
InputImageType::PixelType InputImagePixelType
Change the region of a label map.
ImageBaseType::IndexType IndexType
Set the region from a reference image.