template<class TInputImage, class 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.
|
virtual ::itk::LightObject::Pointer | CreateAnother (void) const |
|
virtual const char * | GetNameOfClass () const |
|
void | GetTestMean (unsigned int x[3]) |
|
void | GetTestSTD (unsigned int x[3]) |
|
virtual void | SetInput (const InputImageType *input) |
|
virtual void | SetInput (unsigned int, const InputImageType *image) |
|
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) |
|
| typedef (Concept::SameDimension< InputImageDimension, OutputImageDimension >) SameDimensionCheck |
|
| typedef (Concept::Convertible< int, typename TOutputImage::PixelType >) IntConvertibleToOutputCheck |
|
|
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 |
|
void | BeforeNextStep (void) |
|
virtual ::itk::LightObject::Pointer | CreateAnother (void) const |
|
void | DrawDiagram (VDImagePointer result, unsigned char incolor, unsigned char outcolor, unsigned char boundcolor) |
|
virtual void | EnlargeOutputRequestedRegion (DataObject *output) |
|
virtual void | GenerateInputRequestedRegion () |
|
virtual int | GetLastStepSeeds () const |
|
virtual int | GetNumberOfSeedsToAdded () const |
|
PointType | GetSeed (int SeedID) |
|
VoronoiPointer | GetVoronoiDiagram (void) |
|
virtual void | MakeSegmentBoundary (void) |
|
virtual void | MakeSegmentObject (void) |
|
void | RunSegment (void) |
|
void | RunSegmentOneStep (void) |
|
virtual void | TakeAPrior (const BinaryObjectImage *) |
|
virtual void | SetNumberOfSeeds (int _arg) |
|
virtual int | GetNumberOfSeeds () const |
|
virtual void | SetMinRegion (int _arg) |
|
virtual int | 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) |
|
virtual double | GetCoordinateTolerance () |
|
const InputImageType * | GetInput (void) const |
|
const InputImageType * | GetInput (unsigned int idx) const |
|
virtual void | PopBackInput () |
|
virtual void | PopFrontInput () |
|
virtual void | PushBackInput (const InputImageType *image) |
|
virtual void | PushFrontInput (const InputImageType *image) |
|
virtual void | SetCoordinateTolerance (double _arg) |
|
virtual void | SetDirectionTolerance (double _arg) |
|
virtual double | GetDirectionTolerance () |
|
OutputImageType * | GetOutput (unsigned int idx) |
|
virtual void | GraftNthOutput (unsigned int idx, DataObject *output) |
|
virtual void | GraftOutput (DataObject *output) |
|
virtual void | GraftOutput (const DataObjectIdentifierType &key, DataObject *output) |
|
OutputImageType * | GetOutput (void) |
|
const OutputImageType * | GetOutput (void) const |
|
virtual
ProcessObject::DataObjectPointer | MakeOutput (ProcessObject::DataObjectPointerArraySizeType idx) |
|
virtual void | AbortGenerateDataOff () |
|
virtual void | AbortGenerateDataOn () |
|
virtual const bool & | GetAbortGenerateData () |
|
NameArray | GetInputNames () const |
|
MultiThreader * | GetMultiThreader () const |
|
DataObjectPointerArraySizeType | GetNumberOfIndexedInputs () const |
|
DataObjectPointerArraySizeType | GetNumberOfInputs () const |
|
DataObjectPointerArraySizeType | GetNumberOfOutputs () const |
|
virtual
DataObjectPointerArraySizeType | GetNumberOfValidRequiredInputs () const |
|
NameArray | GetOutputNames () const |
|
virtual const float & | GetProgress () |
|
NameArray | GetRequiredInputNames () const |
|
bool | HasInput (const DataObjectIdentifierType &key) const |
|
bool | HasOutput (const DataObjectIdentifierType &key) const |
|
virtual DataObjectPointer | MakeOutput (const DataObjectIdentifierType &) |
|
virtual void | PrepareOutputs () |
|
virtual void | PropagateRequestedRegion (DataObject *output) |
|
virtual void | ResetPipeline () |
|
virtual void | SetAbortGenerateData (bool _arg) |
|
virtual void | SetProgress (float _arg) |
|
virtual void | Update () |
|
virtual void | UpdateLargestPossibleRegion () |
|
virtual void | UpdateOutputData (DataObject *output) |
|
virtual void | UpdateOutputInformation () |
|
void | UpdateProgress (float amount) |
|
DataObjectPointerArray | GetInputs () |
|
DataObjectPointerArray | GetOutputs () |
|
DataObjectPointerArray | GetIndexedInputs () |
|
DataObjectPointerArray | GetIndexedOutputs () |
|
DataObjectPointerArraySizeType | GetNumberOfIndexedOutputs () const |
|
virtual void | SetReleaseDataFlag (bool flag) |
|
virtual bool | GetReleaseDataFlag () const |
|
void | ReleaseDataFlagOn () |
|
void | ReleaseDataFlagOff () |
|
virtual void | SetReleaseDataBeforeUpdateFlag (bool _arg) |
|
virtual const bool & | GetReleaseDataBeforeUpdateFlag () |
|
virtual void | ReleaseDataBeforeUpdateFlagOn () |
|
virtual void | ReleaseDataBeforeUpdateFlagOff () |
|
virtual void | SetNumberOfThreads (ThreadIdType _arg) |
|
virtual const ThreadIdType & | GetNumberOfThreads () |
|
unsigned long | AddObserver (const EventObject &event, Command *) |
|
unsigned long | AddObserver (const EventObject &event, Command *) const |
|
virtual void | DebugOff () const |
|
virtual void | DebugOn () const |
|
Command * | GetCommand (unsigned long tag) |
|
bool | GetDebug () const |
|
MetaDataDictionary & | GetMetaDataDictionary (void) |
|
const MetaDataDictionary & | GetMetaDataDictionary (void) const |
|
virtual ModifiedTimeType | GetMTime () const |
|
virtual const TimeStamp & | GetTimeStamp () const |
|
bool | HasObserver (const EventObject &event) const |
|
void | InvokeEvent (const EventObject &) |
|
void | InvokeEvent (const EventObject &) const |
|
virtual void | Modified () const |
|
virtual void | Register () const |
|
void | RemoveAllObservers () |
|
void | RemoveObserver (unsigned long tag) |
|
void | SetDebug (bool debugFlag) const |
|
void | SetMetaDataDictionary (const MetaDataDictionary &rhs) |
|
virtual void | SetReferenceCount (int) |
|
virtual void | UnRegister () const |
|
virtual void | Delete () |
|
virtual int | GetReferenceCount () const |
|
| itkCloneMacro (Self) |
|
void | Print (std::ostream &os, Indent indent=0) const |
|
|
void | PrintSelf (std::ostream &os, Indent indent) const |
|
| VoronoiSegmentationRGBImageFilter () |
|
| ~VoronoiSegmentationRGBImageFilter () |
|
virtual void | ClassifyDiagram (void) |
|
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) |
|
void | GenerateData (void) |
|
void | GetPixelIndexFromPolygon (PointTypeDeque VertList, IndexList *PixelPool) |
|
virtual bool | TestHomogeneity (IndexList &) |
|
| VoronoiSegmentationImageFilterBase () |
|
| ~VoronoiSegmentationImageFilterBase () |
|
virtual void | CallCopyInputRegionToOutputRegion (OutputImageRegionType &destRegion, const InputImageRegionType &srcRegion) |
|
virtual void | CallCopyOutputRegionToInputRegion (InputImageRegionType &destRegion, const OutputImageRegionType &srcRegion) |
|
virtual void | VerifyInputInformation () |
|
void | PushBackInput (const DataObject *input) |
|
void | PushFrontInput (const DataObject *input) |
|
| ImageToImageFilter () |
|
| ~ImageToImageFilter () |
|
virtual void | AfterThreadedGenerateData () |
|
virtual void | AllocateOutputs () |
|
virtual void | BeforeThreadedGenerateData () |
|
| ImageSource () |
|
virtual unsigned int | SplitRequestedRegion (unsigned int i, unsigned int num, OutputImageRegionType &splitRegion) |
|
virtual void | ThreadedGenerateData (const OutputImageRegionType &outputRegionForThread, ThreadIdType threadId) |
|
virtual | ~ImageSource () |
|
virtual void | AddInput (DataObject *input) |
|
virtual void | AddOutput (DataObject *output) |
|
bool | AddRequiredInputName (const DataObjectIdentifierType &) |
|
virtual void | CacheInputReleaseDataFlags () |
|
virtual void | GenerateOutputInformation () |
|
virtual void | GenerateOutputRequestedRegion (DataObject *output) |
|
virtual const
DataObjectPointerArraySizeType & | GetNumberOfRequiredOutputs () |
|
bool | IsIndexedInputName (const DataObjectIdentifierType &) const |
|
bool | IsIndexedOutputName (const DataObjectIdentifierType &) const |
|
bool | IsRequiredInputName (const DataObjectIdentifierType &) const |
|
| itkLegacyMacro (virtual void RemoveInput(DataObject *input)) |
|
| itkLegacyMacro (virtual void RemoveOutput(DataObject *output)) |
|
| itkLegacyMacro (void SetNumberOfInputs(DataObjectPointerArraySizeType num)) |
|
| itkLegacyMacro (void SetNumberOfOutputs(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 | 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 () |
|
DataObject * | GetInput (const DataObjectIdentifierType &key) |
|
const DataObject * | GetInput (const DataObjectIdentifierType &key) const |
|
DataObject * | GetInput (DataObjectPointerArraySizeType) |
|
const DataObject * | GetInput (DataObjectPointerArraySizeType idx) const |
|
DataObject * | GetPrimaryInput () |
|
const DataObject * | GetPrimaryInput () const |
|
virtual void | SetPrimaryInputName (const DataObjectIdentifierType &key) |
|
virtual const char * | GetPrimaryInputName () const |
|
DataObject * | GetOutput (const DataObjectIdentifierType &key) |
|
const DataObject * | GetOutput (const DataObjectIdentifierType &key) const |
|
virtual void | SetPrimaryOutputName (const DataObjectIdentifierType &key) |
|
virtual const char * | GetPrimaryOutputName () const |
|
DataObject * | GetOutput (DataObjectPointerArraySizeType idx) |
|
const DataObject * | GetOutput (DataObjectPointerArraySizeType idx) const |
|
DataObject * | GetPrimaryOutput () |
|
const DataObject * | GetPrimaryOutput () const |
|
virtual void | SetNumberOfRequiredInputs (DataObjectPointerArraySizeType) |
|
virtual const
DataObjectPointerArraySizeType & | GetNumberOfRequiredInputs () |
|
| Object () |
|
bool | PrintObservers (std::ostream &os, Indent indent) const |
|
virtual void | SetTimeStamp (const TimeStamp &time) |
|
virtual | ~Object () |
|
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 () |
|