pnmio.h

来自「it runs for blob detection with opencv」· C头文件 代码 · 共 44 行

H
44
字号
/***  Source file for blobdetect. (c) 2004 Johan Wiklund****  This program is free software; you can redistribute it and/or modify**  it under the terms of the GNU General Public License as published by**  the Free Software Foundation; either version 2 of the License, or**  (at your option) any later version.**  **  See the file COPYING for details.***/#ifndef _PNMIO_H_#define _PNMIO_H_#define PBM_MAGIC1 'P'#define PBM_MAGIC2 '1'#define RPBM_MAGIC2 '4'#define PBM_FORMAT (PBM_MAGIC1 * 256 + PBM_MAGIC2)#define RPBM_FORMAT (PBM_MAGIC1 * 256 + RPBM_MAGIC2)#define PGM_MAGIC1 'P'#define PGM_MAGIC2 '2'#define RPGM_MAGIC2 '5'#define PGM_FORMAT (PGM_MAGIC1 * 256 + PGM_MAGIC2)#define RPGM_FORMAT (PGM_MAGIC1 * 256 + RPGM_MAGIC2)#define PPM_MAGIC1 'P'#define PPM_MAGIC2 '3'#define RPPM_MAGIC2 '6'#define PPM_FORMAT (PPM_MAGIC1 * 256 + PPM_MAGIC2)#define RPPM_FORMAT (PPM_MAGIC1 * 256 + RPPM_MAGIC2)FILE *pnm_readhead(char *name, int *format, int *hgh, int *wid);FILE *pnm_writehead(char *name, int format, int hgh, int wid);voidpnm_close(FILE *f);#endif /* _PNMIO_H_ */

⌨️ 快捷键说明

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