28 #ifndef itkInPlaceLabelMapFilter_h
29 #define itkInPlaceLabelMapFilter_h
82 template<
typename TInputImage >
121 static constexpr
unsigned int InputImageDimension = TInputImage::ImageDimension;
122 static constexpr
unsigned int OutputImageDimension = TOutputImage::ImageDimension;
126 itkSetMacro(InPlace,
bool);
127 itkGetMacro(InPlace,
bool);
128 itkBooleanMacro(InPlace);
150 void PrintSelf(std::ostream & os,
Indent indent)
const override;
164 void AllocateOutputs()
override;
172 return this->GetOutput();
176 bool m_InPlace{
true};
180 #ifndef ITK_MANUAL_INSTANTIATION
181 #include "itkInPlaceLabelMapFilter.hxx"
typename OutputImageType::Pointer OutputImagePointer
Light weight base class for most itk classes.
typename InputImageType::IndexType IndexType
InputImageType * GetLabelMap() override
typename OutputImageType::PixelType OutputImagePixelType
typename InputImageType::PixelType InputImagePixelType
typename InputImageType::Pointer InputImagePointer
bool CanRunInPlace() const
typename OutputImageType::RegionType OutputImageRegionType
ImageBaseType::IndexType IndexType
Base class for filters that takes an image as input and overwrites that image as the output...
typename InputImageType::PixelType PixelType
Base class for filters that take an image as input and overwrite that image as the output...
typename InputImageType::RegionType InputImageRegionType
Control indentation during Print() invocation.
typename InputImageType::LabelObjectType LabelObjectType
ImageBaseType::RegionType RegionType
typename InputImageType::ConstPointer InputImageConstPointer
typename InputImageType::RegionType RegionType