GWORLD vol.189 第一特集:36ページ 年 月号 『実践 … · Academy olor Encoding...

39
第一特集:36 ページ 『実践シーンリニアワークフロー』 CGWORLD vol.189 2014 5 月号

Transcript of GWORLD vol.189 第一特集:36ページ 年 月号 『実践 … · Academy olor Encoding...

Page 1: GWORLD vol.189 第一特集:36ページ 年 月号 『実践 … · Academy olor Encoding Specification (AES) STC S-2008-001 Academy Color Encoding Specification (ACES)

第一特集:36ページ『実践シーンリニアワークフロー』

CGWORLD vol.1892014年5月号

Page 2: GWORLD vol.189 第一特集:36ページ 年 月号 『実践 … · Academy olor Encoding Specification (AES) STC S-2008-001 Academy Color Encoding Specification (ACES)

第二特集:26ページ『BT.2020規格での映像制作認知に基づく映像のリアリティ』

CGWORLD vol.2062015年10月号

Page 3: GWORLD vol.189 第一特集:36ページ 年 月号 『実践 … · Academy olor Encoding Specification (AES) STC S-2008-001 Academy Color Encoding Specification (ACES)

第一特集:『Saya』ver.2016

CGWORLD vol.2212016年10月号

Page 4: GWORLD vol.189 第一特集:36ページ 年 月号 『実践 … · Academy olor Encoding Specification (AES) STC S-2008-001 Academy Color Encoding Specification (ACES)

株式会社ロゴスコープは、デジタルシネマ映像制作における撮影・編集・VFX・上映に関するワークフロー構築およびコンサルティングを行っている。とりわけ ACES規格に準拠したシーンリニアワークフロー、 BT.2020規格を土台とした認知に基づく映像の高リアリティ化を進めている。最近では 360 度映像を代表とする、一人称視点映像におけるストーリーテリングである Virtual Reality Cinema の表現基盤を

形作り始めている。また設立以来、博物館における収蔵品のデジタル化・デジタル情報の可視化にも取り組んでいる。

Scene1. -linear Workflow/ACES

BT.2. 2020 / UHDTV in Reality

Narratives3. on VR

Virtual Human Projects4.

Page 5: GWORLD vol.189 第一特集:36ページ 年 月号 『実践 … · Academy olor Encoding Specification (AES) STC S-2008-001 Academy Color Encoding Specification (ACES)

VFXにおけるHDRI作成と利活用

株式会社ロゴスコープ 代表取締役/テクニカル・アーティスト 亀村文彦2018/03/02 JEITA 電子ディスプレイの人間工学シンポジウム2018

Page 6: GWORLD vol.189 第一特集:36ページ 年 月号 『実践 … · Academy olor Encoding Specification (AES) STC S-2008-001 Academy Color Encoding Specification (ACES)

本日の内容

・VFXにおけるHDRIの使用法のデモ(IBL - Image Based Lighting)

・HDRI撮影レンズや露出

・ポストプロダクション(シーンリニアワークフロー/ACES)

・IBLに使うHDRI精度

・360度ビデオへの応用(作例紹介)

Page 7: GWORLD vol.189 第一特集:36ページ 年 月号 『実践 … · Academy olor Encoding Specification (AES) STC S-2008-001 Academy Color Encoding Specification (ACES)

VFX - Visual Effects and SFX - Special Effects

Jurassic Park Wiki: Jurassic Park Tyrannosaurus rex Animatronics より転載

http://jurassicpark.wikia.com/wiki/Jurassic_Park_Tyrannosaurus_rex_Animatronics

Page 8: GWORLD vol.189 第一特集:36ページ 年 月号 『実践 … · Academy olor Encoding Specification (AES) STC S-2008-001 Academy Color Encoding Specification (ACES)

Photorealistic Images

CG Object

CG Camera

CG Light bulb

Real Object

Display device

Page 9: GWORLD vol.189 第一特集:36ページ 年 月号 『実践 … · Academy olor Encoding Specification (AES) STC S-2008-001 Academy Color Encoding Specification (ACES)

Display device

Point light intensity(CG)

Light bulb energy

Real Objects

Reflectance(CG) Physically-basedRendering

CG Camera

Scene-referred VFX Workflow

Scene

Page 10: GWORLD vol.189 第一特集:36ページ 年 月号 『実践 … · Academy olor Encoding Specification (AES) STC S-2008-001 Academy Color Encoding Specification (ACES)

太陽の輝度を含んだHDRI

左のHDRIでレンダーされたCGと背景画像の合成結果

VFXにおけるHDRIの使用法(IBL - Image Based Lighting)

10000 0.14

0.05

0.37

360°

180°

HDRIと同シーンの背景画像

Page 11: GWORLD vol.189 第一特集:36ページ 年 月号 『実践 … · Academy olor Encoding Specification (AES) STC S-2008-001 Academy Color Encoding Specification (ACES)

HDR撮影

Page 12: GWORLD vol.189 第一特集:36ページ 年 月号 『実践 … · Academy olor Encoding Specification (AES) STC S-2008-001 Academy Color Encoding Specification (ACES)

魚眼レンズとセンサーサイズ

Page 13: GWORLD vol.189 第一特集:36ページ 年 月号 『実践 … · Academy olor Encoding Specification (AES) STC S-2008-001 Academy Color Encoding Specification (ACES)

120°の撮影画角

Page 14: GWORLD vol.189 第一特集:36ページ 年 月号 『実践 … · Academy olor Encoding Specification (AES) STC S-2008-001 Academy Color Encoding Specification (ACES)

ノーダルポイント

手前から奥に連なるビル群の遮蔽関係

Page 15: GWORLD vol.189 第一特集:36ページ 年 月号 『実践 … · Academy olor Encoding Specification (AES) STC S-2008-001 Academy Color Encoding Specification (ACES)

現実世界の輝度範囲

14500

2400

1150

60210

2400360

27

0.78

5200

0.45

0.125

0.008

0.007

日中日陰 夜

様々なシーンごとの輝度測定結果 (cd/m2)

250:13000:1 1700000:1

Page 16: GWORLD vol.189 第一特集:36ページ 年 月号 『実践 … · Academy olor Encoding Specification (AES) STC S-2008-001 Academy Color Encoding Specification (ACES)

カメラのダイナミックレンジ

Stop= log2N - offset

+11 Stop

-11 Stop

ダイナミックレンジ

Page 17: GWORLD vol.189 第一特集:36ページ 年 月号 『実践 … · Academy olor Encoding Specification (AES) STC S-2008-001 Academy Color Encoding Specification (ACES)

カメラのダイナミックレンジ

1stop

100階調

1stop

20階調

9~13 Stop

Page 18: GWORLD vol.189 第一特集:36ページ 年 月号 『実践 … · Academy olor Encoding Specification (AES) STC S-2008-001 Academy Color Encoding Specification (ACES)

夜F22, 1/8000, ISO100F22, 1分, ISO800

カメラの露出

日中

Page 19: GWORLD vol.189 第一特集:36ページ 年 月号 『実践 … · Academy olor Encoding Specification (AES) STC S-2008-001 Academy Color Encoding Specification (ACES)

ポストプロダクション

Page 20: GWORLD vol.189 第一特集:36ページ 年 月号 『実践 … · Academy olor Encoding Specification (AES) STC S-2008-001 Academy Color Encoding Specification (ACES)

Post-effects

(Tone-mapping,

Color Rendering, etc)

Scene-linear(HDRI

High-dynamic range image)

Camera

(AR Camera,

Texture, etc)

Scene-linear Workflow

VFXワークフローの現状

Physically-

based

Rendering

MonitorLinearize

Post-effects

(Color Grading)

Gamma

Encoded

Image

Camera

(AR Camera,

Texture, etc)

Current Workflow

Legacy

RenderingMonitorPost-effects

(Tone-mapping, etc)

Page 21: GWORLD vol.189 第一特集:36ページ 年 月号 『実践 … · Academy olor Encoding Specification (AES) STC S-2008-001 Academy Color Encoding Specification (ACES)

映像制作では、現実世界の光をカメラで捉えて、ディスプレイに映し出すことで映像を見る

高品質映像制作のための5つの要素を実現するのがシーンリニアワークフロー/ACES

1. シーンリファード:現実世界(シーン)の物体の明るさや物体の色みを、カメラで忠実に保存。

2. カラーマネージメント:カメラで記録された色や光のデータを、適切な変換によりディスプレイで確認。

3. ポストプロセス:映像制作ソフトウェアで、シーンに忠実な色や光を適切に処理。

4. VFX:現実世界と見紛うフォトリアル CGI と実写映像による VFX 制作。

5. 長期アーカイブフォーマット:高品質な映像制作カラーパイプラインとアーカイブのためのフォーマットを定義。

シーンリニアワークフロー/ACESとは

Page 22: GWORLD vol.189 第一特集:36ページ 年 月号 『実践 … · Academy olor Encoding Specification (AES) STC S-2008-001 Academy Color Encoding Specification (ACES)

カメラ毎に異なる分光感度

Eastman Kodak Company Technical Data Kodak Digital Science KLI-14403 Image Sensorhttps://en.wikipedia.org/wiki/Color_filter_array

シーンリニア画像:RICD(Reference Image Capture Device)とACES色空間

ACES RICDの分光感度

被写体からカメラへ届く光の分光分布

分光測色器で測定

Camera B - RGB

ACES 色空間 - RGB

Camera A - RGB

Page 23: GWORLD vol.189 第一特集:36ページ 年 月号 『実践 … · Academy olor Encoding Specification (AES) STC S-2008-001 Academy Color Encoding Specification (ACES)

ACES RGBDigital Cinema Camera RGB

シーンリニア画像:IDT(Input Device Transform)

10310

11.7 72.3 355

25.6

0.03 0.18 0.88

IDTCamera A

シーン輝度(絶対値)

カメラ依存特性Logto

Linear

Exposure&

Whitebalance

3x3Color Matrix

IDTシーン輝度(相対値)

IDTCamera B

IDTCamera C

シーン(cd/m2)

Page 24: GWORLD vol.189 第一特集:36ページ 年 月号 『実践 … · Academy olor Encoding Specification (AES) STC S-2008-001 Academy Color Encoding Specification (ACES)

撮影環境と視聴環境

昼光、屋外、高輝度照明光、暗室

Rec.709(100cd/m2、D65, 10ルクス)

高コントラスト、高彩度の見え 低コントラスト、低彩度の見え

Page 25: GWORLD vol.189 第一特集:36ページ 年 月号 『実践 … · Academy olor Encoding Specification (AES) STC S-2008-001 Academy Color Encoding Specification (ACES)

Post-Effects:RRT(Reference Rendering Transform)

屋外、高輝度の現実シーン

忠実色再現

シーンリニア画像のカラーアピアランスの一貫性を担保する

デバイス毎のカラーマネージメント

RRT ODT

シーンリニア画像

The KODAK Digital LAD Test Image

HDR

LDR

ガンマ補正

Page 26: GWORLD vol.189 第一特集:36ページ 年 月号 『実践 … · Academy olor Encoding Specification (AES) STC S-2008-001 Academy Color Encoding Specification (ACES)

Post-Effects:ボケ効果

シーンリニア画像へのポストエフェクトによりフォトリアルなレンズのボケ効果を得る

シーンリニア画像 通常の画像

Page 27: GWORLD vol.189 第一特集:36ページ 年 月号 『実践 … · Academy olor Encoding Specification (AES) STC S-2008-001 Academy Color Encoding Specification (ACES)

シーンリニア/ACESのワークフロー

Lighting(ACEScg)

texture(ACEScg) Physically-basedMaterial (ACEScg)

Physically-basedRendering(ACEScg)

Scene-linear Compositing(ACEScg)

Camera Log A

Camera Log B

sRGB display

IDTCamera A

IDTCameraB

RRT

ODTMonitor sRGB

ODTMonitor

DCIIDT

Camera C

Color rendering

DCI

IDTCamera D

Page 28: GWORLD vol.189 第一特集:36ページ 年 月号 『実践 … · Academy olor Encoding Specification (AES) STC S-2008-001 Academy Color Encoding Specification (ACES)

RAW現像

IDT Exposure Stitching

HDR結合とパノラマステッチ

OpenEXR

HDR結合

HDR結合は線形空間でおこなう

露出違いで撮影した画像にゲイン調整したのち閾値で合成する

Scene-linearCamera

RAW

カメラ色空間

Page 29: GWORLD vol.189 第一特集:36ページ 年 月号 『実践 … · Academy olor Encoding Specification (AES) STC S-2008-001 Academy Color Encoding Specification (ACES)

IBL用HDRI精度の影響

Page 30: GWORLD vol.189 第一特集:36ページ 年 月号 『実践 … · Academy olor Encoding Specification (AES) STC S-2008-001 Academy Color Encoding Specification (ACES)

IBLに使うHDRI精度の影響

100000.14

0.05

0.37

1000.14

0.05

0.37

既知の反射率を持つ物体:

X-Riteカラーチェッカーの反射率をもったCGマテリアル

太陽輝度を補正したHDR太陽輝度の精度が不足したHDR

Page 31: GWORLD vol.189 第一特集:36ページ 年 月号 『実践 … · Academy olor Encoding Specification (AES) STC S-2008-001 Academy Color Encoding Specification (ACES)

レンダリングに用いるカラーチェッカー

カラーチェッカーのACESRGB値は、ISO国際標準(ISO 17321-1)の値を変換したもの

SMPTE ST 2065-1:2012Academy Color Encoding Specification(ACES)

STC S-2008-001Academy Color Encoding Specification (ACES)

表面反射と拡散反射を含んだ反射率としてマテリアルに適用

Page 32: GWORLD vol.189 第一特集:36ページ 年 月号 『実践 … · Academy olor Encoding Specification (AES) STC S-2008-001 Academy Color Encoding Specification (ACES)

A light ray traveling from one medium to another, scattering inside the object

The Comprehensive PBR Guide – vol.1

表面反射と拡散反射

Page 33: GWORLD vol.189 第一特集:36ページ 年 月号 『実践 … · Academy olor Encoding Specification (AES) STC S-2008-001 Academy Color Encoding Specification (ACES)

精度不足のHDRIでレンダーした画像太陽輝度を補正したHDRでレンダーした画像

IBLに使うHDRI精度の影響

Page 34: GWORLD vol.189 第一特集:36ページ 年 月号 『実践 … · Academy olor Encoding Specification (AES) STC S-2008-001 Academy Color Encoding Specification (ACES)

IBLライティングの精度とシェーディング

Page 35: GWORLD vol.189 第一特集:36ページ 年 月号 『実践 … · Academy olor Encoding Specification (AES) STC S-2008-001 Academy Color Encoding Specification (ACES)

“evening-glow”

PM4:00

contrast-high

reddish white

“early-morning”

AM6:00

contrast-low

blueish white

“daytime-parking”

PM2:30

contrast-middle

neutral white

ホワイトバランス固定の効果

意図的なホワイトのずれによる効果

Page 36: GWORLD vol.189 第一特集:36ページ 年 月号 『実践 … · Academy olor Encoding Specification (AES) STC S-2008-001 Academy Color Encoding Specification (ACES)

20%

50%

25%

500%30000%

ルックデベロップメント環境

930,000%

5%

35%

16%

高コントラストの日中晴天の駐車場のシーン

低コントラストの朝の曇り空のシーン 低コントラストの朝の曇り空のシーン 高コントラストの日中晴天の駐車場のシーン

Page 37: GWORLD vol.189 第一特集:36ページ 年 月号 『実践 … · Academy olor Encoding Specification (AES) STC S-2008-001 Academy Color Encoding Specification (ACES)
Page 38: GWORLD vol.189 第一特集:36ページ 年 月号 『実践 … · Academy olor Encoding Specification (AES) STC S-2008-001 Academy Color Encoding Specification (ACES)

Digital Camera RGB Scene-linear ACES RGB

IDT3x3

Matrix

IDT3x3

Matrix

Exposure

Whitebalance

De-noise

Stitching

360°ビデオ

OpenEXR

CG Software

・異なるカメラのACES上でのマッチング及びステッチング

Sync Generator

Page 39: GWORLD vol.189 第一特集:36ページ 年 月号 『実践 … · Academy olor Encoding Specification (AES) STC S-2008-001 Academy Color Encoding Specification (ACES)

まとめ

・撮影時は線形性の高いRAW画像で収録

・シーン輝度を忠実に表すHDRI画像が望ましい

・高精度なシーンリニアのHDRI画像がVFXに多大なる

メリットをもたらす。

・太陽輝度はカメラで収録することができないため、

ポストプロセスで補完する。

・HDRI作成時のフォーマットは、シーンリニア/ACESを用いる

・今後の需要が見込まれる360度ビデオの作成には、HDRI作成お

よび編集と同様の技術が必要となる