56 #include <boost/math/special_functions/fpclassify.hpp> 58 #include <boost/math/special_functions/round.hpp> 60 #include <boost/version.hpp> 61 #include <boost/math/constants/constants.hpp> 65 namespace boost {
namespace math {
namespace constants {
68 #if (BOOST_VERSION >= 105000) 70 #if (BOOST_VERSION < 107400) 72 BOOST_DEFINE_MATH_CONSTANT(quarter_pi, 0.78539816339744830961566084581987572104929234984378,
"0.78539816339744830961566084581987572104929234984378")
75 BOOST_DEFINE_MATH_CONSTANT(pi_div_deg180, 0.017453292519943295769236907684886127134428718885417,
"0.017453292519943295769236907684886127134428718885417")
77 BOOST_DEFINE_MATH_CONSTANT(deg180_div_pi, 57.295779513082320876798154814105170332405472466564, "57.295779513082320876798154814105170332405472466564")
81 #if (BOOST_VERSION < 105000) 83 BOOST_DEFINE_MATH_CONSTANT(half_pi, 1.5707963267948966192313216916397514420985846996876, 0, 0)
85 BOOST_DEFINE_MATH_CONSTANT(quarter_pi, 0.78539816339744830961566084581987572104929234984378, 0, 0)
87 BOOST_DEFINE_MATH_CONSTANT(pi_div_deg180, 0.017453292519943295769236907684886127134428718885417, 0, 0)
89 BOOST_DEFINE_MATH_CONSTANT(deg180_div_pi, 57.295779513082320876798154814105170332405472466564, 0, 0)
93 #if (BOOST_VERSION < 104600) 94 BOOST_DEFINE_MATH_CONSTANT(two_pi, 6.2831853071795864769252867665590057683943388015061, 0, 0)
95 BOOST_DEFINE_MATH_CONSTANT(half_root_two, 0.70710678118654752440084436210484903928483593756084, 0, 0)
96 BOOST_DEFINE_MATH_CONSTANT(one_div_root_two, 0.70710678118654752440084436210484903928483593756084, 0, 0)
97 BOOST_DEFINE_MATH_CONSTANT(one_div_root_two_pi, 0.39894228040143267793994605993438186847585863095671, 0, 0)
105 using boost::math::round;
Definition: SyncTimedRead.h:62
specialize cv::DataType for our ImgPixel and inherit from cv::DataType<Vec>
Definition: IOService.h:67