1 | initial version |
The histogram calculation function is exactly what you need. What they mean is that you have to perform the histogram calculation on rows and colums. As input you see the image, which is of the Mat type. This can be either a 2D image, or a 1D row or column.