ITK  4.13.0
Insight Segmentation and Registration Toolkit
Public Types | Public Member Functions | Static Public Member Functions | Protected Member Functions | Private Member Functions | Private Attributes | List of all members
itk::VoronoiSegmentationRGBImageFilter< TInputImage, TOutputImage > Class Template Reference

#include <itkVoronoiSegmentationRGBImageFilter.h>

+ Inheritance diagram for itk::VoronoiSegmentationRGBImageFilter< TInputImage, TOutputImage >:
+ Collaboration diagram for itk::VoronoiSegmentationRGBImageFilter< TInputImage, TOutputImage >:

Detailed Description

template<typename TInputImage, typename TOutputImage>
class itk::VoronoiSegmentationRGBImageFilter< TInputImage, TOutputImage >

Segmentation of 2D RGB images using Voronoi Diagram. This is not a standard 3 channel image filter, it also investigates the HSV color space information. from RGBHSV, the user can specify or by giving a prior binary mask, the algorithm will decide which 3 channels out of the 6 channels will be used for homogeneity testing. the homogeneity testing requires all the three testing channels to have the similar mean and standard deviation value from the gold-standard in the sense that the difference will be under the tolerance value.

Input parameters are: (1) Image data, in the format: itkImage<itkVector<PixelType,3>, 2>. (2) Object statistics: mean and standard deviation (3) Tolerance level for the classifier. This level is usually set around the mean and standard deviation values.

These parameters can also be automatically set by providing a binary image prior.

Detailed information about this algorithm can be found in: " Semi-automated color segmentation of anatomical tissue," C. Imelinska, M. Downes, and W. Yuan Computerized Medical Imaging and Graphics, Vol.24, pp 173-180, 2000.

Definition at line 54 of file itkVoronoiSegmentationRGBImageFilter.h.

Public Types

typedef
Superclass::BinaryObjectImage 
BinaryObjectImage
 
typedef SmartPointer< const SelfConstPointer
 
typedef Superclass::IndexList IndexList
 
typedef Superclass::IndexType IndexType
 
typedef
Superclass::InputImagePointer 
InputImagePointer
 
typedef Superclass::InputImageType InputImageType
 
typedef Superclass::PixelType PixelType
 
typedef SmartPointer< SelfPointer
 
typedef Superclass::RegionType RegionType
 
typedef Image< RGBHCVPixelRGBHCVImage
 
typedef Vector< float, 6 > RGBHCVPixel
 
typedef
VoronoiSegmentationRGBImageFilter 
Self
 
typedef
VoronoiSegmentationImageFilterBase
< TInputImage, TOutputImage > 
Superclass
 
- Public Types inherited from itk::VoronoiSegmentationImageFilterBase< TInputImage, TOutputImage >
typedef Image< unsigned char, 2 > BinaryObjectImage
 
typedef BinaryObjectImage::Pointer BinaryObjectImagePointer
 
typedef
VoronoiDiagram::CellAutoPointer 
CellAutoPointer
 
typedef VoronoiDiagram::CellType CellType
 
typedef SmartPointer< const SelfConstPointer
 
typedef VoronoiDiagram::VoronoiEdge EdgeInfo
 
typedef
VoronoiDiagram::VoronoiEdgeIterator 
EdgeIterator
 
typedef std::vector< IndexTypeIndexList
 
typedef TInputImage::IndexType IndexType
 
typedef TInputImage::ConstPointer InputImageConstPointer
 
typedef TInputImage::Pointer InputImagePointer
 
typedef TInputImage InputImageType
 
typedef
VoronoiDiagram::NeighborIdIterator 
NeighborIdIterator
 
typedef TOutputImage OutputImageType
 
typedef TOutputImage::PixelType OutputPixelType
 
typedef TInputImage::PixelType PixelType
 
typedef SmartPointer< SelfPointer
 
typedef CellType::PointIdIterator PointIdIterator
 
typedef VoronoiDiagram::PointType PointType
 
typedef std::deque< PointTypePointTypeDeque
 
typedef std::vector< PointTypePointTypeVector
 
typedef TInputImage::RegionType RegionType
 
typedef
VoronoiDiagram::SeedsIterator 
SeedsIterator
 
typedef VoronoiDiagram::SeedsType SeedsType
 
typedef
VoronoiSegmentationImageFilterBase 
Self
 
typedef TInputImage::SizeType SizeType
 
typedef ImageToImageFilter
< TInputImage, TOutputImage > 
Superclass
 
typedef Image< unsigned char, 2 > VDImage
 
typedef VDImage::Pointer VDImagePointer
 
typedef VoronoiDiagram2D< double > VoronoiDiagram
 
typedef
VoronoiDiagram2DGenerator
< double > 
VoronoiDiagramGenerator
 
typedef VoronoiDiagram::Pointer VoronoiPointer
 
- Public Types inherited from itk::ImageToImageFilter< TInputImage, TOutputImage >
typedef SmartPointer< const SelfConstPointer
 
typedef
InputImageType::ConstPointer 
InputImageConstPointer
 
typedef InputImageType::PixelType InputImagePixelType
 
typedef InputImageType::Pointer InputImagePointer
 
typedef InputImageType::RegionType InputImageRegionType
 
typedef TInputImage InputImageType
 
typedef
Superclass::OutputImagePixelType 
OutputImagePixelType
 
typedef
Superclass::OutputImageRegionType 
OutputImageRegionType
 
typedef SmartPointer< SelfPointer
 
typedef ImageToImageFilter Self
 
typedef ImageSource< TOutputImage > Superclass
 
- Public Types inherited from itk::ImageSource< TOutputImage >
typedef SmartPointer< const SelfConstPointer
 
typedef
Superclass::DataObjectIdentifierType 
DataObjectIdentifierType
 
typedef DataObject::Pointer DataObjectPointer
 
typedef
Superclass::DataObjectPointerArraySizeType 
DataObjectPointerArraySizeType
 
typedef OutputImageType::PixelType OutputImagePixelType
 
typedef OutputImageType::Pointer OutputImagePointer
 
typedef OutputImageType::RegionType OutputImageRegionType
 
typedef TOutputImage OutputImageType
 
typedef SmartPointer< SelfPointer
 
typedef ImageSource Self
 
typedef ProcessObject Superclass
 
- Public Types inherited from itk::ProcessObject
typedef SmartPointer< const SelfConstPointer
 
typedef
DataObject::DataObjectIdentifierType 
DataObjectIdentifierType
 
typedef DataObject::Pointer DataObjectPointer
 
typedef std::vector
< DataObjectPointer
DataObjectPointerArray
 
typedef
DataObjectPointerArray::size_type 
DataObjectPointerArraySizeType
 
typedef MultiThreader MultiThreaderType
 
typedef std::vector
< DataObjectIdentifierType
NameArray
 
typedef SmartPointer< SelfPointer
 
typedef ProcessObject Self
 
typedef Object Superclass
 
- Public Types inherited from itk::Object
typedef SmartPointer< const SelfConstPointer
 
typedef SmartPointer< SelfPointer
 
typedef Object Self
 
typedef LightObject Superclass
 
- Public Types inherited from itk::LightObject
typedef SmartPointer< const SelfConstPointer
 
typedef SmartPointer< SelfPointer
 
typedef LightObject Self
 

Public Member Functions

virtual ::itk::LightObject::Pointer CreateAnother () const
 
virtual const char * GetNameOfClass () const
 
void GetTestMean (unsigned int x[3])
 
void GetTestSTD (unsigned int x[3])
 
virtual void SetInput (const InputImageType *input) override
 
virtual void SetInput (unsigned int, const InputImageType *image) override
 
void SetTestMean (unsigned int t1, unsigned int t2, unsigned int t3)
 
void SetTestSTD (unsigned int t1, unsigned int t2, unsigned int t3)
 
void TakeAPrior (const BinaryObjectImage *aprior) override
 
void SetMeanPercentError (double x[6])
 
void SetSTDPercentError (double x[6])
 
void GetMeanPercentError (double x[6])
 
void GetSTDPercentError (double x[6])
 
void GetMean (double x[6])
 
void GetSTD (double x[6])
 
void SetMean (double x[6])
 
void SetSTD (double x[6])
 
void GetMeanTolerance (double x[6])
 
void GetSTDTolerance (double x[6])
 
virtual void SetMaxValueOfRGB (double _arg)
 
virtual double GetMaxValueOfRGB () const
 
- Public Member Functions inherited from itk::VoronoiSegmentationImageFilterBase< TInputImage, TOutputImage >
void BeforeNextStep ()
 
virtual ::itk::LightObject::Pointer CreateAnother () const
 
void DrawDiagram (VDImagePointer result, unsigned char incolor, unsigned char outcolor, unsigned char boundcolor)
 
virtual void EnlargeOutputRequestedRegion (DataObject *output) override
 
virtual void GenerateInputRequestedRegion () override
 
virtual int GetLastStepSeeds () const
 
virtual int GetNumberOfSeedsToAdded () const
 
PointType GetSeed (int SeedID)
 
VoronoiPointer GetVoronoiDiagram (void)
 
virtual void MakeSegmentBoundary ()
 
virtual void MakeSegmentObject ()
 
void RunSegment ()
 
void RunSegmentOneStep ()
 
virtual void TakeAPrior (const BinaryObjectImage *)
 
virtual void SetNumberOfSeeds (int _arg)
 
virtual int GetNumberOfSeeds () const
 
virtual void SetMinRegion (SizeValueType _arg)
 
virtual SizeValueType GetMinRegion () const
 
virtual void SetSteps (int _arg)
 
virtual int GetSteps () const
 
virtual void SetUseBackgroundInAPrior (bool _arg)
 
virtual bool GetUseBackgroundInAPrior () const
 
virtual void SetOutputBoundary (bool _arg)
 
virtual bool GetOutputBoundary () const
 
virtual void SetInteractiveSegmentation (bool _arg)
 
virtual bool GetInteractiveSegmentation () const
 
virtual void InteractiveSegmentationOn ()
 
virtual void InteractiveSegmentationOff ()
 
virtual void SetMeanDeviation (double _arg)
 
virtual double GetMeanDeviation () const
 
virtual void SetSize (SizeType _arg)
 
virtual SizeType GetSize () const
 
void SetSeeds (int num, SeedsIterator begin)
 
void SetSeeds (SeedsType &seeds)
 
- Public Member Functions inherited from itk::ImageToImageFilter< TInputImage, TOutputImage >
const InputImageTypeGetInput () const
 
const InputImageTypeGetInput (unsigned int idx) const
 
virtual void PopBackInput () override
 
virtual void PopFrontInput () override
 
virtual void PushBackInput (const InputImageType *image)
 
virtual void PushFrontInput (const InputImageType *image)
 
virtual void SetCoordinateTolerance (double _arg)
 
virtual double GetCoordinateTolerance () const
 
virtual void SetDirectionTolerance (double _arg)
 
virtual double GetDirectionTolerance () const
 
- Public Member Functions inherited from itk::ImageSource< TOutputImage >
OutputImageTypeGetOutput (unsigned int idx)
 
virtual void GraftNthOutput (unsigned int idx, DataObject *output)
 
virtual void GraftOutput (const DataObjectIdentifierType &key, DataObject *output)
 
OutputImageTypeGetOutput ()
 
const OutputImageTypeGetOutput () const
 
virtual void GraftOutput (DataObject *output)
 
virtual
ProcessObject::DataObjectPointer 
MakeOutput (ProcessObject::DataObjectPointerArraySizeType idx) override
 
virtual
ProcessObject::DataObjectPointer 
MakeOutput (const ProcessObject::DataObjectIdentifierType &) override
 
- Public Member Functions inherited from itk::ProcessObject
virtual void AbortGenerateDataOff ()
 
virtual void AbortGenerateDataOn ()
 
virtual const bool & GetAbortGenerateData () const
 
DataObjectPointerArray GetIndexedInputs ()
 
DataObjectPointerArray GetIndexedOutputs ()
 
NameArray GetInputNames () const
 
DataObjectPointerArray GetInputs ()
 
MultiThreaderTypeGetMultiThreader () const
 
DataObjectPointerArraySizeType GetNumberOfIndexedInputs () const
 
DataObjectPointerArraySizeType GetNumberOfIndexedOutputs () const
 
DataObjectPointerArraySizeType GetNumberOfInputs () const
 
DataObjectPointerArraySizeType GetNumberOfOutputs () const
 
virtual
DataObjectPointerArraySizeType 
GetNumberOfValidRequiredInputs () const
 
NameArray GetOutputNames () const
 
DataObjectPointerArray GetOutputs ()
 
virtual const float & GetProgress () const
 
NameArray GetRequiredInputNames () const
 
bool HasInput (const DataObjectIdentifierType &key) const
 
bool HasOutput (const DataObjectIdentifierType &key) const
 
virtual void PrepareOutputs ()
 
virtual void PropagateRequestedRegion (DataObject *output)
 
virtual void ResetPipeline ()
 
virtual void SetAbortGenerateData (bool _arg)
 
virtual void Update ()
 
virtual void UpdateLargestPossibleRegion ()
 
virtual void UpdateOutputData (DataObject *output)
 
virtual void UpdateOutputInformation ()
 
void UpdateProgress (float progress)
 
void SetProgress (float progress)
 
virtual void SetReleaseDataFlag (bool flag)
 
virtual bool GetReleaseDataFlag () const
 
void ReleaseDataFlagOn ()
 
void ReleaseDataFlagOff ()
 
virtual void SetReleaseDataBeforeUpdateFlag (bool _arg)
 
virtual const bool & GetReleaseDataBeforeUpdateFlag () const
 
virtual void ReleaseDataBeforeUpdateFlagOn ()
 
virtual void ReleaseDataBeforeUpdateFlagOff ()
 
virtual void SetNumberOfThreads (ThreadIdType _arg)
 
virtual const ThreadIdTypeGetNumberOfThreads () const
 
- Public Member Functions inherited from itk::Object
unsigned long AddObserver (const EventObject &event, Command *)
 
unsigned long AddObserver (const EventObject &event, Command *) const
 
virtual void DebugOff () const
 
virtual void DebugOn () const
 
CommandGetCommand (unsigned long tag)
 
bool GetDebug () const
 
MetaDataDictionaryGetMetaDataDictionary ()
 
const MetaDataDictionaryGetMetaDataDictionary () const
 
virtual ModifiedTimeType GetMTime () const
 
virtual const TimeStampGetTimeStamp () const
 
bool HasObserver (const EventObject &event) const
 
void InvokeEvent (const EventObject &)
 
void InvokeEvent (const EventObject &) const
 
virtual void Modified () const
 
virtual void Register () const override
 
void RemoveAllObservers ()
 
void RemoveObserver (unsigned long tag)
 
void SetDebug (bool debugFlag) const
 
void SetMetaDataDictionary (const MetaDataDictionary &rhs)
 
virtual void SetReferenceCount (int) override
 
virtual void UnRegister () const noexceptoverride
 
virtual void SetObjectName (std::string _arg)
 
virtual const std::string & GetObjectName () const
 
- Public Member Functions inherited from itk::LightObject
virtual void Delete ()
 
virtual int GetReferenceCount () const
 
 itkCloneMacro (Self)
 
void Print (std::ostream &os, Indent indent=0) const
 

Static Public Member Functions

static Pointer New ()
 
- Static Public Member Functions inherited from itk::VoronoiSegmentationImageFilterBase< TInputImage, TOutputImage >
static Pointer New ()
 
- Static Public Member Functions inherited from itk::Object
static bool GetGlobalWarningDisplay ()
 
static void GlobalWarningDisplayOff ()
 
static void GlobalWarningDisplayOn ()
 
static Pointer New ()
 
static void SetGlobalWarningDisplay (bool flag)
 
- Static Public Member Functions inherited from itk::LightObject
static void BreakOnError ()
 
static Pointer New ()
 

Static Public Attributes

static const unsigned int InputImageDimension = TInputImage::ImageDimension
 
static const unsigned int OutputImageDimension = TOutputImage::ImageDimension
 
- Static Public Attributes inherited from itk::VoronoiSegmentationImageFilterBase< TInputImage, TOutputImage >
static const unsigned int ImageDimension
 
- Static Public Attributes inherited from itk::ImageToImageFilter< TInputImage, TOutputImage >
static const unsigned int InputImageDimension = TInputImage::ImageDimension
 
static const unsigned int OutputImageDimension = TOutputImage::ImageDimension
 
- Static Public Attributes inherited from itk::ImageSource< TOutputImage >
static const unsigned int OutputImageDimension = TOutputImage::ImageDimension
 

Protected Member Functions

void PrintSelf (std::ostream &os, Indent indent) const override
 
 VoronoiSegmentationRGBImageFilter ()
 
 ~VoronoiSegmentationRGBImageFilter () override
 
- Protected Member Functions inherited from itk::VoronoiSegmentationImageFilterBase< TInputImage, TOutputImage >
virtual void ClassifyDiagram ()
 
void drawLine (PointType p1, PointType p2)
 
void drawVDline (VDImagePointer result, PointType p1, PointType p2, unsigned char color)
 
void FillPolygon (PointTypeDeque vertlist, OutputPixelType color=1)
 
virtual void GenerateAddingSeeds ()
 
void GenerateData () override
 
void GetPixelIndexFromPolygon (PointTypeDeque VertList, IndexList *PixelPool)
 
virtual bool TestHomogeneity (IndexList &)
 
 VoronoiSegmentationImageFilterBase ()
 
 ~VoronoiSegmentationImageFilterBase () override
 
- Protected Member Functions inherited from itk::ImageToImageFilter< TInputImage, TOutputImage >
virtual void CallCopyInputRegionToOutputRegion (OutputImageRegionType &destRegion, const InputImageRegionType &srcRegion)
 
virtual void CallCopyOutputRegionToInputRegion (InputImageRegionType &destRegion, const OutputImageRegionType &srcRegion)
 
 ImageToImageFilter ()
 
virtual void VerifyInputInformation () override
 
 ~ImageToImageFilter () override
 
void PushBackInput (const DataObject *input) override
 
void PushFrontInput (const DataObject *input) override
 
- Protected Member Functions inherited from itk::ImageSource< TOutputImage >
virtual void AfterThreadedGenerateData ()
 
virtual void AllocateOutputs ()
 
virtual void BeforeThreadedGenerateData ()
 
virtual const
ImageRegionSplitterBase
GetImageRegionSplitter () const
 
 ImageSource ()
 
virtual unsigned int SplitRequestedRegion (unsigned int i, unsigned int pieces, OutputImageRegionType &splitRegion)
 
virtual void ThreadedGenerateData (const OutputImageRegionType &outputRegionForThread, ThreadIdType threadId)
 
virtual ~ImageSource () override
 
- Protected Member Functions inherited from itk::ProcessObject
virtual void AddInput (DataObject *input)
 
void AddOptionalInputName (const DataObjectIdentifierType &)
 
void AddOptionalInputName (const DataObjectIdentifierType &, DataObjectPointerArraySizeType idx)
 
virtual void AddOutput (DataObject *output)
 
bool AddRequiredInputName (const DataObjectIdentifierType &)
 
bool AddRequiredInputName (const DataObjectIdentifierType &, DataObjectPointerArraySizeType idx)
 
virtual void CacheInputReleaseDataFlags ()
 
virtual void GenerateOutputInformation ()
 
virtual void GenerateOutputRequestedRegion (DataObject *output)
 
DataObjectGetInput (const DataObjectIdentifierType &key)
 
const DataObjectGetInput (const DataObjectIdentifierType &key) const
 
virtual const
DataObjectPointerArraySizeType
GetNumberOfRequiredInputs () const
 
virtual const
DataObjectPointerArraySizeType
GetNumberOfRequiredOutputs () const
 
bool IsIndexedInputName (const DataObjectIdentifierType &) const
 
bool IsIndexedOutputName (const DataObjectIdentifierType &) const
 
bool IsRequiredInputName (const DataObjectIdentifierType &) const
 
 itkLegacyMacro (virtual void RemoveOutput(DataObject *output))
 
 itkLegacyMacro (void SetNumberOfOutputs(DataObjectPointerArraySizeType num))
 
 itkLegacyMacro (virtual void RemoveInput(DataObject *input))
 
 itkLegacyMacro (void SetNumberOfInputs(DataObjectPointerArraySizeType num))
 
DataObjectPointerArraySizeType MakeIndexFromInputName (const DataObjectIdentifierType &name) const
 
DataObjectPointerArraySizeType MakeIndexFromOutputName (const DataObjectIdentifierType &name) const
 
DataObjectIdentifierType MakeNameFromInputIndex (DataObjectPointerArraySizeType idx) const
 
DataObjectIdentifierType MakeNameFromOutputIndex (DataObjectPointerArraySizeType idx) const
 
 ProcessObject ()
 
virtual void PropagateResetPipeline ()
 
virtual void ReleaseInputs ()
 
virtual void RemoveInput (const DataObjectIdentifierType &key)
 
virtual void RemoveInput (DataObjectPointerArraySizeType)
 
virtual void RemoveOutput (const DataObjectIdentifierType &key)
 
virtual void RemoveOutput (DataObjectPointerArraySizeType idx)
 
bool RemoveRequiredInputName (const DataObjectIdentifierType &)
 
virtual void RestoreInputReleaseDataFlags ()
 
virtual void SetInput (const DataObjectIdentifierType &key, DataObject *input)
 
virtual void SetNthInput (DataObjectPointerArraySizeType num, DataObject *input)
 
virtual void SetNthOutput (DataObjectPointerArraySizeType num, DataObject *output)
 
void SetNumberOfIndexedInputs (DataObjectPointerArraySizeType num)
 
void SetNumberOfIndexedOutputs (DataObjectPointerArraySizeType num)
 
virtual void SetNumberOfRequiredInputs (DataObjectPointerArraySizeType)
 
virtual void SetNumberOfRequiredOutputs (DataObjectPointerArraySizeType _arg)
 
virtual void SetOutput (const DataObjectIdentifierType &key, DataObject *output)
 
virtual void SetPrimaryInput (DataObject *input)
 
virtual void SetPrimaryOutput (DataObject *output)
 
void SetRequiredInputNames (const NameArray &)
 
virtual void VerifyPreconditions ()
 
 ~ProcessObject () override
 
DataObjectGetInput (DataObjectPointerArraySizeType idx)
 
const DataObjectGetInput (DataObjectPointerArraySizeType idx) const
 
DataObjectGetPrimaryInput ()
 
const DataObjectGetPrimaryInput () const
 
virtual void SetPrimaryInputName (const DataObjectIdentifierType &key)
 
virtual const char * GetPrimaryInputName (void) const
 
DataObjectGetOutput (const DataObjectIdentifierType &key)
 
const DataObjectGetOutput (const DataObjectIdentifierType &key) const
 
virtual void SetPrimaryOutputName (const DataObjectIdentifierType &key)
 
virtual const char * GetPrimaryOutputName (void) const
 
DataObjectGetOutput (DataObjectPointerArraySizeType idx)
 
const DataObjectGetOutput (DataObjectPointerArraySizeType idx) const
 
DataObjectGetPrimaryOutput ()
 
const DataObjectGetPrimaryOutput () const
 
- Protected Member Functions inherited from itk::Object
 Object ()
 
bool PrintObservers (std::ostream &os, Indent indent) const
 
virtual void SetTimeStamp (const TimeStamp &time)
 
virtual ~Object () override
 
- Protected Member Functions inherited from itk::LightObject
virtual LightObject::Pointer InternalClone () const
 
 LightObject ()
 
virtual void PrintHeader (std::ostream &os, Indent indent) const
 
virtual void PrintTrailer (std::ostream &os, Indent indent) const
 
virtual ~LightObject ()
 

Private Member Functions

virtual bool TestHomogeneity (IndexList &Plist) override
 

Private Attributes

double m_MaxValueOfRGB
 
double m_Mean [6]
 
double m_MeanPercentError [6]
 
double m_MeanTolerance [6]
 
double m_STD [6]
 
double m_STDPercentError [6]
 
double m_STDTolerance [6]
 
unsigned int m_TestMean [3]
 
unsigned int m_TestSTD [3]
 
RGBHCVImage::Pointer m_WorkingImage
 

Additional Inherited Members

- Protected Types inherited from itk::ImageToImageFilter< TInputImage, TOutputImage >
typedef
ImageToImageFilterDetail::ImageRegionCopier
< itkGetStaticConstMacro(OutputImageDimension),
itkGetStaticConstMacro(InputImageDimension) > 
InputToOutputRegionCopierType
 
typedef
ImageToImageFilterDetail::ImageRegionCopier
< itkGetStaticConstMacro(InputImageDimension),
itkGetStaticConstMacro(OutputImageDimension) > 
OutputToInputRegionCopierType
 
- Static Protected Member Functions inherited from itk::ImageSource< TOutputImage >
static const
ImageRegionSplitterBase
GetGlobalDefaultSplitter ()
 
static ITK_THREAD_RETURN_TYPE ThreaderCallback (void *arg)
 
- Protected Attributes inherited from itk::VoronoiSegmentationImageFilterBase< TInputImage, TOutputImage >
bool m_InteractiveSegmentation
 
std::vector< unsigned char > m_Label
 
int m_LastStepSeeds
 
double m_MeanDeviation
 
SizeValueType m_MinRegion
 
int m_NumberOfBoundary
 
std::vector< SizeValueTypem_NumberOfPixels
 
int m_NumberOfSeeds
 
int m_NumberOfSeedsToAdded
 
bool m_OutputBoundary
 
std::vector< PointTypem_SeedsToAdded
 
SizeType m_Size
 
int m_Steps
 
bool m_UseBackgroundInAPrior
 
VoronoiDiagramGenerator::Pointer m_VDGenerator
 
VoronoiDiagram::Pointer m_WorkingVD
 
- Protected Attributes inherited from itk::ProcessObject
TimeStamp m_OutputInformationMTime
 
bool m_Updating
 
- Protected Attributes inherited from itk::LightObject
AtomicInt< int > m_ReferenceCount
 

Member Typedef Documentation

template<typename TInputImage , typename TOutputImage >
typedef Superclass::BinaryObjectImage itk::VoronoiSegmentationRGBImageFilter< TInputImage, TOutputImage >::BinaryObjectImage

Convenient typedefs.

Definition at line 69 of file itkVoronoiSegmentationRGBImageFilter.h.

template<typename TInputImage , typename TOutputImage >
typedef SmartPointer< const Self > itk::VoronoiSegmentationRGBImageFilter< TInputImage, TOutputImage >::ConstPointer

Definition at line 62 of file itkVoronoiSegmentationRGBImageFilter.h.

template<typename TInputImage , typename TOutputImage >
typedef Superclass::IndexList itk::VoronoiSegmentationRGBImageFilter< TInputImage, TOutputImage >::IndexList

Definition at line 73 of file itkVoronoiSegmentationRGBImageFilter.h.

template<typename TInputImage , typename TOutputImage >
typedef Superclass::IndexType itk::VoronoiSegmentationRGBImageFilter< TInputImage, TOutputImage >::IndexType

Definition at line 74 of file itkVoronoiSegmentationRGBImageFilter.h.

template<typename TInputImage , typename TOutputImage >
typedef Superclass::InputImagePointer itk::VoronoiSegmentationRGBImageFilter< TInputImage, TOutputImage >::InputImagePointer

Definition at line 77 of file itkVoronoiSegmentationRGBImageFilter.h.

template<typename TInputImage , typename TOutputImage >
typedef Superclass::InputImageType itk::VoronoiSegmentationRGBImageFilter< TInputImage, TOutputImage >::InputImageType

Definition at line 78 of file itkVoronoiSegmentationRGBImageFilter.h.

template<typename TInputImage , typename TOutputImage >
typedef Superclass::PixelType itk::VoronoiSegmentationRGBImageFilter< TInputImage, TOutputImage >::PixelType

Definition at line 76 of file itkVoronoiSegmentationRGBImageFilter.h.

template<typename TInputImage , typename TOutputImage >
typedef SmartPointer< Self > itk::VoronoiSegmentationRGBImageFilter< TInputImage, TOutputImage >::Pointer

Definition at line 61 of file itkVoronoiSegmentationRGBImageFilter.h.

template<typename TInputImage , typename TOutputImage >
typedef Superclass::RegionType itk::VoronoiSegmentationRGBImageFilter< TInputImage, TOutputImage >::RegionType

Definition at line 75 of file itkVoronoiSegmentationRGBImageFilter.h.

template<typename TInputImage , typename TOutputImage >
typedef Image< RGBHCVPixel > itk::VoronoiSegmentationRGBImageFilter< TInputImage, TOutputImage >::RGBHCVImage

Definition at line 80 of file itkVoronoiSegmentationRGBImageFilter.h.

template<typename TInputImage , typename TOutputImage >
typedef Vector< float, 6 > itk::VoronoiSegmentationRGBImageFilter< TInputImage, TOutputImage >::RGBHCVPixel

Definition at line 79 of file itkVoronoiSegmentationRGBImageFilter.h.

template<typename TInputImage , typename TOutputImage >
typedef VoronoiSegmentationRGBImageFilter itk::VoronoiSegmentationRGBImageFilter< TInputImage, TOutputImage >::Self

Standard class typedefs.

Definition at line 59 of file itkVoronoiSegmentationRGBImageFilter.h.

template<typename TInputImage , typename TOutputImage >
typedef VoronoiSegmentationImageFilterBase< TInputImage, TOutputImage > itk::VoronoiSegmentationRGBImageFilter< TInputImage, TOutputImage >::Superclass

Definition at line 60 of file itkVoronoiSegmentationRGBImageFilter.h.

Constructor & Destructor Documentation

template<typename TInputImage , typename TOutputImage >
itk::VoronoiSegmentationRGBImageFilter< TInputImage, TOutputImage >::VoronoiSegmentationRGBImageFilter ( )
protected
template<typename TInputImage , typename TOutputImage >
itk::VoronoiSegmentationRGBImageFilter< TInputImage, TOutputImage >::~VoronoiSegmentationRGBImageFilter ( )
overrideprotected

Member Function Documentation

template<typename TInputImage , typename TOutputImage >
virtual::itk::LightObject::Pointer itk::VoronoiSegmentationRGBImageFilter< TInputImage, TOutputImage >::CreateAnother ( ) const
virtual

Create an object from an instance, potentially deferring to a factory. This method allows you to create an instance of an object that is exactly the same type as the referring object. This is useful in cases where an object has been cast back to a base class.

Reimplemented from itk::Object.

template<typename TInputImage , typename TOutputImage >
virtual double itk::VoronoiSegmentationRGBImageFilter< TInputImage, TOutputImage >::GetMaxValueOfRGB ( ) const
virtual

Maximum value of the RGB, needed for color space coversions. default as 8 bit per channel, if it is different, need to be set before doing anything.

template<typename TInputImage , typename TOutputImage >
void itk::VoronoiSegmentationRGBImageFilter< TInputImage, TOutputImage >::GetMean ( double  x[6])
inline
Todo:
Document.

Definition at line 87 of file itkVoronoiSegmentationRGBImageFilter.h.

template<typename TInputImage , typename TOutputImage >
void itk::VoronoiSegmentationRGBImageFilter< TInputImage, TOutputImage >::GetMeanPercentError ( double  x[6])
inline
Todo:
Document.

Definition at line 85 of file itkVoronoiSegmentationRGBImageFilter.h.

template<typename TInputImage , typename TOutputImage >
void itk::VoronoiSegmentationRGBImageFilter< TInputImage, TOutputImage >::GetMeanTolerance ( double  x[6])
inline
Todo:
Document.

Definition at line 91 of file itkVoronoiSegmentationRGBImageFilter.h.

template<typename TInputImage , typename TOutputImage >
virtual const char* itk::VoronoiSegmentationRGBImageFilter< TInputImage, TOutputImage >::GetNameOfClass ( ) const
virtual

Run-time type information (and related methods).

Reimplemented from itk::VoronoiSegmentationImageFilterBase< TInputImage, TOutputImage >.

template<typename TInputImage , typename TOutputImage >
void itk::VoronoiSegmentationRGBImageFilter< TInputImage, TOutputImage >::GetSTD ( double  x[6])
inline
Todo:
Document.

Definition at line 88 of file itkVoronoiSegmentationRGBImageFilter.h.

template<typename TInputImage , typename TOutputImage >
void itk::VoronoiSegmentationRGBImageFilter< TInputImage, TOutputImage >::GetSTDPercentError ( double  x[6])
inline
Todo:
Document.

Definition at line 86 of file itkVoronoiSegmentationRGBImageFilter.h.

template<typename TInputImage , typename TOutputImage >
void itk::VoronoiSegmentationRGBImageFilter< TInputImage, TOutputImage >::GetSTDTolerance ( double  x[6])
inline
Todo:
Document.

Definition at line 92 of file itkVoronoiSegmentationRGBImageFilter.h.

template<typename TInputImage , typename TOutputImage >
void itk::VoronoiSegmentationRGBImageFilter< TInputImage, TOutputImage >::GetTestMean ( unsigned int  x[3])
inline

Definition at line 118 of file itkVoronoiSegmentationRGBImageFilter.h.

template<typename TInputImage , typename TOutputImage >
void itk::VoronoiSegmentationRGBImageFilter< TInputImage, TOutputImage >::GetTestSTD ( unsigned int  x[3])
inline

Definition at line 123 of file itkVoronoiSegmentationRGBImageFilter.h.

template<typename TInputImage , typename TOutputImage >
static Pointer itk::VoronoiSegmentationRGBImageFilter< TInputImage, TOutputImage >::New ( )
static

Method for creation through the object factory.

template<typename TInputImage , typename TOutputImage >
void itk::VoronoiSegmentationRGBImageFilter< TInputImage, TOutputImage >::PrintSelf ( std::ostream &  os,
Indent  indent 
) const
overrideprotectedvirtual

Methods invoked by Print() to print information about the object including superclasses. Typically not called by the user (use Print() instead) but used in the hierarchical print process to combine the output of several classes.

Reimplemented from itk::VoronoiSegmentationImageFilterBase< TInputImage, TOutputImage >.

template<typename TInputImage , typename TOutputImage >
virtual void itk::VoronoiSegmentationRGBImageFilter< TInputImage, TOutputImage >::SetInput ( const InputImageType input)
overridevirtual
template<typename TInputImage , typename TOutputImage >
virtual void itk::VoronoiSegmentationRGBImageFilter< TInputImage, TOutputImage >::SetInput ( unsigned  int,
const InputImageType image 
)
overridevirtual
template<typename TInputImage , typename TOutputImage >
virtual void itk::VoronoiSegmentationRGBImageFilter< TInputImage, TOutputImage >::SetMaxValueOfRGB ( double  _arg)
virtual

Maximum value of the RGB, needed for color space coversions. default as 8 bit per channel, if it is different, need to be set before doing anything.

template<typename TInputImage , typename TOutputImage >
void itk::VoronoiSegmentationRGBImageFilter< TInputImage, TOutputImage >::SetMean ( double  x[6])
inline
Todo:
Document.

Definition at line 89 of file itkVoronoiSegmentationRGBImageFilter.h.

template<typename TInputImage , typename TOutputImage >
void itk::VoronoiSegmentationRGBImageFilter< TInputImage, TOutputImage >::SetMeanPercentError ( double  x[6])
Todo:
Document.
template<typename TInputImage , typename TOutputImage >
void itk::VoronoiSegmentationRGBImageFilter< TInputImage, TOutputImage >::SetSTD ( double  x[6])
inline
Todo:
Document.

Definition at line 90 of file itkVoronoiSegmentationRGBImageFilter.h.

template<typename TInputImage , typename TOutputImage >
void itk::VoronoiSegmentationRGBImageFilter< TInputImage, TOutputImage >::SetSTDPercentError ( double  x[6])
Todo:
Document.
template<typename TInputImage , typename TOutputImage >
void itk::VoronoiSegmentationRGBImageFilter< TInputImage, TOutputImage >::SetTestMean ( unsigned int  t1,
unsigned int  t2,
unsigned int  t3 
)
inline

Set the three channels to test the mean and STD respectivley 0:red, 1:green, 2:blue, 3:hue, 4:chroma, 5:value.

Definition at line 104 of file itkVoronoiSegmentationRGBImageFilter.h.

template<typename TInputImage , typename TOutputImage >
void itk::VoronoiSegmentationRGBImageFilter< TInputImage, TOutputImage >::SetTestSTD ( unsigned int  t1,
unsigned int  t2,
unsigned int  t3 
)
inline

Definition at line 111 of file itkVoronoiSegmentationRGBImageFilter.h.

template<typename TInputImage , typename TOutputImage >
void itk::VoronoiSegmentationRGBImageFilter< TInputImage, TOutputImage >::TakeAPrior ( const BinaryObjectImage aprior)
override
template<typename TInputImage , typename TOutputImage >
virtual bool itk::VoronoiSegmentationRGBImageFilter< TInputImage, TOutputImage >::TestHomogeneity ( IndexList Plist)
overrideprivatevirtual

Member Data Documentation

template<typename TInputImage , typename TOutputImage >
const unsigned int itk::VoronoiSegmentationRGBImageFilter< TInputImage, TOutputImage >::InputImageDimension = TInputImage::ImageDimension
static

ImageDimension enumeration

Definition at line 137 of file itkVoronoiSegmentationRGBImageFilter.h.

template<typename TInputImage , typename TOutputImage >
double itk::VoronoiSegmentationRGBImageFilter< TInputImage, TOutputImage >::m_MaxValueOfRGB
private

Definition at line 165 of file itkVoronoiSegmentationRGBImageFilter.h.

template<typename TInputImage , typename TOutputImage >
double itk::VoronoiSegmentationRGBImageFilter< TInputImage, TOutputImage >::m_Mean[6]
private

Definition at line 159 of file itkVoronoiSegmentationRGBImageFilter.h.

template<typename TInputImage , typename TOutputImage >
double itk::VoronoiSegmentationRGBImageFilter< TInputImage, TOutputImage >::m_MeanPercentError[6]
private

Definition at line 163 of file itkVoronoiSegmentationRGBImageFilter.h.

template<typename TInputImage , typename TOutputImage >
double itk::VoronoiSegmentationRGBImageFilter< TInputImage, TOutputImage >::m_MeanTolerance[6]
private

Definition at line 161 of file itkVoronoiSegmentationRGBImageFilter.h.

template<typename TInputImage , typename TOutputImage >
double itk::VoronoiSegmentationRGBImageFilter< TInputImage, TOutputImage >::m_STD[6]
private

Definition at line 160 of file itkVoronoiSegmentationRGBImageFilter.h.

template<typename TInputImage , typename TOutputImage >
double itk::VoronoiSegmentationRGBImageFilter< TInputImage, TOutputImage >::m_STDPercentError[6]
private

Definition at line 164 of file itkVoronoiSegmentationRGBImageFilter.h.

template<typename TInputImage , typename TOutputImage >
double itk::VoronoiSegmentationRGBImageFilter< TInputImage, TOutputImage >::m_STDTolerance[6]
private

Definition at line 162 of file itkVoronoiSegmentationRGBImageFilter.h.

template<typename TInputImage , typename TOutputImage >
unsigned int itk::VoronoiSegmentationRGBImageFilter< TInputImage, TOutputImage >::m_TestMean[3]
private

Definition at line 166 of file itkVoronoiSegmentationRGBImageFilter.h.

template<typename TInputImage , typename TOutputImage >
unsigned int itk::VoronoiSegmentationRGBImageFilter< TInputImage, TOutputImage >::m_TestSTD[3]
private

Definition at line 167 of file itkVoronoiSegmentationRGBImageFilter.h.

template<typename TInputImage , typename TOutputImage >
RGBHCVImage::Pointer itk::VoronoiSegmentationRGBImageFilter< TInputImage, TOutputImage >::m_WorkingImage
private

Definition at line 168 of file itkVoronoiSegmentationRGBImageFilter.h.

template<typename TInputImage , typename TOutputImage >
const unsigned int itk::VoronoiSegmentationRGBImageFilter< TInputImage, TOutputImage >::OutputImageDimension = TOutputImage::ImageDimension
static

ImageDimension enumeration

Definition at line 139 of file itkVoronoiSegmentationRGBImageFilter.h.


The documentation for this class was generated from the following file: