Skip to content

[IMG176] add rotation axis tilt correction

Zhang, Chen requested to merge IMG157_rot_axis_tilt_correction into next
  • Original Gitlab Story: IMG176

This PR adds a new rotation axis tilt correction along with corresponding unit tests.

  • The tilt correction is calculated by rotating the 180 deg pair util they match
  • The solution finder is carried out by scalar_minimizer from scipy
  • The current tilt correction can only work for in-plane tilt within 5 deg.
    • within 2 deg: the tilt can be found accurately
    • from 2 ~ 5 deg: the accuracy degrades with smaller image size
    • beyond 5 deg: it is not recommended to use this correction

The accuracy curve from a 100x100 size image:

  • blue dots: tilt value calculated from each 180 deg pair
  • red cross: correct solution (reference value)
  • black cross: calculated tilt value

image

benchmark_tilts_searchMethod_100x100.pdf benchmark_tilts_searchMethod_200x200.pdf benchmark_tilts_searchMethod_500x500.pdf

Merge request reports