Image Shift matrix calibration » History » Version 1
Amber Herold, 04/22/2010 04:51 PM
1 | 1 | Amber Herold | h1. Image Shift matrix calibration |
---|---|---|---|
2 | |||
3 | |||
4 | Image shift matrix calibrations are used at each magnification that Leginon uses. All 2x2 |
||
5 | matrix calibrations covered by the "Matrix" node works in the same way. For a particular type |
||
6 | of movement, in this case an "image shift" using the electromagnetic lenses of the microscope, |
||
7 | a 2x2 transformation matrix needs to be created that relates the values sent to the microscope |
||
8 | and the amount of "image shift" movement seen on the CCD imaging area. Only one set of |
||
9 | measurement is sufficient for image shift matrix calibration. |
||
10 | |||
11 | |||
12 | |||
13 | <blockquote> |
||
14 | |||
15 | _How does matrix calibration work?_ |
||
16 | |||
17 | |||
18 | Matrix calibration is made by making N sets of measurements (specified by "N |
||
19 | Average"). Each measurement set acquires three images, first at a given origin, second |
||
20 | with an x-axis movement in the specified "Parameter" by the specified "Shift Fraction" of |
||
21 | the image, and third with an y-axis movement by the same shift fraction. The resulting |
||
22 | shifts in the acquired images are obtained by cross correlation. A transformation matrix |
||
23 | is then generated for the measurement set. The origin is shifted by the "Interval" |
||
24 | specified in the node, in meters before the next set of measurements is taken. At the end, |
||
25 | the N matrixes obtained are averaged and saved in the database at the specific |
||
26 | magnification and movement type and can be applied to any camera configuration. |
||
27 | "Tolerance", expressed in fraction of image, is used as an error check. The calibration is |
||
28 | considered failed when the measured movement is much different from that calculated from |
||
29 | pixel calibration |
||
30 | |||
31 | </blockquote> |
||
32 | |||
33 | * Leginon/Presets Manager> Select a preset for the calibration and send its |
||
34 | parameter to the microscope. Matrix calibration depends only on magnification and |
||
35 | microscope high tension. Therefore, only one preset per combination needs to be |
||
36 | calibrated. |
||
37 | |||
38 | |||
39 | * Scope> Make sure that the CCD is imaging an area with distinct feature. |
||
40 | preferable isotropic, i.e., a single line is not appropriate but lines crossing each |
||
41 | other is good. |
||
42 | |||
43 | |||
44 | * Leginon/NodeSelector> select "Matrix" node. |
||
45 | |||
46 | |||
47 | * Leginon/Matrix/Toolbar> left-click "acquire image" to obtain a test image with |
||
48 | current parameters. |
||
49 | |||
50 | |||
51 | * If the camera settings are not ideal- |
||
52 | |||
53 | |||
54 | Leginon/Presets Manager> If you have presets set up, you can change the camera |
||
55 | setting of the preset and send it to scope. |
||
56 | |||
57 | |||
58 | OR |
||
59 | |||
60 | |||
61 | Leginon/Matrix/Toolbar> open "settings" window by clicking the icon to select |
||
62 | camera configuration and correlation method. The former will take into effect only if |
||
63 | "Overwrite Preset" is checked. Click "OK" to save the settings and close the window when |
||
64 | done. |
||
65 | |||
66 | |||
67 | *Tip: Use this step to set the camera configuration to 512x512 binned by 8 (and a |
||
68 | short exposure time, of course) for presets with larger dimension and lower bin can save |
||
69 | a lot of image acquisition time during the calibration. |
||
70 | |||
71 | |||
72 | * Leginon/Matrix/Settings> select correlation method. Phase correlation is |
||
73 | especially efficient in cases where periodic pattern exist. The pattern often causes |
||
74 | cross correlation peak search to misidentify the correct peak in the multiple peak |
||
75 | correlation map. |
||
76 | |||
77 | |||
78 | * Leginon/Matrix/Toolbar> select "image shift" as the Parameter and open the |
||
79 | "Parameter Setting" window by clicking on the icon to the right of the selector. |
||
80 | |||
81 | |||
82 | * Leginon/Matrix/Matrix Settings> "Average # position"=1 is sufficient. The rest |
||
83 | can be left in default values. "Interval" is not a relavent parameter since " average # |
||
84 | position"=1. |
||
85 | |||
86 | |||
87 | * Leginon/Matrix/Toolbar> left-click (Execute icon) to calibrate. |
||
88 | |||
89 | |||
90 | * The image should be shifting 10-30% of the imaging area. If this is not the case, |
||
91 | then adjust the shift fraction so that this occurs. The images can be monitored in Image |
||
92 | Display Panel with display selection in image control panel set to "image". The beam |
||
93 | should also be covering the entire imaging area at all time. If significant beam shift |
||
94 | is produced during the calibration, then the microscope alignments need to be adjusted, |
||
95 | especially image/beam calibration through the FEI software). |
||
96 | |||
97 | |||
98 | * Use Navigation node to <link linkend="nav">check the result of the |
||
99 | calibration</link>. |
||
100 | |||
101 | |||
102 | |||
103 | |||
104 | |||
105 | |||
106 | |||
107 | |<filename>Preset</filename>|<filename>magnification</filename>| |
||
108 | |gr|120| |
||
109 | |sq|550| |
||
110 | |hl|5000| |
||
111 | |fc,fa,en,ef|50000| |