A threshold can be defined in order to keep only those pixels having probabilities higher than a certain value. Probabilities below that threshold, i.e. pixels that are flooded by a limited number of flow lines, are then considered as noise and are neglected. 