public Moments(String image) { this.c = new Common(); this.img = this.c.readImage(image); if (c.get_average(img) > 100) { this.c.reverse(this.img); } // System.out.printf("Avg: %f\n", c.get_average(img)); this.setup(); }