Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

this will only work,if b_mat contains a single pixel / value.

did you mean copyTo() ?

this setTo() will only work,if work, if b_mat contains a single pixel / value.

did you mean copyTo() ?probably wanted copyTo() , like:

b_mat.copyTo(a_mat); // note the reverse order !

setTo() will only work, if b_mat contains a single pixel / value. value (or a Scalar).

you probably wanted copyTo() , like:

b_mat.copyTo(a_mat); // note the reverse order !

setTo() will only work, if b_mat contains a single pixel / value (or a Scalar).

a_mat and b_mat has the same type and size

in this case, you probably wanted copyTo() , like:

b_mat.copyTo(a_mat); // note the reverse order !