First time here? Check out the FAQ!
answered 2012-09-06 03:16:23 -0600
gpu::calcHist function can't work with arbitrary submatrix, because it works only with aligned pointers. You can use any row range, but column range must be aligned (yr.start % 4 == 0).