二.常用的函数

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

    输入图像为二值图像或灰度图像

 

void pyrDown( InputArray src, OutputArray dst, const Size& dstsize = Size(), int borderType = BORDER_DEFAULT )

void pyrUp( InputArray src, OutputArray dst, const Size& dstsize = Size(), int borderType = BORDER_DEFAULT )

 

相关文章:

  • 2021-07-24
  • 2022-12-23
  • 2021-06-22
  • 2021-08-28
  • 2021-08-06
  • 2021-06-10
  • 2022-12-23
  • 2021-11-25
猜你喜欢
  • 2021-11-23
  • 2021-05-30
  • 2021-09-14
  • 2021-08-27
  • 2021-07-17
  • 2021-04-25
  • 2021-07-08
相关资源
相似解决方案