18 #ifndef itkBinaryContourImageFilter_h
19 #define itkBinaryContourImageFilter_h
53 template<
typename TInputImage,
typename TOutputImage >
82 typedef typename InputImageType::IndexType
IndexType;
83 typedef typename InputImageType::SizeType
SizeType;
98 OutputImageType::ImageDimension);
100 #ifdef ITK_USE_CONCEPT_CHECKING
102 InputImageType::ImageDimension);
116 itkSetMacro(FullyConnected,
bool);
117 itkGetConstReferenceMacro(FullyConnected,
bool);
118 itkBooleanMacro(FullyConnected);
167 void operator = ( const Self &);
173 m_Length( iLength ), m_Where( iWhere ) {}
213 #ifndef ITK_MANUAL_INSTANTIATION
214 #include "itkBinaryContourImageFilter.hxx"
void CompareLines(LineEncodingType ¤t, const LineEncodingType &Neighbour)
InputImageType::ConstPointer InputImageConstPointer
SmartPointer< Self > Pointer
OutputImageType::SizeType OutputSizeType
InputImageType::OffsetType OffsetType
signed long OffsetValueType
OutputImageType::InternalPixelType OutputInternalPixelType
void PrintSelf(std::ostream &os, Indent indent) const override
OutputImageType::IndexType OutputIndexType
OutputImagePixelType m_BackgroundValue
Base class for all process objects that output image data.
void GenerateInputRequestedRegion() override
TInputImage InputImageType
void SetupLineOffsets(OffsetVec &LineOffsets)
InputImageType::InternalPixelType InputInternalPixelType
InputImagePixelType m_ForegroundValue
virtual ~BinaryContourImageFilter()
void EnlargeOutputRequestedRegion(DataObject *) override
bool CheckNeighbors(const OutputIndexType &A, const OutputIndexType &B)
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)
void BeforeThreadedGenerateData() override
static const unsigned int InputImageDimension
InputImageType::Pointer InputImagePointer
void AfterThreadedGenerateData() override
OutputImageType::Pointer OutputImagePointer
InputImageType::PixelType InputImagePixelType
static const unsigned int OutputImageDimension
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.
std::vector< runLength > LineEncodingType
void ThreadedGenerateData(const RegionType &outputRegionForThread, ThreadIdType threadId) override
Base class for filters that take an image as input and overwrite that image as the output...
#define itkConceptMacro(name, concept)
static const unsigned int ImageDimension
InputImageType::IndexType IndexType
LineEncodingType::const_iterator LineEncodingConstIterator
Base class for all data objects in ITK.
SmartPointer< const Self > ConstPointer
OutputImageType::PixelType OutputImagePixelType
OutputImageType::OffsetType OutputOffsetType
BinaryContourImageFilter()