Ask Your Question

jorjazo's profile - activity

2013-10-31 13:30:19 -0600 commented question Is it possible for calcHist to return a hist with NaN

I have the same problem when I try to calculate a histogram over an image with only one color (e.g. a matrix full of CV_RGB(0,0,250)'s). I do this many times and in random instances the output histogram is full of NaN values.