IPSDK  4_1_0_2
IPSDK : Image Processing Software Development Kit
Namespaces | Functions
HistogramUtils.h File Reference

Utility functions for histogram management. More...

#include <IPSDKMath/IPSDKMathExports.h>
#include <IPSDKUtil/BaseTypes.h>
#include <IPSDKMath/Statistics/HistogramTypes.h>
#include <IPSDKSerialization/Engine/SerializationEnumHdrMacro.h>
#include <boost/filesystem/path.hpp>
#include <iostream>

Go to the source code of this file.

Namespaces

 ipsdk
 Main namespace for IPSDK library.
 
 ipsdk::math
 Namespace agregating IPSDK mathematical routines and classes.
 

Functions

IPSDKMATH_API ipReal64 ipsdk::math::computeHistogramRange (const ipBool bDataIntegral, const ipReal64 firstHistoValue, const ipReal64 lastHistoValue)
 function allowing to compute range associated to an histogram More...
 
IPSDKMATH_API ipUInt32 ipsdk::math::computeHistogramNbClasses (const ipBool bDataIntegral, const ipReal64 firstHistoValue, const ipReal64 lastHistoValue, const ipReal64 binWidth)
 function allowing to compute number of classes associated to an histogram More...
 
IPSDKMATH_API ipReal64 ipsdk::math::computeHistogramBinWidth (const ipBool bDataIntegral, const ipReal64 firstHistoValue, const ipReal64 lastHistoValue, const ipUInt32 nbClasses)
 function allowing to compute bin width associated to an histogram More...
 
IPSDKMATH_API void ipsdk::math::computeHistogramBoundsInfo (const ipUInt32 nbClasses, const eHistogramOutOfBoundsPolicy &outOfBoundsPolicy, ipUInt32 &lowerOutOfBoundsBinIdx, ipUInt32 &upperOutOfBoundsBinIdx, ipUInt32 &inBoundsBinOffset, ipUInt32 &nbBins)
 function allowing to deduce histogram bound policies from a global enumerate value More...
 
IPSDKMATH_API ipUInt32 ipsdk::math::computeHistogramNbBins (const ipUInt32 nbClasses, const eHistogramOutOfBoundsPolicy &outOfBoundsPolicy)
 function allowing to compute number of bins associated to an histogram
 
IPSDKMATH_API void ipsdk::math::exportToCsv (const boost::filesystem::path &filePath, const ipsdk::math::BaseHistogram &histogram)
 function allowing to export histogram data to a csv file More...
 
IPSDKMATH_API bool ipsdk::math::operator== (const ipsdk::math::HistogramExtrema &extrema1, const ipsdk::math::HistogramExtrema &extrema2)
 operator allowing to compare histogram extrema
 
IPSDKMATH_API std::ostream & ipsdk::math::operator<< (std::ostream &os, const ipsdk::math::HistogramExtrema &extrema)
 operator allowing to write histogram extrema to a stream
 
IPSDKMATH_API std::ostream & ipsdk::math::operator<< (std::ostream &os, const ipsdk::math::HistogramGaussianCurveFit &gaussianCurveFit)
 operator allowing to write histogram gaussian curve fit to a stream
 
IPSDKMATH_API std::ostream & ipsdk::math::operator<< (std::ostream &os, const ipsdk::math::BaseHistogram &histogram)
 operator allowing to write histogram data to a stream
 
 ipsdk::IPSDK_DECLARE_SERIAL_ENUM (IPSDKMath, ipsdk::math::eHistogramOutOfBoundsPolicy)
 serialization operators for ipsdk::math::eHistogramOutOfBoundsPolicy enumerate
 

Detailed Description

Utility functions for histogram management.

Author
E.Noirfalise
Date
2017/08/07