CalBackProject implement
Hi everyone, I want to make my own function calbackProject in c++. Can you help to give some instructions to do? Thank you!
Asked: 2016-11-08 17:07:26 -0600
Seen: 274 times
Last updated: Nov 08 '16
can you try to give some more explanation ?
Here is the description, but I am not clear enough to do. The functions calcBackProject calculate the back project of the histogram. That is, similarly to calcHist , at each location (x, y) the function collects the values from the selected channels in the input images and finds the corresponding histogram bin. But instead of incrementing it, the function reads the bin value, scales it by scale , and stores in backProject(x,y) . In terms of statistics, the function computes a probability of each element value in respect with the empirical probability distribution represented by the histogram.