I have an image which I'm taking the intensity of. I start my low value range high, then decrement until I am able to find a single particle. My problem is that I'm not sure what to use for an absolute upper, and an absolute lower range. In vision assistant, I'm finding that the ranges are varying on every image.
For instance, one of my ranges read from -247 to 185, while another one is reading from -79 to -1. I originally thought the universal range was 0 -255, but apparently that isn't the case. I want to be able to start from the highest threshold (if there is a distinct value), then lower it until I find 1 particle. The range can vary with each image, I just need to apply a threshold filter on every one. Original image type is a grayscale (U8). I appreciate the help.