Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

You could just loop over every element in the matrix and do a floor on it. For loops are optimized in opencv so there should be no compromise on speed, but if you were looking for something that could be written in one line then I guess this is not the answer for you. I haven't seen any such functions in opencv, though I am currently new to it.