SampleICC Main srcforge
Main Page | Class Hierarchy | Class List | File List | Class Members | File Members

IccCmm.h File Reference

#include "IccProfile.h"
#include "IccTag.h"
#include "IccUtil.h"
#include <list>

Go to the source code of this file.

Classes

class  CIccXform
class  CIccXformPtr
class  CIccXformMatrixTRC
class  CIccXform3DLut
class  CIccXform4DLut
class  CIccXformNDLut
class  CIccXformNamedColor
class  CIccXformMpe
class  CIccPCS
class  CIccCmm
class  CIccNamedColorCmm
class  CIccMruPixel
class  CIccMruCmm

Defines

#define _ICCCMM_H
#define icPerceptualRefBlackX   0.00336
#define icPerceptualRefBlackY   0.0034731
#define icPerceptualRefBlackZ   0.00287
#define icPerceptualRefWhiteX   0.9642
#define icPerceptualRefWhiteY   1.0000
#define icPerceptualRefWhiteZ   0.8249

Typedefs

typedef std::list< CIccXformPtrCIccXformList

Enumerations

enum  icStatusCMM {
  icCmmStatBad = -1, icCmmStatOk = 0, icCmmStatCantOpenProfile = 1, icCmmStatBadSpaceLink = 2,
  icCmmStatInvalidProfile = 3, icCmmStatBadXform = 4, icCmmStatInvalidLut = 5, icCmmStatProfileMissingTag = 6,
  icCmmStatColorNotFound = 7, icCmmStatIncorrectApply = 8, icCmmStatBadColorEncoding = 9, icCmmStatAllocErr = 10,
  icCmmStatBadLutType = 11
}
 CMM return status values. More...
enum  icXformInterp { icInterpLinear = 0, icInterpTetrahedral = 1 }
 CMM Interpolation types. More...
enum  icXformLutType { icXformLutColor = 0, icXformLutNamedColor = 1, icXformLutPreview = 2, icXformLutGamut = 3 }
 CMM Xform LUT types. More...
enum  icXformType {
  icXformTypeMatrixTRC = 0, icXformType3DLut = 1, icXformType4DLut = 2, icXformTypeNDLut = 3,
  icXformTypeNamedColor = 4, icXformTypeMpe = 5
}
enum  icApplyInterface { icApplyPixel2Pixel = 0, icApplyNamed2Pixel = 1, icApplyPixel2Named = 2, icApplyNamed2Named = 3 }
enum  icFloatColorEncoding {
  icEncodeValue = 0, icEncodePercent, icEncodeFloat, icEncode8Bit,
  icEncode16Bit, icEncodeUnknown
}


Detailed Description

File: IccCmm.h

Contains: Header file for implementation of the CIccCmm class.

Version: V1

Copyright: see ICC Software License


Define Documentation

#define _ICCCMM_H
 

#define icPerceptualRefBlackX   0.00336
 

#define icPerceptualRefBlackY   0.0034731
 

#define icPerceptualRefBlackZ   0.00287
 

#define icPerceptualRefWhiteX   0.9642
 

#define icPerceptualRefWhiteY   1.0000
 

#define icPerceptualRefWhiteZ   0.8249
 


Typedef Documentation

typedef std::list<CIccXformPtr> CIccXformList
 

Type: List Class

Purpose: List of CIccXformPtr which is updated on addition of Xforms


Enumeration Type Documentation

enum icApplyInterface
 

Type: Enum

Purpose: Defines the interface to be used when applying Named Color Profiles.

Enumeration values:
icApplyPixel2Pixel 
icApplyNamed2Pixel 
icApplyPixel2Named 
icApplyNamed2Named 

enum icFloatColorEncoding
 

Color data passed to/from the CMM is encoded as floating point numbers ranging from 0.0 to 1.0 Often data is encoded using other ranges. The icFloatColorEncoding enum is used by the ToInternalEncoding() and FromInternalEncoding() functions to convert to/from the internal encoding. The valid encoding transforms for the following color space signatures are given below.

'CMYK', 'RGB ', 'GRAY', 'CMY ', 'Luv ', 'YCbr', 'Yxy ', 'HSV ', 'HLS ', 'gamt' icEncodePercent: 0.0 <= value <= 100.0 icEncodeFloat: 0.0 <= value <= 1.0 icEncode8Bit: 0.0 <= value <= 255 icEncode16Bit: 0.0 <= value <= 65535

'XCLR' icEncodeValue: (if X>=3) 0.0 <= L <= 100.0; -128.0 <= a,b <= 127.0 others 0.0 <= value <= 1.0 icEncodePercent: 0.0 <= value <= 100.0 icEncodeFloat: 0.0 <= value <= 1.0 icEncode8Bit: 0.0 <= value <= 255 icEncode16Bit: 0.0 <= value <= 65535

'Lab ' icEncodeValue: 0.0 <= L <= 100.0; -128.0 <= a,b <= 127.0 icEncodeFloat: 0.0 <= L,a,b <= 1.0 - ICC PCS encoding (See ICC Specification) icEncode8BIt: ICC 8 bit Lab Encoding - See ICC Specification icEncode16Bit: ICC 16 bit Lab Encoding - See ICC Specification

'XYZ ' icEncodeValue: 0.0 <= X,Y,Z < 1.999969482421875 icEncodePercent: 0.0 <= X,Y,Z < 199.9969482421875 icEncodeFloat: 0.0 <= L,a,b <= 1.0 - ICC PCS encoding (See ICC Specification icEncode16Bit: ICC 16 bit XYZ Encoding - (icU1Fixed15) See ICC Specification

Enumeration values:
icEncodeValue 
icEncodePercent 
icEncodeFloat 
icEncode8Bit 
icEncode16Bit 
icEncodeUnknown 

enum icStatusCMM
 

CMM return status values.

Enumeration values:
icCmmStatBad 
icCmmStatOk 
icCmmStatCantOpenProfile 
icCmmStatBadSpaceLink 
icCmmStatInvalidProfile 
icCmmStatBadXform 
icCmmStatInvalidLut 
icCmmStatProfileMissingTag 
icCmmStatColorNotFound 
icCmmStatIncorrectApply 
icCmmStatBadColorEncoding 
icCmmStatAllocErr 
icCmmStatBadLutType 

enum icXformInterp
 

CMM Interpolation types.

Enumeration values:
icInterpLinear 
icInterpTetrahedral 

enum icXformLutType
 

CMM Xform LUT types.

Enumeration values:
icXformLutColor 
icXformLutNamedColor 
icXformLutPreview 
icXformLutGamut 

enum icXformType
 

Enumeration values:
icXformTypeMatrixTRC 
icXformType3DLut 
icXformType4DLut 
icXformTypeNDLut 
icXformTypeNamedColor 
icXformTypeMpe 


Generated on Tue Jun 26 17:51:44 2007 for IccProfLib by  doxygen 1.3.9.1