eda_plugin.examples.analysers.FtsWWorker
- class eda_plugin.examples.analysers.FtsWWorker(*args: Any, **kwargs: Any)
Bases:
KerasWorkerKerasWorker using the specialized pre processing for FtsW caulobacter.
- __init__(*args, **kwargs)
Call the init function of KerasWorker with the settings supplied.
Methods
__init__(*args, **kwargs)Call the init function of KerasWorker with the settings supplied.
extract_decision_parameter(network_output)Return the a value of the ndarray.
post_process_output(data, positions)Strip off the dimensions that come from the network.
prepare_images(images)Background subtraction, resize, intensity normalization and tiling.
run()Run the model.
- extract_decision_parameter(network_output: numpy.ndarray)
Return the a value of the ndarray.
- post_process_output(data: numpy.ndarray, positions)
Strip off the dimensions that come from the network.
- prepare_images(images: numpy.ndarray)
Background subtraction, resize, intensity normalization and tiling.
- run()
Run the model.
Prepare the images, infer the model, calculate the decision parameter and construct the image that will be displayed in the GUI. Preparation and postprocessing are optional and can be implemented by subclasses as necessary for the specific model. Specific implementations can be found in examples.analysers.keras