Compute histogram of CV_32S Mat
Can I do that ? Seems like i cant since it only accepts 8 bit char or 32 bit floating. My matrix has values higher than 255 it is not an image
Can I do that ? Seems like i cant since it only accepts 8 bit char or 32 bit floating. My matrix has values higher than 255 it is not an image
Asked: 2016-08-16 07:43:30 -0600
Seen: 81 times
Last updated: Aug 16 '16
python opencv compare histograms
calcHist with GpuMat submatrix
Percentage of color in a frame of video
How to create a histogram from a table of values?
Best Histogram Comparison Method
How to get histogram of a rectangular area (ROI) of an image?
Calculate histogram along line
As the docs say, it is only implemented for 8bit images. So either first rescale your matrix data somehow, or start coding your own binning and histogram generation.
Thanks ! I already tried rescaling. Was just wondering if there was a generalized histogram function
Nope there is not, but you can always add it to the library using a pull request!