25
Swain and Ballard’s Histogram Matching
for Color Object Recognition
Opponent Encoding:
Histograms: 8 x 16 x 16 = 2048 bins
Intersection of image histogram and model histogram:
Match score is the normalized intersection:
• wb = R + G + B
• rg = R - G
• by = 2B - R - G
intersection(h(I),h(M)) = ĺ min{h(I)[j],h(M)[j]}
match(h(I),h(M)) = intersection(h(I),h(M)) / ĺ h(M)[j]
j=1
numbins
j=1
numbins