pub struct ProcessConfig {Show 16 fields
pub enable_background: bool,
pub enable_flat_field: bool,
pub enable_offset_scale: bool,
pub offset: f64,
pub scale: f64,
pub enable_low_clip: bool,
pub low_clip: f64,
pub enable_high_clip: bool,
pub high_clip: f64,
pub enable_filter: bool,
pub filter: FilterConfig,
pub output_type: Option<NDDataType>,
pub save_background: bool,
pub save_flat_field: bool,
pub valid_background: bool,
pub valid_flat_field: bool,
}Expand description
Process plugin operations applied sequentially to an NDArray.
Fields§
§enable_background: bool§enable_flat_field: bool§enable_offset_scale: bool§offset: f64§scale: f64§enable_low_clip: bool§low_clip: f64§enable_high_clip: bool§high_clip: f64§enable_filter: bool§filter: FilterConfig§output_type: Option<NDDataType>§save_background: boolOne-shot flag: save current input as background on next process().
save_flat_field: boolOne-shot flag: save current input as flat field on next process().
valid_background: boolRead-only status: whether a valid background is loaded.
valid_flat_field: boolRead-only status: whether a valid flat field is loaded.
Trait Implementations§
Source§impl Clone for ProcessConfig
impl Clone for ProcessConfig
Source§fn clone(&self) -> ProcessConfig
fn clone(&self) -> ProcessConfig
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for ProcessConfig
impl Debug for ProcessConfig
Auto Trait Implementations§
impl Freeze for ProcessConfig
impl RefUnwindSafe for ProcessConfig
impl Send for ProcessConfig
impl Sync for ProcessConfig
impl Unpin for ProcessConfig
impl UnsafeUnpin for ProcessConfig
impl UnwindSafe for ProcessConfig
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more