gray.h

来自「Visual C++数字图像识别技术典型案例 光盘源码」· C头文件 代码 · 共 20 行

H
20
字号
/*############################################################################# * 文件名:gray.h * 功能:  灰度图像操作 * modified by  PRTsinghua@hotmail.com#############################################################################*/#ifndef GRAY_H#define GRAY_H#include "wm.h"#include "pgm.h"gray **alloc_grays(int cols, int rows);gray **alloc_grays_8x8();void free_grays(gray **grays);void copy_grays_to_block(gray ** block_grays, gray ** image_grays, int col, int row, int width, int height);void copy_grays_from_block(gray ** image_grays, gray ** block_grays, int col, int row, int width, int height);void print_grays(gray **grays, int col, int row, int width, int height);void print_grays_8x8(gray **grays);#endif

⌨️ 快捷键说明

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