-
class
Inpainting
[source] A plugin to apply 2D/3D inpainting technique to data. If there is a chunk of data missing or one needs to inpaint some data features.
- U*param mask_range
mask for inpainting is set as a threhsold in a range. Default: [1.0,100].
- U*param iterations
controls the smoothing level of the inpainted region. Default: 50.
- U*param windowsize_half
half-size of the smoothing window. Default: 3.
- U*param sigma
maximum value for the inpainted region. Default: 0.5.
- U*param pattern
pattern to apply this to. Default: “SINOGRAM”.
-
get_plugin_pattern
()[source]
-
nInput_datasets
()[source] The number of datasets required as input to the plugin
- Returns
Number of input datasets
-
nOutput_datasets
()[source] The number of datasets created by the plugin
- Returns
Number of output datasets
-
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).