cv2.dilate
时间: 2023-10-19 08:01:51 浏览: 143
cv2
cv2.dilate是OpenCV库中的一个函数,用于对图像进行膨胀操作。它接受多个参数,包括源图像(src)、结构元素(kernel)、输出图像(dst)、锚点(anchor)、迭代次数(iterations)、边框类型(borderType)和边框值(borderValue)。函数的作用是通过扩展和增强图像中的亮度区域来改变图像的形状和大小。它可以用于很多图像处理任务,例如去除噪声、分割物体等。<span class="em">1</span><span class="em">2</span><span class="em">3</span>
#### 引用[.reference_title]
- *1* *2* [Python中的dilate函数解析](https://blog.csdn.net/Jack_user/article/details/130975874)[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^v93^chatsearchT3_2"}}] [.reference_item style="max-width: 50%"]
- *3* [OpenCV-Python教程:形态学变换~腐蚀和膨胀(erode,dilate)](https://blog.csdn.net/juzicode00/article/details/119580892)[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^v93^chatsearchT3_2"}}] [.reference_item style="max-width: 50%"]
[ .reference_list ]
阅读全文