CSC 160 Computer Programming for Non-Majors Images: Another Form of Symbolic Data Prof. Adam M. Wittenstein

Slides:



Advertisements
Similar presentations
Working with images and scenes CS 5010 Program Design Paradigms “Bootcamp” Lesson 2.5 TexPoint fonts used in EMF. Read the TexPoint manual before you delete.
Advertisements

The GIMP Simple features tutorial By Mary A White.
Drawing Objects with Illustrator 1.Start a new image in RGB mode. 2.Size 1024 X Unit = pixels 4.Go to View > Show Grid to turn on the grid. 5.Go.
Faculty of Sciences and Social Sciences HOPE Structured Problem Solving Object Oriented Concepts 2 Stewart Blakeway FML 213
CSC 160 Computer Programming for Non-Majors Lecture #3a: Stepper, Words, Sentences (continued) Prof. Adam M. Wittenstein
CSC 160 Computer Programming for Non-Majors Lecture #9: Booleans Prof. Adam M. Wittenstein
Four simple expressions in meta. Data objects Pieces of data in a computer are called objects Today, we’ll talk about four kinds of objects Numbers Pictures.
CSC 160 Computer Programming for Non-Majors Lecture #4: Defining Variables Prof. Adam M. Wittenstein
CSC 160 Computer Programming for Non-Majors Lecture #5c: Functions with Images Prof. Adam M. Wittenstein
CSC 160 Computer Programming for Non-Majors Lecture #8: Animations I Prof. Adam M. Wittenstein
CSC 160 Computer Programming for Non-Majors Chapter 2: Numbers, Expressions, and Simple Programs Prof. Adam M. Wittenstein
CSC 160 Computer Programming for Non-Majors Chapter 6: Structures Prof. Adam M. Wittenstein
CSC 160 Computer Programming for Non-Majors Lecture #11: Conditionals II Prof. Adam M. Wittenstein
CSC 160 Computer Programming for Non-Majors Syntax Rules Prof. Adam M. Wittenstein
CSC 160 Computer Programming for Non-Majors Lecture #3: Calling Functions Prof. Adam M. Wittenstein
CSC 160 Computer Programming for Non-Majors Lecture #3c: Working with Pictures (continued) Prof. Adam M. Wittenstein
CSC 160 Computer Programming for Non-Majors Section 1.2: Drawing a UFO Prof. Adam M. Wittenstein
CSC 160 Computer Programming for Non-Majors Chapter 4: Conditional Expressions and Functions Prof. Adam M. Wittenstein
Four simple expressions in meta. Data objects Pieces of data in a computer are called objects Today, we’ll talk about four kinds of objects Numbers Pictures.
CSC 160 Computer Programming for Non-Majors Lecture #2: What are Functions? Prof. Adam M. Wittenstein
CSC 160 Computer Programming for Non-Majors Lecture #6: Function Composition Prof. Adam M. Wittenstein
Programming with Images (continued). Another teachpack – “tiles.ss” Download from the website: “ Save.
CSC 160 Computer Programming for Non-Majors Lecture #3b: Working with Pictures Prof. Adam M. Wittenstein
CSC 160 Computer Programming for Non-Majors Lecture #5 (continued): More on Writing Functions Prof. Adam M. Wittenstein
InDesign CS3 Lesson 3 Working with Frames. Using Frames Frames are containers in which you place graphics or text. Frames can also be used as graphic.
Guided Lesson.  In this lesson, you will learn how to modify existing bullets, insert new bulleted and numbered lists, select symbols as bullets, and.
PowerPoint Exercise: Download this exercise to your computer, then complete the numbered tasks. Fulbright Computer Skills Summer 2012.
Photoshop: Getting to Know Layers Computer Information Technology Section 7-5.
Images, Hyperlinks, and Sound Module 2: XHTML Basics LESSON 3.
Create an Image Map Web Publishing & Design. Hot Spots  hot spot: An area on an object containing a hyperlink. An entire object can be a single hot spot,
ADOBE WEAVER WEB DESIGN. START THE DW 2 WORKSPACE LAYOUT Application Bar Document Toolbar Document Window Workspace Switcher Property Inspector GroupPanel.
Areas and Perimeter of Rectangles, Square, Triangles and Circles
Introduction to Flash Animation CS 318. Topics Introduction to Flash and animation The Flash development environment Creating Flash animations  Layers.
By Ashley McCaw. Mrs. Burk’s Perimeter Rap /view_video.php?viewkey=73 4fe93831e3fb400ce8www.teachertube.com /view_video.php?viewkey=73.
Perimeter of Rectangles
Adobe Photoshop CS5 – Illustrated Unit A: Getting Started with Photoshop CS5.
Teacher Miguel’s. For the month of November our focus was recognition of different shapes and colors. We look around the classroom and find different.
Adobe Photoshop CS4 – Illustrated Unit A: Getting Started with Photoshop CS4.
Perimeter and Area Formulas.  Perimeter is the distance around an object. It is easily the simplest formula. Simply add up all the sides of the shape,
How many …?. What shape can you see? I can see some _____. Q1 Q1 stars.
CompSci 4 Java 4 Apr 14, 2009 Prof. Susan Rodger.
Photoshop CS6 – Nelson Unit 3: Photoshop CS6. Objectives Define photo editing software Start Photoshop and view the workspace Use the Zoom tool and the.
Get Microsoft Mouse Mischief
Get Microsoft Mouse Mischief
Levels of Organization Ecology Flow
Area of Shapes.
The Dharma as a Tool for for modern navigation
UNIT 8: 2-D MEASUREMENTS PERIMETER AREA SQUARE RECTANGLE PARALLELOGRAM
What? Learn how to program at FIU Register for: COP 1000 – #59660
Animated picture changes during motion path (Advanced)
ФІЗИКА Кількість завдань - 34 Час на виконання – 180 хв.
بسم الله الرحمن الرحیم مركز بهمن استاندارد- مديريت ارزيابي و مانيتورينگ كيفي.
Order of Operations Problems
Click to play with audio
Weather Symbols Meteorologists have developed a system of symbols to help them communicate weather conditions quickly and efficiently Half-circle picture.
Order of Operations Problems
Levels of Organization Ecology Flow
Darkened picture background with full-color circle (Intermediate)
Sample statement or caption goes here
Pictures in 3-D flip book (Intermediate)
Picture recolored and blurred with film grain effect (Advanced)
Introduction to Fractions
1 2 3 Animated countdown timer on textured background (Difficult)
By- Sabrina,Julianna, and Killian
Working with images and scenes
TEXT FORMAT Textured and layered background with title - Advanced
Spell your name using word art from above
Please Do Now / Dec. 2, 15 Log into computer Go to
26 days to go Animated countdown timer on textured background
Defining Religious Experiences
Presentation transcript:

CSC 160 Computer Programming for Non-Majors Images: Another Form of Symbolic Data Prof. Adam M. Wittenstein

Data Type: Image (Shapes or Pictures) A third type of symbolic data. Fun to process images. Images are values like numbers, symbols, or strings – they can be used inside expressions. Usually given names, since the same image can be used with several different functions. Like symbols, images don't have any specific meaning, but we tend to connect them easily with the intended information.

Inserting Images To insert an image into a program, move the blinking caret to the place in your program where you want the image, and select the Insert Image item from the Special menu. DrScheme will then provide a dialog for selecting an image file. After you have selected a file, the image will be inserted at the blinking caret.

Another teachpack: “world.ss” This teachpack has some functions to create shapes. --Wherever a function takes in a "mode", you may use either the string “solid” or the symbol “outline”. --Wherever a function takes in an “image-color”, enter the color as a string. For example, “blue” or “Blue” or “red”. rectangle : num num mode image-color -> image circle : num mode image-color -> image triangle : num mode image-color -> image (NOTE: The triangle function is only for equilateral triangles.)

Other “world.ss” functions image-width : image -> number --to obtain an image's width in pixels image-height : image -> number --to obtain an image's height in pixels overlay : image image image... -> image --to add the pixels of the second image onto the first image, lining up the pinholes (centers)

Next time… The “tiles.ss” teachpack --Download it from the website: --In DrScheme, Language->Add Teachpack-> Right-click on “tiles”. This extracts another “tiles” file. Install this file. Writing our own image functions