47 #ifndef _MIRA_NORMCDF_H__ 48 #define _MIRA_NORMCDF_H__ 51 #include <boost/math/special_functions/erf.hpp> 66 inline float normcdf(
float x,
float mu = 0.0,
float sigma = 1.0) {
68 return 0.5f*(1.0f+boost::math::erf((x-mu)/(sigma*root_two<float>())));
float normcdf(float x, float mu=0.0, float sigma=1.0)
Computes the normal cumulative distribution function at the value x using the specified mean mu and s...
Definition: NormCDF.h:66
Includes often needed math headers and methods and provides additional constants. ...
specialize cv::DataType for our ImgPixel and inherit from cv::DataType<Vec>
Definition: IOService.h:67