trackpy.percentile_threshold

trackpy.percentile_threshold(image, percentile)

Find grayscale threshold based on distribution in image.