\( \newcommand{\E}{\mathrm{E}} \) \( \newcommand{\A}{\mathrm{A}} \) \( \newcommand{\R}{\mathrm{R}} \) \( \newcommand{\N}{\mathrm{N}} \) \( \newcommand{\Q}{\mathrm{Q}} \) \( \newcommand{\Z}{\mathrm{Z}} \) \( \def\ccSum #1#2#3{ \sum_{#1}^{#2}{#3} } \def\ccProd #1#2#3{ \sum_{#1}^{#2}{#3} }\)
CGAL 4.12.2 - Classification
CGAL::Classification Namespace Reference

Namespaces

 Feature
 

Classes

class  Classifier
 Concept describing a classifier used by classification functions (see CGAL::Classification::classify(), CGAL::Classification::classify_with_local_smoothing() and CGAL::Classification::classify_with_graphcut()). More...
 
class  ETHZ_random_forest_classifier
 Classifier based on the ETH Zurich version of random forest algorithm [2]. More...
 
class  Evaluation
 Class to compute several measurements to evaluate the quality of a classification output. More...
 
class  Feature_base
 Abstract class describing a classification feature that associates a scalar value to each item of the classification input. More...
 
class  Feature_handle
 Handle to a Feature_base. More...
 
class  Feature_set
 Set of features (see Feature_base) used as input by classification algorithms. More...
 
class  Label
 Classification label (for example: vegetation, ground, etc.) defined as a set of relationships with classification features. More...
 
class  Label_handle
 Handle to a classification Label. More...
 
class  Label_set
 Set of Label used as input by classification algorithms. More...
 
class  Local_eigen_analysis
 Class that precomputes and stores the eigenvectors and eigenvalues of the covariance matrices of all points of a point set using a local neighborhood. More...
 
class  NeighborQuery
 Concept describing a neighbor query used for classification. More...
 
class  OpenCV_random_forest_classifier
 Classifier based on the OpenCV version of random forest algorithm. More...
 
class  Planimetric_grid
 Class that precomputes a 2D planimetric grid. More...
 
class  Point_set_feature_generator
 Generates a set of generic features for point set classification. More...
 
class  Point_set_neighborhood
 Class that precomputes spatial searching structures for an input point set and gives access to the local neighborhood of a point as a set of indices. More...
 
class  Sum_of_weighted_features_classifier
 Classifier based on the sum of weighted features with user-defined effects on labels. More...
 

Typedefs

typedef CGAL::cpp11::array< unsigned char, 3 > RGB_Color
 Color described in red/green/blue space. More...
 
typedef CGAL::cpp11::array< float, 3 > HSV_Color
 Color described in hue/saturation/value space. More...
 

Functions

template<typename ConcurrencyTag , typename ItemRange , typename Classifier , typename LabelIndexRange >
void classify (const ItemRange &input, const Label_set &labels, const Classifier &classifier, LabelIndexRange &output)
 Runs the classification algorithm without any regularization. More...
 
template<typename ConcurrencyTag , typename ItemRange , typename ItemMap , typename NeighborQuery , typename Classifier , typename LabelIndexRange >
void classify_with_local_smoothing (const ItemRange &input, const ItemMap item_map, const Label_set &labels, const Classifier &classifier, const NeighborQuery &neighbor_query, LabelIndexRange &output)
 Runs the classification algorithm with a local smoothing. More...
 
template<typename ConcurrencyTag , typename ItemRange , typename ItemMap , typename NeighborQuery , typename Classifier , typename LabelIndexRange >
void classify_with_graphcut (const ItemRange &input, const ItemMap item_map, const Label_set &labels, const Classifier &classifier, const NeighborQuery &neighbor_query, const float strength, const std::size_t min_number_of_subdivisions, LabelIndexRange &output)
 Runs the classification algorithm with a global regularization based on a graph cut. More...
 

Typedef Documentation

◆ HSV_Color

Color described in hue/saturation/value space.

Each component is stored as a float:

  • hue ranges from 0° to 360° (corresponding to the color tint)
  • saturation ranges from 0.0 (gray) to 100.0 (full saturation)
  • value ranges from 0.0 (black) to 100.0 (white)

◆ RGB_Color

Color described in red/green/blue space.

Each component is stored as an unsigned char ranging from 0 (no color) to 255 (full color).