My Data is collected in a 32bit tiff format where the most intense pixels have values of ~3000 but are quantitative so I am not that interested in downsampling to a 16 or 8 bit file. However, very few pixels are that intense and the average pixel intensity would be ~500. Regardless the image is predominantly black and Cell Profiler is unable to segment it. Now, I can rescale intensity for the purposes of cell segmentation by choosing a specific value to reset the full intensity range too. However, this requires a manual input for each image. Is there any way the computer can determine these numbers empirically?