Skip to main content

fpm_rs/measurements/
preprocessing.rs

1use serde::{Deserialize, Serialize};
2
3#[derive(Clone, Debug, Default, Serialize, Deserialize)]
4/// Preprocessing operations configured for a measurement stack.
5pub struct PreprocessingConfig {
6    pub subtract_dark: bool,
7    pub divide_flat_field: bool,
8    pub normalize_exposure: bool,
9    pub subtract_background: bool,
10    pub clamp_negative: bool,
11}