Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

change Mat element values are slow

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?