Image Shift matrix calibration » History » Version 4
Alex Kadokura, 05/28/2010 01:19 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 | |||
14 | 3 | Alex Kadokura | |
15 | 1 | Amber Herold | _How does matrix calibration work?_ |
16 | |||
17 | |||
18 | 3 | Alex Kadokura | bq. Matrix calibration is made by making N sets of measurements (specified by "N |
19 | 1 | Amber Herold | 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 | |||
32 | * Leginon/Presets Manager> Select a preset for the calibration and send its |
||
33 | parameter to the microscope. Matrix calibration depends only on magnification and |
||
34 | microscope high tension. Therefore, only one preset per combination needs to be |
||
35 | calibrated. |
||
36 | |||
37 | |||
38 | * Scope> Make sure that the CCD is imaging an area with distinct feature. |
||
39 | preferable isotropic, i.e., a single line is not appropriate but lines crossing each |
||
40 | other is good. |
||
41 | |||
42 | |||
43 | * Leginon/NodeSelector> select "Matrix" node. |
||
44 | |||
45 | |||
46 | * Leginon/Matrix/Toolbar> left-click "acquire image" to obtain a test image with |
||
47 | current parameters. |
||
48 | |||
49 | |||
50 | * If the camera settings are not ideal- |
||
51 | |||
52 | |||
53 | Leginon/Presets Manager> If you have presets set up, you can change the camera |
||
54 | setting of the preset and send it to scope. |
||
55 | |||
56 | |||
57 | OR |
||
58 | |||
59 | |||
60 | Leginon/Matrix/Toolbar> open "settings" window by clicking the icon to select |
||
61 | camera configuration and correlation method. The former will take into effect only if |
||
62 | "Overwrite Preset" is checked. Click "OK" to save the settings and close the window when |
||
63 | done. |
||
64 | |||
65 | |||
66 | *Tip: Use this step to set the camera configuration to 512x512 binned by 8 (and a |
||
67 | short exposure time, of course) for presets with larger dimension and lower bin can save |
||
68 | a lot of image acquisition time during the calibration. |
||
69 | |||
70 | |||
71 | * Leginon/Matrix/Settings> select correlation method. Phase correlation is |
||
72 | especially efficient in cases where periodic pattern exist. The pattern often causes |
||
73 | cross correlation peak search to misidentify the correct peak in the multiple peak |
||
74 | correlation map. |
||
75 | |||
76 | |||
77 | * Leginon/Matrix/Toolbar> select "image shift" as the Parameter and open the |
||
78 | "Parameter Setting" window by clicking on the icon to the right of the selector. |
||
79 | |||
80 | |||
81 | * Leginon/Matrix/Matrix Settings> "Average # position"=1 is sufficient. The rest |
||
82 | can be left in default values. "Interval" is not a relavent parameter since " average # |
||
83 | position"=1. |
||
84 | |||
85 | |||
86 | * Leginon/Matrix/Toolbar> left-click (Execute icon) to calibrate. |
||
87 | |||
88 | |||
89 | * The image should be shifting 10-30% of the imaging area. If this is not the case, |
||
90 | then adjust the shift fraction so that this occurs. The images can be monitored in Image |
||
91 | Display Panel with display selection in image control panel set to "image". The beam |
||
92 | should also be covering the entire imaging area at all time. If significant beam shift |
||
93 | is produced during the calibration, then the microscope alignments need to be adjusted, |
||
94 | especially image/beam calibration through the FEI software). |
||
95 | |||
96 | |||
97 | 4 | Alex Kadokura | * Use Navigation node to [[Checking Matrix and Modeled Stage Position Calibration|check the result of the |
98 | calibration]] |
||
99 | 1 | Amber Herold | |
100 | |||
101 | |||
102 | |||
103 | |||
104 | |||
105 | |||
106 | |<filename>Preset</filename>|<filename>magnification</filename>| |
||
107 | |gr|120| |
||
108 | |sq|550| |
||
109 | |hl|5000| |
||
110 | |fc,fa,en,ef|50000| |
||
111 | 2 | Amber Herold | |
112 | |||
113 | |||
114 | ______ |
||
115 | |||
116 | [[Bright and Dark reference images|< Bright and Dark reference images]] | [[Beam Shift matrix calibration|Beam Shift matrix calibration >]] |
||
117 | |||
118 | ______ |