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);
213 #ifndef ITK_MANUAL_INSTANTIATION
214 #include "itkBinaryContourImageFilter.hxx"
void CompareLines(LineEncodingType ¤t, const LineEncodingType &Neighbour)
void AfterThreadedGenerateData()
InputImageType::ConstPointer InputImageConstPointer
SmartPointer< Self > Pointer
void PrintSelf(std::ostream &os, Indent indent) const
OutputImageType::SizeType OutputSizeType
void BeforeThreadedGenerateData()
void GenerateInputRequestedRegion()
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.
void operator=(const Self &)
TInputImage InputImageType
void SetupLineOffsets(OffsetVec &LineOffsets)
InputImageType::InternalPixelType InputInternalPixelType
InputImagePixelType m_ForegroundValue
virtual ~BinaryContourImageFilter()
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
runLength(const OffsetValueType &iLength, const IndexType &iWhere)
static const unsigned int InputImageDimension
InputImageType::Pointer InputImagePointer
OutputImageType::Pointer OutputImagePointer
InputImageType::PixelType InputImagePixelType
static const unsigned int OutputImageDimension
BinaryContourImageFilter Self
InputImageType::PixelType InputImagePixelType
void EnlargeOutputRequestedRegion(DataObject *)
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
Base class for filters that take an image as input and overwrite that image as the output...
void ThreadedGenerateData(const RegionType &outputRegionForThread, ThreadIdType threadId)
#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
unsigned int ThreadIdType
OutputImageType::OffsetType OutputOffsetType
BinaryContourImageFilter()