Project

General

Profile

JAHC Hole Finder (Template Hole Finder) » History » Version 4

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

1 1 Amber Herold
h1. JAHC Hole Finder (Template Hole Finder)
2
3 3 Eric Hou
The JAHC Hole Finder class is a variation of Hole Finder class. The purpose and operation is similar in the two node classes. The differences are 1: JAHC Hole Finder does not use edge image for correlation but the original, and 2: JAHC Hole Finder uses a scaled template image rather than a simple geometric ring for the correlation step. Like the Hole Finder, 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 JAHC 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) -> JAHC Hole Finder
8
JAHC Hole Finder - (ImageTargetListPublishEvent) -> next Acquisition
9
JAHC 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
JAHC Hole Finder- (ImageProcessDoneEvent) -> previous Acquisition
14
next Acquisition - (TargetListDoneEvent) -> JAHC 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
23 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.
24 1 Amber Herold
25
26 3 Eric Hou
*  Skip automated hole finder= When enabled, the automatic Hole Finder algorithm will be skipped altogether.
27 1 Amber Herold
28
h2.  Image Control Panel
29
30 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 JAHC Hole Finder step Display must be enabled before using the Test feature in that step's Display Settings.
31 1 Amber Herold
32
h2.  Original
33
34 3 Eric Hou
h3.  Display
35 1 Amber Herold
36 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.
37 1 Amber Herold
38 3 Eric Hou
h3.  Display Settings
39 1 Amber Herold
40 3 Eric Hou
*  Original Image: File Entry = Enter the path and name of an MRC image that the JAHC Hole Finder can be tested on. This feature allows JAHC Hole Finder to be tested without having run a full Leginon MSI application.
41 1 Amber Herold
42
h2.  Template
43
44 3 Eric Hou
The purpose of the Template step is to cross correlate a template of the properly sized template holes against the original image.
45 1 Amber Herold
46 3 Eric Hou
h3.  Display
47 1 Amber Herold
48 3 Eric Hou
To view the Template image, enable this button. Enabling this button will disable/override the Original, Edge, and Threshold Displays.
49 1 Amber Herold
50 3 Eric Hou
h3.  Display Settings
51 1 Amber Herold
52
*  Use "phase | cross" correlation = to do this calculation.
53
54
*  Template Filename = Enter the path and name of a template MRC image.
55
56
*  Original Template Diameter = Enter the value in pixel.
57
58 3 Eric Hou
*  Final Template Diameter = A scaled diameter in pixel. It should be chosen give the sharpest correlation peak upon testing.
59 1 Amber Herold
60 3 Eric Hou
*  Test = Press this button to test/apply the parameters that have been adjusted in this step.
61 1 Amber Herold
62
h2.  Threshold
63
64 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.
65 1 Amber Herold
66 3 Eric Hou
h3.  Display
67 1 Amber Herold
68 3 Eric Hou
To view the Threshold image, enable this button. Enabling this button will disable/override the Original, Edge, and Template Displays.
69 1 Amber Herold
70 3 Eric Hou
h3.  Display Settings
71 1 Amber Herold
72 3 Eric Hou
*  Threshold = Enter the Threshold value of a dot that represents the center of a hole (either as absolute value or relative to the value with the stdv shown for the correlation image).
73 1 Amber Herold
74 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
75 1 Amber Herold
also appear.
76
77
h2.  Blobs
78
79 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.
80 1 Amber Herold
81 3 Eric Hou
h3.  Display
82 1 Amber Herold
83 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.
84 1 Amber Herold
85 3 Eric Hou
h3.  Display Settings
86 1 Amber Herold
87 3 Eric Hou
*  Border = The pixel value distance from the edge of the image where all potential hole targets will be erased.
88 1 Amber Herold
89 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.
90 1 Amber Herold
91 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.
92 1 Amber Herold
93 3 Eric Hou
*  Test = Press this button to test/apply the Blobs criteria to the Threshold image.
94 1 Amber Herold
95
h2.  Lattice
96
97 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.
98 1 Amber Herold
99 3 Eric Hou
h3.  Display
100 1 Amber Herold
101 3 Eric Hou
To view Lattice, either the Original, Template, or Threshold Displays must be enabled. The Lattice blobs that pass this step will be shown with a pink crosshair.
102 1 Amber Herold
103 3 Eric Hou
h3.  Display Settings
104 1 Amber Herold
105 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).
106 1 Amber Herold
107 3 Eric Hou
*  Lattice Fitting Tolerance = The tolerance allowed for holes that may not exactly lie in the described lattice.
108 1 Amber Herold
109 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.
110 1 Amber Herold
111 3 Eric Hou
*  Hole Statistics Zero Thickness = The intensity value of an empty hole, i.e. zero thickness intensity.
112 1 Amber Herold
113 3 Eric Hou
*  Test = Press this button to test/apply the Lattice criteria to the result of the Blobs criteria.
114 1 Amber Herold
115
h2.  acquisition
116
117 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" JAHC 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 acquisition targets will discussed in this section. The parameters not covered in this section are part of the focus section.
118 1 Amber Herold
119 3 Eric Hou
h3.  Display
120 1 Amber Herold
121 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.
122 1 Amber Herold
123 3 Eric Hou
h3.  Display Settings
124 1 Amber Herold
125
Ice Thickness Threshold:
126 3 Eric Hou
127 1 Amber Herold
*  Min. mean = Enter the minimum hole ice thickness value allowed.
128
129
*  Max. mean = Enter the maximum hole ice thickness value allowed.
130
131
*  Max. stdev = Enter the maximum hole standard deviation value allowed.
132
133
Target Template:
134
135 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.
136 1 Amber Herold
137 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
138 1 Amber Herold
ruler tool to determine this distance.
139
140 3 Eric Hou
*  Test = Press this button to test/apply the ice thickness criteria and potentially create an acquisition target template.
141 1 Amber Herold
142
h2.  focus
143
144 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.
145 1 Amber Herold
146 3 Eric Hou
h3.  Display
147 1 Amber Herold
148 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.
149 1 Amber Herold
150 3 Eric Hou
h3.  Display Settings
151 1 Amber Herold
152
Ice Thickness Threshold:
153
154 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.
155 1 Amber Herold
156 3 Eric Hou
 ** Good Hole will select one of the good holes that passed the ice thickness test.
157 1 Amber Herold
158 3 Eric Hou
 ** Any Hole will select any of the holes that passed (up until before the ice thickness test).
159 1 Amber Herold
160 3 Eric Hou
 ** Off will turn Z Focus correction off.
161 1 Amber Herold
162
Target Template:
163
164 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.
165 1 Amber Herold
166 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.
167 1 Amber Herold
168 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
169
used. Only the first focus target that passes is used. More than one focus target can pass the focus template thickness criteria.
170 1 Amber Herold
171 3 Eric Hou
 ** Use focus template thickness = When enabled, focus template targets will be checked against these ice thickness criteria.
172 1 Amber Herold
173 3 Eric Hou
 ** Stats. radius = the radius surrounding the focus target that is included in the statistics measurement
174 1 Amber Herold
175 3 Eric Hou
 ** Min. mean thickness = Enter the minimum ice thickness value allowed.
176 1 Amber Herold
177 3 Eric Hou
 ** Max. mean thickness = Enter the maximum ice thickness value allowed.
178 1 Amber Herold
179 3 Eric Hou
 ** Max. std. thickness = Enter the maximum standard deviation value allowed.
180 1 Amber Herold
181 2 Amber Herold
182
*  Test = Press this button to test/apply the ice thicness focus criteria and
183
create a focus target template.
184
185
______
186
187
[[Hole Depth|< Hole Depth]] | [[Manual Acquisition|Manual Acquisition >]]
188
189
______