Ask Your Question
0

intersection compare

asked 2016-03-17 06:58:46 -0600

baro gravatar image

hallo at all! could you tell me with simple words what is the intersection in compareHist? I would know the theory of intersection(CV_COMP_INTERSECT) for compare two rgb histogram. thanks you at all

edit retag flag offensive close merge delete

1 answer

Sort by ยป oldest newest most voted
1

answered 2016-03-17 09:46:19 -0600

berak gravatar image

updated 2016-03-17 09:47:57 -0600

intersection distance is just summing up the (per element) minimum of the 2, so , if you have 2 histograms,

A = [3,5,6]
B = [11,2,5]

their intersection distance is:

min(3,11) + min(5,2) + min(6,5) == 3 + 2 + 5 == 10
edit flag offensive delete link more

Question Tools

1 follower

Stats

Asked: 2016-03-17 06:58:46 -0600

Seen: 173 times

Last updated: Mar 17 '16

Related questions