Movie of picture negatives # Pseudo Code def movieNeg(directory, pic): for each column of ‘pic’ across the entire width for each pixel from top of the.

Slides:



Advertisements
Similar presentations
LEGO CASE BY SOC. Phone building Lets build this phone First you will build you base of the phone the (key pad) Next you will build the base for the head.
Advertisements

Individual Graphs in Excel. Go to Intranet/Interventions/ CICO T2 Put in time frame and click boxes “Has CICO Record” and “Report Mode.”
Eee116j1 1 Digital Information Engineering Science EEE116J1 Prof Paul Maguire w.
Code Club Session 3 Shark Eats Fish. Picture of finished product here.
Images & Tables. Three graphic file types are supported by today's browsers: GIF - Graphic Interchange Format JPEG - Joint Photographic Experts Group.
CS 102 Computers In Context (Multimedia)‏ 02 / 25 / 2009 Instructor: Michael Eckmann.
0420 Karen M. Stewart Activities Portfolio Module C.
CS 1 with Robots Image Manipulation Institute for Personal Robots in Education (IPRE)‏
Inventory Throughout this slide show there will be hyperlinks (highlighted in blue) follow the hyperlinks to navigate to the specified Topic or Figure.
Green Screening with eZeScreen 3/24/07 Green Screen Storytelling Technical Reference - using iMovie and eZeScreen How to blend live.
Lecture 13 – range function, for…in loops COMPSCI 1 1 Principles of Programming.
Tickertape def tickertape(directory,string): for each frame to generate create an new canvas write the string on canvas slightly left of the previous frame.
Chapter 16 Binary and Hexadecimal Numbers. §16.2 thru 16.3 – Addition and Subtraction of Binary Numbers Binary = Base 2 Addition and subtraction are similar.
Working with Numbers in Alice - Converting to integers and to strings - Rounding numbers. - Truncating Numbers Samantha Huerta under the direction of Professor.
Movie Maker in the High School Classroom Professional Development Workshop September 1, 2009 Facilitator: Heidi Camp Swartz Creek High School.
Rational Numbers Math 7/8.
 Two boys decided to share a pizza. Johnny ate ½ of the original pizza. Jimmy ate ½ of what was left. How much of the pizza remains? (Hint: Draw a picture.)
Image Processing & Perception Sec 9-11 Web Design.
TOPIC 7 MODIFYING PIXELS IN A MATRIX NESTED FOR LOOPS 1 Notes adapted from Introduction to Computing and Programming with Java: A Multimedia Approach by.
Chapter 6: Modifying Pixels by Position. Chapter Learning Goals.
Using Artemis to generate the genome Map: Demo 1.
Application in Computer Vision Final Project Nir Slakman, Oren Zur and Noam Ben-Ari.
Lesson 8- Assemblies. –Are a grouping of parts –Have orientation and alignment specified –Are Three dimensional Assemblies let you –See if the parts will.
02-RangesInPictures1 Barb Ericson Georgia Institute of Technology Oct 2010 Working with ranges in pictures.
CS1315: Introduction to Media Computation Referencing pixels directly by index number.
Given an integer value stored in a variable, develop an algorithm to print the value to the display device. Integer Output Note that the value could be.
CS1315: Introduction to Media Computation Making sense of functions.
Computer Science 111 Fundamentals of Programming I Introduction to Digital Image Processing.
Bell Work!!! a ÷ (b) 2. c × d 3. d ÷ d 4. c × b
Part Two: Introducing Percentages and Decimals
Creating a picture in JES Use in the command window of JES (black background at bottom) to set the folder where the picture is to be saved >>> path = setMediaPath()
ITEC 109 Lecture 24 Advanced Effects. Advanced effects Review Basic effects –Loading / Displaying –Solid color pictures –Black/White –Sepia.
Movies Barb Ericson Georgia Tech.
1.Students will distinguish the difference between adding and subtracting fractions 2.Students will be able to explain how to add and multiply fractions.
CS1315: Introduction to Media Computation Using Loops for Pictures.
Fractions, Decimals, and Percentages REVIEW CONCEPTS.
A Media Computation Cookbook Manipulating Images and Sounds for Use in Alice Part 1: Image Manipulations Part 2: Changing colors in an area Part 3: Chromakey.
A Media Computation Cookbook Manipulating Images and Sounds for Use in Alice Part 1: Image Manipulations Part 2: Advanced Image Manipulations, e.g., changing.
Changing a Word table format Changing a Word table format (1 of 5) 1. Double click the Word table you want to edit. 1.
Converting Fractions, Decimals & Percentages. COMMONLY OCCURING VALUES IN PERCENTAGES, DECIMALS & FRACTIONS.
CS 101: Introduction to Computing Programs that change Pictures Developed by Mark Guzdial, Georgia Institute of Technology, 2003–2004; modified by Robert.
Python: Working with pixels. Reminder: Conditionals if age < 18: showInformation(“Sorry, not allowed to vote yet.”) else: showInformation(“Please select.
1 CS 177 Week 7 Recitation Slides Modifying Sounds using Loops + Discussion of some Exam Questions.
CS1315: Introduction to Media Computation Making sense of functions.
Put your Name Here. Moving Man Game Hit Chart: Screenshot the position graph Screenshot the Velocity graph Screenshot the acceleration graph 1. How many.
Test 2 on Wed, 11/9 On image processing
Video on the Web.
Image Manipulation Institute for Personal Robots in Education (IPRE)‏
Multimedia Summer Camp
Week 2.
Image Processing & Perception
B: Fractions, Decimals, and Percents
Peak Of Performance.
Working with ranges in pictures
What do these words mean to you?
Conservation of energy Lab
Open AutoCAD Open the first problem (#1)
CS1315: Introduction to Media Computation
Gray Scale picture def pixBW(pixel): # given a pixel, change to BW
Agenda – 1/31/18 Questions? Group practice problems
A Media Computation Cookbook
Image Manipulation Institute for Personal Robots in Education (IPRE)‏
Python Practice !!!.
Multiplying Multi-Digit Whole Numbers
Image Manipulation Institute for Personal Robots in Education (IPRE)‏
CS 177 Week 3 Recitation Slides
Introduction to Snap Programming
Non-numeric Data Representation
Part Two: Introducing Percentages and Decimals
Presentation transcript:

Movie of picture negatives # Pseudo Code def movieNeg(directory, pic): for each column of ‘pic’ across the entire width for each pixel from top of the column to bottom convert a pixel to its negative in ‘pic’ save ‘pic’ into frameXXX.jpg # Python Code def movieNeg(directory, pic):

LAB Complete the movie making that captures column-wise complementing of a picture, if you were not able to finish on Wed. Write a function to create animation frames with increasingly more sunset effects. only your python program (not a screen shot) to

Create a sunset animation makeSunset(pic, r) function creates a sunset effect on a single picture called ‘pic’ by reducing green and blue in every pixel by r percent, where the value of r is specified when the function is called. Its Python code is in the next slide. Write a function that repeatedly calls makeSunset(pic,r), each time with smaller fractional value. After sunset effect is created, the picture is saved into ssXX.jpg with a 2-digit sequence number. Put together a series of pictures into an animation

Sunset effect on one picture def makeSunset(picture, r): for x in range(1, getWidth(picture)): for y in range(1, getHeight(picture)): p = getPixel(picture, x, y) value=getBlue(p) setBlue(p,value*r) value=getGreen(p) setGreen(p,value*r) return picture

Slow Sunset in animation We know how to make one picture with a sunset effect Repeatedly apply sunset effect on the same picture def slowsunset(pic): rate = 1.0 Repeat for N times create an empty picture with the same dimension as ‘pic’ Reduce the value of ‘rate’ (say, by 1/N) newPic = makeSunset(pic, rate) save newPic as ssXX.jpg

Final Project Due: 5/7 (Th) 3:00 pm Presentation of the final project: 2-min presentation on 4/17 (F) on project topic 10-min each on 5/7 3:00-6:00pm