diff options
Diffstat (limited to 'image/image.h')
| -rw-r--r-- | image/image.h | 25 |
1 files changed, 25 insertions, 0 deletions
diff --git a/image/image.h b/image/image.h new file mode 100644 index 0000000..a5446a8 --- /dev/null +++ b/image/image.h @@ -0,0 +1,25 @@ +#pragma once +#ifndef IMAGE_H +#define IMAGE_H + +#define __MINGW_FEATURES__ 1 + +#include <string.h> +#include "../../matrix/matrix.h" + +#define MNIST_SIZE 784 +#define MAXCHARS 10000 + + +typedef struct image{ + int label; + matrix *img; +} image; + +image *loadCSV(FILE *fp); + +void freeImage(image **im); + +void printImage(image *im); + +#endif |
