Project

General

Profile

Hole Finder » History » Version 2

Amber Herold, 04/27/2010 02:38 PM

1 1 Amber Herold
h1. Hole Finder
2
3
4
The hole finder node, in the general sense, is designed to pick imaging and focus targets
5
on an input image. More specifically, the hole finder node will find potential holes (circular
6
features of the proper size), determine whether these holes lie in the known lattice, and
7
determine which holes have good ice thickness. The values in this node vary so much from grid
8
to grid (and from square to square) that the best way to find these parameters is by going
9
through a step-by-step trial and error process. To proceed from one step of the hole targeting
10
process to another, simply proceed from top to bottom through the display selection buttons in
11
the image control panel. The display settings associated with each display selection are the
12
locations where the Hole Finder parameters can be adjusted. To see the final acquisition and
13
focus targets, enable only the Original, acquisition, and focus display selections.
14
15
16
17
Required bindings for recieving images and publishing targets:
18
19
<highlights>
20
<simplelist type="vert">
21
<member> previous Acquisition - (AcquisitionImagePublishEvent) -> Hole Finder</member>
22
<member> Hole Finder - (ImageTargetListPublishEvent) -> next Acquisition</member>
23
<member> Hole Finder - (QueuePublishEvent) -> next Acquisition</member>
24
</simplelist>
25
</highlights>
26
Required bindings for proper waiting among nodes:
27
28
<highlights>
29
<simplelist type="vert">
30
<member> Hole Finder- (ImageProcessDoneEvent) -> previous Acquisition</member>
31
<member> next Acquisition - (TargetListDoneEvent) -> Hole Finder</member>
32
</simplelist>
33
</highlights>
34
35
36
37
38
h2.  Settings
39
40
41
42
43
44
*  Allow for user verification of picked holes = When enabled, this feature will
45
pause and wait for the user to verify whether the correct exposure and focus targets
46
have been selected after the Hole Finder finished processing the input image.
47
48
49
*  Queue up targets = When enabled, submit targets do not publish them immediately
50
but to put them in a target list queue.
51
52
53
*  Declare drift when queue submitted= When enabled, force target shift correction
54
when the queue is submitted. Useful when accurate targeting is needed.
55
56
57
*  Skip automated hole finder= When enabled, the automatic Hole Finder algorithm
58
will be skipped altogether.
59
60
61
62
63
64
65
66
67
68
h2.  Image Control Panel
69
70
71
NOTE: To see the effects of Testing the settings for a particular Hole Finder step in
72
the Image Control Panel, the corresponding Hole Finder step Display must be enabled before
73
using the Test feature in that step's Display Settings.
74
75
76
77
h2.  Original
78
79
80
81
82
h2.  Display
83
84
85
To view the original input image without any image processing done to it, enable
86
this button. Enabling this button will disable/override the Edge, Template, and
87
Threshold Displays.
88
89
90
91
92
93
h2.  Display Settings
94
95
96
97
98
99
*  Original Image: File Entry = Enter the path and name of a template MRC image
100
that the Hole Finder can be tested on. This feature allows Hole Finder to be
101
tested without having run a full Leginon MSI application.
102
103
104
105
106
107
108
109
110
111
112
113
h2.  Edge
114
115
116
The purpose of the Edge step is to convert the original image into an "edge" image
117
where the edges of the holes in the image are enhanced against a black background.
118
119
120
121
h2.  Display
122
123
124
To view the Edge image, enable this button. Enabling this button will
125
disable/override the Original, Template, and Threshold Displays.
126
127
128
129
130
131
h2.  Display Settings
132
133
134
135
136
137
*  Low Pass Filter Sigma = Enter the sigma of the low pass filter applied to the
138
edge image. A value of 0 will not apply a low pass filter to the edge
139
image.
140
141
142
*  Edge Finding Threshold = Enter a reasonable intensity value that will enhance
143
the edges of the hole(s) in the edge image.
144
145
146
*  Test = Press this button to test/apply the LP sigma and Edge Finding
147
Threshold effects on the edge image.
148
149
150
151
152
153
154
155
156
157
158
159
h2.  Template
160
161
162
The purpose of the Template step is to cross correlate a template of the properly
163
sized holes against the edge image where the edges of the holes have been enhanced in the
164
previous step.
165
166
167
168
h2.  Display
169
170
171
To view the Template image, enable this button. Enabling this button will
172
disable/override the Original, Edge, and Threshold Displays.
173
174
175
176
177
178
h2.  Display Settings
179
180
181
182
183
184
*  Use "phase | cross" correlation = to do this calculation.
185
186
187
*  Rings (Add|Edit|Delete) = Add|Edit|Delete the inner and outer hole (ring)
188
diameters in this section. Use the ruler tool while displaying the Edge image to
189
measure the average inner and outer hole diameter. Enter the average inner and
190
outer hole diameter in this section.
191
192
193
*  Low Pass Filter Sigma (for Phase Correlation only) = Enter a low pass filter
194
sigma that is used only when phase correlation is used in this step.
195
196
197
*  Test = Press this button to test/apply the parameters that have been adjusted
198
in this step.
199
200
201
202
203
204
205
206
207
208
209
210
h2.  Threshold
211
212
213
The purpose of the Threshold step is to apply a threshold to the previous Template
214
image. It is in unit of number of standard deviation above the mean. The Threshold image
215
should have dots that represent the center of all the found holes.
216
217
218
219
h2.  Display
220
221
222
To view the Threshold image, enable this button. Enabling this button will
223
disable/override the Original, Edge, and Template Displays.
224
225
226
227
228
229
h2.  Display Settings
230
231
232
233
234
235
*  Threshold = Enter the Threshold value of a dot that represents the center of
236
a hole (relative to the value with the stdv shown for the correlation
237
image).
238
239
240
*  Test = Press this button to test/apply the Threshold to the template
241
correlation image. Only the dots hat represent the center of the holes should
242
appear. It is highly likely that dots not representing the center of a hole will
243
also appear.
244
245
246
247
248
249
250
251
252
253
254
255
h2.  Blobs
256
257
258
The purpose of the Blobs step is to begin to narrow down the "hole center dots" that
259
have been found. This step serves as additional criteria for finding good holes.
260
261
262
263
h2.  Display
264
265
266
To view Blobs, either the Original, Edge, Template, or Threshold Displays must be
267
enabled. The Blobs that pass this step will be shown with a turquoise crosshair.
268
269
270
271
272
273
h2.  Display Settings
274
275
276
277
278
279
*  Border = The pixel value distance from the edge of the image where all
280
potential hole targets will be erased.
281
282
283
*  Max. blobs = The maximum number of hole targets or blobs at this point that
284
are allowed. If the number of blobs exceeds this number, the extra blobs will be
285
eliminated.
286
287
288
*  Max. blob size = The maximum size of a blob that is allowed to pass. This is
289
roughly the square of an average blob diameter. Use the ruler tool on the
290
Threshold image to determine the average diameter of a blob.
291
292
293
*  Test = Press this button to test/apply the Blobs criteria to the Threshold
294
image.
295
296
297
298
299
300
301
302
303
304
305
306
h2.  Lattice
307
308
309
The purpose of the Lattice step is to determine whether the blobs or "hole center
310
dots" fit in a lattice that describes how the hole layout.
311
312
313
314
h2.  Display
315
316
317
To view Lattice, either the Original, Edge, Template, or Threshold Displays must be
318
enabled. The Lattice blobs that pass this step will be shown with a pink
319
crosshair.
320
321
322
323
324
325
h2.  Display Settings
326
327
328
329
330
331
*  Lattice Fitting Spacing = The distance from the center of two holes in the
332
horizontal/vertical lattice directions (not the diagonal lattice
333
directions).
334
335
336
*  Lattice Fitting Tolerance = The tolerance allowed for holes that may not
337
exactly lie in the described lattice.
338
339
340
*  Hole Statistics Radius = The radius in pixels of the holes (that pass the
341
lattice criteria) that will be used to determine each hole's statistics.
342
343
344
*  Hole Statistics Zero Thickness = The intensity value of an empty hole, i.e.
345
zero thickness intensity.
346
347
348
*  Test = Press this button to test/apply the Lattice criteria to the result of
349
the Blobs criteria.
350
351
352
353
354
355
356
357
358
359
360
361
h2.  acquisition
362
363
364
The purpose of the acquisition step is to select holes of the proper ice thickness
365
and arrange the desired acquisition target layout. The "focus" and "acquisition" Hole
366
Finder steps Display Settings appear in the same window. For the purpose of this
367
documentation to facilitate the separation of steps in the user interface, acquisition and
368
focus will be addressed separately. Therefore, only the parameters pertaining to
369
acquisition targets will discussed in this section. The parameters not covered in this
370
section are part of the focus section.
371
372
373
374
h2.  Display
375
376
377
To view acquisition, either the Original, Edge, Template, or Threshold Displays
378
must be enabled. The acquisition targets that pass this step will be shown with a green
379
crosshair.
380
381
382
383
384
385
h2.  Display Settings
386
387
388
389
390
391
392
393
Ice Thickness Threshold:
394
*  Min. mean = Enter the minimum hole ice thickness value allowed.
395
396
397
*  Max. mean = Enter the maximum hole ice thickness value allowed.
398
399
400
*  Max. stdev = Enter the maximum hole standard deviation value allowed.
401
402
403
404
405
406
Target Template:
407
408
409
410
411
*  Use target template = When enabled, template targets will be used to compose
412
a target list. When not enabled, the center of the hole is the default
413
target.
414
415
416
*  Acquisition Target Template (Add|Edit|Delete) = Add|Edit|Delete acquisition
417
targets that define the locations of each acquisition target. The acquisition
418
target coordinates (x,y) are measured relative to the center of a hole. Use the
419
ruler tool to determine this distance.
420
421
422
*  Test = Press this button to test/apply the ice thickness criteria and
423
potentially create an acquisition target template.
424
425
426
427
428
429
430
431
432
433
434
435
h2.  focus
436
437
438
The purpose of the focus step is to focus targets near selected holes. The "focus"
439
and "acquisition" Hole Finder steps Display Settings appear in the same window. For the
440
purpose of this documentation to facilitate the separation of steps in the user interface,
441
acquisition and focus will be addressed separately. Therefore, only the parameters
442
pertaining to focus targets will discussed in this section. The parameters not covered in
443
this section are part of the acquisition section.
444
445
446
447
h2.  Display
448
449
450
To view focus, either the Original, Edge, Template, or Threshold Displays must be
451
enabled. The focus targets that pass this step will be shown with a blue
452
crosshair.
453
454
455
456
457
458
h2.  Display Settings
459
460
461
462
463
464
465
466
Ice Thickness Threshold:
467
*  Focus hole selection = Any Hole | Off | Good Hole; Select the type of Z Focus
468
target selection. This hole will be used by Z Focus to correct stage z height when
469
first moving to the new square.
470
471
- Good Hole will select one of the good holes that passed the ice thickness
472
test.
473
474
- Any Hole will select any of the holes that passed (up until before the ice
475
thickness test).
476
477
- Off will turn Z Focus correction off.
478
479
480
481
482
483
Target Template:
484
485
486
487
488
*  Use target template = When enabled, template targets will be used to compose
489
a target list. When not enabled, the center of the hole is the default
490
target.
491
492
493
*  Focus Target Template (Add|Edit|Delete) = Add|Edit|Delete focus targets that
494
define the locations of each focus target. The focus target coordinates (x,y) are
495
measured relative to the center of a hole. Use the ruler tool to determine this
496
distance.
497
498
499
*  Focus template thickness = Enter values that are used to determine whether
500
the area where the focusing has ice that is too thick. If the ice is to thick and
501
does not pass this ice thickness criteria, then that focus target will not be
502
used. Only the first focus target that passes is used. More than one focus target
503
can pass the focus template thickness criteria.
504
505
- Use focus template thickness = When enabled, focus template targets will be
506
checked against these ice thickness criteria.
507
508
- Stats. radius = the radius surrounding the focus target that is included in
509
the statistics measurement
510
511
- Min. mean thickness = Enter the minimum ice thickness value allowed.
512
513
- Max. mean thickness = Enter the maximum ice thickness value allowed.
514
515
- Max. std. thickness = Enter the maximum standard deviation value
516
allowed.
517
518
519
*  Test = Press this button to test/apply the ice thicness focus criteria and
520
create a focus target template.
521 2 Amber Herold
522
523
524
525
526
______
527
528
[[Gon Modeler|< Gon Modeler]] | [[Hole Depth|Hole Depth >]]
529
530
______