色空間

Colorspaceノードは、ある色空間から別の色空間に画像を変換します。たとえば、 Nukeの固有の色空間を、特定のプロセスまたは目的の表示デバイスにより適した他の色空間に変換します。このノードは、RGB、HSV、YUV、CIE、およびCMS形式(およびさまざまなサブ形式)をサポートしています。さまざまなプライマリ、ホワイトポイント、さまざまなエンコーディングに合わせて調整できます。

スクリプトの後半で色空間の変換を元に戻したい場合:

1.   Colorspaceノードをコピーし、スクリプトの適切なポイントに挿入します。
2.   をセットするout制御するsRGBD55 、そしてRGB
3.   をセットするin最初のColorspaceノードに入力した値と一致するように制御します。

入力クリップを新しい色空間で書き出す場合は、 colorspaceドロップダウンメニューへlinear書き込みノードコントロール。これにより、自動変換が停止し、作成したものが優先されます。

入力とコントロール

接続タイプ

接続名

関数

入力

名前のない

色空間変換を受け取る画像シーケンス。

マスク

マスクとして使用するオプションの画像。デフォルトでは、色空間の変換はマスクの非黒領域に制限されています。

最初は、マスク入力はノードの右側に三角形として表示されますが、ノードをドラッグすると、マスクというラベルの付いた矢印に変わります。マスク入力が表示されない場合は、 maskコントロールが無効または設定されていますnone

Control (UI)

Knob (Scripting)

Default Value

関数

Colorspace Tab

channels

channels

rgb

色空間補正は、これらのチャンネルにのみ適用されます。

右側のチェックボックスを使用して、個々のチャンネルを選択できます

in

colorspace_in

linear

入力色空間を設定します。このノードは、入力画像をこの色空間からに変換しますout色空間。

illuninant_in

D65

Sets the input illuminant to simulate colors under different lighting. For example, the default D65 simulates illumination roughly equivalent to mid-day sun in Western or Northern Europe.

primary_in

sRGB

Sets the input primaries (the exact "shade" of red, green, and blue).

out

colorspace_out

linear

必要な出力色空間を設定します。このノードは、入力画像をinこの色空間への色空間。

illuninant_out

D65

Sets the output illuminant to simulate colors under different lighting. For example, A simulates illumination from a household tungsten filament light bulb.

primary_out

sRGB

Sets the input primaries (the exact "shade" of red, green, and blue).

Bradford matrix

bradford_matrix

disabled

もしilluminant_inそしてilluminant_out値が同じではない場合、これを有効にして光源適応変換を適用できます。これにより色が変更されるため、 現れる同じ。

無効にすると、入力色と出力色は同じCIE色空間XYZ値を持ちます。

color matrix output

colormatrix

N/A

上記で選択したカラー変換でマトリックスが使用される場合、出力はここに表示されます。

マトリックス値を変更しても効果はありませんが、それらをColorMatrixノードにコピーして画像に適用できます。Ctrl/Cmd + [アニメーション]メニューをドラッグして、マトリックス全体を一度にコピーします。見るColorMatrix詳細については。

注意:  色空間変換は、単一の3x3マトリックス操作よりもはるかに多くのことを行う場合があります。

mask

N/A

disabled

右側の関連するマスクチャネルを有効にします。このチェックボックスを無効にすることは、チャンネルをnone

maskChannelInput

none

The channel to use as a mask. By default, the colorspace conversion is limited to the non-black areas of this channel.

inject

inject

disabled

をコピーしますmask定義済みへの入力mask.aチャネル。マスクを注入すると、同じマスクをさらに下流で使用できます。

invert

invert_mask

disabled

マスクチャネルの使用を反転して、色空間変換がマスクの非白領域に制限されるようにします。

fringe

fringe

disabled

有効にすると、マスクのエッジにのみ効果が適用されます。

無効にすると、効果はマスク全体に適用されます。

(un)premult by

N/A

disabled

右側の関連チャンネルを有効にします。このチェックボックスを無効にすることは、チャンネルをnone

unpremult

none

The image is divided by this channel before being processed, and multiplied again afterwards.

If you are using premultiplied input images, you may want to check (un)premult by and select rgba.alpha here. This will simulate doing the color conversion before the premultiplication was done. It is the same as adding an Unpremult node before this node and a Premult node after, but allows you to work faster if you’re only using one color correct node.

If you are using unpremultiplied input images, you should leave this set to none.

invert

invert_unpremult

disabled

(un)premultiplyチャネルの使用を反転します。

mix

mix

1

0の元の画像と1の完全な色空間変換の間で溶解します。

ステップバイステップガイド

他の色空間変換を行う