Top Banner
15

Point Processing (Szeliski 3.1) cs129: Computational Photography James Hays, Brown, Fall 2012 Some figures from Alexei Efros, Steve Seitz, and Gonzalez.

Dec 31, 2015

Download

Documents

Ezra Rodgers
Welcome message from author
This document is posted to help you gain knowledge. Please leave a comment to let me know what you think about it! Share it to your friends and learn new things together.
Transcript
Page 1: Point Processing (Szeliski 3.1) cs129: Computational Photography James Hays, Brown, Fall 2012 Some figures from Alexei Efros, Steve Seitz, and Gonzalez.
Page 2: Point Processing (Szeliski 3.1) cs129: Computational Photography James Hays, Brown, Fall 2012 Some figures from Alexei Efros, Steve Seitz, and Gonzalez.
Page 3: Point Processing (Szeliski 3.1) cs129: Computational Photography James Hays, Brown, Fall 2012 Some figures from Alexei Efros, Steve Seitz, and Gonzalez.

Point Processing (Szeliski 3.1)

cs129: Computational PhotographyJames Hays, Brown, Fall 2012Some figures from Alexei Efros,

Steve Seitz, and Gonzalez et al.

Page 4: Point Processing (Szeliski 3.1) cs129: Computational Photography James Hays, Brown, Fall 2012 Some figures from Alexei Efros, Steve Seitz, and Gonzalez.

Image Processing

image filtering: change range of imageg(x) = h(f(x))

f

x

hf

x

f

x

hf

x

image warping: change domain of imageg(x) = f(h(x))

Page 5: Point Processing (Szeliski 3.1) cs129: Computational Photography James Hays, Brown, Fall 2012 Some figures from Alexei Efros, Steve Seitz, and Gonzalez.

Image Processing

h

h

f

f g

g

image filtering: change range of image

g(x) = h(f(x))

image warping: change domain of imageg(x) = f(h(x))

Page 6: Point Processing (Szeliski 3.1) cs129: Computational Photography James Hays, Brown, Fall 2012 Some figures from Alexei Efros, Steve Seitz, and Gonzalez.

Point Processing

The simplest kind of range transformations are these independent of position x,y:

g = t(f)

This is called point processing.

What can they do?

What’s the form of t?

Important: every pixel for himself – spatial information completely lost!

Page 7: Point Processing (Szeliski 3.1) cs129: Computational Photography James Hays, Brown, Fall 2012 Some figures from Alexei Efros, Steve Seitz, and Gonzalez.

Negative

Page 8: Point Processing (Szeliski 3.1) cs129: Computational Photography James Hays, Brown, Fall 2012 Some figures from Alexei Efros, Steve Seitz, and Gonzalez.

Basic Point Processing

Page 9: Point Processing (Szeliski 3.1) cs129: Computational Photography James Hays, Brown, Fall 2012 Some figures from Alexei Efros, Steve Seitz, and Gonzalez.

Log

Page 10: Point Processing (Szeliski 3.1) cs129: Computational Photography James Hays, Brown, Fall 2012 Some figures from Alexei Efros, Steve Seitz, and Gonzalez.

For example: Gamma “correction”

Is an instance of these power law intensity transformations.

Typically, gamma = 2.2 for a display device, and 1/2.2 for encoding.

The result is a more perceptually uniform encoding.

Page 11: Point Processing (Szeliski 3.1) cs129: Computational Photography James Hays, Brown, Fall 2012 Some figures from Alexei Efros, Steve Seitz, and Gonzalez.

Gamma “correction”

Page 12: Point Processing (Szeliski 3.1) cs129: Computational Photography James Hays, Brown, Fall 2012 Some figures from Alexei Efros, Steve Seitz, and Gonzalez.

Contrast Stretching

Page 13: Point Processing (Szeliski 3.1) cs129: Computational Photography James Hays, Brown, Fall 2012 Some figures from Alexei Efros, Steve Seitz, and Gonzalez.

Image Histograms

Cumulative Histograms

s = T(r)

Page 14: Point Processing (Szeliski 3.1) cs129: Computational Photography James Hays, Brown, Fall 2012 Some figures from Alexei Efros, Steve Seitz, and Gonzalez.

Histogram Equalization

Page 15: Point Processing (Szeliski 3.1) cs129: Computational Photography James Hays, Brown, Fall 2012 Some figures from Alexei Efros, Steve Seitz, and Gonzalez.

Limitations of Point Processing

Q: What happens if I reshuffle all pixels within the image?

A: It’s histogram won’t change. No point processing will be affected…