Image Component Library (ICL)
Public Attributes | List of all members
icl::math::KMeans< Vector, Scalar >::Result Struct Reference

restult type More...

#include <KMeans.h>

Public Attributes

const std::vector< Vector > & centers
 final list of centroids More...
 
const std::vector< int > & nums
 final number of points for each centroid More...
 
const std::vector< Scalar > & errors
 average quantisation errors More...
 

Detailed Description

template<class Vector, class Scalar>
struct icl::math::KMeans< Vector, Scalar >::Result

restult type

Member Data Documentation

◆ centers

template<class Vector , class Scalar >
const std::vector<Vector>& icl::math::KMeans< Vector, Scalar >::Result::centers

final list of centroids

◆ errors

template<class Vector , class Scalar >
const std::vector<Scalar>& icl::math::KMeans< Vector, Scalar >::Result::errors

average quantisation errors

◆ nums

template<class Vector , class Scalar >
const std::vector<int>& icl::math::KMeans< Vector, Scalar >::Result::nums

final number of points for each centroid


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