THIS ASSIGNMENT WAS NOT GIVEN ON 2014-2015 SCHOOL YEAR
/** * Thr Picture.java class provides methods for manipulating individual pixels of * an image. The original image can be read from a .jpg, .gif, * or .png file or the user can create a blank image of a given size. * This class includes methods for displaying the image in a window on * the screen or saving it to a file. *
Picture.java (if this file is not the latest version, visit the Standard Library Site)
* Pixel (x, y) is column x and row y. * By default, the origin (0, 0) is upper left, which is a common convention * in image processing. * The method setOriginLowerLeft() change the origin to the lower left. *
* For additional documentation, see * Section 3.1 of * Introduction to Programming in Java: An Interdisciplinary Approach
* by Robert Sedgewick and Kevin Wayne. * * @author Robert Sedgewick * @author Kevin Wayne
More information on processing images is in the link below
Assignment: Write a java program, Pixels30x30_YI.java to display the RGB colors of the top area of the image in this format:
R G B 196 200 105 155 0 50 ...