2013-04-30 15:14:06 -0600 | commented answer | gpu::flip problem when src == dst Thanks, that make sense. Would be good to add an assertion anyway though to check if src==dst for functions that don't work in place, could save people a lot of trouble. |
2013-04-30 15:12:52 -0600 | received badge | ● Scholar (source) |
2013-04-30 00:15:29 -0600 | received badge | ● Student (source) |
2013-04-29 20:38:19 -0600 | asked a question | gpu::flip problem when src == dst Reporting an issue (bug?) with the gpu::flip function in OpenCV 2.4.4. When I call gpu::flip (a, a, 0), the image is flipped but pixels appear corrupted. However when I call gpu::flip (a, b, 0) it works fine. I have not tried 2.4.5 because I have a workaround which is just declare a second matrix to store the result. Reporting it here in case others are having problems with it in the future. |