![]() |
IPSDK
4_1_0_2
IPSDK : Image Processing Software Development Kit
|
Base class for histogram data management. More...
#include <BaseHistogram.h>
Public Member Functions | |
| bool | isInit () const |
| check whether object has been initialized | |
| HistogramGaussianCurveFit | fitGaussianCurve (const EstimationConfig &config=createNonRobustConfig(), const bool bIncludeOutOfBoundsData=false) const |
| function allowing to fit a gaussian curve on histogram data Fitted gaussian curve is defined as follow :
| |
| clustering::KMeansClusteringPtr | applyKMeansClustering (const ipUInt32 nbClusters, const bool bIncludeOutOfBoundsData=false, const clustering::KMeansClusteringConfig &clusteringConfig=clustering::KMeansClusteringConfig()) const |
| function allowing to apply K-Means clustering algorithm with K-Means++ initialization on histogram data More... | |
| template<typename KernelType > | |
| boost::shared_ptr< clustering::KernelKMeansClustering< KernelType > > | applyKernelKMeansClustering (const ipUInt32 nbClusters, const KernelType &kernel, const bool bIncludeOutOfBoundsData=false, const clustering::KernelKMeansClusteringConfig &clusteringConfig=clustering::KernelKMeansClusteringConfig()) const |
| function allowing to apply Kernel K-Means clustering algorithm More... | |
| template<typename KernelType > | |
| boost::shared_ptr< clustering::SpectralClustering< KernelType > > | applySpectralClustering (const ipUInt32 nbClusters, const KernelType &kernel, const bool bIncludeOutOfBoundsData=false, const clustering::KernelKMeansClusteringConfig &clusteringConfig=clustering::KernelKMeansClusteringConfig()) const |
| function allowing to apply spectral clustering algorithm More... | |
| void | clear () |
| clear of all histogram informations | |
Constructors and destructor | |
| BaseHistogram () | |
| virtual | ~BaseHistogram ()=0 |
Histogram initialization | |
| void | initFromExisting (const ipReal64 firstHistoValue, const ipReal64 lastHistoValue, const ipReal64 binWidth, const UInt64Vector &histogramPopulation, const eHistogramOutOfBoundsPolicy &outOfBoundsPolicy=eHistogramOutOfBoundsPolicy::eHOOBP_Ignored) |
| initialization of histogram with existing histogram data More... | |
Histogram data modifications | |
| void | clearData () |
| clear of all data associated to histogram More... | |
Histogram query | |
| virtual ipBool | areDataIntegral () const =0 |
| check whether histogram data are integral | |
| ipReal64 | getFirstValue () const |
| retrieve first value for histogram More... | |
| ipReal64 | getLastValue () const |
| retrieve last value for histogram More... | |
| ipReal64 | getLowerBound () const |
| retrieve lower bound for histogram More... | |
| ipReal64 | getUpperBound () const |
| retrieve upper bound for histogram More... | |
| ipReal64 | getRange () const |
| retrieve range for histogram More... | |
| ipReal64 | getBinWidth () const |
| retrieve bin width associated to histogram More... | |
| ipUInt32 | getNbClasses () const |
| retrieve number of classes associated to histogram More... | |
| ipUInt32 | getNbBins () const |
| retrieve number of bins associated to histogram More... | |
| ipUInt32 | getLowerOutOfBoundsBinIdx () const |
| retrieve bin index associated to lower out of bounds data More... | |
| ipUInt32 | getUpperOutOfBoundsBinIdx () const |
| retrieve bin index associated to upper out of bounds data More... | |
| ipUInt32 | getInBoundsBinOffset () const |
| retrieve index associated to first in bounds data More... | |
| const UInt64Vector & | getHistogramPopulation () const |
| access to data collection associated to histogram More... | |
| ipUInt64 | getTotalPopulation () const |
| retrieve total population for histogram More... | |
| UInt64Vector | getHistogramClassPopulation () const |
| retrieve sub part of collection associated to classes (ie. excluding reserved bin associated to out of bounds data) | |
| ipReal64 | getBinStartValue (const ipUInt32 binIdx) const |
| retrieve starting value for a given histogram bin More... | |
| ipReal64 | getBinMidValue (const ipUInt32 binIdx) const |
| retrieve mid value for a given histogram bin More... | |
| ipReal64 | getBinEndValue (const ipUInt32 binIdx) const |
| retrieve ending value for a given histogram bin More... | |
| ipReal64 | getClassStartValue (const ipUInt32 classIdx) const |
| retrieve starting value for a given histogram class More... | |
| ipReal64 | getClassMidValue (const ipUInt32 classIdx) const |
| retrieve mid value for a given histogram class More... | |
| ipReal64 | getClassEndValue (const ipUInt32 classIdx) const |
| retrieve ending value for a given histogram class More... | |
| ipUInt64 | getClassPopulation (const ipUInt32 classIdx) const |
| access to population for a given class index More... | |
| ipReal64 | getClassFrequency (const ipUInt32 classIdx) const |
| access to frequency for a given class index More... | |
| ipUInt64 | getClassCumulatedPopulation (const ipUInt32 classIdx) const |
| access to cumulated population for a given class index More... | |
| ipReal64 | getClassCumulatedFrequency (const ipUInt32 classIdx) const |
| access to cumulated frequency for a given class index More... | |
| ipBool | isOutOfBounds (const ipReal64 value) const |
| method allowing to check whether a given input value is out of histogram bounds More... | |
| ipBool | isOutOfLowerBound (const ipReal64 value) const |
| method allowing to check whether a given input value is lower than histogram lower bound More... | |
| ipBool | isOutOfUpperBound (const ipReal64 value) const |
| method allowing to check whether a given input value is greater than histogram upper bound More... | |
| ipBool | canBeAggregated (const ipReal64 value) const |
| method allowing to check whether a value can be aggregated to histogram data regards to histogram range and an out of bounds policy More... | |
| ipUInt32 | getBinIdx (const ipReal64 value) const |
| retrieve histogram bin index associated to a given input value More... | |
| ipUInt64 | getPopulation (const ipReal64 value) const |
| retrieve histogram population for a given value More... | |
| ipReal64 | getFrequency (const ipReal64 value) const |
| retrieve histogram frequency for a given value More... | |
| ipUInt64 | getCumulatedPopulation (const ipReal64 value) const |
| retrieve histogram cumulated population for a given value More... | |
| ipReal64 | getCumulatedFrequency (const ipReal64 value) const |
| retrieve histogram cumulated frequency for a given value More... | |
| void | getFrequencies (Real64Vector &frequencies) const |
| compute histogram frequencies | |
| Real64Vector | getFrequencies () const |
| compute histogram frequencies | |
| void | getCumulatedFrequencies (Real64Vector &cumulatedFrequencies) const |
| compute histogram cumulated frequencies | |
| Real64Vector | getCumulatedFrequencies () const |
| compute histogram cumulated frequencies | |
| Real64Vector | getBinMidValues () const |
| retrieve histogram bin mid values | |
| ipUInt32 | getQuantileClassIdx (const ipReal64 quantileValue) const |
| retrieve class index associated to a given quantile value More... | |
| ipUInt32 | getMaxPopulationClassIdx () const |
| retrieve class index associated to maximum population More... | |
Extrema search | |
| UInt32Vector | findLocalMaxima (const bool bStrictExtrema=true, const eExtremaBorderPolicy &extremaBorderPolicy=eExtremaBorderPolicy::eEBP_Keeped, const ipReal64 minDistance=0, const ipUInt64 populationThreshold=0) const |
| function allowing to retrieve local maxima associated to histogram More... | |
| UInt32Vector | findLocalMinima (const bool bStrictExtrema=true, const eExtremaBorderPolicy &extremaBorderPolicy=eExtremaBorderPolicy::eEBP_Keeped, const ipReal64 minDistance=0, const ipUInt64 populationThreshold=NumericLimits< ipUInt64 >::max()) const |
| function allowing to retrieve local minima associated to histogram More... | |
| HistogramExtremaColl | findLocalDilatedMaxima (const ipUInt64 dilateFactor, const eExtremaBorderPolicy &extremaBorderPolicy=eExtremaBorderPolicy::eEBP_Keeped, const ipReal64 minDistance=0, const ipUInt64 populationThreshold=0) const |
| function allowing to retrieve local dilated maxima associated to histogram More... | |
| HistogramExtremaColl | findLocalDilatedMinima (const ipUInt64 dilateFactor, const eExtremaBorderPolicy &extremaBorderPolicy=eExtremaBorderPolicy::eEBP_Keeped, const ipReal64 minDistance=0, const ipUInt64 populationThreshold=NumericLimits< ipUInt64 >::max()) const |
| function allowing to retrieve local dilated minima associated to histogram (see BaseHistogram::findLocalDilatedMaxima for an illustration of dilation process) More... | |
Public Member Functions inherited from ipsdk::BaseSerializationObject | |
| BaseSerializationObject () | |
| Default constructor. | |
| virtual | ~BaseSerializationObject ()=0 |
| destructor | |
Public Member Functions inherited from ipsdk::BaseDynamicObject | |
| virtual const std::string & | getClassName () const |
| method allowing to retrieve object class name | |
| virtual BaseDynamicObject * | createNew () const =0 |
| method allowing to create new instance of current object type | |
| virtual DynamicObjectPtr | createShared () const =0 |
| method allowing to create new shared instance of current object type | |
| virtual bool | hasCopySupport () const =0 |
| check whether objet has copy support | |
| virtual BaseDynamicObject * | duplicate () const =0 |
| method allowing to duplicate current object More... | |
| virtual DynamicObjectPtr | duplicateShared () const =0 |
| method allowing shared duplication of current object More... | |
| BaseDynamicObject () | |
| virtual | ~BaseDynamicObject ()=0 |
Protected Member Functions | |
| void | checkInit () const |
| void | checkClassIdx (const ipUInt32 classIdx) const |
| method allowing to check validity of a class index | |
| void | checkBinIdx (const ipUInt32 classIdx) const |
| method allowing to check validity of a bin index | |
| void | updateHistogramParams (const ipReal64 firstHistoValue, const ipReal64 lastHistoValue, const ipReal64 binWidth, const eHistogramOutOfBoundsPolicy &outOfBoundsPolicy) |
| method allowing to update histogram parameters More... | |
| void | updateHistogramParams (const ipReal64 firstHistoValue, const ipReal64 lastHistoValue, const ipUInt32 nbClasses, const eHistogramOutOfBoundsPolicy &outOfBoundsPolicy) |
| method allowing to update histogram parameters More... | |
| ipBool | insertDataInternal (const ipReal64 value) |
| insertion of data into histogram More... | |
| void | clearCumulatedData () |
| clear of cumulated data associated to histogram | |
| void | collectClusteringData (const bool bIncludeOutOfBoundsData, clustering::VectorColl &inputDataColl) const |
| method allowing to collect histogram data for clustering computation | |
Protected Member Functions inherited from ipsdk::BaseSerializationObject | |
| virtual BoolResult | write (BaseOArchive &ar) const |
| method allowing to ensure serialization write part for object | |
| virtual BoolResult | read (BaseIArchive &ar) |
| method allowing to ensure serialization read part for object | |
Protected Member Functions inherited from ipsdk::BaseDynamicObject | |
| virtual void | initCtorCopy (const BaseDynamicObject &object) |
| virtual void | copy (const BaseDynamicObject &object) |
| method allowing to copy data from another object | |
Additional Inherited Members | |
Static Public Member Functions inherited from ipsdk::BaseSerializationObject | |
| static ipUInt32 | getVersion () |
| method allowing to retrieve class version information for serialization | |
Static Public Member Functions inherited from ipsdk::BaseDynamicObject | |
| static const std::string & | getTypeName () |
| method allowing to retrieve name associated to class | |
Base class for histogram data management.
| void ipsdk::math::BaseHistogram::initFromExisting | ( | const ipReal64 | firstHistoValue, |
| const ipReal64 | lastHistoValue, | ||
| const ipReal64 | binWidth, | ||
| const UInt64Vector & | histogramPopulation, | ||
| const eHistogramOutOfBoundsPolicy & | outOfBoundsPolicy = eHistogramOutOfBoundsPolicy::eHOOBP_Ignored |
||
| ) |
initialization of histogram with existing histogram data
| ipsdk::math::IPSDKMathException | if firstHistoValue >= lastHistoValue |
| ipsdk::math::IPSDKMathException | if binWidth <= 0 |
| ipsdk::math::IPSDKMathException | if expected number of bins differs from histogram population size |
| void ipsdk::math::BaseHistogram::clearData | ( | ) |
clear of all data associated to histogram
| IPSDK_FORCEINLINE ipReal64 ipsdk::math::BaseHistogram::getFirstValue | ( | ) | const |
retrieve first value for histogram
| ipsdk::math::IPSDKMathException | if isInit() == false |
| IPSDK_FORCEINLINE ipReal64 ipsdk::math::BaseHistogram::getLastValue | ( | ) | const |
retrieve last value for histogram
| ipsdk::math::IPSDKMathException | if isInit() == false |
| IPSDK_FORCEINLINE ipReal64 ipsdk::math::BaseHistogram::getLowerBound | ( | ) | const |
retrieve lower bound for histogram
| ipsdk::math::IPSDKMathException | if isInit() == false |
| IPSDK_FORCEINLINE ipReal64 ipsdk::math::BaseHistogram::getUpperBound | ( | ) | const |
retrieve upper bound for histogram
| ipsdk::math::IPSDKMathException | if isInit() == false |
| IPSDK_FORCEINLINE ipReal64 ipsdk::math::BaseHistogram::getRange | ( | ) | const |
retrieve range for histogram
| ipsdk::math::IPSDKMathException | if isInit() == false |
| IPSDK_FORCEINLINE ipReal64 ipsdk::math::BaseHistogram::getBinWidth | ( | ) | const |
retrieve bin width associated to histogram
| ipsdk::math::IPSDKMathException | if isInit() == false |
| IPSDK_FORCEINLINE ipUInt32 ipsdk::math::BaseHistogram::getNbClasses | ( | ) | const |
retrieve number of classes associated to histogram
| ipsdk::math::IPSDKMathException | if isInit() == false |
| IPSDK_FORCEINLINE ipUInt32 ipsdk::math::BaseHistogram::getNbBins | ( | ) | const |
retrieve number of bins associated to histogram
| ipsdk::math::IPSDKMathException | if isInit() == false |
| IPSDK_FORCEINLINE ipUInt32 ipsdk::math::BaseHistogram::getLowerOutOfBoundsBinIdx | ( | ) | const |
retrieve bin index associated to lower out of bounds data
| ipsdk::math::IPSDKMathException | if isInit() == false |
| IPSDK_FORCEINLINE ipUInt32 ipsdk::math::BaseHistogram::getUpperOutOfBoundsBinIdx | ( | ) | const |
retrieve bin index associated to upper out of bounds data
| ipsdk::math::IPSDKMathException | if isInit() == false |
| IPSDK_FORCEINLINE ipUInt32 ipsdk::math::BaseHistogram::getInBoundsBinOffset | ( | ) | const |
retrieve index associated to first in bounds data
| ipsdk::math::IPSDKMathException | if isInit() == false |
| IPSDK_FORCEINLINE const UInt64Vector & ipsdk::math::BaseHistogram::getHistogramPopulation | ( | ) | const |
access to data collection associated to histogram
| ipsdk::math::IPSDKMathException | if isInit() == false |
| IPSDK_FORCEINLINE ipUInt64 ipsdk::math::BaseHistogram::getTotalPopulation | ( | ) | const |
retrieve total population for histogram
| ipsdk::math::IPSDKMathException | if isInit() == false |
| IPSDK_FORCEINLINE ipReal64 ipsdk::math::BaseHistogram::getBinStartValue | ( | const ipUInt32 | binIdx | ) | const |
retrieve starting value for a given histogram bin
| ipsdk::math::IPSDKMathException | if binIdx >= getNbBins() |
| IPSDK_FORCEINLINE ipReal64 ipsdk::math::BaseHistogram::getBinMidValue | ( | const ipUInt32 | binIdx | ) | const |
retrieve mid value for a given histogram bin
| ipsdk::math::IPSDKMathException | if binIdx >= getNbBins() |
| IPSDK_FORCEINLINE ipReal64 ipsdk::math::BaseHistogram::getBinEndValue | ( | const ipUInt32 | binIdx | ) | const |
retrieve ending value for a given histogram bin
| ipsdk::math::IPSDKMathException | if binIdx >= getNbBins() |
| IPSDK_FORCEINLINE ipReal64 ipsdk::math::BaseHistogram::getClassStartValue | ( | const ipUInt32 | classIdx | ) | const |
retrieve starting value for a given histogram class
| ipsdk::math::IPSDKMathException | if classIdx >= getNbClasses() |
| IPSDK_FORCEINLINE ipReal64 ipsdk::math::BaseHistogram::getClassMidValue | ( | const ipUInt32 | classIdx | ) | const |
retrieve mid value for a given histogram class
| ipsdk::math::IPSDKMathException | if classIdx >= getNbClasses() |
| IPSDK_FORCEINLINE ipReal64 ipsdk::math::BaseHistogram::getClassEndValue | ( | const ipUInt32 | classIdx | ) | const |
retrieve ending value for a given histogram class
| ipsdk::math::IPSDKMathException | if classIdx >= getNbClasses() |
| IPSDK_FORCEINLINE ipUInt64 ipsdk::math::BaseHistogram::getClassPopulation | ( | const ipUInt32 | classIdx | ) | const |
access to population for a given class index
| ipsdk::math::IPSDKMathException | if classIdx >= getNbClasses() |
| IPSDK_FORCEINLINE ipReal64 ipsdk::math::BaseHistogram::getClassFrequency | ( | const ipUInt32 | classIdx | ) | const |
access to frequency for a given class index
| ipsdk::math::IPSDKMathException | if classIdx >= getNbClasses() |
| IPSDK_FORCEINLINE ipUInt64 ipsdk::math::BaseHistogram::getClassCumulatedPopulation | ( | const ipUInt32 | classIdx | ) | const |
access to cumulated population for a given class index
| ipsdk::math::IPSDKMathException | if classIdx >= getNbClasses() |
| IPSDK_FORCEINLINE ipReal64 ipsdk::math::BaseHistogram::getClassCumulatedFrequency | ( | const ipUInt32 | classIdx | ) | const |
access to cumulated frequency for a given class index
| ipsdk::math::IPSDKMathException | if classIdx >= getNbClasses() |
method allowing to check whether a given input value is out of histogram bounds
| ipsdk::math::IPSDKMathException | if isInit() == false |
| IPSDK_FORCEINLINE ipBool ipsdk::math::BaseHistogram::isOutOfLowerBound | ( | const ipReal64 | value | ) | const |
method allowing to check whether a given input value is lower than histogram lower bound
| ipsdk::math::IPSDKMathException | if isInit() == false |
| IPSDK_FORCEINLINE ipBool ipsdk::math::BaseHistogram::isOutOfUpperBound | ( | const ipReal64 | value | ) | const |
method allowing to check whether a given input value is greater than histogram upper bound
| ipsdk::math::IPSDKMathException | if isInit() == false |
method allowing to check whether a value can be aggregated to histogram data regards to histogram range and an out of bounds policy
| ipsdk::math::IPSDKMathException | if isInit() == false |
retrieve histogram bin index associated to a given input value
| ipsdk::math::IPSDKMathException | if isInit() == false |
retrieve histogram population for a given value
retrieve histogram frequency for a given value
| IPSDK_FORCEINLINE ipUInt64 ipsdk::math::BaseHistogram::getCumulatedPopulation | ( | const ipReal64 | value | ) | const |
retrieve histogram cumulated population for a given value
| IPSDK_FORCEINLINE ipReal64 ipsdk::math::BaseHistogram::getCumulatedFrequency | ( | const ipReal64 | value | ) | const |
retrieve histogram cumulated frequency for a given value
retrieve class index associated to a given quantile value
| ipsdk::math::IPSDKMathException | if isInit() == false |
| ipsdk::math::IPSDKMathException | if quantileValue < 0 || quantileValue > 1 |
| ipUInt32 ipsdk::math::BaseHistogram::getMaxPopulationClassIdx | ( | ) | const |
retrieve class index associated to maximum population
| ipsdk::math::IPSDKMathException | if isInit() == false |
| UInt32Vector ipsdk::math::BaseHistogram::findLocalMaxima | ( | const bool | bStrictExtrema = true, |
| const eExtremaBorderPolicy & | extremaBorderPolicy = eExtremaBorderPolicy::eEBP_Keeped, |
||
| const ipReal64 | minDistance = 0, |
||
| const ipUInt64 | populationThreshold = 0 |
||
| ) | const |
function allowing to retrieve local maxima associated to histogram
| bStrictExtrema | specify whether extrema must be strict |
| extremaBorderPolicy | border policy used for processing (note that eExtremaBorderPolicy::eEBP_MakeRing can be used to handle angular continuity problems) |
| minDistance | minimum distance between extrema expressed with respect to bin coordinates |
| populationThreshold | threshold on extrema value (ie. on associated bin population) |
| UInt32Vector ipsdk::math::BaseHistogram::findLocalMinima | ( | const bool | bStrictExtrema = true, |
| const eExtremaBorderPolicy & | extremaBorderPolicy = eExtremaBorderPolicy::eEBP_Keeped, |
||
| const ipReal64 | minDistance = 0, |
||
| const ipUInt64 | populationThreshold = NumericLimits< ipUInt64 >::max() |
||
| ) | const |
function allowing to retrieve local minima associated to histogram
| bStrictExtrema | specify whether extrema must be strict |
| extremaBorderPolicy | border policy used for processing (note that eExtremaBorderPolicy::eEBP_MakeRing can be used to handle angular continuity problems) |
| minDistance | minimum distance between extrema expressed with respect to bin coordinates |
| populationThreshold | threshold on extrema value (ie. on associated bin population) |
| HistogramExtremaColl ipsdk::math::BaseHistogram::findLocalDilatedMaxima | ( | const ipUInt64 | dilateFactor, |
| const eExtremaBorderPolicy & | extremaBorderPolicy = eExtremaBorderPolicy::eEBP_Keeped, |
||
| const ipReal64 | minDistance = 0, |
||
| const ipUInt64 | populationThreshold = 0 |
||
| ) | const |
function allowing to retrieve local dilated maxima associated to histogram
| dilateFactor | dilation factor used to merge local extrema neighbors |
| extremaBorderPolicy | border policy used for processing (note that eExtremaBorderPolicy::eEBP_MakeRing can be used to handle angular continuity problems) |
| minDistance | minimum distance between extrema expressed with respect to bin coordinates |
| populationThreshold | threshold on extrema value (ie. on associated bin population) |
| HistogramExtremaColl ipsdk::math::BaseHistogram::findLocalDilatedMinima | ( | const ipUInt64 | dilateFactor, |
| const eExtremaBorderPolicy & | extremaBorderPolicy = eExtremaBorderPolicy::eEBP_Keeped, |
||
| const ipReal64 | minDistance = 0, |
||
| const ipUInt64 | populationThreshold = NumericLimits< ipUInt64 >::max() |
||
| ) | const |
function allowing to retrieve local dilated minima associated to histogram (see BaseHistogram::findLocalDilatedMaxima for an illustration of dilation process)
| dilateFactor | dilation factor used to merge local extrema neighbors |
| extremaBorderPolicy | border policy used for processing (note that eExtremaBorderPolicy::eEBP_MakeRing can be used to handle angular continuity problems) |
| minDistance | minimum distance between extrema expressed with respect to bin coordinates |
| populationThreshold | threshold on extrema value (ie. on associated bin population) |
| HistogramGaussianCurveFit ipsdk::math::BaseHistogram::fitGaussianCurve | ( | const EstimationConfig & | config = createNonRobustConfig(), |
| const bool | bIncludeOutOfBoundsData = false |
||
| ) | const |
function allowing to fit a gaussian curve on histogram data Fitted gaussian curve is defined as follow :
| clustering::KMeansClusteringPtr ipsdk::math::BaseHistogram::applyKMeansClustering | ( | const ipUInt32 | nbClusters, |
| const bool | bIncludeOutOfBoundsData = false, |
||
| const clustering::KMeansClusteringConfig & | clusteringConfig = clustering::KMeansClusteringConfig() |
||
| ) | const |
function allowing to apply K-Means clustering algorithm with K-Means++ initialization on histogram data
| ipsdk::math::IPSDKMathException | if
|
| boost::shared_ptr<clustering::KernelKMeansClustering<KernelType> > ipsdk::math::BaseHistogram::applyKernelKMeansClustering | ( | const ipUInt32 | nbClusters, |
| const KernelType & | kernel, | ||
| const bool | bIncludeOutOfBoundsData = false, |
||
| const clustering::KernelKMeansClusteringConfig & | clusteringConfig = clustering::KernelKMeansClusteringConfig() |
||
| ) | const |
function allowing to apply Kernel K-Means clustering algorithm
| ipsdk::math::IPSDKMathException | if
|
| boost::shared_ptr<clustering::SpectralClustering<KernelType> > ipsdk::math::BaseHistogram::applySpectralClustering | ( | const ipUInt32 | nbClusters, |
| const KernelType & | kernel, | ||
| const bool | bIncludeOutOfBoundsData = false, |
||
| const clustering::KernelKMeansClusteringConfig & | clusteringConfig = clustering::KernelKMeansClusteringConfig() |
||
| ) | const |
function allowing to apply spectral clustering algorithm
| ipsdk::math::IPSDKMathException | if
|
|
protected |
method allowing to throw an exception in case where histogram has not been initialized
|
protected |
method allowing to update histogram parameters
| ipsdk::math::IPSDKMathException | if firstHistoValue >= lastHistoValue |
| ipsdk::math::IPSDKMathException | if binWidth <= 0 |
|
protected |
method allowing to update histogram parameters
| ipsdk::math::IPSDKMathException | if firstHistoValue >= lastHistoValue |
| ipsdk::math::IPSDKMathException | if nbClasses == 0 |
|
protected |
insertion of data into histogram
1.8.14