tomocupy.find_center

Functions:

FindCenter

class tomocupy.find_center.FindCenter(cl_reader)[source]

Bases: object

Find rotation axis by comapring 0 and 180 degrees projection with using SIFT

find_center()[source]
find_center_sift()[source]
find_center_vo(ind=None, smin=-50, smax=50, srad=6, step=0.25, ratio=0.5, drop=20)[source]

Find rotation axis location using Nghia Vo’s method. [B4].

Parameters
  • ind (int, optional) – Index of the slice to be used for reconstruction.

  • smin, smax (int, optional) – Coarse search radius. Reference to the horizontal center of the sinogram.

  • srad (float, optional) – Fine search radius.

  • step (float, optional) – Step of fine searching.

  • ratio (float, optional) – The ratio between the FOV of the camera and the size of object. It’s used to generate the mask.

  • drop (int, optional) – Drop lines around vertical center of the mask.

Returns

float – Rotation axis location.

read_data_try(data_queue, id_slice)[source]