Image Component Library (ICL)
|
Functions | |
template<class T > | |
T | icl::utils::clip (T tX, T tMin, T tMax) |
clips a value into the range [tMin,tMax] | |
ICLCore_API int | icl::core::getChannelsOfFormat (format fmt) |
determines the count of channels, for each color format | |
template<class T > | |
depth | icl::core::getDepth () |
getDepth<T> returns to depth enum associated to type T | |
ICLCore_API unsigned int | icl::core::getSizeOf (depth eDepth) |
return sizeof value for the given depth type | |
template<class T > | |
void | icl::core::copy (const T *src, const T *srcEnd, T *dst) |
moves data from source to destination array (no casting possible) | |
template<class srcT , class dstT > | |
void | icl::core::convert (const srcT *poSrcStart, const srcT *poSrcEnd, dstT *poDst) |
moves value from source to destination array (with casting on demand) | |
template<class T > | |
ICLCore_API void | icl::core::getMinAndMax (T a, T b, T c, T &minVal, T &maxVal) |
function, that calculates the mininum and the maximum value of three value |
T icl::utils::clip | ( | T | tX, |
T | tMin, | ||
T | tMax | ||
) | [inline] |
clips a value into the range [tMin,tMax]
void icl::core::convert | ( | const srcT * | poSrcStart, |
const srcT * | poSrcEnd, | ||
dstT * | poDst | ||
) | [inline] |
moves value from source to destination array (with casting on demand)
void icl::core::copy | ( | const T * | src, |
const T * | srcEnd, | ||
T * | dst | ||
) | [inline] |
moves data from source to destination array (no casting possible)
ICLCore_API int icl::core::getChannelsOfFormat | ( | format | fmt | ) |
determines the count of channels, for each color format
fmt | source format which channel count should be returned |
depth icl::core::getDepth | ( | ) | [inline] |
getDepth<T> returns to depth enum associated to type T
ICLCore_API void icl::core::getMinAndMax | ( | T | a, |
T | b, | ||
T | c, | ||
T & | minVal, | ||
T & | maxVal | ||
) | [inline] |
function, that calculates the mininum and the maximum value of three value
a | first input value |
b | second input value |
c | third input value |
minVal | return value for the minimum |
maxVal | return value for the maximum |
ICLCore_API unsigned int icl::core::getSizeOf | ( | depth | eDepth | ) |
return sizeof value for the given depth type