I need a java code that knows to extract :
leading colors from an image
percentage of each color in the image
Hex color
Closest color name
program will get a parameter (threshold) to filter out colors that are cretin percentage less then threshold for example (ignore colors that are 5% of the image)
program will get a parameter (threshold) to filter out amount of return values (for example return only 5 first greatest colors..)
attached examples
Sample1
[login to view URL]
see desired output in sample [login to view URL]
Sample 2
[login to view URL]
see desired output in [login to view URL]
Sample 3
[login to view URL]
see desired output in [login to view URL]
Sample 4
[login to view URL]
see desired output in [login to view URL]
Sample 5
[login to view URL]
see desired output in [login to view URL]