扩展极大值 (5*5正方形 h=100  显示结果二值化) 

扩展极大值—lhMorpEMax

 

函数:lhMorpEMax

说明:形态学扩展极大值

参数:

src 输入图像

dst 输出图像

h 深度或动态范围阈值

se  结构元素

源码:

void lhMorpEMax(const IplImage* src, IplImage* dst, unsigned char h, IplConvKernel* se = NULL)

{

       assert(src != NULL  &&  dst != NULL && src != dst );

       IplImage*  temp = cvCreateImage(cvGetSize(src), 8, 1);

       lhMorpHMax(src, temp, h, se);

       lhMorpRMax(temp, dst, se);

       cvReleaseImage(&temp);

}

相关文章:

  • 2022-02-26
  • 2021-08-15
  • 2021-05-21
  • 2021-11-21
  • 2021-07-07
  • 2022-02-06
  • 2021-06-26
猜你喜欢
  • 2021-09-22
  • 2021-11-06
  • 2021-09-29
  • 2022-03-06
  • 2022-12-23
  • 2022-12-23
  • 2021-08-21
相关资源
相似解决方案