|
ITK
5.2.0
Insight Toolkit
|
Go to the documentation of this file.
18 #ifndef itkBinaryImageToLabelMapFilter_h
19 #define itkBinaryImageToLabelMapFilter_h
53 template <
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);
148 PrintSelf(std::ostream & os,
Indent indent)
const override;
151 DynamicThreadedGenerateData(
const RegionType & outputRegionForThread)
override;
154 GenerateData()
override;
160 GenerateInputRequestedRegion()
override;
167 EnlargeOutputRequestedRegion(
DataObject * itkNotUsed(output))
override;
191 #ifndef ITK_MANUAL_INSTANTIATION
192 # if !defined(ITK_WRAPPING_PARSER)
193 # include "itkBinaryImageToLabelMapFilter.hxx"
typename LineEncodingType::iterator LineEncodingIterator
typename ScanlineFunctions::RunLength RunLength
std::vector< LineEncodingType > LineMapType
std::vector< RunLength > LineEncodingType
std::vector< OffsetValueType > OffsetVectorType
typename TInputImage::OffsetType OffsetType
ImageBaseType::SizeType SizeType
Control indentation during Print() invocation.
Label the connected components in a binary image and produce a collection of label objects.
typename TOutputImage::PixelType OutputPixelType
std::vector< InternalLabelType > UnionFindType
ImageBaseType::IndexType IndexType
Base class for filters that take an image as input and produce an image as output.
Base class for all process objects that output image data.
typename TInputImage::SizeValueType SizeValueType
SizeValueType InternalLabelType
typename TOutputImage::RegionType::SizeType OutSizeType
typename InputImageType::Pointer InputImagePointer
InputPixelType m_InputForegroundValue
typename OffsetVectorType::const_iterator OffsetVectorConstIterator
ImageBaseType::RegionType RegionType
TInputImage InputImageType
OutputPixelType m_OutputBackgroundValue
std::vector< OutputPixelType > ConsecutiveVectorType
typename TInputImage::PixelType InputPixelType
typename TOutputImage::IndexType OutputIndexType
SizeValueType m_NumberOfObjects
typename TOutputImage::OffsetType OutputOffsetType
The "itk" namespace contains all Insight Segmentation and Registration Toolkit (ITK) classes....
Helper class for a group of filters which operate on scan-lines.
signed long OffsetValueType
The base class for all process objects (source, filters, mappers) in the Insight data processing pipe...
typename OutputImageType::PixelType OutputImagePixelType
typename TOutputImage::SizeType OutputSizeType
typename LineEncodingType::const_iterator LineEncodingConstIterator
typename TInputImage::OffsetValueType OffsetValueType
typename ScanlineFunctions::WorkUnitData WorkUnitData
typename TInputImage::IndexType IndexType
unsigned long SizeValueType
TOutputImage OutputImageType
Base class for all data objects in ITK.
OutputRegionType RegionType
typename TInputImage::SizeType SizeType