Digital%20Photography%20with%20Flash%20and%20No-Flash%20Image%20Pairs - PowerPoint PPT Presentation

About This Presentation
Title:

Digital%20Photography%20with%20Flash%20and%20No-Flash%20Image%20Pairs

Description:

Digital Photography with Flash and No-Flash Image Pairs. Gabriela Mart nez ... GONZALEZ.,R., Digital Image Processing using MATLAB. Editorial Prentice Hall. ... – PowerPoint PPT presentation

Number of Views:249
Avg rating:3.0/5.0
Slides: 21
Provided by: w3I
Category:

less

Transcript and Presenter's Notes

Title: Digital%20Photography%20with%20Flash%20and%20No-Flash%20Image%20Pairs


1
Digital Photography with Flash and No-Flash Image
Pairs
  • Gabriela Martínez
  • Processamento de Imagem
  • IMPA

2
Red eyes Detection
  • The idea here is to compute the "red" difference
    in both images and keep the extreme points.
  • Here the challenge becomes which color space to
    use.

3
Red eyes Detection
  • RGB - ineffective since RGB is correlated with
    luminosity
  • HSV - ineffective because redness difference is
    split among S and V
  • YCrCb - ok

4
Red eyes Detection
  • First we segment the "chrominance" difference
    image using a low threshold. This gives a binary
    image of a few probable blobs that could be
    considered as red-eye.
  • The next step is to only select the blobs which
    pass the high threshold. We obtain a rather
    robust classification.

5
Red eyes Detection
  • CIE Lab - effective since a is a luminosity
    independent measure of red
  • But if there is another surface that reflects red
    light in the image, we could have troubles.

6
Implementation
  • Using Matlab's Image Processing Tool box.
  • Calculate RFCr-ACr , where F is the flash
    image and A is the ambient image.
  • Create detection mask
  • Find seed pixels with command find and mark them
    with bwselect function.

7
Results
8
Results
9
Results
10
Denoising and Detail Transfer
  • Reducing noise in photographic images,
    long-standing problem.
  • Classical solution Bilateral Filter proposed by
    Tomasi and Manduchi 1998.

11
Denoising and Detail Transfer
  • Bilateral filter average together pixels
    spatiually near and have similar intensity
    values.
  • Ap(1/k(p))sum(gd(p'-p)gr(Ap-Ap')Ap')
  • k(p)sum(gd(p'-p)gr(Ap-Ap'))
  • gd, gr are Gaussians with width controlled sigd
    (geometric closeness), sigr (intensity range)

12
Denoising and Detail Transfer
  • Joint Bilateral filter Relies on the flash
    image as an estimator of the ambient image.
  • Ap(1/k(p))sum(gd(p'-p)gr(Fp-Fp')Ap')
  • k(p)sum(gd(p'-p)gr(Fp-Fp'))
  • gd, gr are Gaussians with width controlled sigd
    (geometric closeness), sigr (intensity range)

13
Algorithm
  • Bilateral Filter calcule A_base, F_base
  • Calcule F_detail(F0.02)/(F_base0.02)
  • Joint Bilateral Filter calcule A_nr
  • Calcule shadow mask diff(F,A) lttshadow
  • Result (1-M)A_nrF_detailMA_base

14
Results
15
Results
16
Results
17
Results
18
Results
19
Results
20
References
  • PETSCHNIGG.,G., Digital Photography with Flash
    and No-Flash Image Pairs. ACM 2004
  • GONZALEZ.,R., Digital Image Processing using
    MATLAB. Editorial Prentice Hall.
  • http//graphics.standford.edu/georgp/vision.htm
  • Bilateral Filtering for Gray and Color Images.
  • http//homepages.inf.ed.ac.uk/rbf/CVonline/LOCAL_C
    OPIES/MANDUCHI1/Bilateral_Filtering.html
Write a Comment
User Comments (0)
About PowerShow.com