Raven Filter¶
Description¶
FFT-based method for removing ring artifacts.
Parameters
in_datasets:
visibility: datasets
dtype: "[list[],list[str]]"
description:
summary: A list of the dataset(s) to process.
verbose: A list of strings, where each string gives the name of a dataset that was either specified by a loader plugin or created as output to a previous plugin. The length of the list is the number of input datasets requested by the plugin. If there is only one dataset and the list is left empty it will default to that dataset.
default: "[]"
out_datasets:
visibility: datasets
dtype: "[list[],list[str]]"
description:
summary: A list of the dataset(s) to create.
verbose: A list of strings, where each string is a name to be assigned to a dataset output by the plugin. If there is only one input dataset and one output dataset and the list is left empty, the output will take the name of the input dataset. The length of the list is the number of output datasets created by the plugin.
default: "[]"
uvalue:
visibility: basic
dtype: int
description: Cut-off frequency. To control the strength of filter, e.g. strong=10, moderate=20, weak=50.
default: "20"
vvalue:
visibility: basic
dtype: int
description: Number of image-rows around the zero-frequency to be applied the filter.
default: "1"
nvalue:
visibility: intermediate
dtype: int
description: To define the shape of filter
default: "8"
padFT:
visibility: intermediate
dtype: int
description: Padding for Fourier transform.
default: "50"
Key
visibility: The visibility level of the parameter
dtype: The type of data
description: A short explanation of the parameter
default: The default value
options: A list of permitted values
dependency: The name of the parameter and value which this parameter depends upon
range: A guide for the range of the parameter
Citations
Numerical removal of ring artifacts in microtomography by Raven, Carsten et al.
Bibtex
@article{raven1998numerical,
title={Numerical removal of ring artifacts in microtomography},
author={Raven, Carsten},
journal={Review of scientific instruments},
volume={69},
number={8},
pages={2978--2980},
year={1998},
publisher={American Institute of Physics}
}
Endnote
%0 Journal Article
%T Numerical removal of ring artifacts in microtomography
%A Raven, Carsten
%J Review of scientific instruments
%V 69
%N 8
%P 2978-2980
%@ 0034-6748
%D 1998
%I American Institute of Physics
API
-
class
RavenFilter
[source] -
get_max_frames
()[source]
-
get_plugin_pattern
()[source]
-
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.
-
set_filter_padding
(in_data, out_data)[source] Should be overridden to define how wide the frame should be for each input data set
-