Project

General

Profile

Image Shift matrix calibration » History » Version 7

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