Click here to Skip to main content
15,885,877 members
Please Sign up or sign in to vote.
1.00/5 (1 vote)
See more:
calcHist(&srcImage,1,c,_mask,histMat,_channels.size(),h,(const float **)ranges, true, accumulate);

what is the meaning of each parameter in this function and how can i get the value of each
i don't understand what channels, ranges, mask, c, h, and accumulate and what about these values
i have just the image which i need it's histogram

thanks in advance
Posted

1 solution

What is wrong with the explanation of the documentation[^]?
 
Share this answer
 
Comments
MSMHMA 25-May-14 20:30pm    
thanks a lot but i now have a problem with channels meaning in my histogram what is the meaning of channel
Nelek 26-May-14 3:45am    
I didn't say I know the answer, I just gave you a link I found with the information you were asking. I suppose that the channels are the different sources for your array of data. I can't tell you how it is, but if you search for information about histograms (probably a statitistic site will have good information about it) then you can learn the theory of it and combine it with the function of OpenCV
MSMHMA 25-May-14 20:35pm    
what is the meaning of
1.we calculate the histogram from 0,1 channels
2.channels={0,1}

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900