2017-07-11 16:15:07 -0600 | commented answer | How to compile nonfree module in opencv 3.0 beta ? you should check the flag OPENCV_ENABLE_NON_FREE before generate the solution in cmake |
2014-02-11 15:26:20 -0600 | asked a question | Assign bytes within of Mat with float values I need assign values in M (a variable type Mat) with values CV_32FC1 (float), but is long time at size of 10000x10000. i.e: the code above required 1 second aprox. Other form I see, is defining a union (copy bytes): That is much faster that first. But not working. I tried doing: But not working. And: is very slow also. I need to know how to copy the bytes of the new_value correctly within of M. |