Comparing Images Adopted from Frederic Heger 15-463: Computational Photography Alexei Efros, CMU,...

9
Comparing Images Adopted from Frederic Heger 15-463: Computational Photograph Alexei Efros, CMU, Fall 200
  • date post

    22-Dec-2015
  • Category

    Documents

  • view

    213
  • download

    0

Transcript of Comparing Images Adopted from Frederic Heger 15-463: Computational Photography Alexei Efros, CMU,...

Page 1: Comparing Images Adopted from Frederic Heger 15-463: Computational Photography Alexei Efros, CMU, Fall 2008.

Comparing Images

Adopted from Frederic Heger

15-463: Computational PhotographyAlexei Efros, CMU, Fall 2008

Page 2: Comparing Images Adopted from Frederic Heger 15-463: Computational Photography Alexei Efros, CMU, Fall 2008.

Distance Metrics

-

-

-

= Euclidian distance of 5 units

= Grayvalue distance of 50 values

= ?

x

y

x

y

Page 3: Comparing Images Adopted from Frederic Heger 15-463: Computational Photography Alexei Efros, CMU, Fall 2008.

Beyond SSD…

?

Page 4: Comparing Images Adopted from Frederic Heger 15-463: Computational Photography Alexei Efros, CMU, Fall 2008.

Space Shuttle Cargo Bay

Image Representations: Histograms

global histogram•Represent distribution of features

• Color, texture, depth, …

Images from Dave Kauchak

Page 5: Comparing Images Adopted from Frederic Heger 15-463: Computational Photography Alexei Efros, CMU, Fall 2008.

Image Representations: Histograms

Joint histogram• Requires lots of data• Loss of resolution to

avoid empty bins

Images from Dave Kauchak

Marginal histogram• Requires independent features• More data/bin than

joint histogram

Page 6: Comparing Images Adopted from Frederic Heger 15-463: Computational Photography Alexei Efros, CMU, Fall 2008.

Space Shuttle Cargo Bay

Image Representations: Histograms

Adaptive binning• Better data/bin distribution, fewer empty bins• Can adapt available resolution to relative feature importance

Images from Dave Kauchak

Page 7: Comparing Images Adopted from Frederic Heger 15-463: Computational Photography Alexei Efros, CMU, Fall 2008.

EASE Truss Assembly

Space Shuttle Cargo Bay

Image Representations: Histograms

Clusters / Signatures• “super-adaptive” binning• Does not require discretization along any fixed axis

Images from Dave Kauchak

Page 8: Comparing Images Adopted from Frederic Heger 15-463: Computational Photography Alexei Efros, CMU, Fall 2008.

Issue: How to Compare Histograms?

Bin-by-bin comparisonSensitive to bin size. Could use wider bins …… but at a loss of resolution

Cross-bin comparisonHow much cross-bin influence is necessary/sufficient?

Page 9: Comparing Images Adopted from Frederic Heger 15-463: Computational Photography Alexei Efros, CMU, Fall 2008.

Red Car Retrievals (Color histograms)

K

m ji

jiji mhmh

mhmhhh

1

22

)()(

)]()([

2

1),(

Histogram matching distance