Свойство | Тип | Описание | |
---|---|---|---|
ILLUMINANT_A | |||
ILLUMINANT_D50 | |||
ILLUMINANT_D55 | |||
ILLUMINANT_D65 | |||
ILLUMINANT_E |
Свойство | Тип | Описание | |
---|---|---|---|
m_Chromaticities | Chromaticities | ||
m_Exposure | float | ||
m_Gamma | float | ||
m_GammaCurve | GAMMA_CURVE | ||
m_InternalConverter | IColorConverter | ||
m_RGB2XYZ | |||
m_XYZ2RGB | |||
m_bProfileFoundInFile | bool |
Метод | Описание | |
---|---|---|
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
|
Метод | Описание | |
---|---|---|
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 | |
Результат | void |
public ColorProfile ( BitmapMetadata _MetaData, |
||
_MetaData | BitmapMetadata | |
_FileType | ||
Результат | 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 |
Результат | System |
public ColorProfile ( STANDARD_PROFILE _Profile ) : System | ||
_Profile | STANDARD_PROFILE | |
Результат | System |
protected DumpMetaData ( BitmapMetadata _Root ) : string | ||
_Root | BitmapMetadata | |
Результат | string |
protected DumpMetaData ( BitmapMetadata _Root, string _Tab ) : string | ||
_Root | BitmapMetadata | |
_Tab | string | |
Результат | string |
protected EnsureGamma ( GAMMA_CURVE _Curve, float _Gamma ) : bool | ||
_Curve | GAMMA_CURVE | |
_Gamma | float | |
Результат | bool |
protected EnumerateMetaData ( BitmapMetadata _Root ) : void | ||
_Root | BitmapMetadata | |
Результат | void |
protected EnumerateMetaDataJPG ( BitmapMetadata _MetaData, bool &_bProfileFound, bool &_bGammaWasSpecified ) : void | ||
_MetaData | BitmapMetadata | |
_bProfileFound | bool | |
_bGammaWasSpecified | bool | |
Результат | void |
protected EnumerateMetaDataPNG ( BitmapMetadata _MetaData, bool &_bProfileFound, bool &_bGammaWasSpecified ) : void | ||
_MetaData | BitmapMetadata | |
_bProfileFound | bool | |
_bGammaWasSpecified | bool | |
Результат | void |
protected EnumerateMetaDataTIFF ( BitmapMetadata _MetaData, bool &_bProfileFound, bool &_bGammaWasSpecified ) : void | ||
_MetaData | BitmapMetadata | |
_bProfileFound | bool | |
_bGammaWasSpecified | bool | |
Результат | void |
protected FindAttribute ( string _XMLContent, string _AttributeName ) : string | ||
_XMLContent | string | |
_AttributeName | string | |
Результат | string |
protected FindEXIFColorProfile ( BitmapMetadata _Meta ) : bool | ||
_Meta | BitmapMetadata | |
Результат | bool |
protected FindICCProfileString ( BitmapMetadata _Meta, bool &_bGammaWasSpecified ) : bool | ||
_Meta | BitmapMetadata | |
_bGammaWasSpecified | bool | |
Результат | bool |
protected FindPhotometricInterpretation ( BitmapMetadata _Meta, string _MetaPath ) : bool | ||
_Meta | BitmapMetadata | |
_MetaPath | string | |
Результат | 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) |
Результат | 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) |
Результат | float |
protected HandleEXIFColorSpace ( int _ColorSpace ) : bool | ||
_ColorSpace | int | |
Результат | bool |
protected HandleEXIFColorSpace ( string _ColorSpace ) : bool | ||
_ColorSpace | string | |
Результат | bool |
protected HandleICCProfileString ( string _ProfilName ) : bool | ||
_ProfilName | string | |
Результат | bool |
public static Linear2sRGB ( float c ) : float | ||
c | float | |
Результат | float |
public RGB2XYZ ( |
||
_RGB | ||
_XYZ | ||
Результат | void |
public XYZ2RGB ( |
||
_XYZ | ||
_RGB | ||
Результат | void |
public static XYZ2xyY ( |
||
_XYZ | ||
Результат |
public static sRGB2Linear ( float c ) : float | ||
c | float | |
Результат | float |
public static xyY2XYZ ( |
||
_xyY | ||
Результат |
public static float2,ImageUtility ILLUMINANT_A | ||
Результат |
public static float2,ImageUtility ILLUMINANT_D50 | ||
Результат |
public static float2,ImageUtility ILLUMINANT_D55 | ||
Результат |
public static float2,ImageUtility ILLUMINANT_D65 | ||
Результат |
public static float2,ImageUtility ILLUMINANT_E | ||
Результат |
protected Chromaticities m_Chromaticities | ||
Результат | Chromaticities |
protected IColorConverter m_InternalConverter | ||
Результат | IColorConverter |