juspice.preprocess_module¶
Image preprocessing for microscopy images.
Provides two interfaces built on OpenCV:
PreprocessingAccessorAvailable as
spice.preprocesson everySPICEData. Each method changesspice.datain place, records the step inspice.historyand returnsspice.ImagePreprocessorDeprecated stand-alone helper that works on a file path or NumPy array.
Examples
>>> import juspice as jp
>>> spice = jp.load_data("sample.tiff")
>>> spice = spice.preprocess.equalize_histogram().preprocess.normalize()
>>> spice.preprocess.show_image(title="Preprocessed", show_colorbar=True)