OpenCV  4.10.0
Open Source Computer Vision
Loading...
Searching...
No Matches
Namespaces | Functions
saturate.hpp File Reference
#include <math.h>
#include <limits>
#include <opencv2/gapi/own/assert.hpp>
#include <opencv2/gapi/util/type_traits.hpp>
Include dependency graph for saturate.hpp:
This graph shows which files directly or indirectly include this file:

Namespaces

namespace  cv
 "black box" representation of the file storage associated with a file on disk.
 
namespace  cv::gapi
 
namespace  cv::gapi::own
 This namespace contains G-API own data structures used in its standalone mode build.
 

Functions

double cv::gapi::own::ceild (double x)
 
double cv::gapi::own::floord (double x)
 
double cv::gapi::own::rintd (double x)
 
double cv::gapi::own::roundd (double x)
 
template<typename DST , typename SRC , typename = cv::util::enable_if_t<!std::is_same<DST, SRC>::value && std::is_integral<DST>::value && std::is_integral<SRC>::value>>
static CV_ALWAYS_INLINE DST cv::gapi::own::saturate (SRC x)
 
template<typename DST , typename SRC , typename R , cv::util::enable_if_t< std::is_floating_point< DST >::value, bool > = true>
static CV_ALWAYS_INLINE DST cv::gapi::own::saturate (SRC x, R)
 
template<typename T >
static CV_ALWAYS_INLINEcv::gapi::own::saturate (T x)