ModelFace.H
Go to the documentation of this file.00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00016
00017
00018
00019
00020
00021
00022
00023
00024
00025
00026
00027
00028
00029
00030
00031
00032
00033
00034
00035
00036
00037
00038 #ifndef MODEL_FACE_H_DEFINED
00039 #define MODEL_FACE_H_DEFINED
00040
00041 #define NUM_FACE_PART 3
00042 enum FacePart { EYE = 0, NOSE = 1, MOUTH = 2, L_EYE = 3, R_EYE = 4 };
00043
00044 #define NUM_HEADER_LINE 4
00045
00046 #define MODEL_FACE_WIDTH 40
00047 #define MODEL_FACE_HEIGHT 50
00048 #define MODEL_FACE_DIAGONAL 64
00049
00050
00051
00052
00053
00054
00055 #define MODEL_EYE_WIDTH 12
00056 #define MODEL_EYE_HEIGHT 6
00057 #define MODEL_EYE_DIAGONAL 14
00058 #define RE_INPUT 32*4
00059 #define RE_HIDDEN_1 200
00060 #define RE_HIDDEN_2 60
00061 #define RE_TOP 1
00062 #define RE_LEFT 17
00063 #define RE_BOTTOM 18
00064 #define RE_RIGHT 19
00065 #define LE_TOP 0
00066 #define LE_LEFT 14
00067 #define LE_BOTTOM 15
00068 #define LE_RIGHT 16
00069
00070 #define MODEL_NOSE_WIDTH 14
00071 #define MODEL_NOSE_HEIGHT 20
00072 #define MODEL_NOSE_DIAGONAL 26
00073 #define N_INPUT 61*4
00074 #define N_HIDDEN_1 300
00075 #define N_HIDDEN_2 100
00076 #define N_TOP 6
00077 #define N_LEFT 7
00078 #define N_BOTTOM 9
00079 #define N_RIGHT 8
00080
00081 #define MODEL_MOUTH_WIDTH 20
00082 #define MODEL_MOUTH_HEIGHT 10
00083 #define MODEL_MOUTH_DIAGONAL 24
00084 #define M_INPUT 48*4
00085 #define M_HIDDEN_1 250
00086 #define M_HIDDEN_2 60
00087 #define M_TOP 10
00088 #define M_LEFT 12
00089 #define M_BOTTOM 11
00090 #define M_RIGHT 13
00091
00092
00093 #define GIST_IMAGE_FOLDER "pics/face/"
00094 #define GIST_TRAIN_FILE "gistTrain.txt"
00095 #define GIST_TEST_FILE "gistTest.txt"
00096 #define WEIGHT_DATA_FOLDER "../weightData/"
00097 #define IMAGE_FOLDER "../images/awata0830_M_3/"
00098 #define DATA_FOLDER "../modelgraphs/awata0830_M_3/"
00099 #define FILE_TAGNAME "awata0830_M_3_"
00100 #define IMAGE_FILE_EXT ".png"
00101 #define DATA_FILE_EXT ".mdlgraph"
00102
00103 #define NUM_DIR 4 // the number of used orientations
00104 #define NUM_G_LEV 5 // number of gabor levels
00105 #define NUM_G_DIR 8 // number of gabor orientations
00106 #define NUM_H_LEV 5 // number of output levels
00107 #define PL_HIDDEN_1 60
00108 #define PL_HIDDEN_2 30
00109 #define PL2_INPUT 40
00110 #define PL2_HIDDEN_1 60
00111 #define PL2_HIDDEN_2 30
00112
00113 #endif // !MODEL_FACE_H_DEFINED
00114
00115
00116
00117
00118
00119