public void analyseData(String path, int skipf) throws IOException {
		int amount = new File(path).listFiles().length;
		for (int i = 1; i <= amount; i += skipf) {
			DecimalFormat format = new DecimalFormat("0000000");
			BufferedImage img = ImageIO.read(new File(path + "image-" + format.format(i) + ".png"));
			// if ((i - 1) % (skipf * 10) == 0)
			// System.out.println("image-" + format.format(i) + ".png");
			// Progress line (debug)
			if ((i - 1) % 50 == 0)
				System.out.print(".");

			for (int x = 0; x < img.getWidth(); x++)
				for (int y = 0; y < img.getHeight(); y++) {
					Color c = new Color(img.getRGB(x, y));
					float[] d = Color.RGBtoHSB(c.getRed(), c.getGreen(), c.getBlue(), null); // HSB colors
					int curIndex = Math.round(d[0] * colors);
					if (curIndex == colors)
						curIndex--;
					if (d[2] <= COLORS_BRIGHTNESS[INDEX_DARK])
						hsbColors[INDEX_DARK][curIndex].count = hsbColors[INDEX_DARK][curIndex].count.add(BigInteger.ONE);
					else if (d[2] > COLORS_BRIGHTNESS[INDEX_DARK] && d[1] > COLORS_BRIGHTNESS[INDEX_DARK])
						hsbColors[INDEX_MEDIUM][curIndex].count = hsbColors[INDEX_MEDIUM][curIndex].count.add(BigInteger.ONE);
					else if (d[2] >= COLORS_BRIGHTNESS[INDEX_BRIGHT])
						hsbColors[INDEX_BRIGHT][curIndex].count = hsbColors[INDEX_BRIGHT][curIndex].count.add(BigInteger.ONE);
					hsbColors[INDEX_AVERAGE][curIndex].count = hsbColors[INDEX_AVERAGE][curIndex].count.add(BigInteger.ONE);
				}
		}
		System.out.println();
	}