optimized cv::warpAffine