2015-04-22 01:41:20 -0600 | asked a question | How to calculate histogram using every nth pixel opencv I'm using this opencv function for calculate the histogram(For blue color). Here we use all pixels in the image for calculate the histogram. Assume that I need to calculate the histogram using every 10th pixel or 100th pixel. Is there an efficient way to do this? I need to do this because I think it may increase the performances in histogram calculation even though some details are lossed. |