A nice thresholding algorithm for bacterial colony isolation