Question on toxiclibs colorutils Histogram
in
Contributed Library Questions
•
2 years ago
I want to use Histogram.newFromARGBArray(...) to identify main colors in a large set of jpg images and do some
statistics on the results.
My assumption was that running Histogram.newFromARGBArray(...) several times on the same image,
will get me ALWAYS the same results in terms of getEntries().size() or for HistEntry getColor() or getFrequency().
Now testing this assumption with the ImageColors.pde example from ColorUtils fails: Each run of the example
gives different results of the Histogram (at least in my environment).
I am confused: Was my assumption wrong ? Is there a software problem ? What else ?
Suggestions are highly appreciated.
1