Docsity

Thinking in Frequency - Introduction to Computer Version - Lecture Sli, Lecture notes of Computer Science

Partial preview of the text

Download Thinking in Frequency - Introduction to Computer Version - Lecture Sli and more Lecture notes Computer Science in PDF only on Docsity!

Review: questions

  1. Write down a 3x3 filter that returns a positive value if the average value of the 4-adjacent neighbors is less than the center and a negative value otherwise
  2. Write down a filter that will compute the gradient in the x-direction: gradx(y,x) = im(y,x+1)-im(y,x) for each x, y

Slide: HoiemDocsity.com

Review: questions

  1. Fill in the blanks:

a) _ = D * B b) A = _ * _ c) F = D * _ d) _ = D * D

A

B

C

D

E

F

G

H I

Filtering Operator

Slide: HoiemDocsity.com

Why does the Gaussian give a nice smooth image, but the square filter give edgy artifacts?

Gaussian Box filter

Hybrid Images

  • A. Oliva, A. Torralba, P.G. Schyns, “Hybrid Images,” SIGGRAPH 2006 Docsity.com

Why does a lower resolution image still make sense to us? What do we lose?

Image: http://www.flickr.com/photos/igorms/136916757/ Slide: HoiemDocsity.com

Thinking in terms of frequency

A sum of sines

Our building block:

Add enough of them to get any signal f(x) you want!

A sin( x 

Frequency Spectra

  • example : g ( t ) = sin( 2 πf t ) + ( 1/3 )sin( 2 π ( 3f ) t )

= (^) +

Slides: EfrosDocsity.com

= (^) +

=

Frequency Spectra

= (^) +

=

Frequency Spectra

= (^) +

=

Frequency Spectra

= (^) +

=

Frequency Spectra