15 #ifndef __IPSDKMATH_HISTOGRAMUTILS_H__ 16 #define __IPSDKMATH_HISTOGRAMUTILS_H__ 22 #include <boost/filesystem/path.hpp> 87 exportToCsv(
const boost::filesystem::path& filePath,
126 #endif // __IPSDKMATH_HISTOGRAMUTILS_H__ Definition of import/export macro for library.
IPSDKMATH_API void 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 ...
Main namespace for IPSDK library.
Definition: AlgorithmFunctionEfficiency.h:22
IPSDKMATH_API ipUInt32 computeHistogramNbClasses(const ipBool bDataIntegral, const ipReal64 firstHistoValue, const ipReal64 lastHistoValue, const ipReal64 binWidth)
function allowing to compute number of classes associated to an histogram
IPSDK_DECLARE_SERIAL_ENUM(IPSDKBaseData, eDiscreteOrientation2d)
serialization operators for eDiscreteOrientation2d enumerate
IPSDKMATH_API ipReal64 computeHistogramRange(const ipBool bDataIntegral, const ipReal64 firstHistoValue, const ipReal64 lastHistoValue)
function allowing to compute range associated to an histogram
IPSDKMATH_API void exportToCsv(const boost::filesystem::path &filePath, const ipsdk::math::BaseHistogram &histogram)
function allowing to export histogram data to a csv file
double ipReal64
Base types definition.
Definition: BaseTypes.h:57
IPSDKMATH_API bool operator==(const ipsdk::math::HistogramExtrema &extrema1, const ipsdk::math::HistogramExtrema &extrema2)
operator allowing to compare histogram extrema
structure allowing to encapsulate histogram extrema information
Definition: HistogramTypes.h:55
Macro allowing to declare serialization for a given enumerate.
Base class for histogram data management.
Definition: BaseHistogram.h:40
Base types for multiplatform compatibility.
#define IPSDKMATH_API
Import/Export macro for library IPSDKMath.
Definition: IPSDKMathExports.h:27
structure allowing to encapsulate gaussian curve fit information
Definition: HistogramTypes.h:100
IPSDKMATH_API std::ostream & operator<<(std::ostream &os, const EstimationConfig &config)
output operator on EstimationConfig
bool ipBool
Base types definition.
Definition: BaseTypes.h:47
Predefined types for histogram management.
eHistogramOutOfBoundsPolicy
enumerate use to describe histogram policy used to process out of bounds data
Definition: HistogramTypes.h:37
IPSDKMATH_API ipReal64 computeHistogramBinWidth(const ipBool bDataIntegral, const ipReal64 firstHistoValue, const ipReal64 lastHistoValue, const ipUInt32 nbClasses)
function allowing to compute bin width associated to an histogram
IPSDKMATH_API ipUInt32 computeHistogramNbBins(const ipUInt32 nbClasses, const eHistogramOutOfBoundsPolicy &outOfBoundsPolicy)
function allowing to compute number of bins associated to an histogram
uint32_t ipUInt32
Base types definition.
Definition: BaseTypes.h:53