Heatmap: Module to calculate heatmap

PRLEC Framework for OCT Processing and Visualization

OCT_GUI.Visualization.Heatmap.calculateHeatmap(segmentation)[source]

Calculating RPEDC distance map from a given segmentation

Parameters:
segmentation: ndarray

given segmentation as tif file

Returns:
heatmap_rpedc: ndarray, int32

2D image of RPEDC distances

OCT_GUI.Visualization.Heatmap.calculateMetrics(heatmap, threshold, voxelsize_transversal, voxelsize_axial)[source]

Calculating drusen volumes, color-code decreasing by volume, and create list of volumes. There is a bug when it comes to more than 255 drusen (uint8 limit).

Parameters:
heatmap: ndarray

given segmentation as tif file

threshold: scalar, int

threshold from slider

voxelsize_transversal: scalar, float

transversal resolution

voxelsize_axial: scalar, float

axial resolution

Returns:
drusenmap: ndarray, int32

heatmap with colorcoded drusen