18 #ifndef itkBinaryContourImageFilter_h
19 #define itkBinaryContourImageFilter_h
52 template<
typename TInputImage,
typename TOutputImage >
67 using Superclass::Register;
68 using Superclass::UnRegister;
101 static constexpr
unsigned int ImageDimension = OutputImageType::ImageDimension;
108 itkSetMacro(FullyConnected,
bool);
109 itkGetConstReferenceMacro(FullyConnected,
bool);
110 itkBooleanMacro(FullyConnected);
134 void PrintSelf(std::ostream & os,
Indent indent)
const override;
136 void GenerateData()
override;
138 void BeforeThreadedGenerateData()
override;
140 void AfterThreadedGenerateData()
override;
142 void DynamicThreadedGenerateData(
const RegionType& outputRegionForThread)
override;
144 void ThreadedIntegrateData(
const RegionType& outputRegionForThread);
149 void GenerateInputRequestedRegion()
override;
155 void EnlargeOutputRequestedRegion(
DataObject * itkNotUsed(output) )
override;
181 #ifndef ITK_MANUAL_INSTANTIATION
182 #include "itkBinaryContourImageFilter.hxx"
typename InputImageType::InternalPixelType InputInternalPixelType
typename InputImageType::SizeType SizeType
typename ScanlineFunctions::ConsecutiveVectorType ConsecutiveVectorType
typename OutputImageType::Pointer OutputImagePointer
typename ScanlineFunctions::LineEncodingType LineEncodingType
typename OutputImageType::SizeType OutputSizeType
typename ScanlineFunctions::OutSizeType OutSizeType
typename ScanlineFunctions::RunLength RunLength
typename LineEncodingType::iterator LineEncodingIterator
std::vector< RunLength > LineEncodingType
The base class for all process objects (source, filters, mappers) in the Insight data processing pipe...
OutputImagePixelType m_BackgroundValue
Base class for all process objects that output image data.
TInputImage InputImageType
SizeValueType InternalLabelType
Helper class for a group of filters which operate on scan-lines.
typename OutputImageType::PixelType OutputImagePixelType
typename OutputImageType::RegionType RegionType
typename InputImageType::PixelType InputImagePixelType
typename InputImageType::Pointer InputImagePointer
ImageBaseType::SizeType SizeType
typename OffsetVectorType::const_iterator OffsetVectorConstIterator
InputImagePixelType m_ForegroundValue
ImageBaseType::IndexType IndexType
TOutputImage OutputImageType
typename ScanlineFunctions::OffsetVectorType OffsetVectorType
typename ScanlineFunctions::LineEncodingConstIterator LineEncodingConstIterator
typename OutputImageType::IndexType OutputIndexType
typename OutputImageType::OffsetType OutputOffsetType
typename InputImageType::IndexType IndexType
typename ScanlineFunctions::LineEncodingIterator LineEncodingIterator
typename TOutputImage::RegionType::SizeType OutSizeType
std::vector< OutputPixelType > ConsecutiveVectorType
typename ScanlineFunctions::UnionFindType UnionFindType
typename ScanlineFunctions::LineMapType LineMapType
std::vector< OffsetValueType > OffsetVectorType
LineMapType m_ForegroundLineMap
LineMapType m_BackgroundLineMap
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 ScanlineFunctions::InternalLabelType InternalLabelType
Labels the pixels on the border of the objects in a binary image.
typename InputImageType::OffsetType OffsetType
Base class for filters that take an image as input and overwrite that image as the output...
typename LineEncodingType::const_iterator LineEncodingConstIterator
ImageBaseType::RegionType RegionType
typename InputImageType::ConstPointer InputImageConstPointer
Base class for all data objects in ITK.
typename ScanlineFunctions::OffsetVectorConstIterator OffsetVectorConstIterator
std::vector< InternalLabelType > UnionFindType
typename OutputImageType::InternalPixelType OutputInternalPixelType