-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathsettings.cfg
More file actions
183 lines (125 loc) · 5.04 KB
/
Copy pathsettings.cfg
File metadata and controls
183 lines (125 loc) · 5.04 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
############# settings #############
# #
# part of CPP_birdtracker #
# Wesley T. Honeycutt, 2020 #
# #
# Comment lines with octothorpe #
# Code lines must be \n terminated #
# #
####################################
# Run frame_extraction with debugging output (prints everything verbose)
DEBUG_COUT = true
# Run frame_extraction with OpenCV window for debugging purposes
# Don't use this on terminals!!!
DEBUG_FRAMES = false
# Should the frame extractor output every frame with detected contours?
OUTPUT_FRAMES = true
# Should the program cleanup the generated frame png images on exit?
# This is ignored if OUTPUT_FRAMES = false
EMPTY_FRAMES = true
# Should the program concatenate the exported frames into a video at the end?
# This is ignored if OUTPUT_FRAMES = false
GEN_SLIDESHOW = true
# Tight crop the output frames when generating the slideshow?
# This is ignored if OUTPUT_FRAMES = false
TIGHT_CROP = true
# Should the program attempt to created a simplified file of frames where the edge is off screen?
SIMP_ELL = true
# Should the program concatenate the Tiered data into a single file?
CONCAT_TIERS = true
# The project code for the project on OSF (optional)
OSFPROJECT = "52kyq"
# The directory where the output data should be put. Default creates a new directory.
# No quotation marks. Requires a leading slash and trailing slash (e.g. /test/)
OUTPUTDIR = /Birdtracker_Output/
# Number of Pixels touching the edge of the image to count as "off screen"
EDGETHRESH = 10
# Quiet Halo Elimination mask width. How many pixels around the moon halo can be ignored?
# This is two sided width. The real buffer will be half of this value.
QHE_WIDTH = 25
# Threshold value for a TOZERO OpenCV thresholding operation. This is used to mask any haze around
# the moon, making sure the 'night sky' remains black, and prevents a hazy moon from doing strange
# things to the perceived size of the moon by the dumb algorithm. When finding the the size of the moon
# halo, all pixels below this value (of max 255) become 0. If you set it too high for your video, you
# may lose some moon size in the process, but this will not break your bird tracking.
BLACKOUT_THRESH = 51
# If you convert a video from h264 to mp4 using this program, you must set the framerate here.
# Different versions of the hardware use different framerates. The latest version (as of winter
# 2020) are 30 fps, while older versions may have 25 fps. This ONLY supports integer inputs.
CONVERT_FPS = 25
# If you would like to start at a frame other than 0 of the video, enter that frame number here
NON_ZERO_START = 0
##### QHE Bigone Values
# These values impact how the program finds the edge of the moon for masking purposes.
# Gaussian Blur X kernel size
QHE_GB_KERNEL_X = 15
# Gaussian Blur Y kernel size
QHE_GB_KERNEL_Y = 15
# Gaussian Blur sigma x value
QHE_GB_SIGMA_X = 1
# Gaussian Blur sigma y value
QHE_GB_SIGMA_Y = 1
##### Tier Operations Values
# These values impact individual values used for each "tier" of calculations
## Tier 1 options
# Max value for adaptive threshold
T1_AT_MAX = 255
# Blocksize for adaptive threshold
T1_AT_BLOCKSIZE = 65
# Subtracted constant for adaptive threshold
T1_AT_CONSTANT = 35
# Width of the dynamic mask around the edge of the moon.
# This is a two sided width, only half of this value will be realized as ON the moon.
T1_DYMASK = 20
## Tier 2 options
# Max value for adaptive threshold
T2_AT_MAX = 255
# Blocksize for adaptive threshold
T2_AT_BLOCKSIZE = 65
# Subtracted constant for adaptive threshold
T2_AT_CONSTANT = 20
# Width of the dynamic mask around the edge of the moon.
# This is a two sided width, only half of this value will be realized as ON the moon.
T2_DYMASK = 30
## Tier 3 options
# Kernel size of laplacian transform
T3_LAP_KERNEL = 11
# Scaling value of laplacian transform
T3_LAP_SCALE = 0.0001
# Delta value of laplacian transform
T3_LAP_DELTA = 0
# Gaussian Blur X kernel size
T3_GB_KERNEL_X = 11
# Gaussian Blur Y kernel size
T3_GB_KERNEL_Y = 11
# Gaussian Blur sigma x value
T3_GB_SIGMA_X = 1
# Gaussian Blur sigma y value
T3_GB_SIGMA_Y = 1
# Thresholding value unique to Tier 3. Removes items less than the threshold
T3_CUTOFF_THRESH = 40
# Width of the dynamic mask application
# This is a two sided width, only half of this value will be realized as ON the moon.
T3_DYMASK = 45
## Tier 4 options
# Max value for adaptive threshold
T4_AT_MAX = 255
# Blocksize for adaptive threshold
T4_AT_BLOCKSIZE = 35
# Subtracted constant for adaptive threshold
T4_AT_CONSTANT = 5
# "UnCanny" script raises values to this power
T4_POWER = 2
# Gaussian Blur X kernel size
T4_GB_KERNEL_X = 11
# Gaussian Blur Y kernel size
T4_GB_KERNEL_Y = 11
# Gaussian Blur sigma x value
T4_GB_SIGMA_X = 1
# Gaussian Blur sigma y value
T4_GB_SIGMA_Y = 1
# Contour Thinning type (see ximgproc::thinning)
T4_THINNING = 0
# Width of the dynamic mask application
# This is a two sided width, only half of this value will be realized as ON the moon.
T4_DYMASK = 45