Evaluation: Module to calculate MSE and STDDEV of two volumes

PRLEC Framework for OCT Processing and Visualization

OCT_GUI.Algorithms.ManualCorrection.Evaluation.calc_MSE_STDDEV(vol_test, vol_gt, seg_val)[source]

Module to calculate MSE and STDDEV of two volumes

Parameters:
vol_test:ndarray

test volume

vol_gt: ndarray

ground truth volume

seg_val: scalar

value of layer to segment (e.g., 255= Bruchs Membrane)

Returns:
MSE: scalar, float

mean standard error over volume

SDEV: scalar float

average standard deviation over volume