class RemoveLargeRings[source]
detect_stripe(listdata, snr)[source]

Algorithm 4 in the paper. To locate stripe positions.

Parameters
  • listdata (1D normalized array.) –

  • snr (Ratio (>1.0) used to detect stripe locations.) –

Returns

listmask

Return type

1D binary mask.

pre_process()[source]

This method is called immediately after base_pre_process().

process_frames(data)[source]

This method is called after the plugin has been created by the pipeline framework and forms the main processing step

Parameters

data (list(np.array)) – A list of numpy arrays for each input dataset.

setup()[source]

This method is first to be called after the plugin has been created. It determines input/output datasets and plugin specific dataset information such as the pattern (e.g. sinogram/projection).