2018-06-13 21:16:19 -0600 | received badge | ● Notable Question (source) |
2016-04-09 02:28:58 -0600 | received badge | ● Popular Question (source) |
2014-01-18 21:23:51 -0600 | received badge | ● Student (source) |
2013-08-02 12:42:49 -0600 | asked a question | Proper(fast) way to extract pixel data from Mat in Java Suspect I'm doing evil and want to know the right way. I'm needing to copy a MAT of type CV_8UC3 into a Java BufferedImage. I was offered some code to do this, but it's taking excessive time - 34msec/frame for 640x480 image on my 8 core i7 The code (below) gets each pixel from the Mat via a get call. commenting out this line reduces conversion time to 3msec. Is there a way to get pixels in bigger batches? I'm new to OpenCV in Java, may be missing something simple. condensing a bit |
2013-08-01 19:42:11 -0600 | commented answer | Opencv java - Load image to GUI On my system converting my 640x480 camera's images this way is taking a breathtaking 40 msec or so. Yet another edit would be received with delight |