eda_plugin.utility.image_processing.prepareNNImages
- eda_plugin.utility.image_processing.prepareNNImages(bact_img, ftsz_img, model, bacteria=False)
Preprocess raw iSIM images before running them throught the neural network.
Returns a 3D numpy array that contains the data for the neural network and the positions dict generated by getTilePositions for tiling.