18#ifndef itkBinaryContourImageFilter_h
19#define itkBinaryContourImageFilter_h
52template <
typename TInputImage,
typename TOutputImage>
53class ITK_TEMPLATE_EXPORT BinaryContourImageFilter
54 :
public InPlaceImageFilter<TInputImage, TOutputImage>
55 ,
protected ScanlineFilterCommon<TInputImage, TOutputImage>
58 ITK_DISALLOW_COPY_AND_MOVE(BinaryContourImageFilter);
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 PrintSelf(std::ostream & os,
Indent indent)
const override;
137 GenerateData()
override;
140 BeforeThreadedGenerateData()
override;
143 AfterThreadedGenerateData()
override;
146 DynamicThreadedGenerateData(
const RegionType & outputRegionForThread)
override;
149 ThreadedIntegrateData(
const RegionType & outputRegionForThread);
155 GenerateInputRequestedRegion()
override;
162 EnlargeOutputRequestedRegion(
DataObject * itkNotUsed(output))
override;
183 OutputImagePixelType m_BackgroundValue{};
187#ifndef ITK_MANUAL_INSTANTIATION
188# include "itkBinaryContourImageFilter.hxx"
Labels the pixels on the border of the objects in a binary image.
typename OutputImageType::SizeType OutputSizeType
typename ScanlineFunctions::LineEncodingType LineEncodingType
typename InputImageType::SizeType SizeType
typename ScanlineFunctions::LineEncodingConstIterator LineEncodingConstIterator
typename ScanlineFunctions::ConsecutiveVectorType ConsecutiveVectorType
typename OutputImageType::RegionType RegionType
typename ScanlineFunctions::LineMapType LineMapType
typename ScanlineFunctions::UnionFindType UnionFindType
typename InputImageType::OffsetType OffsetType
typename OutputImageType::InternalPixelType OutputInternalPixelType
typename InputImageType::IndexType IndexType
typename ScanlineFunctions::OutSizeType OutSizeType
typename InputImageType::InternalPixelType InputInternalPixelType
typename ScanlineFunctions::LineEncodingIterator LineEncodingIterator
typename OutputImageType::IndexType OutputIndexType
typename OutputImageType::OffsetType OutputOffsetType
typename ScanlineFunctions::RunLength RunLength
typename ScanlineFunctions::OffsetVectorType OffsetVectorType
typename ScanlineFunctions::OffsetVectorConstIterator OffsetVectorConstIterator
typename ScanlineFunctions::InternalLabelType InternalLabelType
Base class for all data objects in ITK.
Base class for all process objects that output image data.
typename OutputImageType::PixelType OutputImagePixelType
TOutputImage OutputImageType
typename OutputImageType::Pointer OutputImagePointer
TInputImage InputImageType
typename InputImageType::ConstPointer InputImageConstPointer
typename InputImageType::Pointer InputImagePointer
typename InputImageType::PixelType InputImagePixelType
Control indentation during Print() invocation.
The base class for all process objects (source, filters, mappers) in the Insight data processing pipe...
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
SmartPointer< const Self > ConstPointer
SmartPointer< Self > Pointer
ImageBaseType::RegionType RegionType
ImageBaseType::IndexType IndexType
ImageBaseType::SizeType SizeType
The "itk" namespace contains all Insight Segmentation and Registration Toolkit (ITK) classes....