2014年6月6日 星期五

[HW4] Skin Detection with HSV

The R,G,B values are divided by 255 to change the range from 0..255 to 0..1:

R' = R/255
G' = G/255
B' = B/255
Cmax = max(R', G', B')
Cmin = min(R', G', B')
Δ = Cmax - Cmin

Hue calculation:

Saturation calculation:

Value calculation:
V = Cmax

The skin in channel H is characterized by values between 0 and 50, in the channel S from 0.23 to 0.68 for Asian and Caucasian ethnics.
Origin Picture

Skin Detection

沒有留言:

張貼留言