18 #ifndef itkBinaryImageToLabelMapFilter_h
19 #define itkBinaryImageToLabelMapFilter_h
54 template<
typename TInputImage,
55 typename TOutputImage =
56 LabelMap< LabelObject< SizeValueType, TInputImage::ImageDimension > > >
71 using Superclass::Register;
72 using Superclass::UnRegister;
97 static constexpr
unsigned int ImageDimension = TOutputImage::ImageDimension;
98 static constexpr
unsigned int OutputImageDimension = TOutputImage::ImageDimension;
99 static constexpr
unsigned int InputImageDimension = TInputImage::ImageDimension;
122 itkSetMacro(FullyConnected,
bool);
123 itkGetConstReferenceMacro(FullyConnected,
bool);
124 itkBooleanMacro(FullyConnected);
149 void PrintSelf(std::ostream & os,
Indent indent)
const override;
151 void DynamicThreadedGenerateData(
const RegionType & outputRegionForThread )
override;
153 void GenerateData()
override;
158 void GenerateInputRequestedRegion()
override;
164 void EnlargeOutputRequestedRegion(
DataObject *itkNotUsed(output) )
override;
188 #ifndef ITK_MANUAL_INSTANTIATION
189 #if !defined( ITK_WRAPPING_PARSER )
190 #include "itkBinaryImageToLabelMapFilter.hxx"
typename TInputImage::SizeValueType SizeValueType
typename TOutputImage::PixelType OutputPixelType
SizeValueType m_NumberOfObjects
OutputPixelType m_OutputBackgroundValue
unsigned long SizeValueType
typename TOutputImage::IndexType OutputIndexType
typename LineEncodingType::iterator LineEncodingIterator
std::vector< RunLength > LineEncodingType
The base class for all process objects (source, filters, mappers) in the Insight data processing pipe...
Base class for all process objects that output image data.
typename ScanlineFunctions::WorkUnitData WorkUnitData
TInputImage InputImageType
SizeValueType InternalLabelType
typename TInputImage::OffsetValueType OffsetValueType
Helper class for a group of filters which operate on scan-lines.
typename TOutputImage::OffsetType OutputOffsetType
typename OutputImageType::PixelType OutputImagePixelType
typename InputImageType::Pointer InputImagePointer
OutputRegionType RegionType
ImageBaseType::SizeType SizeType
typename OffsetVectorType::const_iterator OffsetVectorConstIterator
ImageBaseType::IndexType IndexType
TOutputImage OutputImageType
typename TInputImage::OffsetType OffsetType
typename ScanlineFunctions::RunLength RunLength
typename TOutputImage::RegionType::SizeType OutSizeType
std::vector< OutputPixelType > ConsecutiveVectorType
Label the connected components in a binary image and produce a collection of label objects...
std::vector< OffsetValueType > OffsetVectorType
typename TOutputImage::SizeType OutputSizeType
Base class for filters that take an image as input and produce an image as output.
std::vector< LineEncodingType > LineMapType
Control indentation during Print() invocation.
typename TInputImage::SizeType SizeType
typename LineEncodingType::const_iterator LineEncodingConstIterator
ImageBaseType::RegionType RegionType
typename TInputImage::PixelType InputPixelType
signed long OffsetValueType
typename TInputImage::IndexType IndexType
Base class for all data objects in ITK.
std::vector< InternalLabelType > UnionFindType
InputPixelType m_InputForegroundValue