Convolutional Network

How to use

Edite file

Open main.c

14 FILE* kernel_file = fopen("./kernels/sharpen.txt", "r");
28 FILE* img = fopen("./images/person.ascii.pgm", "r");

In line 14 you put your kernel.

In line 28 you put you image.

Run project

To run the project you need gcc.

With gcc installed run:

In linux:
gcc main.c -o exc
./exc
In Windows
gcc main.c -o exc.exe
.\exc.exe

References

Images PGM

Kernels