\setcounter{section}{34} >
この節では,可視化のモデル及び提示プロセスによって媒体上に可視化される
図形要素及び色の可視化手段を制御する手段について述べる。
presentation device is the
physical agent by which the output of the Presentation Process is rendered onto
the media.
]]>
可視化を制御する演算子のほとんどは,その使用に際して提示装置の特性に 関する知識を必要とする。装置非依存とすることを意図した文書では, この節で記述する演算子はいずれも使用すべきではない。
and
プログラムの制御下にあるほとんどすべての可視化手段では,色の濃淡の再生を行な わなければならない。 可視化のモデルは,論理的に次にその概略を示す複数の段階からなる処理とする。 現色空間及び提示装置の特性によって,特にそれが連続階調出力及び装置色材の集合を 支援するかどうかによって,必ずしもすべての段階を実行する必要はない。
DeviceRGB>,DeviceCMYK, DeviceKX>, orDeviceGray>), whichever is appropriate for the presentation device. This transformation is controlled by acolor rendering Dictionary>. ]]> 色が,で述べたようなCIE関連色空間内で指定されている場合, 提示プロセスは最初にそれを装置色空間 ( 色可視化辞書>によって制御される。 - , that is inappropriate for a particular presentation device (for example, a color specified in the
DeviceRGB> color space and a gray-scale presentation device), the Presentation Process invokes acolor conversion function>. ]]> 色が,で述べたような装置色空間内で指定されおり, その色が提示装置に不適当な場合(例えば, 色変換関数>を呼び出す。 - transfer functions>, one for each device colorant. (This step is sometimes called gamma correction.) The transfer functions compensate for non-linear response in the presentation device and/or in the human eye. ]]> 次に,提示プロセスは,装置色値を
色補正関数>を通して それぞれの装置色材ごとに写像する。(この段階は,ときにガンマ補正と呼ばれる)。 色補正関数は,提示装置や人間の視覚における非線形的な応答を補償する。 - halftone function>, which approximates the desired colors by means of patterns of pixels. ]]> 提示装置が連続階調を再生できず,離散的な色(例えば黒と白のピクセル)だけしか 再生できない場合,提示プロセスはピクセルのパターンを用いて要求されている 色を近似する
中間調処理関数>を呼び出す。 - scan conversion> to paint the appropriate pixels on the presentation medium with the requested colors. ]]> 最後に,提示プロセスは
走査変換>を行ない,要求された色で 提示媒体上の適当なピクセルを塗る。
.
]]>
この節の残りでは,CIE関連色を装置色に変換する際の色可視化辞書の利用方法,
異なる装置色空間相互の変換アルゴリズム,色補正関数,中間調スクリーン,中間調処理関数
の仕様
について述べる。これらの種々の機能をプログラム的に制御する演算子群については,
.
]]>
この節では可視化モデルについて記述することを意図しており,
実装方法について規定するものではない。
しかし,適合した実装では,
CIE色から装置色値への変換次に示す二つの主要な操作を必要とする。
gamut> is a subset of all possible colors in a color space. A document has asource gamut> which consists of all colors that it uses. A presentation device has adevice gamut> which consists of all colors that it is capable of reproducing. If a document specifies colors that the device cannot reproduce, this step transforms colors from the source gamut to the device gamut. ]]> CIE色値を表色範囲変換>に従って調整する。 ここで,ある色空間内で可能なすべての色の部分集合を表色範囲とする。 文書は,その中で利用するすべての色からなる 入力表色範囲>をもつ。 提示装置は,その装置で再生可能なすべての色からなる 装置表色範囲>をもつ。 文書がその装置で再生できない色を指定した場合,色を入力表色範囲から 装置表色範囲に変換する。 - 色可視化関数によって,対応する装置色値を生成する。 与えられたCIE色値に対して,この関数は装置固有の色空間における色値を計算する。
SetColorSpace. This specification
is device-independent.
]]>
入力表色範囲は,文書が
color rendering Dictionary>, which is a parameter of
the Graphics State. The default color rendering Dictionary and its
contents are completely implementation-dependent.
The GetColorRendering
operator
returns the current color
rendering Dictionary. The gamut mapping and color rendering function
are applied
only to color values presented in a CIE color space. By definition, color
values in device color spaces control the device color components directly.
]]>
装置表色範囲と色可視化関数は,作図状態のパラメタの一つである
contains many references to the contents
of color rendering Dictionaries. See
色可視化辞書内のキーと値との対は,全体としてCIE色値を装置色値に変換する 色可視化関数を定義する。 色可視化関数からの出力は,さらに幾つかの変換 (装置色空間変換,色補正関数,中間調処理関数)を受ける。
ColorRenderingType>
key/value pair
whose value is a Cardinal. The value specifies the architecture of the
color rendering function as a whole. The remaining entries in the Dictionary
are interpreted according to this value. The only color rendering Dictionaries
whose semantics are defined by this International Standard are those whose
ColorRenderingType>
1 color rendering Dictionary is based on a two-stage, non-linear transformation
of the
最初の方法は,加法的で線形な装置を利用する場合にもっとも適する。
一方,2番目の方法は,色の可視化が単純な式では記述できないような装置上で,
忠実度の高い再生を行なうために必要となる。
概念的には,CIE色空間から装置色空間への色値の変換は次の段階からなる。
A, B>, and
RenderTable>, use the
.
]]>
この副節では,色可視化辞書内の各項目について記述する。
CIE色から装置色への変換処理におけるこれらの項目の使用方法についての
詳細は,
ColorRenderingType> provided by this International
Standard is type 1. The mandatory and optional entries in a
Number> whose elements specify
the
Number> whose elements specify
the
BlackPoint> key/value pair is not present,
the default value used is:
]]>
キー
Number> whose elements specify
the linear interpretation
of the encoded
MatrixPQR> key/value pair is not present, the
default matrix used is:
]]>
キー
Procedure> whose elements are
Procedures that transform the X,
ここで,
X,
TransformPQR>
Procedure takes five operands
]]>
上の方程式で示したとおり,各
TransformPQR> Procedure shall produce one result
]]>
これらのオペランドは上の方程式で記述されているとおり。
各
が生成される。この結果は,数型のオペランドの単調関数となる。
これらの手続きが呼ばれる回数は実装依存なので,
これらは純粋な関数でなくてはならない。
すなわち,これらの手続きは無指定時以外の文脈に依存すべきではなく,
現在の文脈にも影響を及ぼしてはいけない。
Number> whose elements specify the range
of valid values for the
ColorRenderingType>
is 1. The default color rendering Dictionary on an implementation may have a
ColorRenderingType> other than 1.
]]>
すべての色可視化辞書は,キー
CIE 1931 (XYZ)>-space. The target space of this
transformation is called the
render color space>. Values in this space can be treated
in one of two ways:
]]>
DeviceGray> color
space
]]>
DeviceCMYK>
color space.
]]>
Z>
values to account for differences in the
WhitePoint>
and
BlackPoint> of the source
and the device. This transformation attempts to preserve color appearance and
visual contrast, according to the values of the
MatrixPQR>
and
TransformPQR> entries of the color rendering Dictionary.
The diffuse white and black points of the source are given as the
WhitePoint>
and
BlackPoint> parameters of the color space; the diffuse
white and black points of the device are given as the
WhitePoint>
and
BlackPoint> entries of the color rendering Dictionary.
If the corresponding entries are equal, this step reduces
to the identity transformation.
]]>
入力と装置における
MatrixLMN>,
EncodeLMN>,
MatrixABC>, and
EncodeABC>
entries of the color rendering Dictionary,
producing three components
A, B>, and
C>.
]]>
色可視化辞書の
C>
components of the
CIEBasedABC> color space.
]]>
これらの三つの成分は任意に名付けられたものであり,
A, B>, and
C>
components to index into this three-dimensional lookup table,
yielding an interpolated
value. This value consists of 3 or 4 color components, depending on
how the table has been defined. Each of these components is transformed by a
procedure into a color component in device color space.
If there are 3 components, they specify red,
green, and blue values according to the
DeviceRGB> color
space; if there are
4 components, they specify cyan, magenta, yellow, and black values according
to the
DeviceCMYK> color space.
]]>
A,
B>, and
C> components as the device color
value directly. If the device's native color space is
DeviceGray>,
the
A>
component specifies the gray value and the
B> and
C>
components are ignored. Otherwise, the
A, B>, and
C>
components specify red, green, and blue values according to the
DeviceRGB>
color space.
]]>
色可視化辞書
ColorRenderingType>
1 color rendering Dictionary (in addition to the mandatory key/value pair
ColorRenderingType>) are described in
色可視化タイプ1辞書
WhitePoint
CIE 1931 (XYZ)>-space tristimulus value of the presentation device's
diffuse white point.
Each element must have a value greater than 0, and the Y component must be
equal to 1. The order of elements in the Vector is:
]]>
必す(須)のキーと値との対<
BlackPoint
CIE 1931
(XYZ)>-space tristimulus value of the presentation device's diffuse
black point. Each
element must have a value greater than or equal to 0, and the order of elements
in the Vector
is:
]]>
任意選択キーと値との対<
MatrixPQR
X, Y>, and
Z> components
of the
CIE 1931 (XYZ)->space with respect to the intermediate
PQR representation, as described in
TransformPQR
P, Q>, and
R>
components of the intermediate PQR representation to accommodate for
differences between the source's and presentation
device's diffuse
WhitePoint> and
BlackPoint>
while preserving color appearance and visual contrast.
The order of the elements in the Vector is:
]]>
必す(須)のキーと値との対 <
CIE 1931 (XYZ)->space tristimulus values of the
source's diffuse white and black points, respectively.
Let
CIE 1931 (XYZ)->space tristimulus values of the presentation device's
diffuse white and black points, respectively. Then the source and presentation
device tristimulus values
CIE 1931 (XYZ)->space , respectively, are related by the
MatrixPQR>
and
TransformPQR> entries as follows:
]]>
ここで,
CIE 1931 (XYZ)>-space
are treated as a three-element Vector and multiplied by
MatrixPQR>
(a three by three matrix), yielding the
TransformPQR>
Procedures, producing the
MatrixPQR>. The results provide the
CIE 1931 (XYZ)>-space.
]]>
言い換えると,CIE 1931 (XYZ)空間内における入力色の成分
RangePQR
P, Q>, and
R> components. The
elements of
RangePQR> are
interpreted as three pairs of bounds, one pair for each of the three color
components:
]]>
任意選択のキーと値との対<