Ask Your Question

What should I do for multiple histograms?

asked 2014-06-15 13:27:06 -0600

Hello. I'm working with openCV and I'm a newbie in this field. I'm researching about Camshift. I want to extend this method by using multiple histograms. It means when tracking an object has many than one apperance (ex: rubik cube with six apperance), if we use only one histogram, Camshift will most likely fail.

I know calcHist function in openCV ( has a parameter is "accumulate", but I don't know how to use and when to use (apply for camshiftdemo.cpp in opencv samples folder). This function can help me solve this problem? Or I have to use difference solution?

I have an idea, that is: create an array histogram for object, for every appearance condition that strongly varies in color, we pre-compute and store all to this array. But when we compute new histogram? It means that the pre-condition to start compute new histogram is what?

Everybody please help me. Thank you so much!

edit retag flag offensive close merge delete

1 answer

Sort by ยป oldest newest most voted

answered 2014-11-15 12:03:56 -0600


Have you found a solution to your problem?

I am working on the same algorithm and I am wondering how to set a criteria to understand when the appearance of the target object varies strongly.

Thanks in advance

edit flag offensive delete link more

Question Tools


Asked: 2014-06-15 13:27:06 -0600

Seen: 330 times

Last updated: Nov 15 '14