Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

The speed here should not be an issue: create an image is not much compared to all the operations happening in a function.

The in-place is just faster to write and the way to go provided you can get rid of your original matrix. Each OpenCV function that does/does not support in-place should be checking for it so the code will throw if you are doing something in-place and you cannot. The documentation should also highlight that.

If you find something undocumented and that works/does not work, please file an issue on http://code.opencv.org/