segment.h

来自「visual c++图像处理经典算法示例程序 把功能都集中在一个程序中」· C头文件 代码 · 共 17 行

H
17
字号
//边缘检测
void sobel(unsigned char *imgBuf, int width, int height, int biBitCount);
void robot(unsigned char *imgBuf, int width, int height, int biBitCount);
void prewitt(unsigned char *imgBuf, int width, int height, int biBitCount);
void laplacian(unsigned char *imgBuf, int width, int height, int biBitCount);

//二值分割
void ErZhiSegment(unsigned char *imgBuf, int width, int height, int thresh);

//大津阈值分割
void autoThreshSegment(unsigned char *imgBuf, int width, int height);
//均值平滑
void meanFilter(unsigned char *imgBuf, int width, int height, int biBitCount, 
                int *mask, int masksize);
//中值平滑
void midFilter(unsigned char *imgBuf, int width, int height, int biBitCount,
               int *mask, int masksize);

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?