Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

Whats the equivalent of put(in java) for opencv c++?

I would like to translate the code below from java to open cv c++. I don't know whats the equivalent for put. Please help on this.

Mat A = new Mat(1, 3, CvType.CV_32FC1); A.put(0, 0, -1); A.put(0, 1, 0); A.put(0, 2, 1);