Property | Type | Description | |
---|---|---|---|
ILLUMINANT_A | |||
ILLUMINANT_D50 | |||
ILLUMINANT_D55 | |||
ILLUMINANT_D65 | |||
ILLUMINANT_E |
Property | Type | Description | |
---|---|---|---|
m_Chromaticities | Chromaticities | ||
m_Exposure | float | ||
m_Gamma | float | ||
m_GammaCurve | GAMMA_CURVE | ||
m_InternalConverter | IColorConverter | ||
m_RGB2XYZ | |||
m_XYZ2RGB | |||
m_bProfileFoundInFile | bool |
Method | Description | |
---|---|---|
ColorProfile ( BitmapMetadata _MetaData, |
Creates the color profile from metadata embedded in the image file
|
|
ColorProfile ( Chromaticities _Chromaticities, GAMMA_CURVE _GammaCurve, float _Gamma ) : System |
Creates a color profile from chromaticities
|
|
ColorProfile ( STANDARD_PROFILE _Profile ) : System |
Build from a standard profile
|
|
GammaCorrect ( float c, float _ImageGamma ) : float |
Applies gamma correction to the provided color
|
|
GammaUnCorrect ( float c, float _ImageGamma ) : float |
Un-aplies gamma correction to the provided color
|
|
Linear2sRGB ( float c ) : float |
Converts from linear space to sRGB Code borrowed from D3DX_DXGIFormatConvert.inl from the DX10 SDK
|
|
RGB2XYZ ( |
Converts a RGB color to a CIEXYZ color
|
|
RGB2XYZ ( |
Converts a RGB color to a CIEXYZ color
|
|
XYZ2RGB ( |
Converts a CIEXYZ color to a RGB color
|
|
XYZ2RGB ( |
Converts a CIEXYZ color to a RGB color
|
|
XYZ2xyY ( |
Converts from XYZ to xyY
|
|
sRGB2Linear ( float c ) : float |
Converts from sRGB to linear space Code borrowed from D3DX_DXGIFormatConvert.inl from the DX10 SDK
|
|
xyY2XYZ ( |
Converts from xyY to XYZ
|
Method | Description | |
---|---|---|
BuildTransformFromChroma ( bool _bCheckGammaCurveOverride ) : void |
Builds the RGB<->XYZ transforms from chromaticities (refer to http://wiki.nuaj.net/index.php/Color_Transforms#XYZ_Matrices for explanations)
|
|
DumpMetaData ( BitmapMetadata _Root ) : string | ||
DumpMetaData ( BitmapMetadata _Root, string _Tab ) : string | ||
EnsureGamma ( GAMMA_CURVE _Curve, float _Gamma ) : bool |
Ensures the current gamma curve type and value are the ones we want
|
|
EnumerateMetaData ( BitmapMetadata _Root ) : void | ||
EnumerateMetaDataJPG ( BitmapMetadata _MetaData, bool &_bProfileFound, bool &_bGammaWasSpecified ) : void | ||
EnumerateMetaDataPNG ( BitmapMetadata _MetaData, bool &_bProfileFound, bool &_bGammaWasSpecified ) : void | ||
EnumerateMetaDataTIFF ( BitmapMetadata _MetaData, bool &_bProfileFound, bool &_bGammaWasSpecified ) : void | ||
FindAttribute ( string _XMLContent, string _AttributeName ) : string |
Attempts to find an XML attribute by name
|
|
FindEXIFColorProfile ( BitmapMetadata _Meta ) : bool |
Attempts to find the color profile in the EXIF metadata
|
|
FindICCProfileString ( BitmapMetadata _Meta, bool &_bGammaWasSpecified ) : bool |
Attempts to find the "photoshop:ICCProfile" string in the metadata dump and retrieve a known profile from it
|
|
FindPhotometricInterpretation ( BitmapMetadata _Meta, string _MetaPath ) : bool |
Attempts to find the TIFF "PhotometricInterpretation" metadata
|
|
HandleEXIFColorSpace ( int _ColorSpace ) : bool |
Attempts to handle a color profile from the EXIF ColorSpace tag
|
|
HandleEXIFColorSpace ( string _ColorSpace ) : bool | ||
HandleICCProfileString ( string _ProfilName ) : bool |
Attempts to handle an ICC profile by name
|
protected BuildTransformFromChroma ( bool _bCheckGammaCurveOverride ) : void | ||
_bCheckGammaCurveOverride | bool | |
return | void |
public ColorProfile ( BitmapMetadata _MetaData, |
||
_MetaData | BitmapMetadata | |
_FileType | ||
return | System |
public ColorProfile ( Chromaticities _Chromaticities, GAMMA_CURVE _GammaCurve, float _Gamma ) : System | ||
_Chromaticities | Chromaticities | The chromaticities for this profile |
_GammaCurve | GAMMA_CURVE | The type of gamma curve to use |
_Gamma | float | The gamma power |
return | System |
public ColorProfile ( STANDARD_PROFILE _Profile ) : System | ||
_Profile | STANDARD_PROFILE | |
return | System |
protected DumpMetaData ( BitmapMetadata _Root ) : string | ||
_Root | BitmapMetadata | |
return | string |
protected DumpMetaData ( BitmapMetadata _Root, string _Tab ) : string | ||
_Root | BitmapMetadata | |
_Tab | string | |
return | string |
protected EnsureGamma ( GAMMA_CURVE _Curve, float _Gamma ) : bool | ||
_Curve | GAMMA_CURVE | |
_Gamma | float | |
return | bool |
protected EnumerateMetaData ( BitmapMetadata _Root ) : void | ||
_Root | BitmapMetadata | |
return | void |
protected EnumerateMetaDataJPG ( BitmapMetadata _MetaData, bool &_bProfileFound, bool &_bGammaWasSpecified ) : void | ||
_MetaData | BitmapMetadata | |
_bProfileFound | bool | |
_bGammaWasSpecified | bool | |
return | void |
protected EnumerateMetaDataPNG ( BitmapMetadata _MetaData, bool &_bProfileFound, bool &_bGammaWasSpecified ) : void | ||
_MetaData | BitmapMetadata | |
_bProfileFound | bool | |
_bGammaWasSpecified | bool | |
return | void |
protected EnumerateMetaDataTIFF ( BitmapMetadata _MetaData, bool &_bProfileFound, bool &_bGammaWasSpecified ) : void | ||
_MetaData | BitmapMetadata | |
_bProfileFound | bool | |
_bGammaWasSpecified | bool | |
return | void |
protected FindAttribute ( string _XMLContent, string _AttributeName ) : string | ||
_XMLContent | string | |
_AttributeName | string | |
return | string |
protected FindEXIFColorProfile ( BitmapMetadata _Meta ) : bool | ||
_Meta | BitmapMetadata | |
return | bool |
protected FindICCProfileString ( BitmapMetadata _Meta, bool &_bGammaWasSpecified ) : bool | ||
_Meta | BitmapMetadata | |
_bGammaWasSpecified | bool | |
return | bool |
protected FindPhotometricInterpretation ( BitmapMetadata _Meta, string _MetaPath ) : bool | ||
_Meta | BitmapMetadata | |
_MetaPath | string | |
return | bool |
public static GammaCorrect ( float c, float _ImageGamma ) : float | ||
c | float | The color to gamma-correct |
_ImageGamma | float | The gamma correction the image was encoded with (JPEG is 2.2 for example, if not sure use 1.0) |
return | float |
public static GammaUnCorrect ( float c, float _ImageGamma ) : float | ||
c | float | The color to gamma-uncorrect |
_ImageGamma | float | The gamma correction the image was encoded with (JPEG is 2.2 for example, if not sure use 1.0) |
return | float |
protected HandleEXIFColorSpace ( int _ColorSpace ) : bool | ||
_ColorSpace | int | |
return | bool |
protected HandleEXIFColorSpace ( string _ColorSpace ) : bool | ||
_ColorSpace | string | |
return | bool |
protected HandleICCProfileString ( string _ProfilName ) : bool | ||
_ProfilName | string | |
return | bool |
public static Linear2sRGB ( float c ) : float | ||
c | float | |
return | float |
public RGB2XYZ ( |
||
_RGB | ||
_XYZ | ||
return | void |
public XYZ2RGB ( |
||
_XYZ | ||
_RGB | ||
return | void |
public static XYZ2xyY ( |
||
_XYZ | ||
return |
public static sRGB2Linear ( float c ) : float | ||
c | float | |
return | float |
public static xyY2XYZ ( |
||
_xyY | ||
return |
public static float2,ImageUtility ILLUMINANT_A | ||
return |
public static float2,ImageUtility ILLUMINANT_D50 | ||
return |
public static float2,ImageUtility ILLUMINANT_D55 | ||
return |
public static float2,ImageUtility ILLUMINANT_D65 | ||
return |
public static float2,ImageUtility ILLUMINANT_E | ||
return |
protected Chromaticities m_Chromaticities | ||
return | Chromaticities |
protected IColorConverter m_InternalConverter | ||
return | IColorConverter |