Docsity

Binary Images-Introduction to Computer Vision-Lecture 10-Computer Science, Lecture notes of Computer Vision

Toggle sidebar
bg1
Intro to Computer Vision
Lecture 10
Greg Shakhnarovich
May 4, 2010
pf3
pf4
pf5
pf8
pf9
pfa
pfd
pfe
pff
pf12
pf13
pf14
pf15
pf16
pf17
pf18
pf19
pf1a
pf1b
pf1c
pf1d
pf1e
pf1f
pf20
pf21
pf22
pf23
pf24
pf25
pf26
pf27
pf28
pf29
pf2a
pf2b
pf2c
pf2d
pf2e
pf2f
pf30
pf31
pf32
pf33
pf34
pf35
pf36
pf37
pf38
pf39
pf3a
pf3b
pf3c
pf3d
pf3e
pf3f
pf40
pf41
pf42
pf43
pf44
pf45
pf46
pf47
pf48
pf49
pf4a
pf4b
pf4c
pf4d
pf4e
pf4f
pf50
pf51
pf52
pf53
pf54
pf55
pf56

Partial preview of the text

Download Binary Images-Introduction to Computer Vision-Lecture 10-Computer Science and more Lecture notes Computer Vision in PDF only on Docsity!

Intro to Computer Vision

Lecture 10

Greg Shakhnarovich

May 4, 2010

Review

Example: skin detection

Jones & Rehg 1999: model of skin color distribution from 13,

images (≈ 1 billion labeled pixels)

Example: skin detection

Given a probability models p(r, g, b | skin) and p(r, g, b) we can

classify a pixel as skin or non-skin, using Bayes rule:

p(skin | r, g, b =

p(r, g, b | skin)p(skin)

p(r, g, b)

By thresholding the value of

p(skin | r, g, b) we get a binary image

Jones & Rehg 1999

Chroma-key detection

from http://mathsci.ucd.ie/met/msc/fezzik/

Example: silhouette

Common problem: foreground-background segmentation

find objects (foreground) on top of otherwise (almost) static

background

Figure: B. Tamersoy/K. Grauman

Binary image morphology

Morphology: theory (and a set of tools) for mathematical analysis

and manipulation of 2D geometrical structures (shapes)

Operations on binary images based on neighborhoods, represented

by the structuring element

Most common SE (with center denoted by circle):

square plus disk (approx.)

Dilation: intuition

Figure: R. A. Peters, http://www.archive.org/details/Lectures on Image Processing

Dilation with structuring element

Computing D = Dilate(I): place SE at each pixel (x, y) in I

If any pixel of I covered by SE is 1, set D(x, y) = 1.

Dilation with structuring element

Computing D = Dilate(I): place SE at each pixel (x, y) in I

If any pixel of I covered by SE is 1, set D(x, y) = 1.

Dilation with structuring element

Computing D = Dilate(I): place SE at each pixel (x, y) in I

If any pixel of I covered by SE is 1, set D(x, y) = 1.

Dilation with structuring element

Computing D = Dilate(I): place SE at each pixel (x, y) in I

If any pixel of I covered by SE is 1, set D(x, y) = 1.

Dilation with structuring element

Computing D = Dilate(I): place SE at each pixel (x, y) in I

If any pixel of I covered by SE is 1, set D(x, y) = 1.

Dilation with structuring element

Computing D = Dilate(I): place SE at each pixel (x, y) in I

If any pixel of I covered by SE is 1, set D(x, y) = 1.