2 * Imagesqueeze - Image codec optimized for photos.
3 * Copyright (C) 2012, Svjatoslav Agejenko, svjatoslav@svjatoslav.eu
5 * This program is free software; you can redistribute it and/or
6 * modify it under the terms of version 2 of the GNU General Public License
7 * as published by the Free Software Foundation.
10 package eu.svjatoslav.imagesqueeze.codec;
12 public class ColorStats {
24 public int getAverageU() {
25 return uSum / pixelCount;
28 public int getAverageV() {
29 return vSum / pixelCount;
32 public int getAverageY() {
33 return ySum / pixelCount;