 |
 |
 |
 |
 |
 |
 |
 |
|
|
Learning conditional PDF’s
|
|
|
|
|
 |
|
|
|
 |
 |
 |
 |
 |
 |
 |
We can calculate
P(R | skin) from a set of training images
|
|
|
|
• |
It is simply a
histogram over the pixels in the training images
|
|
|
– |
each
bin Ri contains the proportion of skin pixels with color Ri
|
|
|
|
|
|
|
|
 |
 |
 |
 |
But this isn’t
quite what we want
|
|
|
|
• |
Why not? How to determine if a pixel is skin?
|
|
|
|
|
 |
 |
 |
| • |
We want P(skin |
R) not P(R | skin)
|
|
| • |
How can we get
it?
|
|
|
|
|