First time here? Check out the FAQ!
answered 2014-05-21 00:45:26 -0600
warpAffine sets the destination image to have the same type as the source. You need targetMat to be CV_8UC4