Essential Question: How can I use my knowledge of 2D arrays to edit and display images?
Mastery Objectives:
SWBAT edit photos using 2D arrays.
SWBAT format and display text on a screen.
SWBAT store images in 2D arrays.
Checklist:
Create at least two 2D arrays – Create at least two 2D arrays to store the data that will make up your visualization.
Implement one or more algorithms – Implement one or more algorithms that use loops and two-way or multi-selection statements with compound Boolean expressions to analyze the data.
Use methods in the String class – Use one or more methods in the String class in your program, such as to determine whether the name of an image file contains specific characters.
Create a visualization – Create an image or animation that conveys the story of the data by illustrating the patterns or relationships in the data.
Document your code – Use comments to explain the purpose of the methods and code segments and note any preconditions and postconditions.
TheaterRunner -
Load your images in an array
Create an instance
Call your methods
NarrativeScene -
Create a constructor
Create a method for formatting Text - font, color, size, etc.
Create a method for showing each image
Add text to your images
Create an array that has integers or doubles that you can traverse and calculate - you should have at least 2 arrays
Use pauses between images to keep pace with your presentation
Create a final createScene() method that will call all of your methods in the correct order
ImagePlus-
Use a 2D array to store the pixels for the image
Create a constructor for ImagePlus
Create a getter for the ImagePlus class that fills the pixel [][] array
Create 2-3 image effects using an algorithm that changes the pixels - if you want to do a mirror image, you need to do this in a separate class