Image Component Library (ICL)
Namespaces | Enumerations | Functions
CCFunctions.h File Reference
#include <ICLUtils/CompatMacros.h>
#include <ICLCore/Types.h>
#include <ICLUtils/Size.h>
#include <string>
#include <ICLUtils/Macros.h>

Go to the source code of this file.

Namespaces

 icl
 undocument this line if you encounter any issues!
 
 icl::core
 

Enumerations

enum  icl::core::ccimpl {
  icl::core::ccAvailable = 0, icl::core::ccEmulated = 1, icl::core::ccAdapted = 2, icl::core::ccUnavailable = 3,
  icl::core::ccImpossible = 4
}
 Internal used type, that describes an implementation type of a specific color conversion function. More...
 

Functions

ICLCore_API void icl::core::cc (const ImgBase *src, ImgBase *dst, bool roiOnly=false)
 Color conversion from source to destination image. More...
 
ICLCore_API bool icl::core::lut_available (format srcFmt, format dstFmt)
 returns whether a lookup table was already created for src and dst format More...
 
ICLCore_API void icl::core::createLUT (format srcFmt, format dstFmt)
 Internally creates a lookup table to accelerate conversion between given formats. More...
 
ICLCore_API void icl::core::releaseLUT (format srcFmt, format dstFmt)
 releases the internal lookup table created with createLUT More...
 
ICLCore_API void icl::core::releaseAllLUTs ()
 releases all lookup tables that were created with createLUT More...
 
ICLCore_API std::string icl::core::translateCCImpl (ccimpl i)
 translates a ccimpl enum into a string representation More...
 
ICLCore_API ccimpl icl::core::translateCCImlp (const std::string &s)
 translates the string represenation of a More...
 
ICLCore_API ccimpl icl::core::cc_available (format srcFmt, format dstFmt)
 returns the ccimpl state to a conversion from srcFmt to dstFmt More...
 
ICLCore_API void icl::core::convertYUV420ToRGB8 (const unsigned char *pucSrc, const utils::Size &s, Img8u *poDst)
 Convert an image in YUV420-format to RGB8 format (ippi accelerated) More...
 
template<class S , class D >
ICLCore_API void icl::core::planarToInterleaved (const Img< S > *src, D *dst, int dstLineStep=-1)
 Convert an 4 channel Img8u into Qts ARGB32 interleaved format. More...
 
template<class S , class D >
ICLCore_API void icl::core::interleavedToPlanar (const S *src, Img< D > *dst, int srcLineStep=-1)
 Converts interleaved image data into planar representation. More...
 
ICLCore_API void icl::core::cc_util_rgb_to_yuv (const icl32s r, const icl32s g, const icl32s b, icl32s &y, icl32s &u, icl32s &v)
 converts given (r,g,b) pixel into the yuv format More...
 
ICLCore_API void icl::core::cc_util_yuv_to_rgb (const icl32s y, const icl32s u, const icl32s v, icl32s &r, icl32s &g, icl32s &b)
 converts given (y,u,v) pixel into the rgb format More...
 
ICLCore_API void icl::core::cc_util_rgb_to_hls (const icl32f r255, const icl32f g255, const icl32f b255, icl32f &h, icl32f &l, icl32f &s)
 converts given (r,g,b) pixel into the hls format More...
 
ICLCore_API void icl::core::cc_util_hls_to_rgb (const icl32f h255, const icl32f l255, const icl32f sl255, icl32f &r, icl32f &g, icl32f &b)
 converts given (h,l,s) pixel into the rgb format More...
 
ICLCore_API void icl::core::cc_util_rgb_to_chroma (const icl32f r, const icl32f g, const icl32f b, icl32f &chromaR, icl32f &chromaG)
 converts given (r,g,b) pixel into the RG-chroma format More...
 
void icl::core::cc_util_rgb_to_lab (const icl32f &r, const icl32f &g, const icl32f &b, icl32f &L, icl32f &A, icl32f &B)
 converts given (r,g,b) pixel into the Lab format More...