Project

General

Profile

Hole Finder » History » Version 4

Amber Herold, 06/25/2010 12:34 PM

1 1 Amber Herold
h1. Hole Finder
2
3 3 Eric Hou
The hole finder node, in the general sense, is designed to pick imaging and focus targets on an input image. More specifically, the hole finder node will find potential holes (circular features of the proper size), determine whether these holes lie in the known lattice, and determine which holes have good ice thickness. The values in this node vary so much from grid to grid (and from square to square) that the best way to find these parameters is by going through a step-by-step trial and error process. To proceed from one step of the hole targeting process to another, simply proceed from top to bottom through the display selection buttons in the image control panel. The display settings associated with each display selection are the locations where the Hole Finder parameters can be adjusted. To see the final acquisition and focus targets, enable only the Original, acquisition, and focus display selections.
4 1 Amber Herold
5 4 Amber Herold
*Required bindings for recieving images and publishing targets:*
6 1 Amber Herold
7 3 Eric Hou
previous Acquisition - (AcquisitionImagePublishEvent) -> Hole Finder
8
Hole Finder - (ImageTargetListPublishEvent) -> next Acquisition
9
Hole Finder - (QueuePublishEvent) -> next Acquisition
10
11 4 Amber Herold
*Required bindings for proper waiting among nodes:*
12 1 Amber Herold
13 3 Eric Hou
Hole Finder- (ImageProcessDoneEvent) -> previous Acquisition
14
next Acquisition - (TargetListDoneEvent) -> Hole Finder
15 1 Amber Herold
16
h2.  Settings
17
18 3 Eric Hou
*  Allow for user verification of picked holes = When enabled, this feature will pause and wait for the user to verify whether the correct exposure and focus targets have been selected after the Hole Finder finished processing the input image.
19 1 Amber Herold
20 3 Eric Hou
*  Queue up targets = When enabled, submit targets do not publish them immediately but to put them in a target list queue.
21 1 Amber Herold
22 3 Eric Hou
*  Declare drift when queue submitted= When enabled, force target shift correction when the queue is submitted. Useful when accurate targeting is needed.
23 1 Amber Herold
24 3 Eric Hou
*  Skip automated hole finder= When enabled, the automatic Hole Finder algorithm will be skipped altogether.
25 1 Amber Herold
26
h2.  Image Control Panel
27
28 3 Eric Hou
NOTE: To see the effects of Testing the settings for a particular Hole Finder step in the Image Control Panel, the corresponding Hole Finder step Display must be enabled before using the Test feature in that step's Display Settings.
29 1 Amber Herold
30
h2.  Original
31
32 3 Eric Hou
h3.  Display
33 1 Amber Herold
34 3 Eric Hou
To view the original input image without any image processing done to it, enable this button. Enabling this button will disable/override the Edge, Template, and Threshold Displays.
35 1 Amber Herold
36 3 Eric Hou
h3.  Display Settings
37 1 Amber Herold
38 3 Eric Hou
*  Original Image: File Entry = Enter the path and name of a template MRC image that the Hole Finder can be tested on. This feature allows Hole Finder to be tested without having run a full Leginon MSI application.
39 1 Amber Herold
40
h2.  Edge
41
42 3 Eric Hou
The purpose of the Edge step is to convert the original image into an "edge" image where the edges of the holes in the image are enhanced against a black background.
43 1 Amber Herold
44 3 Eric Hou
h3.  Display
45 1 Amber Herold
46 3 Eric Hou
To view the Edge image, enable this button. Enabling this button will disable/override the Original, Template, and Threshold Displays.
47 1 Amber Herold
48 3 Eric Hou
h3.  Display Settings
49 1 Amber Herold
50 3 Eric Hou
*  Low Pass Filter Sigma = Enter the sigma of the low pass filter applied to the edge image. A value of 0 will not apply a low pass filter to the edge image.
51 1 Amber Herold
52 3 Eric Hou
*  Edge Finding Threshold = Enter a reasonable intensity value that will enhance the edges of the hole(s) in the edge image.
53 1 Amber Herold
54 3 Eric Hou
*  Test = Press this button to test/apply the LP sigma and Edge Finding Threshold effects on the edge image.
55 1 Amber Herold
56
h2.  Template
57
58 3 Eric Hou
The purpose of the Template step is to cross correlate a template of the properly sized holes against the edge image where the edges of the holes have been enhanced in the previous step.
59 1 Amber Herold
60 3 Eric Hou
h3.  Display
61 1 Amber Herold
62 3 Eric Hou
To view the Template image, enable this button. Enabling this button will disable/override the Original, Edge, and Threshold Displays.
63 1 Amber Herold
64 3 Eric Hou
h3.  Display Settings
65 1 Amber Herold
66
*  Use "phase | cross" correlation = to do this calculation.
67
68 3 Eric Hou
*  Rings (Add|Edit|Delete) = Add|Edit|Delete the inner and outer hole (ring) diameters in this section. Use the ruler tool while displaying the Edge image to measure the average inner and outer hole diameter. Enter the average inner and
69 1 Amber Herold
outer hole diameter in this section.
70
71 3 Eric Hou
*  Low Pass Filter Sigma (for Phase Correlation only) = Enter a low pass filter sigma that is used only when phase correlation is used in this step.
72 1 Amber Herold
73 3 Eric Hou
*  Test = Press this button to test/apply the parameters that have been adjusted in this step.
74 1 Amber Herold
75
h2.  Threshold
76
77 3 Eric Hou
The purpose of the Threshold step is to apply a threshold to the previous Template image. It is in unit of number of standard deviation above the mean. The Threshold image should have dots that represent the center of all the found holes.
78 1 Amber Herold
79 3 Eric Hou
h3.  Display
80 1 Amber Herold
81 3 Eric Hou
To view the Threshold image, enable this button. Enabling this button will disable/override the Original, Edge, and Template Displays.
82 1 Amber Herold
83 3 Eric Hou
h3.  Display Settings
84 1 Amber Herold
85 3 Eric Hou
*  Threshold = Enter the Threshold value of a dot that represents the center of a hole (relative to the value with the stdv shown for the correlation image).
86 1 Amber Herold
87 3 Eric Hou
*  Test = Press this button to test/apply the Threshold to the template correlation image. Only the dots hat represent the center of the holes should appear. It is highly likely that dots not representing the center of a hole will
88 1 Amber Herold
also appear.
89
90
h2.  Blobs
91
92 3 Eric Hou
The purpose of the Blobs step is to begin to narrow down the "hole center dots" that have been found. This step serves as additional criteria for finding good holes.
93 1 Amber Herold
94 3 Eric Hou
h3.  Display
95 1 Amber Herold
96 3 Eric Hou
To view Blobs, either the Original, Edge, Template, or Threshold Displays must be enabled. The Blobs that pass this step will be shown with a turquoise crosshair.
97 1 Amber Herold
98 3 Eric Hou
h3.  Display Settings
99 1 Amber Herold
100 3 Eric Hou
*  Border = The pixel value distance from the edge of the image where all potential hole targets will be erased.
101 1 Amber Herold
102 3 Eric Hou
*  Max. blobs = The maximum number of hole targets or blobs at this point that are allowed. If the number of blobs exceeds this number, the extra blobs will be eliminated.
103 1 Amber Herold
104 3 Eric Hou
*  Max. blob size = The maximum size of a blob that is allowed to pass. This is roughly the square of an average blob diameter. Use the ruler tool on the Threshold image to determine the average diameter of a blob.
105 1 Amber Herold
106 3 Eric Hou
*  Test = Press this button to test/apply the Blobs criteria to the Threshold image.
107 1 Amber Herold
108
h2.  Lattice
109
110 3 Eric Hou
The purpose of the Lattice step is to determine whether the blobs or "hole center dots" fit in a lattice that describes how the hole layout.
111 1 Amber Herold
112 3 Eric Hou
h3.  Display
113 1 Amber Herold
114 3 Eric Hou
To view Lattice, either the Original, Edge, Template, or Threshold Displays must be enabled. The Lattice blobs that pass this step will be shown with a pink crosshair.
115 1 Amber Herold
116 3 Eric Hou
h3.  Display Settings
117 1 Amber Herold
118 3 Eric Hou
*  Lattice Fitting Spacing = The distance from the center of two holes in the horizontal/vertical lattice directions (not the diagonal lattice directions).
119 1 Amber Herold
120 3 Eric Hou
*  Lattice Fitting Tolerance = The tolerance allowed for holes that may not exactly lie in the described lattice.
121 1 Amber Herold
122 3 Eric Hou
*  Hole Statistics Radius = The radius in pixels of the holes (that pass the lattice criteria) that will be used to determine each hole's statistics.
123 1 Amber Herold
124 3 Eric Hou
*  Hole Statistics Zero Thickness = The intensity value of an empty hole, i.e. zero thickness intensity.
125 1 Amber Herold
126 3 Eric Hou
*  Test = Press this button to test/apply the Lattice criteria to the result of the Blobs criteria.
127 1 Amber Herold
128
h2.  acquisition
129
130 3 Eric Hou
The purpose of the acquisition step is to select holes of the proper ice thickness and arrange the desired acquisition target layout. The "focus" and "acquisition" Hole Finder steps Display Settings appear in the same window. For the purpose of this documentation to facilitate the separation of steps in the user interface, acquisition and
131
focus will be addressed separately. Therefore, only the parameters pertaining to acquisition targets will discussed in this section. The parameters not covered in this section are part of the focus section.
132 1 Amber Herold
133 3 Eric Hou
h3.  Display
134 1 Amber Herold
135 3 Eric Hou
To view acquisition, either the Original, Edge, Template, or Threshold Displays must be enabled. The acquisition targets that pass this step will be shown with a green crosshair.
136 1 Amber Herold
137 3 Eric Hou
h3.  Display Settings
138 1 Amber Herold
139
Ice Thickness Threshold:
140 3 Eric Hou
141 1 Amber Herold
*  Min. mean = Enter the minimum hole ice thickness value allowed.
142
143
*  Max. mean = Enter the maximum hole ice thickness value allowed.
144
145
*  Max. stdev = Enter the maximum hole standard deviation value allowed.
146
147
Target Template:
148
149 3 Eric Hou
*  Use target template = When enabled, template targets will be used to compose a target list. When not enabled, the center of the hole is the default target.
150 1 Amber Herold
151 3 Eric Hou
*  Acquisition Target Template (Add|Edit|Delete) = Add|Edit|Delete acquisition targets that define the locations of each acquisition target. The acquisition target coordinates (x,y) are measured relative to the center of a hole. Use the
152 1 Amber Herold
ruler tool to determine this distance.
153
154 3 Eric Hou
*  Test = Press this button to test/apply the ice thickness criteria and potentially create an acquisition target template.
155 1 Amber Herold
156
h2.  focus
157
158 3 Eric Hou
The purpose of the focus step is to focus targets near selected holes. The "focus" and "acquisition" Hole Finder steps Display Settings appear in the same window. For the purpose of this documentation to facilitate the separation of steps in the user interface, acquisition and focus will be addressed separately. Therefore, only the parameters pertaining to focus targets will discussed in this section. The parameters not covered in this section are part of the acquisition section.
159 1 Amber Herold
160 3 Eric Hou
h3.  Display
161 1 Amber Herold
162 3 Eric Hou
To view focus, either the Original, Edge, Template, or Threshold Displays must be enabled. The focus targets that pass this step will be shown with a blue crosshair.
163 1 Amber Herold
164 3 Eric Hou
h3.  Display Settings
165 1 Amber Herold
166
Ice Thickness Threshold:
167
168 3 Eric Hou
*  Focus hole selection = Any Hole | Off | Good Hole; Select the type of Z Focus target selection. This hole will be used by Z Focus to correct stage z height when first moving to the new square.
169 1 Amber Herold
170 3 Eric Hou
 ** Good Hole will select one of the good holes that passed the ice thickness test.
171 1 Amber Herold
172 3 Eric Hou
 ** Any Hole will select any of the holes that passed (up until before the ice thickness test).
173 1 Amber Herold
174 3 Eric Hou
 ** Off will turn Z Focus correction off.
175 1 Amber Herold
176
Target Template:
177
178 3 Eric Hou
*  Use target template = When enabled, template targets will be used to compose a target list. When not enabled, the center of the hole is the default target.
179 1 Amber Herold
180 3 Eric Hou
*  Focus Target Template (Add|Edit|Delete) = Add|Edit|Delete focus targets that define the locations of each focus target. The focus target coordinates (x,y) are measured relative to the center of a hole. Use the ruler tool to determine this distance.
181 1 Amber Herold
182
183 3 Eric Hou
*  Focus template thickness = Enter values that are used to determine whether the area where the focusing has ice that is too thick. If the ice is to thick and does not pass this ice thickness criteria, then that focus target will not be
184
used. Only the first focus target that passes is used. More than one focus target can pass the focus template thickness criteria.
185 1 Amber Herold
186 3 Eric Hou
 ** Use focus template thickness = When enabled, focus template targets will be checked against these ice thickness criteria.
187 1 Amber Herold
188 3 Eric Hou
 ** Stats. radius = the radius surrounding the focus target that is included in the statistics measurement
189 1 Amber Herold
190 3 Eric Hou
 ** Min. mean thickness = Enter the minimum ice thickness value allowed.
191 1 Amber Herold
192 3 Eric Hou
 ** Max. mean thickness = Enter the maximum ice thickness value allowed.
193 1 Amber Herold
194 3 Eric Hou
 ** Max. std. thickness = Enter the maximum standard deviation value allowed.
195 1 Amber Herold
196
197 3 Eric Hou
*  Test = Press this button to test/apply the ice thicness focus criteria and create a focus target template.
198 2 Amber Herold
199
200
201
202
203
______
204
205
[[Gon Modeler|< Gon Modeler]] | [[Hole Depth|Hole Depth >]]
206
207
______