Fig. 4: Histological margin assessment workflow captures tissue orientation, completeness, and tumor localization in serial sections.

Margin assessment via the Histology Pane for two test cases: Patients 1 and 2 represented by panels (a) and b, respectively—three serial sections per patient are numbered accordingly (1,2, and 3). Results are plotted on top of each WSI for assessments of orientation, tissue completeness, and tumor localization. Screenshots of WSI from the Histology Pane. For tissue orientation, blue and red lines are drawn over center of mass positions to define 12 o’clock and 6 o’clock respectively for each tissue section. High resolution completeness and tumor results represented by thresholded heatmaps (where patches removed from display if failing to surpass probability threshold), where red indicates whether part of tissue is incomplete or positive margins, and blue indicates lower yet non-negligible probability of incompleteness/tumor.