![]() |
![]() |
![]() |
colord Reference Manual | ![]() |
---|---|---|---|---|
Top | Description |
gboolean cd_it8_utils_calculate_ccmx (CdIt8 *it8_reference
,CdIt8 *it8_measured
,CdIt8 *it8_ccmx
,GError **error
); gboolean cd_it8_utils_calculate_xyz_from_cmf (CdIt8 *cmf
,CdSpectrum *illuminant
,CdSpectrum *spectrum
,CdColorXYZ *value
,gdouble resolution
,GError **error
); gboolean cd_it8_utils_calculate_cri_from_cmf (CdIt8 *cmf
,CdIt8 *tcs
,CdSpectrum *illuminant
,gdouble *value
,gdouble resolution
,GError **error
); gboolean cd_it8_utils_calculate_gamma (CdIt8 *it8
,gdouble *gamma_y
,GError **error
);
gboolean cd_it8_utils_calculate_ccmx (CdIt8 *it8_reference
,CdIt8 *it8_measured
,CdIt8 *it8_ccmx
,GError **error
);
This calculates the colorimeter correction matrix using the Four-Color Matrix Method by Yoshihiro Ohno and Jonathan E. Hardis, 1997.
|
The reference data |
|
The measured data |
|
The calculated correction matrix |
|
A GError, or NULL
|
Returns : |
TRUE if a correction matrix was found. |
gboolean cd_it8_utils_calculate_xyz_from_cmf (CdIt8 *cmf
,CdSpectrum *illuminant
,CdSpectrum *spectrum
,CdColorXYZ *value
,gdouble resolution
,GError **error
);
This calculates the XYZ from a CMF, illuminant and input spectrum.
|
The color match function |
|
The illuminant (you can use cd_spectrum_new() for type E) |
|
The CdSpectrum input data |
|
The CdColorXYZ result |
|
The resolution in nm, typically 1.0 |
|
A GError, or NULL
|
Returns : |
TRUE if a XYZ value was set. |
gboolean cd_it8_utils_calculate_cri_from_cmf (CdIt8 *cmf
,CdIt8 *tcs
,CdSpectrum *illuminant
,gdouble *value
,gdouble resolution
,GError **error
);
This calculates the CRI for a specific illuminant.
|
The color match function |
|
The CIE TCS test patches |
|
The illuminant |
|
The CRI result |
|
The resolution in nm, typically 1.0 |
|
A GError, or NULL
|
Returns : |
TRUE if a XYZ value was set. |
gboolean cd_it8_utils_calculate_gamma (CdIt8 *it8
,gdouble *gamma_y
,GError **error
);
This estimates the gamma from values obtained from an .ti3 file.
|
The reference data |
|
The estimated gamma |
|
A GError, or NULL
|
Returns : |
TRUE if a valid value was found. |
Since 0.2.6