eda_plugin.utility.image_processing

Image processing/preparation functions used in examples.keras.

Functions

calculatePixel(posMN, overlap, targetSize, shape)

Get the corresponding pixel start end x/y values to the tile defined by row/column in posMN.

getTilePositionsV2(image[, targetSize])

Generate tuples with the positions of tiles to split up an image withan overlap.

prepareNNImages(bact_img, ftsz_img, model[, ...])

Preprocess raw iSIM images before running them throught the neural network.

prepare_1c(images)

prepare_ftsw(bact_img, ftsz_img, model)

Special function to handle the cytosolic background in ftsw bacteria.

prepare_wo_tiling(images)

stitchImage(data, positions[, channel])

Stitch an image back together that has been tiled by prepareNNImages.