18 #ifndef itkBinaryReconstructionLabelMapFilter_h
19 #define itkBinaryReconstructionLabelMapFilter_h
43 template<
typename TImage,
typename TMarkerImage,
typename TAttributeAccessor=
44 typename Functor::AttributeLabelObjectAccessor< typename TImage::LabelObjectType > >
73 static constexpr
unsigned int ImageDimension = TImage::ImageDimension;
82 #ifdef ITK_USE_CONCEPT_CHECKING
97 this->SetNthInput( 1, const_cast<TMarkerImage *>(input) );
109 this->SetInput( input );
115 this->SetMarkerImage( input );
122 itkSetMacro(ForegroundValue, MarkerImagePixelType);
123 itkGetConstMacro(ForegroundValue, MarkerImagePixelType);
130 void ThreadedProcessLabelObject( LabelObjectType * labelObject )
override;
132 void PrintSelf(std::ostream& os,
Indent indent)
const override;
141 #ifndef ITK_MANUAL_INSTANTIATION
142 #include "itkBinaryReconstructionLabelMapFilter.hxx"
typename ImageType::LabelObjectType LabelObjectType
Light weight base class for most itk classes.
typename ImageType::PixelType PixelType
Mark the objects at least partially at the same position as the objects in a binary image...
typename MarkerImageType::ConstPointer MarkerImageConstPointer
typename ImageType::Pointer ImagePointer
typename ImageType::ConstPointer ImageConstPointer
void SetMarkerImage(TMarkerImage *input)
typename MarkerImageType::PixelType MarkerImagePixelType
TAttributeAccessor AttributeAccessorType
void SetInput1(TImage *input)
MarkerImageType * GetMarkerImage()
typename ImageType::IndexType IndexType
ImageBaseType::IndexType IndexType
Base class for filters that takes an image as input and overwrites that image as the output...
MarkerImagePixelType m_ForegroundValue
void SetInput2(TMarkerImage *input)
DataObject * GetInput(const DataObjectIdentifierType &key)
Return an input.
typename MarkerImageType::Pointer MarkerImagePointer
Control indentation during Print() invocation.
TMarkerImage MarkerImageType
Base class for all data objects in ITK.