Project

General

Profile

Hole Depth » History » Version 3

Eric Hou, 06/25/2010 09:17 AM

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