Hole Depth » History » Version 2
Amber Herold, 04/27/2010 02:39 PM
1 | 1 | Amber Herold | h1. Hole Depth |
---|---|---|---|
2 | |||
3 | |||
4 | The hole depth node, is a set of tools to measure parameters needed to correlate the |
||
5 | intensity values of hole with (I) and without ice (I0) with the physical thickness of the ice. |
||
6 | The two intensity values gives the image contrast , c=ln(I0/I), that is used in Hole Finder |
||
7 | Node Class as the relative measurement of thickness. Since the actual calibration of contrast |
||
8 | against physical thickness is not yet written, we do not advise using this node unless you |
||
9 | plan to perform your own query and fit the values with the proper function outside |
||
10 | Leginon. |
||
11 | |||
12 | |||
13 | |||
14 | Required bindings for recieving images: |
||
15 | |||
16 | <highlights> |
||
17 | <simplelist type="vert"> |
||
18 | <member> This node at the moment stands alone and is used in post session |
||
19 | processing.</member> |
||
20 | </simplelist> |
||
21 | </highlights> |
||
22 | |||
23 | |||
24 | |||
25 | |||
26 | h2. Image Selection |
||
27 | |||
28 | |||
29 | Each selected image type are for different measurement required for the correlation. |
||
30 | * I0= Image of the area after the ice is burned recorded at the magnification and |
||
31 | defocus at which the contrast-thickness calibration is intended. |
||
32 | |||
33 | |||
34 | Relevent Image Control Panel- |
||
35 | |||
36 | |||
37 | * PickHoles: Pick location and calculates mean intensity within given radius of |
||
38 | the the Picked position. |
||
39 | |||
40 | |||
41 | |||
42 | |||
43 | * I= Image of the area before the ice is burned recorded at the magnification and |
||
44 | defocus at which the contrast-thickness calibration is intended. |
||
45 | |||
46 | |||
47 | Relevent Image Control Panel- |
||
48 | |||
49 | |||
50 | * PickHoles: Pick location and calculates mean intensity within given radius of |
||
51 | the the Picked position. |
||
52 | |||
53 | |||
54 | |||
55 | |||
56 | * Hole Untilt= Image of the a small patch of ice burned away from carbob support at |
||
57 | high magnification that is used to determine the radius of the burned cylindrical |
||
58 | hole. |
||
59 | |||
60 | |||
61 | Relevent Image Control Panel- |
||
62 | |||
63 | |||
64 | * Original: File Entry. |
||
65 | |||
66 | |||
67 | * Edge: Create Edge Image of the hole. |
||
68 | |||
69 | |||
70 | * Template: Create Ring Template and correlate with the edge image to obtain |
||
71 | the radius of the cylindrical hole. |
||
72 | |||
73 | |||
74 | |||
75 | |||
76 | * Hole Tilt= Image of the same area as "Hole Untilt" with the stage tilted to |
||
77 | reveal some separation of the two cylinder end projection or partial ocluded path by |
||
78 | one of the end projection. |
||
79 | |||
80 | |||
81 | Relevent Image Control Panel- |
||
82 | |||
83 | |||
84 | * Original: File Entry. |
||
85 | |||
86 | |||
87 | * Edge: Create Edge Image of the tilted hole. |
||
88 | |||
89 | |||
90 | * Template: Using the tilt-projected ring template created from "Hole Untilt" |
||
91 | and the microscopic stage alpha angle of the tilted image to correlate with the |
||
92 | edge image to obtain the correlation peaks of the the two end of the |
||
93 | cylinder. |
||
94 | |||
95 | |||
96 | * Threshold: Threshold the correlation image to reveal only the two main |
||
97 | peaks. |
||
98 | |||
99 | |||
100 | * Blobs: Find the two thresholded peaks and calculates the depth of the hole |
||
101 | from the separation. |
||
102 | |||
103 | |||
104 | |||
105 | |||
106 | |||
107 | |||
108 | |||
109 | |||
110 | |||
111 | |||
112 | h2. Image Control Panel |
||
113 | |||
114 | |||
115 | NOTE: To see the effects of Testing the settings for a particular Hole Depth step in |
||
116 | the Image Control Panel, the corresponding Hole Depth step Display must be enabled before |
||
117 | using the Test feature in that step's Display Settings. |
||
118 | |||
119 | |||
120 | |||
121 | h2. Original |
||
122 | |||
123 | |||
124 | |||
125 | |||
126 | h2. Display |
||
127 | |||
128 | |||
129 | To view the original input image without any image processing done to it, enable |
||
130 | this button. Enabling this button will disable/override the Edge, Template, and |
||
131 | Threshold Displays. |
||
132 | |||
133 | |||
134 | |||
135 | |||
136 | |||
137 | h2. Display Settings |
||
138 | |||
139 | |||
140 | |||
141 | |||
142 | |||
143 | * Original Image: File Entry = Enter the path and name of an MRC image that |
||
144 | matches the Image selection chosen in the node toolbar. The filename and path for |
||
145 | each type are stored separately. Only the chosen type will be displayed. |
||
146 | |||
147 | |||
148 | |||
149 | |||
150 | |||
151 | |||
152 | |||
153 | |||
154 | |||
155 | |||
156 | |||
157 | h2. Edge |
||
158 | |||
159 | |||
160 | The purpose of the Edge step is to convert the original image into an "edge" image |
||
161 | where the edges of the holes in the image are enhanced against a black background. |
||
162 | |||
163 | |||
164 | |||
165 | h2. Display |
||
166 | |||
167 | |||
168 | To view the Edge image, enable this button. Enabling this button will |
||
169 | disable/override the Original, Template, and Threshold Displays. |
||
170 | |||
171 | |||
172 | |||
173 | |||
174 | |||
175 | h2. Display Settings |
||
176 | |||
177 | |||
178 | |||
179 | |||
180 | |||
181 | * Low Pass Filter Sigma = Enter the sigma of the low pass filter applied to the |
||
182 | edge image. A value of 0 will not apply a low pass filter to the edge |
||
183 | image. |
||
184 | |||
185 | |||
186 | * Edge Finding Threshold = Enter a reasonable intensity value that will enhance |
||
187 | the edges of the hole(s) in the edge image. |
||
188 | |||
189 | |||
190 | * Test = Press this button to test/apply the LP sigma and Edge Finding |
||
191 | Threshold effects on the edge image. |
||
192 | |||
193 | |||
194 | |||
195 | |||
196 | |||
197 | |||
198 | |||
199 | |||
200 | |||
201 | |||
202 | |||
203 | h2. Template |
||
204 | |||
205 | |||
206 | The purpose of the Template step is to cross correlate a template of the properly |
||
207 | sized holes against the edge image where the edges of the holes have been enhanced in the |
||
208 | previous step. Unlike in HoleFinder, this template is a tilt projection of the circular |
||
209 | ring. |
||
210 | |||
211 | |||
212 | |||
213 | h2. Display |
||
214 | |||
215 | |||
216 | To view the Template image, enable this button. Enabling this button will |
||
217 | disable/override the Original, Edge, and Threshold Displays. |
||
218 | |||
219 | |||
220 | |||
221 | |||
222 | |||
223 | h2. Display Settings |
||
224 | |||
225 | |||
226 | |||
227 | |||
228 | |||
229 | * Use "phase | cross" correlation = to do this calculation. |
||
230 | |||
231 | |||
232 | * Rings (Add|Edit|Delete) = Add|Edit|Delete the inner and outer hole (ring) |
||
233 | diameters in this section. Use the ruler tool while displaying the Edge image to |
||
234 | measure the average inner and outer hole diameter. Enter the average inner and |
||
235 | outer hole diameter in this section. |
||
236 | |||
237 | |||
238 | * Low Pass Filter Sigma (for Phase Correlation only) = Enter a low pass filter |
||
239 | sigma that is used only when phase correlation is used in this step. |
||
240 | |||
241 | |||
242 | * Tilt Axis = Enter the angle in degree the tilt axis is measured from the |
||
243 | y-axis of the image. Positive is counterclockwise. |
||
244 | |||
245 | |||
246 | * Test = Press this button to test/apply the parameters that have been adjusted |
||
247 | in this step. |
||
248 | |||
249 | |||
250 | |||
251 | |||
252 | |||
253 | |||
254 | |||
255 | |||
256 | |||
257 | |||
258 | |||
259 | h2. Threshold |
||
260 | |||
261 | |||
262 | The purpose of the Threshold step is to apply a threshold to the previous Template |
||
263 | image. It is in unit of correlation. The Threshold image should have dots that represent |
||
264 | the center of all the found holes. |
||
265 | |||
266 | |||
267 | |||
268 | h2. Display |
||
269 | |||
270 | |||
271 | To view the Threshold image, enable this button. Enabling this button will |
||
272 | disable/override the Original, Edge, and Template Displays. |
||
273 | |||
274 | |||
275 | |||
276 | |||
277 | |||
278 | h2. Display Settings |
||
279 | |||
280 | |||
281 | |||
282 | |||
283 | |||
284 | * Threshold = Enter the Threshold value of a dot that represents the center of |
||
285 | a hole (relative to the value with the stdv shown for the correlation |
||
286 | image). |
||
287 | |||
288 | |||
289 | * Test = Press this button to test/apply the Threshold to the template |
||
290 | correlation image. Only the dots hat represent the center of the holes should |
||
291 | appear. It is highly likely that dots not representing the center of a hole will |
||
292 | also appear. |
||
293 | |||
294 | |||
295 | |||
296 | |||
297 | |||
298 | |||
299 | |||
300 | |||
301 | |||
302 | |||
303 | |||
304 | h2. Blobs |
||
305 | |||
306 | |||
307 | The purpose of the Blobs step in Hold Depth is not only to mark the center of the |
||
308 | thresholded image but also to calculate the depth of the hole from the two marked |
||
309 | locations. |
||
310 | |||
311 | |||
312 | |||
313 | h2. Display |
||
314 | |||
315 | |||
316 | To view Blobs, either the Original, Edge, Template, or Threshold Displays must be |
||
317 | enabled. The Blobs that pass this step or manually picked will be shown with a turquoise |
||
318 | crosshair. |
||
319 | |||
320 | |||
321 | |||
322 | |||
323 | |||
324 | h2. Display Settings |
||
325 | |||
326 | |||
327 | |||
328 | |||
329 | |||
330 | * Border = The pixel value distance from the edge of the image where all |
||
331 | potential hole targets will be erased. |
||
332 | |||
333 | |||
334 | * Max. blobs = The maximum number of hole targets or blobs at this point that |
||
335 | are allowed. If the number of blobs exceeds this number, the extra blobs will be |
||
336 | eliminated. |
||
337 | |||
338 | |||
339 | * Max. blob size = The maximum size of a blob that is allowed to pass. This is |
||
340 | roughly the square of an average blob diameter. Use the ruler tool on the |
||
341 | Threshold image to determine the average diameter of a blob. |
||
342 | |||
343 | |||
344 | * Find blobs / Calc depth= Press this button to test/apply the Blobs criteria |
||
345 | to the Threshold image and calculate the depth of the hole if 2 blobs are found. |
||
346 | If only 1 blob is found, the correlation peaks are considered unresolved and a |
||
347 | separation of 1 pixel is assumed in the depth calculation. |
||
348 | |||
349 | |||
350 | * Calc w/ selections= Press this button to calculate the depth of the hole |
||
351 | using the two manually picked blobs.. |
||
352 | |||
353 | |||
354 | |||
355 | |||
356 | |||
357 | |||
358 | |||
359 | |||
360 | |||
361 | |||
362 | |||
363 | h2. Pick Holes |
||
364 | |||
365 | |||
366 | The purpose of the step is to locate the burned position in either the images before |
||
367 | or after the burning and to calculate the mean intensity within given radius. |
||
368 | |||
369 | |||
370 | |||
371 | h2. Display |
||
372 | |||
373 | |||
374 | To pick and calculate mean intensity of the Picked Holes, the Original Displays |
||
375 | must be enabled. The acquisition targets that pass this step will be shown with a green |
||
376 | crosshair. |
||
377 | |||
378 | |||
379 | |||
380 | |||
381 | |||
382 | h2. Display Settings |
||
383 | |||
384 | |||
385 | |||
386 | |||
387 | |||
388 | |||
389 | |||
390 | * Hole Statistics Radius = The radius in pixels of the holes (that pass the |
||
391 | lattice criteria) that will be used to determine each hole's statistics. |
||
392 | |||
393 | |||
394 | * Hole Statistics Zero Thickness = The intensity value of an empty hole, i.e. |
||
395 | zero thickness intensity. |
||
396 | |||
397 | |||
398 | * Shiftpicks = If a hole has been picked and tested from I0 image, pressing this |
||
399 | button with a I image loaded causes the current picks shift by the offset of |
||
400 | correlation peaks between I0 to I. |
||
401 | |||
402 | |||
403 | * Test = Press this button to test/apply the zero thickness and radius criteria |
||
404 | to calculate the mean intensity of the picked hole. |
||
405 | 2 | Amber Herold | |
406 | |||
407 | |||
408 | |||
409 | ______ |
||
410 | |||
411 | [[Hole Finder|< Hole Finder]] | [[JAHC Hole Finder (Template Hole Finder)|JAHC Hole Finder (Template Hole Finder) >]] |
||
412 | |||
413 | ______ |