| ITSE 2321 OOP Darkening, Brightening, and Tinting the Colors in a Picture Lecture # 09 Run: Tue Sep 21 09:42:00 CDT 2010 Baldwin Slides aa - ITSE 2321 - Object-Oriented Programming (Java) ab - Java OOP Lecture Notes # 09 ac - Figures ad - Listings ae - Program specifications af - Input file Prob04a.bmp ag - Input file Prob04b.bmp ah - Input file Prob04c.jpg ai - Required output image aj - Required text output ak - New classes al - General background information am - General background information (cont'd) an - The driver class named Prob04 ao - When the run method... ap - Beginning of the class named Prob04Runner aq - Beginning of the run method ar - Instantiate and display three Picture objects as - Crop the pictures at - The method named crop au - The cropped snow scene image av - The crop method aw - Darken the background of the snow scene ax - A red tint ay - Put the run method on temporary hold az - The method named darkenBackground ba - A pattern for the ellipse bb - The pattern and destination images bc - Assumptions bd - Behavior of the method be - Beginning of the darkenBackground method bf - Question bg - Get two arrays of pixel data bh - Question bi - Recall that this approach is useful when... bj - Arrays have the same length bk - Beginning of the processing loop bl - Behavior of the processing loop bm - Two questions bn - Answers bo - Compare figures to see the results bp - The brighter method bq - The else clause in the processing loop br - The snow scene and the ellipse only... bs - Application of the ellipse pattern bt - The objective of the else clause bu - Get, save, and modify the red color value bv - Decrease the color values for blue and green bw - Replace the old pixel color with the new color bx - The texture is preserved by - The end of the darkenBackground method bz - Apply a red tint to the skater ca - A very similar algorithm cb - The skater with the red tint applied cc - Compare Figure 7 with Figure 1 cd - The remainder of the run method ce - Behavior of the method cf - Add text and display the final output image cg - Display text and return ch - Terminate the program ci - Summary cj - Complete program listing ck - End of slides |
-end-