First time here? Check out the FAQ!
answered 2015-07-27 11:18:16 -0600
Turns out that the constructor of Mat does not except numbers as arguments to the init_valueparameter, but requires use of Scalar()in order to work. As a consequence mask and black both had data nullpointers.
Mat
init_value
Scalar()
mask
black