opencv中warpAffine
时间: 2023-10-08 17:03:58 浏览: 157
在OpenCV中,warpAffine函数可以用于实现仿射变换。该函数的定义如下:
void cv::warpAffine(InputArray src, OutputArray dst, InputArray M, Size dsize, int flags = INTER_LINEAR, int borderMode = BORDER_CONSTANT, const Scalar& borderValue = Scalar())
其中,src是输入图像,dst是输出图像,M是变换矩阵,dsize是输出图像的大小,flags是插值方法,borderMode是边界模式,borderValue是边界像素的值。<span class="em">1</span><span class="em">2</span><span class="em">3</span>
#### 引用[.reference_title]
- *1* [opencv学习(三十五)之仿射变换warpAffine](https://blog.csdn.net/keith_bb/article/details/56331356)[target="_blank" data-report-click={"spm":"1018.2226.3001.9630","extra":{"utm_source":"vip_chatgpt_common_search_pc_result","utm_medium":"distribute.pc_search_result.none-task-cask-2~all~insert_cask~default-1-null.142^v92^chatsearchT0_1"}}] [.reference_item style="max-width: 33.333333333333336%"]
- *2* [opencv图像仿射变换,cv2.warpAffine](https://blog.csdn.net/m0_51545690/article/details/123959995)[target="_blank" data-report-click={"spm":"1018.2226.3001.9630","extra":{"utm_source":"vip_chatgpt_common_search_pc_result","utm_medium":"distribute.pc_search_result.none-task-cask-2~all~insert_cask~default-1-null.142^v92^chatsearchT0_1"}}] [.reference_item style="max-width: 33.333333333333336%"]
- *3* [OpenCV 中的 warpAffine](https://blog.csdn.net/yiran103/article/details/115821534)[target="_blank" data-report-click={"spm":"1018.2226.3001.9630","extra":{"utm_source":"vip_chatgpt_common_search_pc_result","utm_medium":"distribute.pc_search_result.none-task-cask-2~all~insert_cask~default-1-null.142^v92^chatsearchT0_1"}}] [.reference_item style="max-width: 33.333333333333336%"]
[ .reference_list ]
阅读全文