18#ifndef itkBinaryImageToLabelMapFilter_h
19#define itkBinaryImageToLabelMapFilter_h
53template <
typename TInputImage,
54 typename TOutputImage = LabelMap<LabelObject<SizeValueType, TInputImage::ImageDimension>>>
69 using Superclass::Register;
70 using Superclass::UnRegister;
95 static constexpr unsigned int ImageDimension = TOutputImage::ImageDimension;
96 static constexpr unsigned int OutputImageDimension = TOutputImage::ImageDimension;
97 static constexpr unsigned int InputImageDimension = TInputImage::ImageDimension;
120 itkSetMacro(FullyConnected,
bool);
121 itkGetConstReferenceMacro(FullyConnected,
bool);
122 itkBooleanMacro(FullyConnected);
191#ifndef ITK_MANUAL_INSTANTIATION
192# if !defined(ITK_WRAPPING_PARSER)
193# include "itkBinaryImageToLabelMapFilter.hxx"
Label the connected components in a binary image and produce a collection of label objects.
typename ScanlineFunctions::WorkUnitData WorkUnitData
void PrintSelf(std::ostream &os, Indent indent) const override
typename ScanlineFunctions::ConsecutiveVectorType ConsecutiveVectorType
typename TInputImage::PixelType InputPixelType
typename TOutputImage::PixelType OutputPixelType
typename TOutputImage::PixelType OutputImagePixelType
typename TOutputImage::IndexType OutputIndexType
BinaryImageToLabelMapFilter()
typename ScanlineFunctions::InternalLabelType InternalLabelType
typename TInputImage::SizeType SizeType
TInputImage InputImageType
typename ScanlineFunctions::UnionFindType UnionFindType
typename TInputImage::SizeValueType SizeValueType
typename TOutputImage::OffsetType OutputOffsetType
typename TInputImage::OffsetValueType OffsetValueType
typename TInputImage::OffsetType OffsetType
typename ScanlineFunctions::OffsetVectorConstIterator OffsetVectorConstIterator
typename ScanlineFunctions::LineEncodingType LineEncodingType
typename ScanlineFunctions::LineEncodingIterator LineEncodingIterator
typename TOutputImage::RegionType RegionType
void GenerateData() override
~BinaryImageToLabelMapFilter() override=default
void DynamicThreadedGenerateData(const RegionType &outputRegionForThread) override
typename ScanlineFunctions::OutSizeType OutSizeType
typename ScanlineFunctions::RunLength RunLength
typename TOutputImage::SizeType OutputSizeType
void GenerateInputRequestedRegion() override
typename TInputImage::IndexType IndexType
typename ScanlineFunctions::LineMapType LineMapType
TOutputImage OutputImageType
typename ScanlineFunctions::LineEncodingConstIterator LineEncodingConstIterator
typename ScanlineFunctions::OffsetVectorType OffsetVectorType
void EnlargeOutputRequestedRegion(DataObject *) override
Base class for all data objects in ITK.
Base class for filters that take an image as input and produce an image as output.
typename InputImageType::Pointer InputImagePointer
Control indentation during Print() invocation.
Helper class for a group of filters which operate on scan-lines.
typename OffsetVectorType::const_iterator OffsetVectorConstIterator
typename TOutputImage::RegionType::SizeType OutSizeType
typename LineEncodingType::const_iterator LineEncodingConstIterator
SizeValueType InternalLabelType
typename LineEncodingType::iterator LineEncodingIterator
std::vector< LineEncodingType > LineMapType
std::vector< RunLength > LineEncodingType
std::vector< OffsetValueType > OffsetVectorType
std::vector< InternalLabelType > UnionFindType
std::vector< OutputPixelType > ConsecutiveVectorType
ImageBaseType::RegionType RegionType
ImageBaseType::IndexType IndexType
ImageBaseType::SizeType SizeType
The "itk" namespace contains all Insight Segmentation and Registration Toolkit (ITK) classes....
unsigned long SizeValueType