Lund Aerosol Group Div. of Nuclear Physics, Lund University, LTH
Patrick Lu Joshua Lund Vijay Ram .
-
Upload
joanna-rowntree -
Category
Documents
-
view
215 -
download
1
Transcript of Patrick Lu Joshua Lund Vijay Ram .
![Page 1: Patrick Lu Joshua Lund Vijay Ram .](https://reader035.fdocuments.us/reader035/viewer/2022062511/551b620c550346ae7a8b5b63/html5/thumbnails/1.jpg)
PICASSA
Patrick LuJoshua LundVijay Ram
http://echostains.files.wordpress.com/2009/10/picasso-weeping-woman-1937.jpg
![Page 2: Patrick Lu Joshua Lund Vijay Ram .](https://reader035.fdocuments.us/reader035/viewer/2022062511/551b620c550346ae7a8b5b63/html5/thumbnails/2.jpg)
ROLES
GUI Making the GUI, communicating
with user Pat
GUI <-> Model Relations Keep the greater project design in
mind at all times and keep it working and the design logical
Vijay Model
Processing expression . We started off with Josh’s Arithmetica and was therefore a fitting role for him
Josh
http://www.foolingnobody.com/images/roles_01.jpg
![Page 3: Patrick Lu Joshua Lund Vijay Ram .](https://reader035.fdocuments.us/reader035/viewer/2022062511/551b620c550346ae7a8b5b63/html5/thumbnails/3.jpg)
ARITHMETICA JUSTIFICATION
Use Josh’s Arithmetica code Cleaner Parser class Greater ease to extend Treats parenthesis, comma better
Creates “Grouper” objects
Take parts from Pat and Vijay’s code Operator functionality / hierarchy
Josh’s code design had more strengths than Pat and Vijay’s Therefore, we used it (it = Josh’s Arithmetica code)
![Page 4: Patrick Lu Joshua Lund Vijay Ram .](https://reader035.fdocuments.us/reader035/viewer/2022062511/551b620c550346ae7a8b5b63/html5/thumbnails/4.jpg)
PICASSA DESIGN
Arithmetica is the basis for the model Read function input Parse input/ create expression object
Tokens of Operator, Operand, Grouper Evaluate Expression at each pixel
Action performed by View Evaluate method of expression returns RGB Color
Easy to extend (see below) Add additional functions Functions are basis for all picture renderings
![Page 5: Patrick Lu Joshua Lund Vijay Ram .](https://reader035.fdocuments.us/reader035/viewer/2022062511/551b620c550346ae7a8b5b63/html5/thumbnails/5.jpg)
PICASSA DESIGN, CONT.
Certain input methods will not be accepted to simplify coding implementation Function separated by Return or newline
characters Shown in Demo
Grouper is classified separately from Operator
Justified because Groupers are different from Operators
Makes error-checking more tedious/ difficult
![Page 6: Patrick Lu Joshua Lund Vijay Ram .](https://reader035.fdocuments.us/reader035/viewer/2022062511/551b620c550346ae7a8b5b63/html5/thumbnails/6.jpg)
USER INTERFACE
http://img.zdnet.com/techDirectory/_TOON4.GIF
![Page 7: Patrick Lu Joshua Lund Vijay Ram .](https://reader035.fdocuments.us/reader035/viewer/2022062511/551b620c550346ae7a8b5b63/html5/thumbnails/7.jpg)
USER INTERFACE
File Menu Open Save
Buttons Random Evaluate Breed
Text Fields Current Expression Enter Expression Enter Expression
![Page 8: Patrick Lu Joshua Lund Vijay Ram .](https://reader035.fdocuments.us/reader035/viewer/2022062511/551b620c550346ae7a8b5b63/html5/thumbnails/8.jpg)
USER INTERFACE, CONT.
File Menu Save
Save Current image to file Load
Load image from file, display image expression
Buttons Random
Display a random expression in the View Evaluate
Evaluate a single expression inputted Breed
Merge two expressions inputted in the left/right boxes
![Page 9: Patrick Lu Joshua Lund Vijay Ram .](https://reader035.fdocuments.us/reader035/viewer/2022062511/551b620c550346ae7a8b5b63/html5/thumbnails/9.jpg)
USER INTERFACE, CONT. 2
Current progress Shown during demonstration
http://www.cartoonstock.com/newscartoons/cartoonists/mbc/lowres/mbcn638l.jpg
![Page 10: Patrick Lu Joshua Lund Vijay Ram .](https://reader035.fdocuments.us/reader035/viewer/2022062511/551b620c550346ae7a8b5b63/html5/thumbnails/10.jpg)
DEMONSTRATION!
Watch!!!!
![Page 11: Patrick Lu Joshua Lund Vijay Ram .](https://reader035.fdocuments.us/reader035/viewer/2022062511/551b620c550346ae7a8b5b63/html5/thumbnails/11.jpg)
PRIORITIES FOR THE WEEK
Finish the project? Implement error checking Clean up Model-View Interaction Finish GUI Implement extensions
http://www.schroders.com/StaticFiles/Image%20Library/homepage/sif-completion-361x383.jpg
http://www.abcbuilding.com.au/wp-content/practical-completion.jpg
![Page 12: Patrick Lu Joshua Lund Vijay Ram .](https://reader035.fdocuments.us/reader035/viewer/2022062511/551b620c550346ae7a8b5b63/html5/thumbnails/12.jpg)
EXTENSIONS
Allow users to view multiple images at once Separate windows, tabs, or a grid of
thumbnails) Allow users to "debug" expressions
Use mouse to display point and evaluated values
Allow users to save a history of old expressions
http://hairstyleschat.com/wp-content/uploads/2009/04/how-to-use-hair-extensions.jpg
![Page 13: Patrick Lu Joshua Lund Vijay Ram .](https://reader035.fdocuments.us/reader035/viewer/2022062511/551b620c550346ae7a8b5b63/html5/thumbnails/13.jpg)