I need to create a histogram of an image (512x512) of floating point numbers, then find the most recurring number or range in this case. I was wondering if there was a better way than trial and error for picking the number of bins for separating the values into i.e. my original idea was using 1/8 the original number of bins to separate into. If I do the before mention, I'm wondering if maybe I have too many bins or not enough.
Thoughts?
Thanks in advance