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