Ask Your Question

Revision history [back]

I just notice that "proj.at<unsigned short="">(row,col) += 1;", the last row in the loop is the big issue. if i remove that the time spent here goes from 90ms to something that I cant even measure. Any other way to increase a value in a Mat? gonna use it for HoughLines after the loop.

click to hide/show revision 2
No.2 Revision

I just notice that "proj.at<unsigned short="">(row,col) proj.at<unsigned short>(row,col) += 1;", 1;, the last row in the loop is the big issue. if i remove that the time spent here goes from 90ms to something that I cant even measure. Any other way to increase a value in a Mat? Mat? gonna use it for HoughLines HoughLines after the loop.