void createPlanarSquares() {
		squareCountX = pixelCounts[0] - 1;
		squareCountY = pixelCounts[1] - 1;

		planarSquares = new PlanarSquare[squareCountX * squareCountY];
		nSquares = 0;
		for (int x = 0; x < squareCountX; x++)
			for (int y = 0; y < squareCountY; y++)
				planarSquares[nSquares++] = new PlanarSquare(null, x, y);
		Logger.info("nSquares = " + nSquares);
	}