Fig. 5From: Automated molecular structure segmentation from documents using ChemSAMThe mask update process. The update process consists of two steps: masks addition and deletion. Search to add black pixels from neighbor neighbors and delete mask pixels that are further awayBack to article page