PandA-2024.02
|
#include "filter.h"
Go to the source code of this file.
Functions | |
int | laplacian (unsigned char *in, unsigned char *out, unsigned int x_size, unsigned int y_size) |
int | sobel (unsigned char *in, unsigned char *out, unsigned int x_size, unsigned int y_size) |
int | sharpen (unsigned char *in, unsigned char *out, unsigned int x_size, unsigned int y_size) |
int | make_inverse_image (unsigned char *in, unsigned char *out, unsigned int x_size, unsigned int y_size) |
void | test (unsigned int *in, unsigned int *out, unsigned int x_size, unsigned int y_size, int type) |
int laplacian | ( | unsigned char * | in, |
unsigned char * | out, | ||
unsigned int | x_size, | ||
unsigned int | y_size | ||
) |
Definition at line 5 of file laplacian.c.
References max, MAX_BRIGHTNESS, MAX_IMAGESIZE, min, and x.
Referenced by test().
int make_inverse_image | ( | unsigned char * | in, |
unsigned char * | out, | ||
unsigned int | x_size, | ||
unsigned int | y_size | ||
) |
Definition at line 4 of file inverse.c.
References MAX_BRIGHTNESS, MAX_IMAGESIZE, and x.
Referenced by test().
int sharpen | ( | unsigned char * | in, |
unsigned char * | out, | ||
unsigned int | x_size, | ||
unsigned int | y_size | ||
) |
Definition at line 4 of file sharpen.c.
References MAX_BRIGHTNESS, MAX_IMAGESIZE, and x.
Referenced by test().
int sobel | ( | unsigned char * | in, |
unsigned char * | out, | ||
unsigned int | x_size, | ||
unsigned int | y_size | ||
) |
Definition at line 5 of file sobel.c.
References max, MAX_BRIGHTNESS, MAX_IMAGESIZE, min, and x.
Referenced by main().
void test | ( | unsigned int * | in, |
unsigned int * | out, | ||
unsigned int | x_size, | ||
unsigned int | y_size, | ||
int | type | ||
) |
Definition at line 8 of file test.c.
References add_filter(), execute(), laplacian(), make_inverse_image(), and sharpen().