myMat.at<unsigned short="">(row,col) += 1
Why is that operation so slow? Why is that slower than increasing an INT (or 100 INTs for that matter) for example? If I want to make a lot of this type of calls, what would be the most efficient way?
1 | initial version |
myMat.at<unsigned short="">(row,col) += 1
Why is that operation so slow? Why is that slower than increasing an INT (or 100 INTs for that matter) for example? If I want to make a lot of this type of calls, what would be the most efficient way?