OpenCV 5.0.0-pre
Open Source Computer Vision
Loading...
Searching...
No Matches
saturate.hpp File Reference
#include "opencv2/core/cvdef.h"
#include <climits>
#include "opencv2/core/fast_math.hpp"
Include dependency graph for saturate.hpp:
This graph shows which files directly or indirectly include this file:

Namespaces

namespace  cv
 

Functions

template<typename _Tp >
static _Tp cv::saturate_cast (bfloat v)
 
template<typename _Tp >
static _Tp cv::saturate_cast (bool v)
 
template<typename _Tp >
static _Tp cv::saturate_cast (double v)
 
template<typename _Tp >
static _Tp cv::saturate_cast (float v)
 
template<typename _Tp >
static _Tp cv::saturate_cast (hfloat v)
 
template<typename _Tp >
static _Tp cv::saturate_cast (int v)
 
template<typename _Tp >
static _Tp cv::saturate_cast (int64 v)
 
template<typename _Tp >
static _Tp cv::saturate_cast (schar v)
 
template<typename _Tp >
static _Tp cv::saturate_cast (short v)
 
template<typename _Tp >
static _Tp cv::saturate_cast (uchar v)
 Template function for accurate conversion from one primitive type to another.
 
template<typename _Tp >
static _Tp cv::saturate_cast (uint64 v)
 
template<typename _Tp >
static _Tp cv::saturate_cast (unsigned v)
 
template<typename _Tp >
static _Tp cv::saturate_cast (ushort v)
 
template<>
bfloat cv::saturate_cast< bfloat > (bfloat v)
 
template<>
bfloat cv::saturate_cast< bfloat > (double v)
 
template<>
bfloat cv::saturate_cast< bfloat > (float v)
 
template<>
bfloat cv::saturate_cast< bfloat > (hfloat v)
 
template<>
bfloat cv::saturate_cast< bfloat > (int v)
 
template<>
bfloat cv::saturate_cast< bfloat > (int64 v)
 
template<>
bfloat cv::saturate_cast< bfloat > (schar v)
 
template<>
bfloat cv::saturate_cast< bfloat > (short v)
 
template<>
bfloat cv::saturate_cast< bfloat > (uchar v)
 
template<>
bfloat cv::saturate_cast< bfloat > (uint64 v)
 
template<>
bfloat cv::saturate_cast< bfloat > (unsigned v)
 
template<>
bfloat cv::saturate_cast< bfloat > (ushort v)
 
template<>
bool cv::saturate_cast< bool > (bfloat v)
 
template<>
bool cv::saturate_cast< bool > (double v)
 
template<>
bool cv::saturate_cast< bool > (float v)
 
template<>
bool cv::saturate_cast< bool > (hfloat v)
 
template<>
bool cv::saturate_cast< bool > (int v)
 
template<>
bool cv::saturate_cast< bool > (int64_t v)
 
template<>
bool cv::saturate_cast< bool > (schar v)
 
template<>
bool cv::saturate_cast< bool > (short v)
 
template<>
bool cv::saturate_cast< bool > (uchar v)
 
template<>
bool cv::saturate_cast< bool > (uint64_t v)
 
template<>
bool cv::saturate_cast< bool > (unsigned v)
 
template<>
bool cv::saturate_cast< bool > (ushort v)
 
template<>
hfloat cv::saturate_cast< hfloat > (bfloat v)
 
template<>
hfloat cv::saturate_cast< hfloat > (double v)
 
template<>
hfloat cv::saturate_cast< hfloat > (float v)
 
template<>
hfloat cv::saturate_cast< hfloat > (hfloat v)
 
template<>
hfloat cv::saturate_cast< hfloat > (int v)
 
template<>
hfloat cv::saturate_cast< hfloat > (int64 v)
 
template<>
hfloat cv::saturate_cast< hfloat > (schar v)
 
template<>
hfloat cv::saturate_cast< hfloat > (short v)
 
template<>
hfloat cv::saturate_cast< hfloat > (uchar v)
 
template<>
hfloat cv::saturate_cast< hfloat > (uint64 v)
 
template<>
hfloat cv::saturate_cast< hfloat > (unsigned v)
 
template<>
hfloat cv::saturate_cast< hfloat > (ushort v)
 
template<>
int64 cv::saturate_cast< int64 > (double v)
 
template<>
int64 cv::saturate_cast< int64 > (float v)
 
template<>
int64 cv::saturate_cast< int64 > (uint64 v)
 
template<>
schar cv::saturate_cast< schar > (double v)
 
template<>
schar cv::saturate_cast< schar > (float v)
 
template<>
schar cv::saturate_cast< schar > (int v)
 
template<>
schar cv::saturate_cast< schar > (int64 v)
 
template<>
schar cv::saturate_cast< schar > (short v)
 
template<>
schar cv::saturate_cast< schar > (uchar v)
 
template<>
schar cv::saturate_cast< schar > (uint64 v)
 
template<>
schar cv::saturate_cast< schar > (unsigned v)
 
template<>
schar cv::saturate_cast< schar > (ushort v)
 
template<>
short cv::saturate_cast< short > (double v)
 
template<>
short cv::saturate_cast< short > (float v)
 
template<>
short cv::saturate_cast< short > (int v)
 
template<>
short cv::saturate_cast< short > (int64 v)
 
template<>
short cv::saturate_cast< short > (uint64 v)
 
template<>
short cv::saturate_cast< short > (unsigned v)
 
template<>
short cv::saturate_cast< short > (ushort v)
 
template<>
uchar cv::saturate_cast< uchar > (double v)
 
template<>
uchar cv::saturate_cast< uchar > (float v)
 
template<>
uchar cv::saturate_cast< uchar > (int v)
 
template<>
uchar cv::saturate_cast< uchar > (int64 v)
 
template<>
uchar cv::saturate_cast< uchar > (schar v)
 
template<>
uchar cv::saturate_cast< uchar > (short v)
 
template<>
uchar cv::saturate_cast< uchar > (uint64 v)
 
template<>
uchar cv::saturate_cast< uchar > (unsigned v)
 
template<>
uchar cv::saturate_cast< uchar > (ushort v)
 
template<>
uint64 cv::saturate_cast< uint64 > (double v)
 
template<>
uint64 cv::saturate_cast< uint64 > (float v)
 
template<>
uint64 cv::saturate_cast< uint64 > (int v)
 
template<>
uint64 cv::saturate_cast< uint64 > (int64 v)
 
template<>
uint64 cv::saturate_cast< uint64 > (schar v)
 
template<>
uint64 cv::saturate_cast< uint64 > (short v)
 
template<>
unsigned cv::saturate_cast< unsigned > (double v)
 
template<>
unsigned cv::saturate_cast< unsigned > (float v)
 
template<>
unsigned cv::saturate_cast< unsigned > (int v)
 
template<>
unsigned cv::saturate_cast< unsigned > (int64 v)
 
template<>
unsigned cv::saturate_cast< unsigned > (schar v)
 
template<>
unsigned cv::saturate_cast< unsigned > (short v)
 
template<>
unsigned cv::saturate_cast< unsigned > (uint64 v)
 
template<>
ushort cv::saturate_cast< ushort > (double v)
 
template<>
ushort cv::saturate_cast< ushort > (float v)
 
template<>
ushort cv::saturate_cast< ushort > (int v)
 
template<>
ushort cv::saturate_cast< ushort > (int64 v)
 
template<>
ushort cv::saturate_cast< ushort > (schar v)
 
template<>
ushort cv::saturate_cast< ushort > (short v)
 
template<>
ushort cv::saturate_cast< ushort > (uint64 v)
 
template<>
ushort cv::saturate_cast< ushort > (unsigned v)