18 #ifndef itkBinaryContourImageFilter_h
19 #define itkBinaryContourImageFilter_h
53 template<
typename TInputImage,
typename TOutputImage >
97 itkStaticConstMacro(ImageDimension,
unsigned int,
98 OutputImageType::ImageDimension);
100 #ifdef ITK_USE_CONCEPT_CHECKING
101 itkStaticConstMacro(InputImageDimension,
unsigned int,
102 InputImageType::ImageDimension);
107 itkGetStaticConstMacro(OutputImageDimension) > ) );
116 itkSetMacro(FullyConnected,
bool);
117 itkGetConstReferenceMacro(FullyConnected,
bool);
118 itkBooleanMacro(FullyConnected);
142 void PrintSelf(std::ostream & os,
Indent indent)
const ITK_OVERRIDE;
147 void BeforeThreadedGenerateData() ITK_OVERRIDE;
149 void AfterThreadedGenerateData() ITK_OVERRIDE;
151 void ThreadedGenerateData(const RegionType & outputRegionForThread,
157 void GenerateInputRequestedRegion() ITK_OVERRIDE;
163 void EnlargeOutputRequestedRegion(
DataObject * itkNotUsed(output) ) ITK_OVERRIDE;
167 void operator = ( const Self &);
173 m_Length( iLength ), m_Where( iWhere ) {}
197 void SetupLineOffsets(
OffsetVec & LineOffsets);
213 #ifndef ITK_MANUAL_INSTANTIATION
214 #include "itkBinaryContourImageFilter.hxx"
InputImageType::ConstPointer InputImageConstPointer
SmartPointer< Self > Pointer
OutputImageType::SizeType OutputSizeType
InputImageType::OffsetType OffsetType
signed long OffsetValueType
OutputImageType::InternalPixelType OutputInternalPixelType
OutputImageType::IndexType OutputIndexType
OutputImagePixelType m_BackgroundValue
Base class for all process objects that output image data.
TInputImage InputImageType
InputImageType::InternalPixelType InputInternalPixelType
InputImagePixelType m_ForegroundValue
LineEncodingType::iterator LineEncodingIterator
OutputImageType::PixelType OutputImagePixelType
OutputImageType::RegionType RegionType
TOutputImage OutputImageType
ThreadIdType m_NumberOfThreads
InPlaceImageFilter< TInputImage, TOutputImage > Superclass
unsigned int ThreadIdType
runLength(const OffsetValueType &iLength, const IndexType &iWhere)
InputImageType::Pointer InputImagePointer
OutputImageType::Pointer OutputImagePointer
InputImageType::PixelType InputImagePixelType
BinaryContourImageFilter Self
InputImageType::PixelType InputImagePixelType
LineMapType m_ForegroundLineMap
LineMapType m_BackgroundLineMap
std::vector< OffsetValueType > OffsetVec
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.
InputImageType::SizeType SizeType
Barrier::Pointer m_Barrier
Labels the pixels on the border of the objects in a binary image.
ImageBaseType::SizeType SizeType
std::vector< runLength > LineEncodingType
virtual ~BinaryContourImageFilter() override
Base class for filters that take an image as input and overwrite that image as the output...
#define itkConceptMacro(name, concept)
InputImageType::IndexType IndexType
LineEncodingType::const_iterator LineEncodingConstIterator
Base class for all data objects in ITK.
SmartPointer< const Self > ConstPointer
ImageBaseType::IndexType IndexType
OutputImageType::PixelType OutputImagePixelType
OutputImageType::OffsetType OutputOffsetType