프로퍼티 | 타입 | 설명 | |
---|---|---|---|
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 |