trackpy.find.percentile_threshold

trackpy.find.percentile_threshold(image, percentile)

Find grayscale threshold based on distribution in image.