Extracting Depth and Matte using a Color-Filtered Aperture

Post on 06-Jan-2016

43 views 2 download

description

Extracting Depth and Matte using a Color-Filtered Aperture. Extracting Depth and Matte using a Color-Filtered Aperture. 簡介 準備 原理 裁切 範例 比較. 簡介. 單一取景 深度資訊 RGB 分離造成偏移 相近色背景也可取出主體. 準備. 安裝分色濾鏡. 準備. 安裝分色濾鏡. 準備. 安裝分色濾鏡. 準備. 安裝分色濾鏡. 原理. 原理. 原理. 原理. 三種顏色,三個面 I r I g I b. - PowerPoint PPT Presentation

Transcript of Extracting Depth and Matte using a Color-Filtered Aperture

Extracting Depth and Matte using a Color-Filtered Aperture

Extracting Depth and Matte using a Color-Filtered Aperture

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

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

準備• 安裝分色濾鏡

準備• 安裝分色濾鏡

準備• 安裝分色濾鏡

準備• 安裝分色濾鏡

原理

原理

原理

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

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

原理• 畫面分割為小視窗

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

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

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

• 最小化

原理

裁切

裁切

裁切

裁切

裁切

裁切• 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).

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

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

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

裁切

決定下個 α

範例

比較