PandA-2024.02
|
Go to the source code of this file.
Macros | |
#define | MAX_IMAGESIZE 256 |
#define | MAX_BRIGHTNESS 255 /* Maximum gray level */ |
#define | GRAYLEVEL 256 /* No. of gray levels */ |
#define | MAX_FILENAME 256 /* Filename length limit */ |
#define | MAX_BUFFERSIZE 256 |
Functions | |
void | load_image_data (const char *file_name, unsigned char *image1, unsigned int *x_size1, unsigned int *y_size1) |
void | save_image_data (const char *file_name, unsigned char *image2, unsigned int x_size2, unsigned int y_size2) |
#define MAX_BRIGHTNESS 255 /* Maximum gray level */ |
Definition at line 8 of file mypgm.h.
Referenced by laplacian(), load_image_data(), make_inverse_image(), save_image_data(), sharpen(), and sobel().
#define MAX_BUFFERSIZE 256 |
Definition at line 11 of file mypgm.h.
Referenced by load_image_data().
#define MAX_FILENAME 256 /* Filename length limit */ |
#define MAX_IMAGESIZE 256 |
Definition at line 7 of file mypgm.h.
Referenced by execute(), laplacian(), load_image_data(), main(), make_inverse_image(), save_image_data(), sharpen(), and sobel().
void load_image_data | ( | const char * | file_name, |
unsigned char * | image1, | ||
unsigned int * | x_size1, | ||
unsigned int * | y_size1 | ||
) |
Definition at line 9 of file mypgm.c.
References MAX_BRIGHTNESS, MAX_BUFFERSIZE, MAX_IMAGESIZE, NULL, and x.
Referenced by main().
void save_image_data | ( | const char * | file_name, |
unsigned char * | image2, | ||
unsigned int | x_size2, | ||
unsigned int | y_size2 | ||
) |
Definition at line 76 of file mypgm.c.
References MAX_BRIGHTNESS, MAX_IMAGESIZE, and x.
Referenced by main().