summaryrefslogtreecommitdiff
path: root/OASIS/c/src/main.h
diff options
context:
space:
mode:
authorEric Dao <eric@erickhangdao.com>2023-05-12 14:09:07 -0400
committerEric Dao <eric@erickhangdao.com>2023-05-12 14:09:07 -0400
commit191e4bd8beae134295d481773823142d2fdc6a98 (patch)
treeaaca4e7f8e229f9bd551d9bb1583b8ecd7a59d4a /OASIS/c/src/main.h
parent186daed7e179241377c117e9d208ccd301d4d712 (diff)
downloadura-master.tar.gz
ura-master.tar.bz2
ura-master.zip
refactored tool chain setup, able to debug and run from vscode nowHEADmaster
Diffstat (limited to 'OASIS/c/src/main.h')
-rw-r--r--OASIS/c/src/main.h28
1 files changed, 28 insertions, 0 deletions
diff --git a/OASIS/c/src/main.h b/OASIS/c/src/main.h
new file mode 100644
index 0000000..1aaee54
--- /dev/null
+++ b/OASIS/c/src/main.h
@@ -0,0 +1,28 @@
+#ifndef MAIN_H
+#define MAIN_H
+
+#include <stdint.h>
+#include <string.h>
+#include <stddef.h>
+#include <stdlib.h>
+#include <stdio.h>
+#include <time.h>
+
+#include "ekd_cv.h"
+#include "ekd_pca.h"
+#include "ekd_blas.h"
+#include "ekd_svm.h"
+
+#define NUM_DNEG_IMAGES 134
+#define NUM_DPOS_IMAGES 99
+#define NUM_IMAGES 233
+#define DNEG_FOLDER_PATH "/home/eric/URA/OASIS/dataset/bmp/dneg/"
+#define DPOS_FOLDER_PATH "/home/eric/URA/OASIS/dataset/bmp/dpos/"
+#define IMAGE_WIDTH 144
+#define IMAGE_HEIGHT 176
+#define FEATURE_VECTOR_SIZE 25344
+#define FILE_NAME_SIZE 150
+#define NUM_COMPONENTS 2
+#define PENALTY_PARAM 1
+
+#endif /* MAIN_H */ \ No newline at end of file