Hole Targeting Set-up for MSI-T » History » Version 6
Anchi Cheng, 01/19/2011 04:47 PM
1 | 1 | Anchi Cheng | h1. Hole Targeting Set-up for MSI-T |
---|---|---|---|
2 | |||
3 | 4 | Anchi Cheng | If you change the value and test an earlier step, you must redo all subsequent steps without skipping. |
4 | 1 | Anchi Cheng | |
5 | 2 | Anchi Cheng | h2. 1. Leginon/Hole Targeting/Original> |
6 | 1 | Anchi Cheng | |
7 | Use this setting to load a test image if needed. |
||
8 | |||
9 | * Select the Image Display Selection before opening the Image Display Settings window. |
||
10 | |||
11 | * Browse the rawdata directory of the current session for an example image for testing. |
||
12 | |||
13 | * Load the selected file and exit Image Display Settings window. |
||
14 | |||
15 | * *If no file is selected while loading, an example square image will be loaded.* |
||
16 | |||
17 | !square.jpg! |
||
18 | |||
19 | |||
20 | 2 | Anchi Cheng | h2. 2. Leginon/Hole Targeting/Template> |
21 | 1 | Anchi Cheng | |
22 | A good template gives a sharp correlation at the center of the holes. |
||
23 | |||
24 | 2 | Anchi Cheng | * Measure the hole diameter with the ruler tool of the image viewer on any loaded original image of the hole to be tested. |
25 | |||
26 | 1 | Anchi Cheng | * Select the Template Display Selection before opening the Template Display Settings window. |
27 | |||
28 | 2 | Anchi Cheng | * Enter the path and filename of the hole template file if it is not set previously. The template is normally an average of several images of the hole of the same size and manufacturing method. The [[Creating Template|previous section]] shows how the template come with Leginon is created. This default hole template has a diameter of 168 pixels. |
29 | 1 | Anchi Cheng | |
30 | 2 | Anchi Cheng | * Enter the hole diameter of the template under "Original Template Diameter" in pixel. |
31 | 1 | Anchi Cheng | |
32 | 2 | Anchi Cheng | * Enter the hole diameter of the hole in the test image under "Final Template Diameter" in pixel. The ratio of the two diameters causes a scaling of the template. |
33 | *Hint*: A larger final template diameter than the actual hole often give a sharper cross correlation peak. |
||
34 | 1 | Anchi Cheng | |
35 | 2 | Anchi Cheng | * Choose a correlation method. "phase" correlation is the typical. |
36 | 1 | Anchi Cheng | |
37 | 2 | Anchi Cheng | * Set the low pass filter = 2 or higher can reduce scattered sharp peaks found in phase correlation image. |
38 | 1 | Anchi Cheng | |
39 | 2 | Anchi Cheng | * "Test" these parameters and adjust. We found that the best result often need the final template diameter to be set somewhat larger than the actual hole in the image. |
40 | 1 | Anchi Cheng | |
41 | 2 | Anchi Cheng | !template.jpg! |
42 | 1 | Anchi Cheng | |
43 | 3 | Anchi Cheng | h2. 3. Leginon/Hole Targeting/Threshold> |
44 | 1 | Anchi Cheng | |
45 | A good correlation threshold leaves only small blobs of the correlation peaks from the holes. Since the peaks from holes with ice are usually weaker but more important to catch, it is o.k. to leave some but not too many noise peaks. This parameter also tends to change during an experiment. The value is in the unit of number of standard deviation above the mean. |
||
46 | |||
47 | 2 | Anchi Cheng | * While the template correlation image is displayed, find out the value of the correlation peaks using the information tool (with 42 shown on the button) |
48 | |||
49 | 1 | Anchi Cheng | * Select the Threshold Display Selection before opening the Threshold Display Settings window. |
50 | |||
51 | 2 | Anchi Cheng | * Enter the absolute or relative threshold value and press Test. |
52 | 1 | Anchi Cheng | |
53 | 2 | Anchi Cheng | !threshold.jpg! |
54 | 1 | Anchi Cheng | |
55 | 3 | Anchi Cheng | h2. 4. Leginon/Hole Targeting/Blobs> |
56 | 1 | Anchi Cheng | |
57 | If the threshold level from the last step is too low, there will be a lot of big blobs, making the process slow. The parameters set in this node reasonably limit the total number of blobs. |
||
58 | |||
59 | * Select the Blob Display Section before opening the Blob Display Settings window. |
||
60 | |||
61 | * "Border" should be set to at least the radius of the holes in order to reduce the border effects. |
||
62 | |||
63 | * "Maximum number of blobs" is typically 300 (although it is sometimes larger if you expect more holes). |
||
64 | |||
65 | * "Maximum size of blobs" should be adjusted until mostly hole centers, not junk spots, are shown. |
||
66 | |||
67 | * "Test" and adjust the parameters in the last three steps (2-4) to acheive the best results. |
||
68 | |||
69 | * To help define the lattice, measure the distance between hole centers with the ruler tool. |
||
70 | |||
71 | 3 | Anchi Cheng | !blobs.jpg! |
72 | 1 | Anchi Cheng | |
73 | 3 | Anchi Cheng | h2. 5. Leginon/Hole Targeting/Lattice> |
74 | 1 | Anchi Cheng | |
75 | The lattice of the holes is not perfect; therefore, a decent tolerance is necessary for a good fit to this imperfect lattice. If only a few blobs were centered in the last step, then this step is not likely to work. |
||
76 | |||
77 | 3 | Anchi Cheng | * Select the Lattice Display and Original Image Display before opening the Lattice Settings dialog. |
78 | 1 | Anchi Cheng | |
79 | * Enter the Spacing from the measurement in the last step. |
||
80 | |||
81 | * Typical Tolerance = 0.1 (i.e., 10% error in the spacing is accepted) |
||
82 | |||
83 | * Hole Stats Radius = ~ 3/4 of the hole radius. |
||
84 | |||
85 | 3 | Anchi Cheng | * Zero thickness (I0) = the intensity measurement from an empty hole at the same preset (the sq preset). |
86 | 1 | Anchi Cheng | |
87 | 3 | Anchi Cheng | * "Test" |
88 | 1 | Anchi Cheng | |
89 | 3 | Anchi Cheng | * Close the settings dialog and examine the "mean thickness" and "standard deviation of thickness" in each hole on the lattice by activate "42" tool and move the curser close to the center of a lattice target. |
90 | 1 | Anchi Cheng | |
91 | 3 | Anchi Cheng | !lattice.jpg! |
92 | |||
93 | h2. 6. Leginon/Hole Targeting/acquisition> |
||
94 | |||
95 | 1 | Anchi Cheng | The settings here depend on the required ice thickness and on the "Zero thickness" setting in the last step. At a minimum, these settings can be used to rule out holes that are empty and that have massive ice contaminant. |
96 | |||
97 | * Select the Original and acquisition Display Sections before opening the acquisition Display Settings window. |
||
98 | |||
99 | 3 | Anchi Cheng | * mean and standard deviation are measured by ln(I0/I) |
100 | 1 | Anchi Cheng | |
101 | * Focus hole selection = Good hole ( or "Any Hole" if hole targets are not plentyful. With "Any Hole" option,and a bad hole may be targeted that is hard to focus such as very thick ice. Alternatively, "Off" to skip the Z height correction step at each square ) |
||
102 | |||
103 | * Use target template = no |
||
104 | |||
105 | 3 | Anchi Cheng | !acquisition.jpg! |
106 | 1 | Anchi Cheng | |
107 | 3 | Anchi Cheng | h2. 7. Leginon/Hole Targeting/focus> |
108 | 1 | Anchi Cheng | |
109 | The only relevant focus setting ("Focus hole selection") in Hole Targeting is in relation to Z Height correction. The Leginon/Hole Targeting/focus Display Settings window = Leginon/Hole Targeting/acquisition Display Settings window. This means that the focus settings were set in the previous section and do not need to be revisited here. To see the focus targets, enable the Original and focus (and optionally the acquisition) display selections in the image control panel. |
||
110 | |||
111 | |||
112 | |||
113 | 3 | Anchi Cheng | h2. 8. Leginon/Hole Targeting/Settings> To activate automatic hole finding for future images received. |
114 | 1 | Anchi Cheng | |
115 | |||
116 | Skip automatic hole finding = no |
||
117 | 5 | Anchi Cheng | |
118 | ______ |
||
119 | |||
120 | 6 | Anchi Cheng | [[Creating Template|< Creating Template]] | [[Exposure Targeting Set-up for MSI-T|Exposure Targeting Set-up for MSI-T >]] |
121 | 5 | Anchi Cheng | |
122 | ______ |