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 R
i
contains the proportion of skin pixels with color R
i
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?