LINEDESK
All sections
RecipesVision 9002426-065-9p.42

Mask creation

White overlay kills background; breaks should read as black.

The mask is a solid-white image overlaid on the ROI. It removes background noise. Added together, the result is a white border with the ROI showing through the bounding box. Ideally the threshold is set so the entire image is white pixels, with breaks showing as black pixels.