|
ITK
5.3.0
Insight Toolkit
|
Go to the documentation of this file.
18 #ifndef itkObjectByObjectLabelMapFilter_h
19 #define itkObjectByObjectLabelMapFilter_h
79 template <
typename TInputImage,
80 typename TOutputImage = TInputImage,
81 typename TInputFilter = ImageToImageFilter<Image<unsigned char, TInputImage::ImageDimension>,
82 Image<unsigned char, TOutputImage::ImageDimension>>,
84 class TInternalInputImage =
typename TInputFilter::InputImageType,
85 class TInternalOutputImage =
typename TOutputFilter::OutputImageType>
126 static constexpr
unsigned int InputImageDimension = TInputImage::ImageDimension;
127 static constexpr
unsigned int OutputImageDimension = TOutputImage::ImageDimension;
128 static constexpr
unsigned int ImageDimension = TOutputImage::ImageDimension;
141 return this->m_InputFilter;
144 const InputFilterType *
147 return this->m_InputFilter;
151 SetInputFilter(InputFilterType * filter);
152 itkGetModifiableObjectMacro(InputFilter, InputFilterType);
155 SetOutputFilter(OutputFilterType * filter);
156 itkGetModifiableObjectMacro(OutputFilter, OutputFilterType);
165 itkSetMacro(KeepLabels,
bool);
166 itkGetMacro(KeepLabels,
bool);
167 itkBooleanMacro(KeepLabels);
181 itkSetMacro(ConstrainPaddingToImage,
bool);
182 itkGetMacro(ConstrainPaddingToImage,
bool);
183 itkBooleanMacro(ConstrainPaddingToImage);
191 itkSetMacro(BinaryInternalOutput,
bool);
192 itkGetMacro(BinaryInternalOutput,
bool);
193 itkBooleanMacro(BinaryInternalOutput);
200 itkSetMacro(InternalForegroundValue, InternalOutputPixelType);
201 itkGetMacro(InternalForegroundValue, InternalOutputPixelType);
208 itkGetMacro(
Label, InputImagePixelType);
214 PrintSelf(std::ostream & os,
Indent indent)
const override;
217 GenerateData()
override;
256 #ifndef ITK_MANUAL_INSTANTIATION
257 # include "itkObjectByObjectLabelMapFilter.hxx"
SmartPointer< Self > Pointer
typename OutputImageType::ConstPointer OutputImageConstPointer
InputImagePixelType m_Label
InternalOutputPixelType m_InternalForegroundValue
SmartPointer< const Self > ConstPointer
ObjectByObjectLabelMapFilter applies an image pipeline to all the objects of a label map and produce ...
typename OutputImageType::Pointer OutputImagePointer
typename InternalInputImageType::OffsetType InternalOffsetType
typename InternalInputImageType::SizeType InternalSizeType
Convert a LabelMap to a binary image.
OutputFilterType::Pointer m_OutputFilter
remove the objects according to the value of their attribute
InputFilterType * GetFilter()
convert a labeled image to a label collection image
const InputFilterType * GetFilter() const
ImageBaseType::SizeType SizeType
Crop a LabelMap image to fit exactly the objects in the LabelMap.
Control indentation during Print() invocation.
typename InternalInputImageType::PixelType InternalInputPixelType
typename InputImageType::LabelObjectType LabelObjectType
Label the connected components in a binary image and produce a collection of label objects.
LI2LMType::Pointer m_LI2LM
typename InternalInputImageType::RegionType InternalRegionType
typename InputImageType::PixelType InputImagePixelType
ImageBaseType::IndexType IndexType
Base class for all process objects that output image data.
BI2LMType::Pointer m_BI2LM
typename InternalInputImageType::IndexType InternalIndexType
typename InputImageType::Pointer InputImagePointer
TOutputFilter OutputFilterType
Base class for filters that take an image as input and overwrite that image as the output.
ImageBaseType::RegionType RegionType
TInternalInputImage InternalInputImageType
typename InternalOutputImageType::PixelType InternalOutputPixelType
LM2BIType::Pointer m_LM2BI
InputFilterType::Pointer m_InputFilter
TInputImage InputImageType
TInternalOutputImage InternalOutputImageType
bool m_BinaryInternalOutput
typename OutputImageType::RegionType OutputImageRegionType
TInputFilter InputFilterType
OutputImageType LabelMapType
The "itk" namespace contains all Insight Segmentation and Registration Toolkit (ITK) classes....
The base class for all process objects (source, filters, mappers) in the Insight data processing pipe...
typename OutputImageType::PixelType OutputImagePixelType
SelectType::Pointer m_Select
typename InputImageType::RegionType InputImageRegionType
BinaryGeneratorImageFilter< TInputImage1, TInputImage2, TOutputImage > Superclass
bool m_ConstrainPaddingToImage
typename InputImageType::ConstPointer InputImageConstPointer
TOutputImage OutputImageType
typename OutputImageType::SizeType SizeType