stouputils.data_science.scripts.preprocess_dataset module#
- preprocess_dataset(techniques: list[ProcessingTechnique], default_type: Literal['image'] = 'image', default_input: str = '/home/runner/work/stouputils/stouputils/data/hip_implant', default_output: str = '') None [source]#
Preprocess a dataset by applying image processing techniques.
This function takes a dataset path and applies various techniques to create new dataset at the specified destination path.
- Parameters:
techniques (list[ProcessingTechnique]) – List of techniques to apply to the dataset.
default_type (str) – Default type of data to preprocess.
default_input (str) – Default path to the input dataset.
default_output (str) – Default path to save the preprocessed dataset.
- Returns:
The function modifies files on disk but does not return anything.
- Return type:
None