extracting depth and matte using a color-filtered aperture

24
Extracting Depth and Matte using a Color- Filtered Aperture

Post on 20-Dec-2015

234 views

Category:

Documents


4 download

TRANSCRIPT

Page 1: Extracting Depth and Matte using a Color-Filtered Aperture

Extracting Depth and Matte using a Color-Filtered Aperture

Page 2: Extracting Depth and Matte using a Color-Filtered Aperture

Extracting Depth and Matte using a Color-Filtered Aperture

• 簡介• 準備• 原理• 裁切• 範例• 比較

Page 3: Extracting Depth and Matte using a Color-Filtered Aperture

簡介• 單一取景• 深度資訊• RGB 分離造成偏移• 相近色背景也可取出主體

Page 4: Extracting Depth and Matte using a Color-Filtered Aperture

準備• 安裝分色濾鏡

Page 5: Extracting Depth and Matte using a Color-Filtered Aperture

準備• 安裝分色濾鏡

Page 6: Extracting Depth and Matte using a Color-Filtered Aperture

準備• 安裝分色濾鏡

Page 7: Extracting Depth and Matte using a Color-Filtered Aperture

準備• 安裝分色濾鏡

Page 8: Extracting Depth and Matte using a Color-Filtered Aperture

原理

Page 9: Extracting Depth and Matte using a Color-Filtered Aperture

原理

Page 10: Extracting Depth and Matte using a Color-Filtered Aperture

原理

Page 11: Extracting Depth and Matte using a Color-Filtered Aperture

原理• 三種顏色,三個面 Ir Ig Ib

• Ir(x+d, y), Ig(x, y−d), Ib(x−d, y)

Page 12: Extracting Depth and Matte using a Color-Filtered Aperture

原理• 畫面分割為小視窗

Page 13: Extracting Depth and Matte using a Color-Filtered Aperture

原理• 畫面分割為小視窗• SI (x, y; d) =

{(Ir(s+d, t), Ig(s, t−d), Ib(s−d, t))

| (s, t) ∈ w(x, y)}

• 最小化

Page 14: Extracting Depth and Matte using a Color-Filtered Aperture

原理

Page 15: Extracting Depth and Matte using a Color-Filtered Aperture

裁切

Page 16: Extracting Depth and Matte using a Color-Filtered Aperture

裁切

Page 17: Extracting Depth and Matte using a Color-Filtered Aperture

裁切

Page 18: Extracting Depth and Matte using a Color-Filtered Aperture

裁切

Page 19: Extracting Depth and Matte using a Color-Filtered Aperture

裁切

Page 20: Extracting Depth and Matte using a Color-Filtered Aperture

裁切• SF (x, y; d) =

{(Fr(s+d, t), Fg(s, t−d), Fb(s−d, t))

| (s, t) ∈ w(x, y)}

li is the distance of the i-th color in SF (x, y; d) from the line fitted to the elongated color cluster(i.e., the first principal axis).

Page 21: Extracting Depth and Matte using a Color-Filtered Aperture

裁切• SF (x, y; d) =

{(Fr(s+d, t), Fg(s, t−d), Fb(s−d, t))

| (s, t) ∈ w(x, y)}

Page 22: Extracting Depth and Matte using a Color-Filtered Aperture

裁切

決定下個 α

Page 23: Extracting Depth and Matte using a Color-Filtered Aperture

範例

Page 24: Extracting Depth and Matte using a Color-Filtered Aperture

比較