First time here? Check out the FAQ!
answered 2014-04-11 02:12:33 -0600
The histogram is a float-matrix, i.e. you need to call it with .at<float>. Note, the histogram is also normalized in the end, i.e. contains only values between 0 and 1.