IPSDK  4_1_0_2
IPSDK : Image Processing Software Development Kit
ColorSpaceUtils.h
Go to the documentation of this file.
1 // ColorSpaceUtils.h:
3 // ------------------
4 //
14 
15 #ifndef __IPSDKIMAGE_COLORSPACEUTILS_H__
16 #define __IPSDKIMAGE_COLORSPACEUTILS_H__
17 
22 
23 namespace ipsdk {
24 namespace image {
25 
28 
34 getColorGeometrySize(const eColorGeometryType& colorGeometryType);
35 
39 IPSDKIMAGE_API bool
40 hasLinearTransform(const eColorGeometryType& sourceColorSpace,
41  const eColorGeometryType& targetColorSpace);
42 
58 getLinearTransform(const eColorGeometryType& sourceColorSpace,
59  const eColorGeometryType& targetColorSpace,
60  const eImageBufferType& sourceImageBufferType = eImageBufferType::eIBT_None,
61  const eImageBufferType& targetImageBufferType = eImageBufferType::eIBT_None);
62 
65 
66 } // end of namespace image
67 } // end of namespace ipsdk
68 
69 #endif // __IPSDKIMAGE_COLORSPACEUTILS_H__
Predefined types for geometry component management.
boost::numeric::ublas::matrix< ipReal64 > Matrix
matrix type associated to library
Definition: LinearAlgebraTypes.h:48
Main namespace for IPSDK library.
Definition: AlgorithmFunctionEfficiency.h:22
Predefined types for linear algebra management.
IPSDKIMAGE_API ipUInt32 getColorGeometrySize(const eColorGeometryType &colorGeometryType)
retrieve size (number of plans) of a color geometry
eColorGeometryType
Color geometry type.
Definition: GeometryComponentTypes.h:45
IPSDKIMAGE_API bool hasLinearTransform(const eColorGeometryType &sourceColorSpace, const eColorGeometryType &targetColorSpace)
check whether a linear transformation is available between two color spaces
IPSDKIMAGE_API ipsdk::math::Matrix getLinearTransform(const eColorGeometryType &sourceColorSpace, const eColorGeometryType &targetColorSpace, const eImageBufferType &sourceImageBufferType=eImageBufferType::eIBT_None, const eImageBufferType &targetImageBufferType=eImageBufferType::eIBT_None)
retrieve linear transformation associated to a given color space conversion operation ...
Definition of import/export macro for library.
#define IPSDKIMAGE_API
Import/Export macro for library IPSDKImage.
Definition: IPSDKImageExports.h:27
Predefined type for image management.
empty buffer type
Definition: ImageTypes.h:80
eImageBufferType
types associated to image buffers
Definition: ImageTypes.h:78
uint32_t ipUInt32
Base types definition.
Definition: BaseTypes.h:53