「ICC プロファイル」の版間の差分

提供: ArchWiki
ナビゲーションに移動 検索に移動
(ページの作成:「Category:グラフィックとデスクトップパブリッシング en:ICC Profiles 一般的なデスクトップの利用に関して、ICC プロファイル...」)
 
(同期)
1行目: 1行目:
 
[[Category:グラフィックとデスクトップパブリッシング]]
 
[[Category:グラフィックとデスクトップパブリッシング]]
[[en:ICC Profiles]]
+
[[en:ICC profiles]]
 
一般的なデスクトップの利用に関して、ICC プロファイルは入力または出力デバイスの色の属性に関する正確な情報を含んでいるバイナリファイルです ([[Wikipedia:ja:ICCプロファイル|ソース]])。一つ、または複数のプロファイルをシステムとデバイスに適用することで、グラフィックやドキュメントを編集したり出版するために色を再現することができます。完全に正確な色彩が必要なときは[[Wikipedia:Tristimulus_colorimeter|三刺激色彩計]]や分光測色計を使って ICC プロファイルが較正されます。
 
一般的なデスクトップの利用に関して、ICC プロファイルは入力または出力デバイスの色の属性に関する正確な情報を含んでいるバイナリファイルです ([[Wikipedia:ja:ICCプロファイル|ソース]])。一つ、または複数のプロファイルをシステムとデバイスに適用することで、グラフィックやドキュメントを編集したり出版するために色を再現することができます。完全に正確な色彩が必要なときは[[Wikipedia:Tristimulus_colorimeter|三刺激色彩計]]や分光測色計を使って ICC プロファイルが較正されます。
   
22行目: 22行目:
 
/home/USER_NAME/.color/icc
 
/home/USER_NAME/.color/icc
   
{{Note|Ensure that the calibrated contrast, brightness and RGB settings of the monitor do not change between the time of calibration and the loading of the ICC profile.|}}
+
{{Note|Ensure that the calibrated contrast, brightness and RGB settings of the monitor do not change between the time of calibration and the loading of the ICC profile. Use this method only if you are absolutely certain that neither Linux nor the other OS does anything behind your back (in video drivers or vendor utilities) that alters the signal actually sent to the display, or the way the display interprets the signal. Watch out for "Broadcast RGB" or similar settings. One concrete example where profiling in Windows and Linux yields [https://bugzilla.kernel.org/show_bug.cgi?id=70721 significantly different results] is the Lenovo Ideapad Yoga 2 Pro laptop, because these OSes program the flat panel controller in very different ways.}}
   
 
=== Gnome Color Manager ===
 
=== Gnome Color Manager ===
   
 
Gnome では {{pkg|gnome-color-manager}} を使って簡単に ICC プロファイルを作成できます。コントールセンターからアクセスすることができ、使い方はとても簡単です。この機能を使用するには測色計が必要になります。
 
Gnome では {{pkg|gnome-color-manager}} を使って簡単に ICC プロファイルを作成できます。コントールセンターからアクセスすることができ、使い方はとても簡単です。この機能を使用するには測色計が必要になります。
  +
  +
==== 手動 ====
  +
  +
''gnome-settings-daemon'' が起動してから、次を実行:
  +
  +
$ colormgr get-devices
  +
  +
そして使用しているモニターの {{ic|Device ID}} 行を確認してください。例えば {{ic|xrandr-Lenovo Group Limited}} だった場合、次のコマンドでキャリブレーションを開始します:
  +
  +
gcm-calibrate --device "''xrandr-Lenovo Group Limited''"
   
 
=== LPROF ICC Profiler ===
 
=== LPROF ICC Profiler ===
   
[http://lprof.sourceforge.net/ LPROF] is an ICC profiler with a graphical user interface listed under {{AUR|lprof}} in the [[AUR|Arch User Repository (AUR)]].
+
[http://lprof.sourceforge.net/ LPROF] はグラフィカルユーザーインターフェースが付属した ICC プロファイラです。[[AUR|Arch User Repository (AUR)]] の {{AUR|lprof}} パッケージでインストールすることができます。
   
 
{{Note|以下のウォークスルーは ArchWiki の [[en2:Using LPROF to profile monitors|Using LPROF to Profile Monitors]] から修正を加えられています。}}
 
{{Note|以下のウォークスルーは ArchWiki の [[en2:Using LPROF to profile monitors|Using LPROF to Profile Monitors]] から修正を加えられています。}}
86行目: 96行目:
 
=== ThinkPad ===
 
=== ThinkPad ===
   
See [http://www.thinkwiki.org/wiki/Colour_profile color profiles] for IBM/Lenovo [[Wikipedia:ThinkPad|ThinkPad]] notebook [http://www-307.ibm.com/pc/support/site.wss/migr-62923.html monitor profile] ([http://www-307.ibm.com/pc/support/site.wss/migr-44320.html generic]) support.
+
IBM/Lenovo [[Wikipedia:ThinkPad|ThinkPad]] ノートパソコンの [http://www-307.ibm.com/pc/support/site.wss/migr-62923.html モニタープロファイル] ([http://www-307.ibm.com/pc/support/site.wss/migr-44320.html generic]) をサポートしている [http://www.thinkwiki.org/wiki/Colour_profile カラープロファイル] を見てください。
   
 
== ICC プロファイルのロード ==
 
== ICC プロファイルのロード ==
   
  +
ICC プロファイルはセッションデーモンあるいは専用の ICC ローダーでロードします。GNOME と KDE には {{pkg|colord}} から ICC プロファイルをロードすることができるデーモンが付属しています。{{pkg|gnome-settings-daemon}} や {{AUR|colord-kde}} と一緒に colord を使用する場合、プロファイルは自動的にロードされます。GNOME や KDE を使っていない場合、独立したデーモンをインストールすることができます。[https://github.com/agalakhov/xiccd xiccd] はデスクトップ環境に依存しないデーモンです。二つの ICC 対応デーモンを同時に起動してはいけません (例: gnome-settiongs-daemon と xiccd)。
ICC profiles are loaded either by the session daemon or by a dedicated ICC loader. Both Gnome and KDE have daemons capable of loading ICC profiles from {{pkg|colord}}. If you use colord in combination with either {{pkg|gnome-settings-daemon}} or {{AUR|colord-kde}}, the profile will be loaded automagically. If you're not using neither Gnome nor KDE, you may install an independent daemon, [https://github.com/agalakhov/xiccd xiccd], which does the same but does not depend on your desktop environment. Do not start two ICC-capable daemons (e.g. gnome-settiongs-daemon and xiccd) at the same time.
 
   
  +
ICC に対応しているセッションデーモンを使用していない場合、ICC ローダーをどれか一つ使ってください: xcalib, dispwin, dispcalGUI-apply-profiles など。複数のローダーを同時に使用すると環境が制御できなくなります (一番最後に実行されたローダーがキャリブレーションを設定し、それ以前にロードされたキャリブレーションは上書きされます)。
If you're not using any ICC-capable session daemon, make sure you use only one ICC loader - either xcalib, dispwin, dispcalGUI-apply-profiles or others, otherwise you easily end up with uncontrolled environment. (The most recently run loader set the calibration, and the earlier loaded calibration is overwritten.)
 
   
 
Before using a particular ICC loader, you should understand that some tools set only the calibration curves (e.g. xcalib), other tools set only the display profile to X.org _ICC_PROFILE atom (e.g. xicc) and other tools do both tasks at once (e.g. dispwin, dispcalGUI-apply-profiles).
 
Before using a particular ICC loader, you should understand that some tools set only the calibration curves (e.g. xcalib), other tools set only the display profile to X.org _ICC_PROFILE atom (e.g. xicc) and other tools do both tasks at once (e.g. dispwin, dispcalGUI-apply-profiles).
98行目: 108行目:
 
=== xcalib ===
 
=== xcalib ===
   
* [http://xcalib.sourceforge.net/ xcalib] is a lightweight monitor calibration loader which can load an ICC monitor profile to be shared across desktop applications. {{AUR|xcalib}} is part of the Arch User Repository (AUR).
+
* [http://xcalib.sourceforge.net/ xcalib] は軽量なモニターキャリブレーションローダーです。ICC モニタープロファイルをロードしてデスクトップアプリケーションから使うことができます。{{AUR|xcalib}} Arch User Repository (AUR) に入っています。
   
 
==== Xinitrc の例 ====
 
==== Xinitrc の例 ====
   
Load profile {{ic|P221W-sRGB.icc}} in {{Ic|/usr/share/color/icc}} on display host:0 when X server starts
+
X サーバーが起動したときに {{Ic|/usr/share/color/icc}} にある {{ic|P221W-sRGB.icc}} をディスプレイ host:0 にロード:
<pre>#!/bin/bash
+
#!/bin/bash
  +
 
/usr/bin/xcalib -d :0 /usr/share/color/icc/P221W-sRGB.icc</pre>
+
/usr/bin/xcalib -d :0 /usr/share/color/icc/P221W-sRGB.icc
   
 
==== JWM {{ic|<StartupCommand>}} の例 ====
 
==== JWM {{ic|<StartupCommand>}} の例 ====
   
Load profile {{ic|P221W-Native.icc}} in {{Ic|/usr/local/share/color/icc}} on display host:0 when JWM starts
+
JWM が起動したときに {{Ic|/usr/local/share/color/icc}} にある {{ic|P221W-Native.icc}} プロファイルをディスプレイ host:0 にロード:
{{ic|<StartupCommand>}}xcalib -d :0 /usr/local/share/color/icc/P221W-Native.icc{{ic|</StartupCommand>}}
+
<StartupCommand>xcalib -d :0 /usr/local/share/color/icc/P221W-Native.icc</StartupCommand>
   
 
=== dispwin ===
 
=== dispwin ===
* [http://www.argyllcms.com/doc/dispwin.html dispwin] is a part of {{Pkg|argyllcms}}.
+
* [http://www.argyllcms.com/doc/dispwin.html dispwin] {{Pkg|argyllcms}} に含まれています。
   
 
==== Xinitrc の例 ====
 
==== Xinitrc の例 ====
   
  +
X サーバーが起動したときに {{Ic|/home/arch/.color/icc}} の {{ic|906w-6500K.icc}} プロファイルをディスプレイ 0 にロード:
Load profile {{ic|906w-6500K.icc}} in {{Ic|/home/arch/.color/icc}} on display 0 when X server starts
 
<pre>#!/bin/bash
+
#!/bin/bash
  +
 
/usr/bin/dispwin -d0 /home/arch/.color/icc/906w-6500K.icc</pre>
+
/usr/bin/dispwin -d0 /home/arch/.color/icc/906w-6500K.icc
   
 
==== JWM {{ic|<StartupCommand>}} の例 ====
 
==== JWM {{ic|<StartupCommand>}} の例 ====
   
  +
JWM が起動したときに {{Ic|/usr/local/share/color/icc}} にある Argyll のキャリブレーションファイル {{ic|906w-7000K.cal}} をディスプレイ 1 にロード:
Load Argyll calibration file {{ic|906w-7000K.cal}} in {{Ic|/usr/local/share/color/icc}} on display 1 when JWM starts
 
{{ic|<StartupCommand>}}dispwin -d1 /usr/local/share/color/icc/906w-7000K.cal{{ic|</StartupCommand>}}
+
<StartupCommand>dispwin -d1 /usr/local/share/color/icc/906w-7000K.cal</StartupCommand>
  +
  +
== ICC プロファイルを使用することができるアプリケーション ==
  +
  +
* [[GIMP]] can use ICC profiles for color-corrected display of the image being edited. The use of the installed ICC profile has to be explicitly enabled in the settings dialog, though.
  +
* [[mpv]] は動画を再生するときに ICC プロファイルを利用することができます。コマンドライン引数: {{ic|1=--vo=opengl:icc-profile=/path/to/profile.icc}}。
  +
* [[Firefox]], by default, uses the system-wide ICC profile only when displaying images that are already tagged with an ICC profile. To assume that untagged images use sRGB and apply color correction also to them, set the {{ic|gfx.color_management.mode}} preference to 1.
  +
* [https://www.archlinux.org/packages/?name=eog Eye of Gnome] と [https://www.archlinux.org/packages/?name=eom Eye of MATE] はシステムにインストールされた ICC プロファイルを自動的に使います。
   
 
== 参照 ==
 
== 参照 ==
132行目: 149行目:
 
* [http://www.argyllcms.com/ Argyll Color Management System] - 公式サイト
 
* [http://www.argyllcms.com/ Argyll Color Management System] - 公式サイト
 
* [http://lprof.sourceforge.net/help/lprof-help.html LPROF Main Help Window] - Details on profiling printers and scanners
 
* [http://lprof.sourceforge.net/help/lprof-help.html LPROF Main Help Window] - Details on profiling printers and scanners
  +
* [http://dispcalgui.hoech.net/#concept dispcalGUI: Basic concept of display calibration and profiling]
  +
* [https://encrypted.pcode.nl/blog/2013/11/24/display-color-profiling-on-linux/ Display color profiling on Linux (XFCE)]

2016年3月28日 (月) 22:19時点における版

一般的なデスクトップの利用に関して、ICC プロファイルは入力または出力デバイスの色の属性に関する正確な情報を含んでいるバイナリファイルです (ソース)。一つ、または複数のプロファイルをシステムとデバイスに適用することで、グラフィックやドキュメントを編集したり出版するために色を再現することができます。完全に正確な色彩が必要なときは三刺激色彩計や分光測色計を使って ICC プロファイルが較正されます。

プロファイルの作成

ファイルの転送

ICC モニタープロファイルを取得したいときは Windows 7/Vista/XP, または Mac OS X システムでプロファイルを作成することが一番簡単で広く推奨されています。ICC カラープロファイルはオープン標準にあわせて書き出されるので、別のオペレーティングシステムでも問題なく使えます。Linux で特定の分光光度計や測色計が使えない場合、他の OS からプロファイルを転送することで解決できるでしょう: 別の OS でプロファイルを作成して Linux のワークフローに乗せるだけです (ソース)。推奨される測色計は X-Rite i1Display 2Spyder3 Pro、もしくはオープンソースのハードウェア ColorHug などです。プロファイルを作成するシステムには後でプロファイルを使う時とまったく同じビデオカードとモニターが必要になります。ICC プロファイル、またはプロファイルのシリーズを Windows 7/Vista/XP で作成したら、以下のデフォルトパスからファイルをコピーしてください:

C:\WINDOWS\System32\spool\drivers\color

Mac OS X は通常、一つ、または二つの場所に ICC プロファイルを保存します:

/Library/ColorSync/Profiles
/Users/USER_NAME/Library/ColorSync/Profile

適切な .icc/.icm ファイルをコピーしたら、デバイスプロファイルを使用したいシステムにインストールしてください。Linux におけるデバイスプロファイルのインストールディレクトリは以下の通りです:

/usr/share/color/icc
/usr/local/share/color/icc
/home/USER_NAME/.color/icc
ノート: Ensure that the calibrated contrast, brightness and RGB settings of the monitor do not change between the time of calibration and the loading of the ICC profile. Use this method only if you are absolutely certain that neither Linux nor the other OS does anything behind your back (in video drivers or vendor utilities) that alters the signal actually sent to the display, or the way the display interprets the signal. Watch out for "Broadcast RGB" or similar settings. One concrete example where profiling in Windows and Linux yields significantly different results is the Lenovo Ideapad Yoga 2 Pro laptop, because these OSes program the flat panel controller in very different ways.

Gnome Color Manager

Gnome では gnome-color-manager を使って簡単に ICC プロファイルを作成できます。コントールセンターからアクセスすることができ、使い方はとても簡単です。この機能を使用するには測色計が必要になります。

手動

gnome-settings-daemon が起動してから、次を実行:

$ colormgr get-devices 

そして使用しているモニターの Device ID 行を確認してください。例えば xrandr-Lenovo Group Limited だった場合、次のコマンドでキャリブレーションを開始します:

gcm-calibrate --device "xrandr-Lenovo Group Limited"

LPROF ICC Profiler

LPROF はグラフィカルユーザーインターフェースが付属した ICC プロファイラです。Arch User Repository (AUR)lprofAUR パッケージでインストールすることができます。

ノート: 以下のウォークスルーは ArchWiki の Using LPROF to Profile Monitors から修正を加えられています。

モニターのキャリブレーション

コントラスト/明るさ

Adjust the lighting in the room to what you will be using when working. Even if your screen is coated with an anti-reflective coating, you should avoid light falling directly on it. Let your monitor warm up for at least an hour for the image to get stabilized. If your calibration device has an ambient diffuser, adjust your room brightness to reach the recommended target lux point.

  1. Set the monitor contrast to maximum, or 100%.
  2. Next, display a pure black over entire screen by creating a small, black PNG image (all pixels have RGB = 0, 0, 0) and opening it up in a picture viewer that is capable of displaying an image in fullscreen mode without any controls.
  3. Reduce the vertical size of the monitor screen (not the PNG image displayed by a picture viewer but the whole of what's displayed on the screen) to 60% to 70% of the full height. What is revealed above and below the picture is called a non-scanned area, and since that area is not receiving any voltage, it is the blackest of black your monitor is capable of displaying.
  4. Locate the brightness control (usually a sun, circle with rays projecting from it's edges) and lower the value until the black image matches the non-scanned area.
色温度

As we said in the introduction, setting color temperature must occur at noon. If you only have fixed factory default color temperature, you do not really need to wait for the sunny day to come. Just set it to 6500K.

Place your monitor so that you can see outside the window and your screen at the same time. For this step, you also need to create a white square image (RGB = 255, 255, 255), roughly 10 by 10 centimeters (4 by 3 inches). Using the same Gwenview technique as with brightness/contrast, display the white square on a pure black background.

  1. First, prepare your eyes by staring at the outside world for a while. Let them adjust to the daylight viewing condition for a few minutes.
  2. Glance at the monitor, and the white square for a few second (it has to be short, because eyes will readjust quickly).
  3. If the square seems yellowish, you need higher color temperature, or if it has a blueish cast, the temperature needs to be lowered.
  4. Keep glancing, looking out the window, and adjusting the white temperature, until the square looks pure white

Take your time with the steps described above. It is essential to get it right.

モニターのプロファイル

Start lprof. You will be presented by a fairly large window with multiple tabs on the right.

  1. Click on the Monitor Profiler tab. Then click on the large Enter monitor values >> button.
  2. White point should be set to 6500K (daylight).
  3. Primaries should be set to either SMPTE RP145-1994, or EBU Tech.3213-E or P22, or whatever appropriate values for your monitor. If you come across correct values for your monitor, enter those by selecting User Defined from the drop-down. If in doubt, you may use P22 for all monitors with Trinitron CRTs (in this case, Trinitron is not related to Sony Trinitron mointors and TVs), and SMPTE RP145-1994 for other CRTs.
  4. Click the Set Gamma and Black Point button.
  5. You will now see a full-screen view of two charts with some controls at the bottom.
  6. Uncheck the Link channels check-box and adjust individual Red, Green, and Blue gamma by either moving the slider left or right, or by entering and changing values in the three boxes to the left. The goal is to make the chart on the left (the smaller square one) flat. When you are satisfied with how it looks, check the Link channels check-box and adjust the gamma again.
  7. When you are done, click OK. Click OK again.

When you are finished entering monitor values, you might want to enter some information about the monitor. This is not mandatory, but it is always nice to know what profile is for what.

  1. Click Profile identification button.
  2. Fill in the data.
  3. Click OK to finish.

After you are all done, click on the '...' button next to Output Profile File box. Enter the name of your profile: somemonitor.icc. Click Create Profile button, and you are done.

Argyll CMS

The Argyll Color Management System is a complete suite of command-line profile creation and loading tools listed under argyllcms.

ThinkPad

IBM/Lenovo の ThinkPad ノートパソコンの モニタープロファイル (generic) をサポートしている カラープロファイル を見てください。

ICC プロファイルのロード

ICC プロファイルはセッションデーモンあるいは専用の ICC ローダーでロードします。GNOME と KDE には colord から ICC プロファイルをロードすることができるデーモンが付属しています。gnome-settings-daemoncolord-kdeAUR と一緒に colord を使用する場合、プロファイルは自動的にロードされます。GNOME や KDE を使っていない場合、独立したデーモンをインストールすることができます。xiccd はデスクトップ環境に依存しないデーモンです。二つの ICC 対応デーモンを同時に起動してはいけません (例: gnome-settiongs-daemon と xiccd)。

ICC に対応しているセッションデーモンを使用していない場合、ICC ローダーをどれか一つ使ってください: xcalib, dispwin, dispcalGUI-apply-profiles など。複数のローダーを同時に使用すると環境が制御できなくなります (一番最後に実行されたローダーがキャリブレーションを設定し、それ以前にロードされたキャリブレーションは上書きされます)。

Before using a particular ICC loader, you should understand that some tools set only the calibration curves (e.g. xcalib), other tools set only the display profile to X.org _ICC_PROFILE atom (e.g. xicc) and other tools do both tasks at once (e.g. dispwin, dispcalGUI-apply-profiles).

xcalib

  • xcalib は軽量なモニターキャリブレーションローダーです。ICC モニタープロファイルをロードしてデスクトップアプリケーションから使うことができます。xcalibAUR は Arch User Repository (AUR) に入っています。

Xinitrc の例

X サーバーが起動したときに /usr/share/color/icc にある P221W-sRGB.icc をディスプレイ host:0 にロード:

#!/bin/bash

/usr/bin/xcalib -d :0 /usr/share/color/icc/P221W-sRGB.icc

JWM <StartupCommand> の例

JWM が起動したときに /usr/local/share/color/icc にある P221W-Native.icc プロファイルをディスプレイ host:0 にロード:

<StartupCommand>xcalib -d :0 /usr/local/share/color/icc/P221W-Native.icc</StartupCommand>

dispwin

Xinitrc の例

X サーバーが起動したときに /home/arch/.color/icc906w-6500K.icc プロファイルをディスプレイ 0 にロード:

#!/bin/bash

/usr/bin/dispwin -d0 /home/arch/.color/icc/906w-6500K.icc

JWM <StartupCommand> の例

JWM が起動したときに /usr/local/share/color/icc にある Argyll のキャリブレーションファイル 906w-7000K.cal をディスプレイ 1 にロード:

<StartupCommand>dispwin -d1 /usr/local/share/color/icc/906w-7000K.cal</StartupCommand>

ICC プロファイルを使用することができるアプリケーション

  • GIMP can use ICC profiles for color-corrected display of the image being edited. The use of the installed ICC profile has to be explicitly enabled in the settings dialog, though.
  • mpv は動画を再生するときに ICC プロファイルを利用することができます。コマンドライン引数: --vo=opengl:icc-profile=/path/to/profile.icc
  • Firefox, by default, uses the system-wide ICC profile only when displaying images that are already tagged with an ICC profile. To assume that untagged images use sRGB and apply color correction also to them, set the gfx.color_management.mode preference to 1.
  • Eye of GnomeEye of MATE はシステムにインストールされた ICC プロファイルを自動的に使います。

参照