フィルターのクリア

Which version of sRGB is Matlab using?

1 回表示 (過去 30 日間)
KAE
KAE 2018 年 4 月 23 日
編集済み: KAE 2018 年 4 月 25 日
I am trying to use a consistent version of sRGB in Matlab, and was confused by something in the documentation. The documentation for makecform says that sRGB refers to "standard computer monitor RGB values, (IEC 6 1966-2-1)".
Inside the makecform code, the call to load the color profile does indeed refer to the 1966 version of sRGB v2,
sRGB_profile = iccread('sRGB.icm'); % Read the ICC profile, as done in makecform.m
sRGB_profile.Description.String % Below, we are using *1966* version of sRGB v2
ans =
'sRGB IEC61966-2.1 991203'
isicc(sRGB_profile) % Check this is a legitimate ICC color profile
ans =
logical
1 % Yes, it is
But the documentation for isicc seems to refer to a different 2001 version of sRGB v2: it says isicc will "determine the set of required tags according to the ICC Profile Specification, either Version 2 (ICC.1: 2001-04) or Version 4 (ICC.1:2001-12)."
Are the 1996 and 2001 versions of sRGB v2 the same thing? They are linked to two different organizations, IEC (International Electrotechnical Commission) and ICC (International Color Consortium). If they are not the same, are there any cautions for using these functions if I am trying to use sRGB v2 consistently in Matlab?
  1 件のコメント
KAE
KAE 2018 年 4 月 25 日
編集済み: KAE 2018 年 4 月 25 日
No, the comments I asked about are not both referring to sRGB v2, see the helpful answer here. The comment in the makecform documentation means that it is following a certain definition of sRGB. But how can I tell if Matlab is using sRGB V2 or sRGB V4? Here it says not to mix them. The comment in isicc just means that they are checking that certain tags that ICC requires are in the color profile. It isn't specific to sRGB at all.

サインインしてコメントする。

回答 (0 件)

タグ

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by