ITK
5.2.0
Insight Toolkit
|
#include <itkVoronoiSegmentationRGBImageFilter.h>
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::ImageToImageFilter< TInputImage, TOutputImage > | |
static void | SetGlobalDefaultDirectionTolerance (double) |
static double | GetGlobalDefaultDirectionTolerance () |
static void | SetGlobalDefaultCoordinateTolerance (double) |
static double | GetGlobalDefaultCoordinateTolerance () |
Static Public Member Functions inherited from itk::Object | |
static bool | GetGlobalWarningDisplay () |
static void | GlobalWarningDisplayOff () |
static void | GlobalWarningDisplayOn () |
static Pointer | New () |
static void | SetGlobalWarningDisplay (bool val) |
Static Public Member Functions inherited from itk::LightObject | |
static void | BreakOnError () |
static Pointer | New () |
static constexpr unsigned int | InputImageDimension = TInputImage::ImageDimension |
static constexpr unsigned int | OutputImageDimension = TOutputImage::ImageDimension |
double | m_Mean [6] |
double | m_STD [6] |
double | m_MeanTolerance [6] |
double | m_STDTolerance [6] |
double | m_MeanPercentError [6] |
double | m_STDPercentError [6] |
double | m_MaxValueOfRGB |
unsigned int | m_TestMean [3] |
unsigned int | m_TestSTD [3] |
RGBHCVImage::Pointer | m_WorkingImage |
void | SetMeanPercentError (const double x[6]) |
void | SetSTDPercentError (const 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 (const double x[6]) |
void | SetSTD (const double x[6]) |
void | GetMeanTolerance (double x[6]) |
void | GetSTDTolerance (double x[6]) |
virtual void | SetMaxValueOfRGB (double _arg) |
virtual double | GetMaxValueOfRGB () const |
void | SetTestMean (unsigned int t1, unsigned int t2, unsigned int t3) |
void | SetTestSTD (unsigned int t1, unsigned int t2, unsigned int t3) |
void | GetTestMean (unsigned int x[3]) |
void | GetTestSTD (unsigned int x[3]) |
void | TakeAPrior (const BinaryObjectImage *aprior) override |
void | SetInput (const InputImageType *input) override |
void | SetInput (unsigned int, const InputImageType *input) override |
virtual void | SetInput (const DataObjectIdentifierType &key, DataObject *input) |
VoronoiSegmentationRGBImageFilter () | |
~VoronoiSegmentationRGBImageFilter () override=default | |
void | PrintSelf (std::ostream &os, Indent indent) const override |
bool | TestHomogeneity (IndexList &Plist) override |
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.
using itk::VoronoiSegmentationRGBImageFilter< TInputImage, TOutputImage >::BinaryObjectImage = typename Superclass::BinaryObjectImage |
Convenient type alias.
Definition at line 73 of file itkVoronoiSegmentationRGBImageFilter.h.
using itk::VoronoiSegmentationRGBImageFilter< TInputImage, TOutputImage >::ConstPointer = SmartPointer<const Self> |
Definition at line 64 of file itkVoronoiSegmentationRGBImageFilter.h.
using itk::VoronoiSegmentationRGBImageFilter< TInputImage, TOutputImage >::IndexList = typename Superclass::IndexList |
Definition at line 74 of file itkVoronoiSegmentationRGBImageFilter.h.
using itk::VoronoiSegmentationRGBImageFilter< TInputImage, TOutputImage >::IndexType = typename Superclass::IndexType |
Definition at line 75 of file itkVoronoiSegmentationRGBImageFilter.h.
using itk::VoronoiSegmentationRGBImageFilter< TInputImage, TOutputImage >::InputImagePointer = typename Superclass::InputImagePointer |
Definition at line 78 of file itkVoronoiSegmentationRGBImageFilter.h.
using itk::VoronoiSegmentationRGBImageFilter< TInputImage, TOutputImage >::InputImageType = typename Superclass::InputImageType |
Definition at line 79 of file itkVoronoiSegmentationRGBImageFilter.h.
using itk::VoronoiSegmentationRGBImageFilter< TInputImage, TOutputImage >::PixelType = typename Superclass::PixelType |
Definition at line 77 of file itkVoronoiSegmentationRGBImageFilter.h.
using itk::VoronoiSegmentationRGBImageFilter< TInputImage, TOutputImage >::Pointer = SmartPointer<Self> |
Definition at line 63 of file itkVoronoiSegmentationRGBImageFilter.h.
using itk::VoronoiSegmentationRGBImageFilter< TInputImage, TOutputImage >::RegionType = typename Superclass::RegionType |
Definition at line 76 of file itkVoronoiSegmentationRGBImageFilter.h.
using itk::VoronoiSegmentationRGBImageFilter< TInputImage, TOutputImage >::RGBHCVImage = Image<RGBHCVPixel> |
Definition at line 81 of file itkVoronoiSegmentationRGBImageFilter.h.
using itk::VoronoiSegmentationRGBImageFilter< TInputImage, TOutputImage >::RGBHCVPixel = Vector<float, 6> |
Definition at line 80 of file itkVoronoiSegmentationRGBImageFilter.h.
using itk::VoronoiSegmentationRGBImageFilter< TInputImage, TOutputImage >::Self = VoronoiSegmentationRGBImageFilter |
Standard class type aliases.
Definition at line 61 of file itkVoronoiSegmentationRGBImageFilter.h.
using itk::VoronoiSegmentationRGBImageFilter< TInputImage, TOutputImage >::Superclass = VoronoiSegmentationImageFilterBase<TInputImage, TOutputImage> |
Definition at line 62 of file itkVoronoiSegmentationRGBImageFilter.h.
|
protected |
ImageDimension enumeration
|
overrideprotecteddefault |
ImageDimension enumeration
|
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.
|
virtual |
ImageDimension enumeration
|
inline |
ImageDimension enumeration
Definition at line 105 of file itkVoronoiSegmentationRGBImageFilter.h.
|
inline |
ImageDimension enumeration
Definition at line 89 of file itkVoronoiSegmentationRGBImageFilter.h.
|
inline |
ImageDimension enumeration
Definition at line 137 of file itkVoronoiSegmentationRGBImageFilter.h.
|
virtual |
Run-time type information (and related methods).
Reimplemented from itk::VoronoiSegmentationImageFilterBase< TInputImage, TOutputImage >.
|
inline |
ImageDimension enumeration
Definition at line 113 of file itkVoronoiSegmentationRGBImageFilter.h.
|
inline |
ImageDimension enumeration
Definition at line 97 of file itkVoronoiSegmentationRGBImageFilter.h.
|
inline |
ImageDimension enumeration
Definition at line 145 of file itkVoronoiSegmentationRGBImageFilter.h.
|
inline |
ImageDimension enumeration
Definition at line 180 of file itkVoronoiSegmentationRGBImageFilter.h.
|
inline |
ImageDimension enumeration
Definition at line 188 of file itkVoronoiSegmentationRGBImageFilter.h.
|
static |
Method for creation through the object factory.
|
overrideprotectedvirtual |
ImageDimension enumeration
Reimplemented from itk::ImageToImageFilter< TInputImage, TOutputImage >.
virtual void itk::ProcessObject::SetInput |
Protected method for setting indexed and named inputs.
Subclasses make use of them for setting input. As this method only used the base DataObject pointer, derived classes should expose a type check methods.
|
overridevirtual |
ImageDimension enumeration
Reimplemented from itk::ImageToImageFilter< TInputImage, TOutputImage >.
|
overridevirtual |
ImageDimension enumeration
Reimplemented from itk::ImageToImageFilter< TInputImage, TOutputImage >.
|
virtual |
Maximum value of the RGB, needed for color space conversions. default as 8 bit per channel, if it is different, need to be set before doing anything.
|
inline |
ImageDimension enumeration
Definition at line 121 of file itkVoronoiSegmentationRGBImageFilter.h.
void itk::VoronoiSegmentationRGBImageFilter< TInputImage, TOutputImage >::SetMeanPercentError | ( | const double | x[6] | ) |
|
inline |
ImageDimension enumeration
Definition at line 129 of file itkVoronoiSegmentationRGBImageFilter.h.
void itk::VoronoiSegmentationRGBImageFilter< TInputImage, TOutputImage >::SetSTDPercentError | ( | const double | x[6] | ) |
ImageDimension enumeration
|
inline |
Set the three channels to test the mean and STD respectively 0:red, 1:green, 2:blue, 3:hue, 4:chroma, 5:value.
Definition at line 164 of file itkVoronoiSegmentationRGBImageFilter.h.
|
inline |
ImageDimension enumeration
Definition at line 172 of file itkVoronoiSegmentationRGBImageFilter.h.
|
override |
ImageDimension enumeration
|
overrideprivate |
ImageDimension enumeration
|
staticconstexpr |
ImageDimension enumeration
Definition at line 206 of file itkVoronoiSegmentationRGBImageFilter.h.
|
private |
ImageDimension enumeration
Definition at line 230 of file itkVoronoiSegmentationRGBImageFilter.h.
|
private |
ImageDimension enumeration
Definition at line 224 of file itkVoronoiSegmentationRGBImageFilter.h.
|
private |
ImageDimension enumeration
Definition at line 228 of file itkVoronoiSegmentationRGBImageFilter.h.
|
private |
ImageDimension enumeration
Definition at line 226 of file itkVoronoiSegmentationRGBImageFilter.h.
|
private |
ImageDimension enumeration
Definition at line 225 of file itkVoronoiSegmentationRGBImageFilter.h.
|
private |
ImageDimension enumeration
Definition at line 229 of file itkVoronoiSegmentationRGBImageFilter.h.
|
private |
ImageDimension enumeration
Definition at line 227 of file itkVoronoiSegmentationRGBImageFilter.h.
|
private |
ImageDimension enumeration
Definition at line 231 of file itkVoronoiSegmentationRGBImageFilter.h.
|
private |
ImageDimension enumeration
Definition at line 232 of file itkVoronoiSegmentationRGBImageFilter.h.
|
private |
ImageDimension enumeration
Definition at line 233 of file itkVoronoiSegmentationRGBImageFilter.h.
|
staticconstexpr |
ImageDimension enumeration
Definition at line 207 of file itkVoronoiSegmentationRGBImageFilter.h.