Свойство | Type | Description | |
---|---|---|---|
ILLUMINANT_A | |||
ILLUMINANT_D50 | |||
ILLUMINANT_D55 | |||
ILLUMINANT_D65 | |||
ILLUMINANT_E |
Свойство | 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 |
Méthode | 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
|
Méthode | 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 | |
Résultat | void |
public ColorProfile ( BitmapMetadata _MetaData, |
||
_MetaData | BitmapMetadata | |
_FileType | ||
Résultat | 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 |
Résultat | System |
public ColorProfile ( STANDARD_PROFILE _Profile ) : System | ||
_Profile | STANDARD_PROFILE | |
Résultat | System |
protected DumpMetaData ( BitmapMetadata _Root ) : string | ||
_Root | BitmapMetadata | |
Résultat | string |
protected DumpMetaData ( BitmapMetadata _Root, string _Tab ) : string | ||
_Root | BitmapMetadata | |
_Tab | string | |
Résultat | string |
protected EnsureGamma ( GAMMA_CURVE _Curve, float _Gamma ) : bool | ||
_Curve | GAMMA_CURVE | |
_Gamma | float | |
Résultat | bool |
protected EnumerateMetaData ( BitmapMetadata _Root ) : void | ||
_Root | BitmapMetadata | |
Résultat | void |
protected EnumerateMetaDataJPG ( BitmapMetadata _MetaData, bool &_bProfileFound, bool &_bGammaWasSpecified ) : void | ||
_MetaData | BitmapMetadata | |
_bProfileFound | bool | |
_bGammaWasSpecified | bool | |
Résultat | void |
protected EnumerateMetaDataPNG ( BitmapMetadata _MetaData, bool &_bProfileFound, bool &_bGammaWasSpecified ) : void | ||
_MetaData | BitmapMetadata | |
_bProfileFound | bool | |
_bGammaWasSpecified | bool | |
Résultat | void |
protected EnumerateMetaDataTIFF ( BitmapMetadata _MetaData, bool &_bProfileFound, bool &_bGammaWasSpecified ) : void | ||
_MetaData | BitmapMetadata | |
_bProfileFound | bool | |
_bGammaWasSpecified | bool | |
Résultat | void |
protected FindAttribute ( string _XMLContent, string _AttributeName ) : string | ||
_XMLContent | string | |
_AttributeName | string | |
Résultat | string |
protected FindEXIFColorProfile ( BitmapMetadata _Meta ) : bool | ||
_Meta | BitmapMetadata | |
Résultat | bool |
protected FindICCProfileString ( BitmapMetadata _Meta, bool &_bGammaWasSpecified ) : bool | ||
_Meta | BitmapMetadata | |
_bGammaWasSpecified | bool | |
Résultat | bool |
protected FindPhotometricInterpretation ( BitmapMetadata _Meta, string _MetaPath ) : bool | ||
_Meta | BitmapMetadata | |
_MetaPath | string | |
Résultat | 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) |
Résultat | 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) |
Résultat | float |
protected HandleEXIFColorSpace ( int _ColorSpace ) : bool | ||
_ColorSpace | int | |
Résultat | bool |
protected HandleEXIFColorSpace ( string _ColorSpace ) : bool | ||
_ColorSpace | string | |
Résultat | bool |
protected HandleICCProfileString ( string _ProfilName ) : bool | ||
_ProfilName | string | |
Résultat | bool |
public static Linear2sRGB ( float c ) : float | ||
c | float | |
Résultat | float |
public RGB2XYZ ( |
||
_RGB | ||
_XYZ | ||
Résultat | void |
public XYZ2RGB ( |
||
_XYZ | ||
_RGB | ||
Résultat | void |
public static XYZ2xyY ( |
||
_XYZ | ||
Résultat |
public static sRGB2Linear ( float c ) : float | ||
c | float | |
Résultat | float |
public static xyY2XYZ ( |
||
_xyY | ||
Résultat |
public static float2,ImageUtility ILLUMINANT_A | ||
Résultat |
public static float2,ImageUtility ILLUMINANT_D50 | ||
Résultat |
public static float2,ImageUtility ILLUMINANT_D55 | ||
Résultat |
public static float2,ImageUtility ILLUMINANT_D65 | ||
Résultat |
public static float2,ImageUtility ILLUMINANT_E | ||
Résultat |
protected Chromaticities m_Chromaticities | ||
Résultat | Chromaticities |
protected IColorConverter m_InternalConverter | ||
Résultat | IColorConverter |