Image Component Library (ICL)
Functions
General Utility and Support Functions

Functions

template<class 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

Function Documentation

template<class T >
T icl::utils::clip ( tX,
tMin,
tMax 
) [inline]

clips a value into the range [tMin,tMax]

template<class srcT , class dstT >
void icl::core::convert ( const srcT *  poSrcStart,
const srcT *  poSrcEnd,
dstT *  poDst 
) [inline]

moves value from source to destination array (with casting on demand)

template<class T >
void icl::core::copy ( const T *  src,
const T *  srcEnd,
T *  dst 
) [inline]

moves data from source to destination array (no casting possible)

determines the count of channels, for each color format

Parameters:
fmtsource format which channel count should be returned
Returns:
channel count of format eFormat
template<class T >
depth icl::core::getDepth ( ) [inline]

getDepth<T> returns to depth enum associated to type T

template<class T >
ICLCore_API void icl::core::getMinAndMax ( a,
b,
c,
T &  minVal,
T &  maxVal 
) [inline]

function, that calculates the mininum and the maximum value of three value

Parameters:
afirst input value
bsecond input value
cthird input value
minValreturn value for the minimum
maxValreturn value for the maximum
ICLCore_API unsigned int icl::core::getSizeOf ( depth  eDepth)

return sizeof value for the given depth type

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines