tumourkit.postprocessing

tumourkit.postprocessing.compare_barcodes

Computes q-Wassertein distance and bottleneck distance of persistence diagrams.

tumourkit.postprocessing.draw_barcode

Draws the persistence diagram of the cells.

tumourkit.postprocessing.draw_cells

Draws the cells into an image.

tumourkit.postprocessing.draw_graph

Draws the graph into an image.

tumourkit.postprocessing.draw_rips

Draws Vietoris-Rips complexes over the images.

tumourkit.postprocessing.extract_tensorboard

Script to retrieve the data from tensorboard logs.

tumourkit.postprocessing.join_graph_gt

Given .nodes.csv prediction files and .centroids.csv GT files, replaces target value of .nodes.csv with GT ones.

tumourkit.postprocessing.join_hovprob_graph

Extract HoVer-Net probabilities from json and concatenates the result as new column (prob1) to .nodes.csv.

tumourkit.postprocessing.merge_cells

Merge broken cells using a morphological algorithm to detect touching frontiers.

tumourkit.postprocessing.plot_logs

Script to visualize the result from extract_tensorboard.

tumourkit.postprocessing.rswoosh

Copyright (C) 2023 Jose Pérez Cano

tumourkit.postprocessing.summarize_logs

Script to read the tensorboard logs and extract the last ten validation points of each configuration to select the best.