18 #ifndef itkBinaryImageToLabelMapFilter_h
19 #define itkBinaryImageToLabelMapFilter_h
60 template<
typename TInputImage,
61 typename TOutputImage =
62 LabelMap< LabelObject< SizeValueType, TInputImage::ImageDimension > > >
98 itkStaticConstMacro(ImageDimension,
unsigned int, TOutputImage::ImageDimension);
99 itkStaticConstMacro(OutputImageDimension,
unsigned int, TOutputImage::ImageDimension);
100 itkStaticConstMacro(InputImageDimension,
unsigned int, TInputImage::ImageDimension);
126 itkSetMacro(FullyConnected,
bool);
127 itkGetConstReferenceMacro(FullyConnected,
bool);
128 itkBooleanMacro(FullyConnected);
150 #ifdef ITK_USE_CONCEPT_CHECKING
154 itkGetStaticConstMacro(OutputImageDimension) > ) );
160 void PrintSelf(std::ostream & os,
Indent indent)
const ITK_OVERRIDE;
167 void BeforeThreadedGenerateData() ITK_OVERRIDE;
169 void AfterThreadedGenerateData() ITK_OVERRIDE;
176 void GenerateInputRequestedRegion() ITK_OVERRIDE;
182 void EnlargeOutputRequestedRegion(
DataObject *itkNotUsed(output) ) ITK_OVERRIDE;
257 #if !defined( ITK_WRAPPING_PARSER )
263 #ifndef ITK_MANUAL_INSTANTIATION
264 #if !defined( ITK_WRAPPING_PARSER )
265 #include "itkBinaryImageToLabelMapFilter.hxx"
TInputImage::PixelType InputPixelType
std::vector< runLength > lineEncoding
SizeValueType m_NumberOfObjects
OutputPixelType m_OutputBackgroundValue
TInputImage::SizeValueType SizeValueType
TOutputImage::OffsetType OutputOffsetType
signed long OffsetValueType
SmartPointer< const Self > ConstPointer
std::vector< OutputPixelType > ConsecutiveVectorType
std::vector< SizeValueType > m_FirstLineIdToJoin
TInputImage::OffsetValueType OffsetValueType
ImageToImageFilter< TInputImage, TOutputImage > Superclass
std::list< IndexType > ListType
TOutputImage OutputImageType
TInputImage::OffsetType OffsetType
Base class for all process objects that output image data.
TInputImage::SizeType SizeType
unsigned long SizeValueType
SizeValueType InternalLabelType
InputImageType::IndexType where
std::vector< InternalLabelType > UnionFindType
TOutputImage::SizeType OutputSizeType
ConsecutiveVectorType m_Consecutive
UnionFindType m_UnionFind
Superclass::InputImagePointer InputImagePointer
TOutputImage::RegionType::SizeType OutSizeType
TOutputImage::PixelType OutputImagePixelType
TInputImage InputImageType
Divide an image region into several pieces.
ImageRegionSplitterDirection::Pointer m_ImageRegionSplitter
virtual ~BinaryImageToLabelMapFilter() override
unsigned int ThreadIdType
Implements progress tracking for a filter.
Barrier::Pointer m_Barrier
BinaryImageToLabelMapFilter Self
std::vector< lineEncoding > LineMapType
SmartPointer< Self > Pointer
std::vector< SizeValueType > m_NumberOfLabels
Label the connected components in a binary image and produce a collection of label objects...
TOutputImage::PixelType OutputPixelType
Base class for filters that take an image as input and produce an image as output.
TOutputImage::IndexType OutputIndexType
Control indentation during Print() invocation.
ImageBaseType::SizeType SizeType
TOutputImage::RegionType RegionType
std::vector< OffsetValueType > OffsetVectorType
#define itkConceptMacro(name, concept)
TInputImage::IndexType IndexType
Base class for all data objects in ITK.
InputPixelType m_InputForegroundValue
ImageBaseType::IndexType IndexType