answered 2018-11-09 11:00:32 -0600
use copyTo (opencv 4.0) or read this issue
updated 2018-11-09 11:04:09 -0600
use copyTo copyTo (opencv 4.0) or read this issue