28 #ifndef itkRegionFromReferenceLabelMapFilter_h
29 #define itkRegionFromReferenceLabelMapFilter_h
53 template<
typename TInputImage >
83 typedef typename InputImageType::PixelType
PixelType;
84 typedef typename InputImageType::IndexType
IndexType;
85 typedef typename InputImageType::SizeType
SizeType;
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;
132 #ifndef ITK_MANUAL_INSTANTIATION
133 #include "itkRegionFromReferenceLabelMapFilter.hxx"
virtual void PrintSelf(std::ostream &os, Indent indent) const override
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
SmartPointer< Self > Pointer
InputImageType::LabelObjectType LabelObjectType
Superclass::OutputImagePixelType OutputImagePixelType
~RegionFromReferenceLabelMapFilter()
ChangeRegionLabelMapFilter< TInputImage > Superclass
TInputImage InputImageType
InputImageType::SizeType SizeType
Superclass::OutputImageRegionType OutputImageRegionType
SmartPointer< const Self > ConstPointer
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
InputImageType::RegionType RegionType
InputImageType::Pointer InputImagePointer
SmartPointer< Self > Pointer
InputImageType::PixelType InputImagePixelType
Change the region of a label map.
Set the region from a reference image.