文章目录 1. 图像扩充 2. 绕着某点旋转平移 1. 图像扩充 cv::copyMakeBorder(inputImg, rotatedImg, expanddingWidth, expanddingWidth, expanddingWidth,expanddingWidth, cv::BORDER_CONSTANT); 2. 绕着某点旋转平移