PandA-2024.02
Functions
test.c File Reference
#include "filter.h"
Include dependency graph for test.c:

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)
 

Function Documentation

◆ laplacian()

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().

Here is the caller graph for this function:

◆ make_inverse_image()

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().

Here is the caller graph for this function:

◆ sharpen()

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().

Here is the caller graph for this function:

◆ sobel()

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().

Here is the caller graph for this function:

◆ test()

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().

Here is the call graph for this function:

Generated on Mon Feb 12 2024 13:02:58 for PandA-2024.02 by doxygen 1.8.13