-
Notifications
You must be signed in to change notification settings - Fork 0
/
main.lfm
273 lines (273 loc) · 5.69 KB
/
main.lfm
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
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
object MainForm: TMainForm
Left = 387
Height = 720
Top = 87
Width = 960
HorzScrollBar.Increment = 240
HorzScrollBar.Page = 640
HorzScrollBar.Tracking = True
VertScrollBar.Increment = 240
VertScrollBar.Page = 480
VertScrollBar.Tracking = True
AutoScroll = True
Caption = 'GliGli''s VinylScan'
ClientHeight = 720
ClientWidth = 960
Color = 4210752
DoubleBuffered = False
OnCreate = FormCreate
ParentDoubleBuffered = False
LCLVersion = '3.6.0.0'
Scaled = False
WindowState = wsMaximized
object Image: TImage
Left = 0
Height = 480
Top = 0
Width = 640
AutoSize = True
ParentShowHint = False
end
object pnSettings: TPanel
Left = 0
Height = 200
Top = 0
Width = 400
BevelOuter = bvLowered
ClientHeight = 200
ClientWidth = 400
DoubleBuffered = False
FullRepaint = False
ParentBackground = False
ParentColor = False
ParentDoubleBuffered = False
TabOrder = 0
object edOutputWAV: TEdit
Left = 8
Height = 23
Hint = 'Scan to track output WAV file'
Top = 152
Width = 200
ParentShowHint = False
ShowHint = True
TabOrder = 6
Text = 'data\sample.wav'
end
object edInputPNG: TEdit
Left = 8
Height = 23
Hint = 'Scan to track input PNG file'
Top = 128
Width = 200
ParentShowHint = False
ShowHint = True
TabOrder = 4
Text = 'data\sample_correlated.png'
end
object edOutputPNG: TEdit
Left = 8
Height = 23
Hint = 'Scans correlator output PNG file'
Top = 97
Width = 200
ParentShowHint = False
ShowHint = True
TabOrder = 2
Text = 'data\sample_correlated.png'
end
object mmInputPNGs: TMemo
Left = 8
Height = 88
Hint = 'Scans correlator input PNG files'
Top = 8
Width = 200
Lines.Strings = (
'data\sample_3200_0.png'
'data\sample_3200_1.png'
'data\sample_3200_2.png'
'data\sample_3200_3.png'
'data\sample_3200_4.png'
'data\sample_3200_5.png'
'data\sample_3200_6.png'
)
ParentShowHint = False
ScrollBars = ssBoth
ShowHint = True
TabOrder = 0
WordWrap = False
end
object btScansCorrelator: TButton
Left = 264
Height = 25
Top = 96
Width = 131
Caption = 'Scans correlator'
TabOrder = 12
OnClick = btScansCorrelatorClick
end
object btScan2Track: TButton
Left = 264
Height = 25
Top = 151
Width = 131
Caption = 'Scan to track'
TabOrder = 13
OnClick = btScan2TrackClick
end
object btTest: TButton
Left = 376
Height = 25
Hint = 'Unit tests'
Top = 176
Width = 25
Caption = 'UT'
ParentShowHint = False
ShowHint = True
TabOrder = 14
OnClick = btTestClick
end
object cbDPI: TComboBox
Left = 264
Height = 23
Hint = 'Default dots per inch'
Top = 8
Width = 64
ItemHeight = 15
ItemIndex = 2
Items.Strings = (
'600'
'1200'
'2400'
'4800'
)
ParentShowHint = False
ShowHint = True
TabOrder = 8
Text = '2400'
end
object btInPNGs: TButton
Left = 208
Height = 23
Top = 8
Width = 23
Caption = '...'
TabOrder = 1
OnClick = btInPNGsClick
end
object btOutPNG: TButton
Left = 208
Height = 23
Top = 97
Width = 23
Caption = '...'
TabOrder = 3
OnClick = btOutPNGClick
end
object btInPNG: TButton
Left = 208
Height = 23
Top = 128
Width = 23
Caption = '...'
TabOrder = 5
OnClick = btInPNGClick
end
object btOutWAV: TButton
Left = 208
Height = 23
Top = 152
Width = 23
Caption = '...'
TabOrder = 7
OnClick = btOutWAVClick
end
object cbSR: TComboBox
Left = 329
Height = 23
Hint = 'Sample rate'
Top = 8
Width = 66
ItemHeight = 15
ItemIndex = 2
Items.Strings = (
'16000'
'44100'
'48000'
'96000'
)
ParentShowHint = False
ShowHint = True
TabOrder = 9
Text = '48000'
end
object cbMethod: TComboBox
Left = 264
Height = 23
Hint = 'Optimisation method'
Top = 32
Width = 131
ItemHeight = 15
ItemIndex = 1
Items.Strings = (
'No optimization'
'BFGS'
'Gradient descent'
'Powell''s method'
'All methods'
)
ParentShowHint = False
ShowHint = True
Style = csDropDownList
TabOrder = 10
Text = 'BFGS'
end
object cbImgDerv: TComboBox
Left = 264
Height = 23
Hint = 'Image derivation operator'
Top = 56
Width = 131
ItemHeight = 15
ItemIndex = 0
Items.Strings = (
'Prewitt'
'Sobel'
'Scharr'
)
ParentShowHint = False
ShowHint = True
Style = csDropDownList
TabOrder = 11
Text = 'Prewitt'
end
end
object odInPNGs: TOpenDialog
DefaultExt = '.PNG'
Filter = 'PNG|*.png'
InitialDir = 'data'
Options = [ofAllowMultiSelect, ofEnableSizing, ofViewDetail]
Left = 16
Top = 216
end
object odInPNG: TOpenDialog
DefaultExt = '.PNG'
Filter = 'PNG|*.png'
InitialDir = 'data'
Left = 80
Top = 216
end
object sdOutPNG: TSaveDialog
DefaultExt = '.PNG'
Filter = 'PNG|*.png'
InitialDir = 'data'
Left = 144
Top = 216
end
object sdOutWAV: TSaveDialog
DefaultExt = '.WAV'
Filter = 'WAV|*.wav'
InitialDir = 'data'
Left = 208
Top = 216
end
end