preprocessing subclasses

Extends the classes defined in core for the preprocessing-specific requirements (findmycells.preprocessing.specs)

source

PreprocessingStrategy

 PreprocessingStrategy ()

Extending the ProcssingStrategy base class for preprocessing as processing subtype.


source

PreprocessingObject

 PreprocessingObject ()

Extending the ProcessingObject base class for preprocessing as processing subtype. Responsible for loading the microscopy image(s) and corresponding ROI(s) for each file, running the specified preprocessing strategies, updating the database, and eventually for saving the preprocessed images to disk for further processing steps down the line.

Note: Even though the file_ids argument accepts (and actually expects & requires) a list as input, only a single file_id will be passed to a PreprocessingObject upon initialization. This is handled in the api module of findmycells.