conf.h
Go to the documentation of this file.
1 /*
2  * This file is part of Laustracker.
3  *
4  * Copyright (C) 2013 Christian Jann <christian.jann@ymail.com>
5  *
6  * This program is free software: you can redistribute it and/or modify
7  * it under the terms of the GNU General Public License as published by
8  * the Free Software Foundation, either version 3 of the License, or
9  * (at your option) any later version.
10  *
11  * This program is distributed in the hope that it will be useful,
12  * but WITHOUT ANY WARRANTY; without even the implied warranty of
13  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
14  * GNU General Public License for more details.
15  *
16  * You should have received a copy of the GNU General Public License
17  * along with this program. If not, see <http://www.gnu.org/licenses/>.
18  */
19 
20 #ifndef HEADER_LAUSTRACKER_CONF_H_INCLUDED
21 #define HEADER_LAUSTRACKER_CONF_H_INCLUDED
22 
28 #define UEYE_EXPOSURE_MIN 0.01
30 
32 #define UEYE_EXPOSURE_MAX 66.6
33 
35 #define UEYE_HW_GAIN_MIN 0
36 
38 #define UEYE_HW_GAIN_MAX 100
39 
41 #define UEYE_HW_GAIN_MASTER 50
42 
44 #define UEYE_HW_GAIN_MASTER_DARK 45
45 
47 #define UEYE_HW_GAIN_RED 12
48 
50 #define UEYE_HW_GAIN_GREEN 0
51 
53 #define UEYE_HW_GAIN_BLUE 18
54 
56 #define UEYE_NORMAL_EXPOSURE_TIME 15.0
57 
59 #define UEYE_DARK_EXPOSURE_TIME 0.5
60 
62 #define MIN_LABYRINTH_SIZE_PERCENT 40
63 #define MAX_LABYRINTH_SIZE_PERCENT 90
65 
67 #define FIELD_COUNT 8
68 
70 #define MIN_WHITE_PIXEL_PERCENTAGE 40
71 
73 #define ROI_SIZE 0.3
74 
75 #endif