blob detection and dust removal