Hboni / francis

Friendly image analysis interface system
4 stars 2 forks source link

Threshold in percentage #52

Open jeaunrg opened 3 years ago

jeaunrg commented 3 years ago

To apply a threshold in percentage, how do we calculate the true threshold ?

1) For instance for 50%, does it mean that 50% of pixels value must be underneath ? 2) Is it the percentage on pixel possible values 0% = 0, 100% = 255, 50 % = 127.5 3) Is it the percentage on image dispersion 0% = minimum, 100% = maximum and 50 % = (mean of min and max)

I would opt for the 3.

Hboni commented 3 years ago

For me I thought about option 3, which seems more logical for me. If you agree we can do it like that :+1: