32
CS143 Intro to Computer Vision Brown University Introduction to Computer Vision Michael J. Black Object Recognition

Introduction to Computer Vision - Brown Universitycs.brown.edu/courses/cs143/2009/ObjectRecogPart3.pdf · 2009. 12. 2. · Computer Vision Brown University Parts Learn parts from

  • Upload
    others

  • View
    2

  • Download
    0

Embed Size (px)

Citation preview

Page 1: Introduction to Computer Vision - Brown Universitycs.brown.edu/courses/cs143/2009/ObjectRecogPart3.pdf · 2009. 12. 2. · Computer Vision Brown University Parts Learn parts from

CS143 Intro to

Computer Vision

Brown University

Introduction to Computer

Vision

Michael J. Black

Object Recognition

Page 2: Introduction to Computer Vision - Brown Universitycs.brown.edu/courses/cs143/2009/ObjectRecogPart3.pdf · 2009. 12. 2. · Computer Vision Brown University Parts Learn parts from

News

• All assignments graded.

• Project due date is Dec 16 and it is a hard

deadline!

• I have to submit grades by Dec 18.

Page 3: Introduction to Computer Vision - Brown Universitycs.brown.edu/courses/cs143/2009/ObjectRecogPart3.pdf · 2009. 12. 2. · Computer Vision Brown University Parts Learn parts from

• Representation

– How to represent an object category

• Learning

– How to form the classifier, given training data

• Recognition

– How the classifier is to be used on novel data

Page 4: Introduction to Computer Vision - Brown Universitycs.brown.edu/courses/cs143/2009/ObjectRecogPart3.pdf · 2009. 12. 2. · Computer Vision Brown University Parts Learn parts from
Page 5: Introduction to Computer Vision - Brown Universitycs.brown.edu/courses/cs143/2009/ObjectRecogPart3.pdf · 2009. 12. 2. · Computer Vision Brown University Parts Learn parts from

Fei-Fei et al. 2005

Page 6: Introduction to Computer Vision - Brown Universitycs.brown.edu/courses/cs143/2009/ObjectRecogPart3.pdf · 2009. 12. 2. · Computer Vision Brown University Parts Learn parts from

…..

frequency

codewords

Page 7: Introduction to Computer Vision - Brown Universitycs.brown.edu/courses/cs143/2009/ObjectRecogPart3.pdf · 2009. 12. 2. · Computer Vision Brown University Parts Learn parts from

Problem with bag-of-words

• All have equal probability for bag-of-words methods

• Location information is important

Page 8: Introduction to Computer Vision - Brown Universitycs.brown.edu/courses/cs143/2009/ObjectRecogPart3.pdf · 2009. 12. 2. · Computer Vision Brown University Parts Learn parts from

Model: Parts and Structure

Page 9: Introduction to Computer Vision - Brown Universitycs.brown.edu/courses/cs143/2009/ObjectRecogPart3.pdf · 2009. 12. 2. · Computer Vision Brown University Parts Learn parts from

Representation of appearance

• Dependency structure

– Often assume each part’s

appearance is independent

– Common to assume independence with location

• Needs to handle intra-class variation

– Task is no longer matching of

descriptors

– Implicit variation (VQ to get discrete appearance)

– Explicit model of appearance (e.g.

Gaussians in SIFT space)

Page 10: Introduction to Computer Vision - Brown Universitycs.brown.edu/courses/cs143/2009/ObjectRecogPart3.pdf · 2009. 12. 2. · Computer Vision Brown University Parts Learn parts from

CS143 Intro to

Computer Vision

Brown University

Representing Objects

Fei-Fei Li.

Page 11: Introduction to Computer Vision - Brown Universitycs.brown.edu/courses/cs143/2009/ObjectRecogPart3.pdf · 2009. 12. 2. · Computer Vision Brown University Parts Learn parts from
Page 12: Introduction to Computer Vision - Brown Universitycs.brown.edu/courses/cs143/2009/ObjectRecogPart3.pdf · 2009. 12. 2. · Computer Vision Brown University Parts Learn parts from

Demo (2)

Page 13: Introduction to Computer Vision - Brown Universitycs.brown.edu/courses/cs143/2009/ObjectRecogPart3.pdf · 2009. 12. 2. · Computer Vision Brown University Parts Learn parts from

Demo (3)

Page 14: Introduction to Computer Vision - Brown Universitycs.brown.edu/courses/cs143/2009/ObjectRecogPart3.pdf · 2009. 12. 2. · Computer Vision Brown University Parts Learn parts from

Demo (4)

Page 15: Introduction to Computer Vision - Brown Universitycs.brown.edu/courses/cs143/2009/ObjectRecogPart3.pdf · 2009. 12. 2. · Computer Vision Brown University Parts Learn parts from

Demo: efficient methods

Page 16: Introduction to Computer Vision - Brown Universitycs.brown.edu/courses/cs143/2009/ObjectRecogPart3.pdf · 2009. 12. 2. · Computer Vision Brown University Parts Learn parts from

CS143 Intro to

Computer Vision

Brown University

Page 17: Introduction to Computer Vision - Brown Universitycs.brown.edu/courses/cs143/2009/ObjectRecogPart3.pdf · 2009. 12. 2. · Computer Vision Brown University Parts Learn parts from

CS143 Intro to

Computer Vision

Brown University

Page 18: Introduction to Computer Vision - Brown Universitycs.brown.edu/courses/cs143/2009/ObjectRecogPart3.pdf · 2009. 12. 2. · Computer Vision Brown University Parts Learn parts from

CS143 Intro to

Computer Vision

Brown University

Page 19: Introduction to Computer Vision - Brown Universitycs.brown.edu/courses/cs143/2009/ObjectRecogPart3.pdf · 2009. 12. 2. · Computer Vision Brown University Parts Learn parts from

CS143 Intro to

Computer Vision

Brown University

Parts Learn parts

from

examples.

Find interesting

points

(structure

tensor), find

similar ones,

use PCA to

model them.

Fro

m:

Rob F

erg

us h

ttp://w

ww

.robots

.ox.a

c.u

k/%

7E

ferg

us/

Page 20: Introduction to Computer Vision - Brown Universitycs.brown.edu/courses/cs143/2009/ObjectRecogPart3.pdf · 2009. 12. 2. · Computer Vision Brown University Parts Learn parts from

CS143 Intro to

Computer Vision

Brown University

Shape Given a “vocabulary” of parts,

learn a model of their spatial

relationships

Fro

m:

Rob F

erg

us h

ttp://w

ww

.robots

.ox.a

c.u

k/%

7E

ferg

us/

Page 21: Introduction to Computer Vision - Brown Universitycs.brown.edu/courses/cs143/2009/ObjectRecogPart3.pdf · 2009. 12. 2. · Computer Vision Brown University Parts Learn parts from

CS143 Intro to

Computer Vision

Brown University

Recognizing Objects

Fei-Fei Li.

Page 22: Introduction to Computer Vision - Brown Universitycs.brown.edu/courses/cs143/2009/ObjectRecogPart3.pdf · 2009. 12. 2. · Computer Vision Brown University Parts Learn parts from

~100 Things We’ve Learned

Pinhole camera

Perspective projection

Orthographic projection

Weak perspective

PCA

Eigenvalues

Eigenvectors

Inpainting

Markov random field

Particle filter

Image statistics

Continuation method

Graduated non-convexity

MAP estimate

Gaussian pyramid

Laplacian pyramid

Matlab

Linear filtering

Convolution

Gaussian

Gradient

Dimensionality reduction

Monte Carlo sampling

Convolution

Correlation

Projection

Finite differences

Steerable filter

Gradient magnitude

DoG

Template matching

Normalized correlation

SSD

Subspaces

Basis image

SVD

Eigenfaces

Histogram

Page 23: Introduction to Computer Vision - Brown Universitycs.brown.edu/courses/cs143/2009/ObjectRecogPart3.pdf · 2009. 12. 2. · Computer Vision Brown University Parts Learn parts from

~100 Things We’ve Learned

Random variable

Marginalize

Expectation

Statistical independence

Conditional independence

Joint probability

Conditional probability

Bayes Theorem

Likelihood

Prior

Classifier

Tracking

Regularization

Stereo

Posterior

Covariance

Structure tensor

Mahalanobis distance

Whitening

Denoising

Motion field

Optical flow

Taylor series

Brightness constancy

OFCE

Aperture problem

Outliers Rectification Epipole

Affine

Least squares

Generative model

Warping

Interpolation

Super resolution

Occlusion

Robust statistics

Influence function

Breakdown point

Gradient descent

Annealing

Discontinuities

Binocular disparity

Page 24: Introduction to Computer Vision - Brown Universitycs.brown.edu/courses/cs143/2009/ObjectRecogPart3.pdf · 2009. 12. 2. · Computer Vision Brown University Parts Learn parts from

~100 Things We’ve Learned

So are we done?

Page 25: Introduction to Computer Vision - Brown Universitycs.brown.edu/courses/cs143/2009/ObjectRecogPart3.pdf · 2009. 12. 2. · Computer Vision Brown University Parts Learn parts from

Timeline

Vision as AI

1975-1985

Lofty goals and early excitement.

Early view (50’s-60’s): Minsky thought the

vision sub-problem of AI could be solved by a single PhD student in a single

summer. Done. Move on.

Page 26: Introduction to Computer Vision - Brown Universitycs.brown.edu/courses/cs143/2009/ObjectRecogPart3.pdf · 2009. 12. 2. · Computer Vision Brown University Parts Learn parts from

Timeline

Vision as AI

1975-1985

Shattered dreams and early disappointment.

Page 27: Introduction to Computer Vision - Brown Universitycs.brown.edu/courses/cs143/2009/ObjectRecogPart3.pdf · 2009. 12. 2. · Computer Vision Brown University Parts Learn parts from

Timeline

Physics &

Geometry

1975-1985 1985-1995

Regroup, focus on the basics

* metric reconstruction, quantitative evaluation.

* optimization methods.

Page 28: Introduction to Computer Vision - Brown Universitycs.brown.edu/courses/cs143/2009/ObjectRecogPart3.pdf · 2009. 12. 2. · Computer Vision Brown University Parts Learn parts from

Timeline

Learning &

Applications

1975-1985 1985-1995 1995-2005

Trends: big disks, digital cameras, Firewire, fast processors, desktop

video.

Machine learning provides a new grounding.

Page 29: Introduction to Computer Vision - Brown Universitycs.brown.edu/courses/cs143/2009/ObjectRecogPart3.pdf · 2009. 12. 2. · Computer Vision Brown University Parts Learn parts from

Timeline

Learning &

Applications

1975-1985 1985-1995 1995-2005

Real applications. Eg for optical flow

What Dreams May Come 1998,

The Matrix 1999

Page 30: Introduction to Computer Vision - Brown Universitycs.brown.edu/courses/cs143/2009/ObjectRecogPart3.pdf · 2009. 12. 2. · Computer Vision Brown University Parts Learn parts from

Timeline

Integration

& Inference

1975-1985 1985-1995 1995-2005 2005-2015

Return to some of the early goals with new tools.

Page 31: Introduction to Computer Vision - Brown Universitycs.brown.edu/courses/cs143/2009/ObjectRecogPart3.pdf · 2009. 12. 2. · Computer Vision Brown University Parts Learn parts from

Timeline

Integration

& Inference

Bayesian inference &

Statistical models

1975-1985 1985-1995 1995-2005 2005-2015

Levitt & Binford

Page 32: Introduction to Computer Vision - Brown Universitycs.brown.edu/courses/cs143/2009/ObjectRecogPart3.pdf · 2009. 12. 2. · Computer Vision Brown University Parts Learn parts from

What is still far off?

* Here “vision” problem is trivial but explanation is hard.

Motion interpretation.

Heider&Simmel, 1944

<Play>