История изменений
Исправление superuser, (текущая версия) :
int[] histogram = new int[256];
...
int y = Color.red(pixel) + Color.green(pixel) + Color.blue(pixel);
histogram[y]++;
Исходная версия superuser, :
int[] histogram = new int[256];
...
int y = Color.red(pixel) + Color.green(pixel) + Color.blue(pixel);
histogram[y]++;