一.简介
二.常用的函数
void erode( InputArray src, OutputArray dst, InputArray kernel, Point anchor = Point(-1, -1), int iterations = 1, int borderType = BORDER_CONSTANT, const Scalar& borderValue = morphologyDefaultBorderValue() )
void dilate( InputArray src, OutputArray dst, InputArray kernel, Point anchor = Point(-1, -1), int iterations = 1, int borderType = BORDER_CONSTANT, const Scalar& borderValue = morphologyDefaultBorderValue() )
- src
输入图像为二值图像或灰度图像
原文地址:https://www.cnblogs.com/k5bg/p/11230551.html
时间: 2024-10-15 11:31:41