Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

This definitely depends on what you gonna do. If you only want to access 1 or 2 pixels (a small amount) it would be enough to use Mat.get(row, col). If you want to work on the whole Mat, you should use the way you already proposed with getting the Mat and transfering it into an buffer array.

This definitely depends on what you gonna do. If you only want to access 1 or 2 pixels (a small amount) amount), it would be enough to use Mat.get(row, col). If you want to work on the whole Mat, you should use the way you already proposed with getting the Mat and transfering it into an buffer array.