#include <cstdlib>
#include <climits>
#include <cstring>
#include <fstream>
Go to the source code of this file.
|
| #define | imRef(im, x, y) (im->access[y][x]) |
| |
| #define | imPtr(im, x, y) &(im->access[y][x]) |
| |
| #define | BUF_SIZE 256 |
| |
|
| typedef unsigned char | uchar |
| |
◆ BUF_SIZE
◆ imPtr
| #define imPtr |
( |
|
im, |
|
|
|
x, |
|
|
|
y |
|
) |
| &(im->access[y][x]) |
◆ imRef
| #define imRef |
( |
|
im, |
|
|
|
x, |
|
|
|
y |
|
) |
| (im->access[y][x]) |
◆ uchar
| typedef unsigned char uchar |
◆ loadPGM()
◆ operator==()
| bool operator== |
( |
const rgb & |
a, |
|
|
const rgb & |
b |
|
) |
| |
|
inline |
◆ pnm_read()
| void pnm_read |
( |
std::ifstream & |
file, |
|
|
char * |
buf |
|
) |
| |
◆ savePGM()
| void savePGM |
( |
image< uchar > * |
im, |
|
|
const char * |
name |
|
) |
| |