Figure 2

(a) Method developed to segment biofilm from the surface in SEM images. (b) Close-up showing image before and after pre-processing – outliers were removed to smooth scratches on the surface, for better segmentation. (c) Overlay of the segmented area (blue) on the SEM image, showing accurate detection of biofilm.