Overview. Java2D. Graphics in Java2D: Colour Images Fonts. The bigger picture of Java Graphics: Java Advanced Imaging (JAI) API Java3D

Size: px
Start display at page:

Download "Overview. Java2D. Graphics in Java2D: Colour Images Fonts. The bigger picture of Java Graphics: Java Advanced Imaging (JAI) API Java3D"

Transcription

1 Graphics in Java2D: Colour Images Fonts Overview The bigger picture of Java Graphics: Java Advanced Imaging (JAI) API Java3D The bigger picture of Java multimedia ITNP80: Multimedia 1 ITNP80: Multimedia 2 Java2D Java 2D extends the basic AWT graphics facilities A brief overview: Draw lines of any thickness Fill shapes with gradients and textures Move, rotate, scale, and shear text and graphics Composite overlapping text and graphics Filters, enabling simple image operations, e.g. blurring sharpening ITNP80: Multimedia 3 ITNP80: Multimedia 4

2 Colour Models In Java2D, the java.awt.color package provides colours (class ColorSpace) All the common colour spaces are provided, including standard RGB (red-green-blue) greyscale colour models CMY, CMYK (cyan-magenta-yellow-black) HSV (hue-saturation-value) CIE XYZ CIE Lab, and more! Typical usage: (alpha,red,green,blue) is stored as an int in the RGB colour model (class ColorModel) Image Types Image in java.awt abstract superclass of all classes for representing images ImageIcon class provided by Swing, for using as icons implements Icon BufferedImage direct subclass of Image in java.awt.image pixel data available for manipulation ITNP80: Multimedia 5 ITNP80: Multimedia 6 Buffered Images Painting Components public void paintcomponent(graphics g) { Graphics2D g2d = (Graphics2D) g; g2d.setcolor(color.red); g2d.drawrect(100,100,60,40); } Raster object Array of pixel values ColorModel object Methods 15! 10! Create a 2D graphics context to use Java2D A graphics context (g & g2d) holds contextual information (like a colour, as above) for doing drawing operations. bufferedim.getrgb(15,10) ITNP80: Multimedia 7 ITNP80: Multimedia 8

3 Painting Buffered Images A buffered image has its own 2D graphics context Drawing to a buffered image does not appear on the screen Stroke setstroke Graphics2D State Clip setclip Graphics2D g2 = bufferedim.creategraphics(); g2.setcolor(color.red); g2.drawrect(100,100,60,40); 2D graphics context (g2d) can hold a large variety of state information Paint setpaint Composite setcomposite Transform settransform Font setfont RenderingHints setrenderinghints ITNP80: Multimedia 9 ITNP80: Multimedia 10 Shapes and Painting Stroking public void paint(graphics g) { Graphics2D g2d = (Graphics2D) g; g2d.setcolor(color.magenta); BasicStroke stroke = new BasicStroke(2.0f); g2d.setstroke(stroke); g2d.draw(new Rectangle2D.Double(40,40,60,40)); g2.drawrect(100,100,60,40); } BasicStroke widestroke = new BasicStroke(8.0f); g2d.setstroke(widestroke); g2d.draw(new RoundRectangle2D.Double(40,120,60,40, 10, 10)); ITNP80: Multimedia 11 ITNP80: Multimedia 12

4 Transformations (affine) Example: Rotation Rotation Translating (moving) Reflection Shearing (stretching) Scaling ITNP80: Multimedia 13 ITNP80: Multimedia 14 Example (Rotation) AffineTransform at = new AffineTransform(); g2d.settransform(at); g2d.setcolor(color.red); g2d.filloval(200,200,50,30); Compositing When two bitmap images overlap, a compositing rule may be applied (pixel-by-pixel calculation of colours): overlaying transparency XOR // rotate 60 degrees about point (180.0,180.0) at.rotate(math.pi/3.0,180.0,180.0); g2d.settransform(at); g2d.setcolor(color.green); g2d.filloval(200,200,50,30);... XOR applies an XOR operation to the pixel values bit-by-bit. A convenient property of XOR is: (Colour1 XOR Colour2) XOR Colour2 = Colour1 (so applying the operation twice gets us back to the original) ITNP80: Multimedia 15 ITNP80: Multimedia 16

5 Compositing Rules in Java2D Compositing Rule: XOR g2d.setcolor(color.black); g2d.fillrect(0,0,200,120); Various! 8 different rules altogether g2d.setcolor(color.red); g2d.filloval(20,40,40,40); g2d.setcolor(color.green); g2d.filloval(80,40,40,40); g2d.setcolor(color.blue); g2d.filloval(140,40,40,40); g2d.setxormode(color.black); g2d.setcolor(color.white); g2d.fillrect(10,50,180,20);! ITNP80: Multimedia 17 ITNP80: Multimedia 18 Rendering Hints Rendering hints are not guaranteed to be obeyed Various available, including dithering anti-aliasing The Java2D Graphics Pipeline Graphic Primitive Transformation Rasterizer Clipping Painting Compositing Rule ITNP80: Multimedia 19 ITNP80: Multimedia 20

6 Java Advanced Imaging (JAI) JAI Extends features provided in the Java2D API, in the area of image input, manipulation and output javax.media.jai and various javax.media.jai.xxx Not part of the standard J2SDK installation Greater range of file formats (for input/output) GIF (Compuserve s Graphics Interchange Format) JPEG (a way of compressing images from the Joint Photographics Experts Group) PNG (Portable Network Graphics) TIF (Tag Image File Format) BMP (Microsoft s bitmap format) PNM (Portably any Map format - includes PBM,PGM,PPM) FPX (FlashPix) Greater range of colour models ColorSpaceJAI extends ColorSpace Conversion methods between different colour spaces are also provided ColorSpaces provided include RGB, non-colour-corrected RGB, Grayscale, CMY/CMYK CIE XYZ, Lab Lab, HSV, a luminance (γ)/chrominance (colour) standard for Kodak PhotoCD images ITNP80: Multimedia 21 ITNP80: Multimedia 22 JAI JAI More ways to model images than just BufferedImage, e.g. Tiled Images (TiledImage) Image Collections (AttributedImageCollection) Multi-resolution Images (MultiResolutionRenderableImage) Many, many methods for image manipulation, e.g. Combining (compositing) two images in various ways Image enhancement, e.g. Sharpening Blurring Transformations - additionally... Methods for extracting data from images, e.g. finding the frequency of occurrence of colours in images finding the edges (or outlines) in an image other statistical operations on the pixel data ITNP80: Multimedia 23 ITNP80: Multimedia 24

7 Perspective and Java3D Warping ITNP80: Multimedia 25 ITNP80: Multimedia 26 Java Media APIs Java2D Java Advanced Imaging (JAI) Java3D Java Media Framework audio, video, time-based media Java Sound audio, midi Java Speech speech technology including digital recognition, speech synthesisers only 3rd party implementations Further information: End of Lecture ITNP80: Multimedia 27 ITNP80: Multimedia 28

public void paintcomponent(graphics g) { Graphics2D g2 = (Graphics2D)g;... }

public void paintcomponent(graphics g) { Graphics2D g2 = (Graphics2D)g;... } 6.1 RANDERING The original JDK 1.0 had a very simple mechanism for drawing shapes. You select color and paint mode, and call methods of the Graphics class such as drawrect or filloval. The Java 2D API

More information

IS311 Programming Concepts J AVA. Abstract Window Toolkit. (part 2: Graphics2D)

IS311 Programming Concepts J AVA. Abstract Window Toolkit. (part 2: Graphics2D) IS311 Programming Concepts J AVA Abstract Window Toolkit (part 2: Graphics2D) Graphics2D เป น subclass ของ Graphics เพ มความสามารถ ในการควบค มร ปทรงเรขาคณ ตท ซ บซ อนมากข น เช น Draw lines of any thickness

More information

Graphics and Painting

Graphics and Painting Graphics and Painting Lecture 17 CGS 3416 Fall 2015 November 30, 2015 paint() methods Lightweight Swing components that extend class JComponent have a method called paintcomponent, with this prototype:

More information

Software System Components 1 Graphics

Software System Components 1 Graphics Software System Components 1 Graphics Shan He LECTURE 3 Introduction to Java 2D Graphics (II) 1.1. Outline of Lecture Review of what we learned Rendering Shapes 1.2. Review of what we learned Last lecture,

More information

CS 464 Review. Review of Computer Graphics for Final Exam

CS 464 Review. Review of Computer Graphics for Final Exam CS 464 Review Review of Computer Graphics for Final Exam Goal: Draw 3D Scenes on Display Device 3D Scene Abstract Model Framebuffer Matrix of Screen Pixels In Computer Graphics: If it looks right then

More information

Logo & Icon. Fit Together Logo (color) Transome Logo (black and white) Quick Reference Print Specifications

Logo & Icon. Fit Together Logo (color) Transome Logo (black and white) Quick Reference Print Specifications GRAPHIC USAGE GUIDE Logo & Icon The logo files on the Fit Together logos CD are separated first by color model, and then by file format. Each version is included in a small and large size marked by S or

More information

Java How to Program, 9/e. Copyright by Pearson Education, Inc. All Rights Reserved.

Java How to Program, 9/e. Copyright by Pearson Education, Inc. All Rights Reserved. Java How to Program, 9/e Copyright 1992-2012 by Pearson Education, Inc. All Rights Reserved. Overview capabilities for drawing two-dimensional shapes, controlling colors and controlling fonts. One of

More information

Output models Drawing Rasterization Color models

Output models Drawing Rasterization Color models Output models Drawing Rasterization olor models Fall 2004 6.831 UI Design and Implementation 1 Fall 2004 6.831 UI Design and Implementation 2 omponents Graphical objects arranged in a tree with automatic

More information

Class Meeting 05 (Lecture 04) Objectives for this class meeting. Conduct vote on basic style of game for class project

Class Meeting 05 (Lecture 04) Objectives for this class meeting. Conduct vote on basic style of game for class project CSE1720 Click to edit Master Week text 02, styles Class Meeting 05 (Lecture 04) Second level Third level Fourth level Fifth level Winter 2013 Thursday, January 17, 2013 1 Objectives for this class meeting

More information

Week 4 Part 2. Introduction to 2D Graphics & Java 2D

Week 4 Part 2. Introduction to 2D Graphics & Java 2D Week 4 Part 2 Introduction to 2D Graphics & Java 2D 2D graphics Vector graphics! Use of geometric primitives: points, lines, curves, etc.! Primitives are created by using mathematical equations! Can be

More information

Final Study Guide Arts & Communications

Final Study Guide Arts & Communications Final Study Guide Arts & Communications Programs Used in Multimedia Developing a multimedia production requires an array of software to create, edit, and combine text, sounds, and images. Elements of Multimedia

More information

Graphics. Lecture 18 COP 3252 Summer June 6, 2017

Graphics. Lecture 18 COP 3252 Summer June 6, 2017 Graphics Lecture 18 COP 3252 Summer 2017 June 6, 2017 Graphics classes In the original version of Java, graphics components were in the AWT library (Abstract Windows Toolkit) Was okay for developing simple

More information

Chapter 1 Introduction to Photoshop CS3 1. Exploring the New Interface Opening an Existing File... 24

Chapter 1 Introduction to Photoshop CS3 1. Exploring the New Interface Opening an Existing File... 24 CONTENTS Chapter 1 Introduction to Photoshop CS3 1 Exploring the New Interface... 4 Title Bar...4 Menu Bar...5 Options Bar...5 Document Window...6 The Toolbox...7 All New Tabbed Palettes...18 Opening an

More information

BHARATHIDASAN ENGINEERING COLLEGE,NATTRAMPALLI

BHARATHIDASAN ENGINEERING COLLEGE,NATTRAMPALLI BHARATHIDASAN ENGINEERING COLLEGE,NATTRAMPALLI-635 854. 2017-2018 ODD SEMESTER -INFORMATION TECHNOLOGY IT6501 - GRAPHICS AND MULTIMEDIA- QUESTION BANK UNIT-I OUTPUT PRIMITIVES 1. What do you mean by output

More information

Format Type Support Thru. vector (with embedded bitmaps)

Format Type Support Thru. vector (with embedded bitmaps) 1. Overview of Graphics Support The table below summarizes the theoretical support for graphical formats within FOP. In other words, within the constraints of the limitations listed here, these formats

More information

Computer Games 2012 Game Development

Computer Games 2012 Game Development Computer Games 2012 Game Development Dr. Mathias Lux Klagenfurt University This work is licensed under the Creative Commons Attribution-NonCommercial-ShareAlike 3.0 Agenda Game Loop Sprites & 2.5D Images

More information

Agenda. Programming Seminar. By: dr. Amal Khalifa. Coordinate systems Colors Fonts Drawing shapes Graphics2D API

Agenda. Programming Seminar. By: dr. Amal Khalifa. Coordinate systems Colors Fonts Drawing shapes Graphics2D API Agenda Coordinate systems Colors Fonts Drawing shapes Graphics2D API By: dr. Amal Khalifa 1 Programming Seminar @12:30 13:30 pm on Wednesday 9/4/2014 Location : 2.505.01 Painting components 2 Every component

More information

Computer Graphics Lecture 2

Computer Graphics Lecture 2 1 / 16 Computer Graphics Lecture 2 Dr. Marc Eduard Frîncu West University of Timisoara Feb 28th 2012 2 / 16 Outline 1 Graphics System Graphics Devices Frame Buffer 2 Rendering pipeline 3 Logical Devices

More information

Presenta(on Tools Adobe Illustrator. November 6, 2017

Presenta(on Tools Adobe Illustrator. November 6, 2017 Presenta(on Tools Adobe Illustrator November 6, 2017 Today s Lab Adobe Illustrator on Macs in 345 Need to stagger afendance 5 students from 2 3:30 5 students from 3:30 5 Graphics SoNware Computer sonware

More information

CS1354 GRAPHICS AND MULTIMEDIA DEPARTMENT OF COMPUTER SCIENCE AND ENGINEERING QUESTION BANK SUB CODE / SUBJECT: CS1354 GRAPHICS AND MULTIMEDIA.

CS1354 GRAPHICS AND MULTIMEDIA DEPARTMENT OF COMPUTER SCIENCE AND ENGINEERING QUESTION BANK SUB CODE / SUBJECT: CS1354 GRAPHICS AND MULTIMEDIA. DEPARTMENT OF COMPUTER SCIENCE AND ENGINEERING QUESTION BANK SUB CODE / SUBJECT: CS1354 GRAPHICS AND MULTIMEDIA YEAR / SEM: II / III Unit 1 OUTPUT PRIMITIVES 1. Define 2D rotation. 2. Write the 2D transformation

More information

color bit depth dithered

color bit depth dithered EPS The EPS (Encapsulated PostScript) format is widely accepted by the graphic arts industry for saving images that will be placed into programs such as Adobe Illustrator and QuarkXPress. It is used on

More information

Publication Quality Graphics

Publication Quality Graphics Publication Quality Graphics Biochemistry Boot Camp 2018 Session #6 Nick Fitzkee nfitzkee@chemistry.msstate.edu Why Quality Graphics? Clarity of Presentation Sharp-looking Posters, Presentations, Papers

More information

Prentice Hall. Learning Media Design with Adobe CS4 (Skintik) Alabama - Course of Study - Interactive Multimedia Design

Prentice Hall. Learning Media Design with Adobe CS4 (Skintik) Alabama - Course of Study - Interactive Multimedia Design Prentice Hall Learning Media Design with Adobe CS4 C O R R E L A T E D T O Learning Media Design with Adobe CS4 Students will: Multimedia Components 1. Compare aspects of multimedia. Presentation Desktop

More information

Prentice Hall. Learning Microsoft PowerPoint , (Weixel et al.) Arkansas Multimedia Applications I - Curriculum Content Frameworks

Prentice Hall. Learning Microsoft PowerPoint , (Weixel et al.) Arkansas Multimedia Applications I - Curriculum Content Frameworks Prentice Hall Learning Microsoft PowerPoint 2007 2008, (Weixel et al.) C O R R E L A T E D T O Arkansas Multimedia s I - Curriculum Content Frameworks Arkansas Multimedia s I - Curriculum Content Frameworks

More information

Print Services User Guide

Print Services User Guide Print Services User Guide Understanding Artwork for Print 1 Preferred Formats: Preferred formats should contain only vector-based graphics and text, and/or high-resolution images. Low resolution images

More information

Animation & Rendering

Animation & Rendering 7M836 Animation & Rendering Introduction, color, raster graphics, modeling, transformations Arjan Kok, Kees Huizing, Huub van de Wetering h.v.d.wetering@tue.nl 1 Purpose Understand 3D computer graphics

More information

DIGITAL MEDIA IA (810)

DIGITAL MEDIA IA (810) DESCRIPTION Digital Media is the process of analyzing, designing and developing interactive media. Digital Media I is the first-year digital media course where students will create and learn digital media

More information

Digital Media IA. EXAM INFORMATION Items. Points. Prerequisites. Grade Level. Course Length. Career Cluster. Performance Standards

Digital Media IA. EXAM INFORMATION Items. Points. Prerequisites. Grade Level. Course Length. Career Cluster. Performance Standards EXAM INFORMATION Items 37 Points 49 Prerequisites KEYBOARD PROFICIENCY COMPUTER TECHNOLOGY Grade Level 10-12 Course Length ONE SEMESTER DESCRIPTION Digital Media is the process of analyzing, designing

More information

Electronic Artwork Information for Authors Glossary and definitions

Electronic Artwork Information for Authors Glossary and definitions Electronic Artwork Information for Authors Glossary and definitions Bitmap An image stored in a pixel-by-pixel fashion. Continuous tone images are stored in this format. Sometimes used to denote an image

More information

Introduction to Computer Science (I1100) Data Storage

Introduction to Computer Science (I1100) Data Storage Data Storage 145 Data types Data comes in different forms Data Numbers Text Audio Images Video 146 Data inside the computer All data types are transformed into a uniform representation when they are stored

More information

Lesson 3 Creating and Using Graphics

Lesson 3 Creating and Using Graphics Lesson What you will learn: how to delete a sprite and import a new sprite how to draw using the pen feature of Scratch how to use the pen up and pen down feature how to change the colour of the pen how

More information

AWT COLOR CLASS. Introduction. Class declaration. Field

AWT COLOR CLASS. Introduction. Class declaration. Field http://www.tutorialspoint.com/awt/awt_color.htm AWT COLOR CLASS Copyright tutorialspoint.com Introduction The Color class states colors in the default srgb color space or colors in arbitrary color spaces

More information

Illumination and Shading

Illumination and Shading Illumination and Shading Light sources emit intensity: assigns intensity to each wavelength of light Humans perceive as a colour - navy blue, light green, etc. Exeriments show that there are distinct I

More information

KINGS GRAPHICS AND MULTIMEDIA DEPARTMENT OF COMPUTER SCIENCE AND ENGG. OUTPUT PRIMITIVES Part-A (2-MARKS)

KINGS GRAPHICS AND MULTIMEDIA DEPARTMENT OF COMPUTER SCIENCE AND ENGG. OUTPUT PRIMITIVES Part-A (2-MARKS) KINGS COLLEGE OF ENGINEERING DEPARTMENT OF COMPUTER SCIENCE AND ENGG QUESTION BANK YEAR/ SEM : III/ VI SUB. CODE : SUBJECT NAME: UNIT- I OUTPUT PRIMITIVES 1. What is the purpose of presentation graphics?

More information

Representing Graphical Data

Representing Graphical Data Representing Graphical Data Chapman & Chapman, chapters 3,4,5 Richardson 1 Graphics in IT82 What does computer graphics cover? IT82 Input, output, and representation of graphical data Creation of graphics

More information

MS Publisher 2007: Graphics. Lesson Notes Author: Pamela Schmidt

MS Publisher 2007: Graphics. Lesson Notes Author: Pamela Schmidt MS Publisher 2007: Graphics Lesson Notes Author: Pamela Schmidt Auto Shapes When a shape tool is selected, a precision pointer (cross hair) will appear when the mouse pointer is taken over the document.

More information

Advanced High Graphics

Advanced High Graphics VISUAL MEDIA FILE TYPES JPG/JPEG: (Joint photographic expert group) The JPEG is one of the most common raster file formats. It s a format often used by digital cameras as it was designed primarily for

More information

Multimedia Technology

Multimedia Technology Multimedia Application An (usually) interactive piece of software which communicates to the user using several media e.g Text, graphics (illustrations, photos), audio (music, sounds), animation and video.

More information

2D Graphics. Shape Models, Drawing, Selection. CS d Graphics 1

2D Graphics. Shape Models, Drawing, Selection. CS d Graphics 1 2D Graphics Shape Models, Drawing, Selection 1 Graphic Models vs. Images Computer Graphics: the creation, storage, and manipulation of images and their models Model: a mathematical representation of an

More information

QUICK LOGO D E S I G N E R. User Manual

QUICK LOGO D E S I G N E R. User Manual QUICK LOGO D E S I G N E R User Manual Table Of Contents 1. Quick Logo Designer Overview 2. Logo Creation Methods 2.1 Create from Templates 2.2 Create a New Logo from Scratch 5 5 3. Creating and Saving

More information

3D graphics, raster and colors CS312 Fall 2010

3D graphics, raster and colors CS312 Fall 2010 Computer Graphics 3D graphics, raster and colors CS312 Fall 2010 Shift in CG Application Markets 1989-2000 2000 1989 3D Graphics Object description 3D graphics model Visualization 2D projection that simulates

More information

3.01C Multimedia Elements and Guidelines Explore multimedia systems, elements and presentations.

3.01C Multimedia Elements and Guidelines Explore multimedia systems, elements and presentations. 3.01C Multimedia Elements and Guidelines 3.01 Explore multimedia systems, elements and presentations. Multimedia Fair Use Guidelines Guidelines for using copyrighted multimedia elements include: Text Motion

More information

MS Word 2007: Graphics. Lesson Notes Author: Pamela Schmidt. The Drawing Tools Format Ribbon appears when the object is selected.

MS Word 2007: Graphics. Lesson Notes Author: Pamela Schmidt. The Drawing Tools Format Ribbon appears when the object is selected. AutoShapes MS Word 2007: Graphics Lesson Notes Author: Pamela Schmidt To insert a shape, on the Insert Ribbon choose the Shapes control. When a shape tool is selected, a cross hair will appear when the

More information

ARTWORK REQUIREMENTS Artwork Submission

ARTWORK REQUIREMENTS Artwork Submission Artwork Submission GRAPHICS APPLICATIONS AND ACCEPTED FILE TYPES Submitting your artwork as a print ready PDF file is preferred (MAC or PC). We will also accept files created in Adobe Illustrator, Photoshop,

More information

Final Examination Semester 2 / Year 2011

Final Examination Semester 2 / Year 2011 Southern College Kolej Selatan 南方学院 Final Examination Semester 2 / Year 2011 COURSE : INTRODUCTION TO MULTIMEDIA COURSE CODE : CCIS1023 TIME : 3 HOURS DEPARTMENT : COMPUTER SCIENCE LECTURER : TAN WEE CHUEN

More information

xv Programming for image analysis fundamental steps

xv  Programming for image analysis fundamental steps Programming for image analysis xv http://www.trilon.com/xv/ xv is an interactive image manipulation program for the X Window System grab Programs for: image ANALYSIS image processing tools for writing

More information

Digital Graphics Primer

Digital Graphics Primer Vector Graphics, Raster Graphics, and Their Associated Image File Types Ed Brandt AI PSD BMP EPS GIF JPG PDF PNG SVG TIF Vector Graphics, Raster Graphics, and Their Associated Image File Types Introduction

More information

The Display pipeline. The fast forward version. The Display Pipeline The order may vary somewhat. The Graphics Pipeline. To draw images.

The Display pipeline. The fast forward version. The Display Pipeline The order may vary somewhat. The Graphics Pipeline. To draw images. View volume The fast forward version The Display pipeline Computer Graphics 1, Fall 2004 Lecture 3 Chapter 1.4, 1.8, 2.5, 8.2, 8.13 Lightsource Hidden surface 3D Projection View plane 2D Rasterization

More information

Game Programming. Bing-Yu Chen National Taiwan University

Game Programming. Bing-Yu Chen National Taiwan University Game Programming Bing-Yu Chen National Taiwan University What is Computer Graphics? Definition the pictorial synthesis of real or imaginary objects from their computer-based models descriptions OUTPUT

More information

1.6 Graphics Packages

1.6 Graphics Packages 1.6 Graphics Packages Graphics Graphics refers to any computer device or program that makes a computer capable of displaying and manipulating pictures. The term also refers to the images themselves. A

More information

How to supply your artwork to us in a print ready format

How to supply your artwork to us in a print ready format How to supply your artwork to us in a print ready format Artwork formats we accept PDF s are the preferred way of supplying artwork. In CYMK High Res version 4. However we can also accept the formats below

More information

CS 160: Lecture 10. Professor John Canny Spring 2004 Feb 25 2/25/2004 1

CS 160: Lecture 10. Professor John Canny Spring 2004 Feb 25 2/25/2004 1 CS 160: Lecture 10 Professor John Canny Spring 2004 Feb 25 2/25/2004 1 Administrivia In-class midterm on Friday * Closed book (no calcs or laptops) * Material up to last Friday Lo-Fi Prototype assignment

More information

Java Image Processing Survival Guide. Siegfried Goeschl & Harald Kuhr

Java Image Processing Survival Guide. Siegfried Goeschl & Harald Kuhr Java Image Processing Survival Guide Siegfried Goeschl & Harald Kuhr Siegfried, how difficult is it to replace ImageMagick with a Java library? Well, not too difficult The Customer s Approach ImageMagick

More information

ClipArt and Image Files

ClipArt and Image Files ClipArt and Image Files Chapter 4 Adding pictures and graphics to our document not only breaks the monotony of text it can help convey the message quickly. Objectives In this section you will learn how

More information

Computer Games 2015 Game Development Basics

Computer Games 2015 Game Development Basics Computer Games 2015 Game Development Basics Dr. Mathias Lux Klagenfurt University This work is licensed under the Creative Commons Attribution-NonCommercial-ShareAlike 3.0 Agenda Game Loop Sprites & 2.5D

More information

Graphics in IT82. Representing Graphical Data. Graphics in IT82. Lectures Overview. Representing Graphical Data. Logical / Physical Representation

Graphics in IT82. Representing Graphical Data. Graphics in IT82. Lectures Overview. Representing Graphical Data. Logical / Physical Representation Graphics in IT82 What does computer graphics cover? Representing Graphical Data Chapman & Chapman, chapters 3,4,5 Richardson IT82 Input, output, and representation of graphical data Creation of graphics

More information

Graphics Hit-testing. Shape Models Selecting Lines and Shapes. 2.7 Graphics Hit-testing 1

Graphics Hit-testing. Shape Models Selecting Lines and Shapes. 2.7 Graphics Hit-testing 1 Graphics Hit-testing Shape Models Selecting Lines and Shapes 2.7 Graphics Hit-testing 1 Recap - Graphic Models and Images Computer Graphics is the creation, storage, and manipulation of images and their

More information

Core Graphics and OpenGL ES. Dr. Sarah Abraham

Core Graphics and OpenGL ES. Dr. Sarah Abraham Core Graphics and OpenGL ES Dr. Sarah Abraham University of Texas at Austin CS329e Fall 2018 Core Graphics Apple s vector-drawing framework Previously known as Quartz or Quartz2D Includes handling for:

More information

User Commands convert ( 1 )

User Commands convert ( 1 ) convert - convert an image or sequence of images SYNOPSIS convert [ options... ] input_file output_file DESCRIPTION Convert converts an input file using one image format to an output file with a differing

More information

SCHOOL OF DISTANCE EDUCATION UNIVERSITY OF CALICUT SCHOOL OF DISTANCE EDUCATION D M A INTRODUCTION TO MULTIMEDIA QUESTION BANK

SCHOOL OF DISTANCE EDUCATION UNIVERSITY OF CALICUT SCHOOL OF DISTANCE EDUCATION D M A INTRODUCTION TO MULTIMEDIA QUESTION BANK UNIVERSITY OF CALICUT SCHOOL OF DISTANCE EDUCATION D M A INTRODUCTION TO MULTIMEDIA QUESTION BANK 1. Compression a. Reduces the picture clarity for storage b. Reduces the number of bytes required to store

More information

JAVA DIP - OPEN SOURCE LIBRARIES

JAVA DIP - OPEN SOURCE LIBRARIES JAVA DIP - OPEN SOURCE LIBRARIES http://www.tutorialspoint.com/java_dip/open_source_libraries.htm Copyright tutorialspoint.com In this chapter, we explore some of the free image processing libraries that

More information

2D Graphics. Shape Models, Drawing, Selection. CS d Graphics 1

2D Graphics. Shape Models, Drawing, Selection. CS d Graphics 1 2D Graphics Shape Models, Drawing, Selection 1 Graphic Models vs. Images Computer Graphics: the creation, storage, and manipulation of images and their models Model: a mathematical representation of an

More information

MULTIMEDIA DESIGNING AND AUTHORING

MULTIMEDIA DESIGNING AND AUTHORING UNIVERSITY OF CALICUT SCHOOL OF DISTANCE EDUCATION D M A MULTIMEDIA DESIGNING AND AUTHORING QUESTION BANK 1. A multimedia authoring software. A. PageMaker B. Director C. Excel 2. Tool used to increase

More information

Buffers, Textures, Compositing, and Blending. Overview. Buffers. David Carr Virtual Environments, Fundamentals Spring 2005 Based on Slides by E.

Buffers, Textures, Compositing, and Blending. Overview. Buffers. David Carr Virtual Environments, Fundamentals Spring 2005 Based on Slides by E. INSTITUTIONEN FÖR SYSTEMTEKNIK LULEÅ TEKNISKA UNIVERSITET Buffers, Textures, Compositing, and Blending David Carr Virtual Environments, Fundamentals Spring 2005 Based on Slides by E. Angel Compositing,

More information

Java 2D Graphics. Drawing Primitives, Affine Transformations, Scene Graphs, Hit Tests. Drawing Primitives 2/9/2014. Using it is simple.

Java 2D Graphics. Drawing Primitives, Affine Transformations, Scene Graphs, Hit Tests. Drawing Primitives 2/9/2014. Using it is simple. Java 2D Graphics Drawing Primitives, Affine Transformations, Scene Graphs, Hit Tests Drawing Primitives Graphics - Abstract Base Class that supports basic drawing and rendering - Conceptually sim. to WatGUI

More information

Image Types Vector vs. Raster

Image Types Vector vs. Raster Image Types Have you ever wondered when you should use a JPG instead of a PNG? Or maybe you are just trying to figure out which program opens an INDD? Unless you are a graphic designer by training (like

More information

3Picture Fundamentals

3Picture Fundamentals 3Picture Fundamentals The Steps Creating Picture Boxes 91 Running Text Around Items 95 Importing Pictures 97 Creating Visual Effects with Pictures 99 Applying Styles to Pictures 103 Copying a Picture Box

More information

HOW TO SAVE YOUR DESIGN FILES

HOW TO SAVE YOUR DESIGN FILES HOW TO SAVE YOUR DESIGN FILES READ YOUR BOOK. ART-2423 > raster > vector > holds both raster and layered o Can work in whatever color mode preferred. o Platform-specific (PC vs. Mac) and often version-specific

More information

CS101 Lecture 12: Image Compression. What You ll Learn Today

CS101 Lecture 12: Image Compression. What You ll Learn Today CS101 Lecture 12: Image Compression Vector Graphics Compression Techniques Aaron Stevens (azs@bu.edu) 11 October 2012 What You ll Learn Today Review: how big are image files? How can we make image files

More information

Topics. Transient vs Persistent Representation of Objects. Object Serialization CSE Lecture 9 Inheritance, III

Topics. Transient vs Persistent Representation of Objects. Object Serialization CSE Lecture 9 Inheritance, III Topics CSE 1720 object serialization transformation of drawing space (rotate, shear, ) Lecture 9 Inheritance, III 2 Transient vs Persistent Representation of Objects we already know and understand that

More information

COURSE DELIVERY PLAN - THEORY Page 1 of 6

COURSE DELIVERY PLAN - THEORY Page 1 of 6 COURSE DELIVERY PLAN - THEORY Page 1 of 6 Department of Information Technology B.E/B.Tech/M.E/M.Tech : Information Technology Regulation: 2013 PG Specialisation : LP: IT6501 Rev. No: 01 Date: 30/06/2016

More information

MULTIMEDIA AND CODING

MULTIMEDIA AND CODING 07 MULTIMEDIA AND CODING WHAT MEDIA TYPES WE KNOW? TEXTS IMAGES SOUNDS MUSIC VIDEO INTERACTIVE CONTENT Games Virtual reality EXAMPLES OF MULTIMEDIA MOVIE audio + video COMPUTER GAME audio + video + interactive

More information

Manual Bitmap Fixture v

Manual Bitmap Fixture v Manual Bitmap Fixture v3.2.2.3 Paderborn, 25/05/2016 Contact: tech.support@malighting.com 1 Bitmap Fixture The MA Lighting Bitmap fixture replaces the previous bitmap effects. The bitmap fixture is a virtual

More information

4 Fundamental Issues in Multimedia Programming

4 Fundamental Issues in Multimedia Programming 4 Fundamental Issues in Multimedia Programming 4.1 Multimedia Programming in Context 4.2 History of Multimedia Programming 4.3 A Radically Alternative Approach: Squeak Etoys Video: Squeak in a School Project

More information

Rendering with Java. Jim Graham Staff Engineer JavaSoft

Rendering with Java. Jim Graham Staff Engineer JavaSoft Rendering with Java Jim Graham Staff Engineer JavaSoft Overview AWT paint/update callback model Graphics rendering Image rendering and manipulation Basic image fetching and drawing Off-screen images for

More information

Quick Guide for Photoshop CS 6 Advanced June 2012 Training:

Quick Guide for Photoshop CS 6 Advanced June 2012 Training: 3. If desired, click the desired tab to see the differences. Photoshop CS 6 Advanced Changing Workspace Note: Changing Workspace will change the Panel Group appears on the screen. The default Workspace

More information

Graphics in Swing. Engineering 5895 Faculty of Engineering & Applied Science Memorial University of Newfoundland

Graphics in Swing. Engineering 5895 Faculty of Engineering & Applied Science Memorial University of Newfoundland Graphics in Swing Engineering 5895 Faculty of Engineering & Applied Science Memorial University of Newfoundland 1 paintcomponent and repaint Each Swing component has the following paint methods: void paintcomponent(

More information

Computer Graphics. Bing-Yu Chen National Taiwan University The University of Tokyo

Computer Graphics. Bing-Yu Chen National Taiwan University The University of Tokyo Computer Graphics Bing-Yu Chen National Taiwan University The University of Tokyo Introduction The Graphics Process Color Models Triangle Meshes The Rendering Pipeline 1 What is Computer Graphics? modeling

More information

Roll No. :... Invigilator's Signature : GRAPHICS AND MULTIMEDIA. Time Allotted : 3 Hours Full Marks : 70

Roll No. :... Invigilator's Signature : GRAPHICS AND MULTIMEDIA. Time Allotted : 3 Hours Full Marks : 70 Name : Roll No. :.... Invigilator's Signature :.. CS/MCA/SEM-4/MCA-402/2011 2011 GRAPHICS AND MULTIMEDIA Time Allotted : 3 Hours Full Marks : 70 The figures in the margin indicate full marks. Candidates

More information

Unicode. Standard Alphanumeric Formats. Unicode Version 2.1 BCD ASCII EBCDIC

Unicode. Standard Alphanumeric Formats. Unicode Version 2.1 BCD ASCII EBCDIC Standard Alphanumeric Formats Unicode BCD ASCII EBCDIC Unicode Next slides 16-bit standard Developed by a consortia Intended to supercede older 7- and 8-bit codes Unicode Version 2.1 1998 Improves on version

More information

**** Digitization. Pictures are important

**** Digitization. Pictures are important **** 1 Digitization by Paul.Nieuwenhuysen@vub.ac.be Prepared to support a tutorial presentation in the framework of OceanTeacher Academy at UNESCO-IOC-IODE in Oostende, Belgium 2011-09 http://www.iode.org/

More information

CSC Graphics Programming. Budditha Hettige Department of Statistics and Computer Science

CSC Graphics Programming. Budditha Hettige Department of Statistics and Computer Science CSC 307 1.0 Graphics Programming Department of Statistics and Computer Science Graphics Programming 2 Common Uses for Computer Graphics Applications for real-time 3D graphics range from interactive games

More information

M4-R4: INTRODUCTION TO MULTIMEDIA (JAN 2019) DURATION: 03 Hrs

M4-R4: INTRODUCTION TO MULTIMEDIA (JAN 2019) DURATION: 03 Hrs M4-R4: INTRODUCTION TO MULTIMEDIA (JAN 2019) Max Marks: 100 DURATION: 03 Hrs M1-R4-01-19 1.3 Which of the following tag pair is used to list the text? (a) and (b) and (c)

More information

Multimedia applications

Multimedia applications applications László Kálmán 1 Csaba Oravecz 1 Péter Szigetvári 2 1 Research Institute for Linguistics Hungarian Academy of Sciences 2 Department of English Linguistics Eötvös Loránd University Lecture 9.

More information

MEDIA RELATED FILE TYPES

MEDIA RELATED FILE TYPES MEDIA RELATED FILE TYPES Data Everything on your computer is a form of data or information and is ultimately reduced to a binary language of ones and zeros. If all data stayed as ones and zeros the information

More information

Lecture Week 4. Images

Lecture Week 4. Images Lecture Week 4 Images Images can be used: As a backdrop behind text to create a pictorial framework for the text. As a background for the content. As an icon to represent options that can be selected.

More information

Data Representation From 0s and 1s to images CPSC 101

Data Representation From 0s and 1s to images CPSC 101 Data Representation From 0s and 1s to images CPSC 101 Learning Goals After the Data Representation: Images unit, you will be able to: Recognize and translate between binary and decimal numbers Define bit,

More information

Digital Media Unit 1 Awareness of Digital Media Career Opportunities I Cans:

Digital Media Unit 1 Awareness of Digital Media Career Opportunities I Cans: Digital Media Unit 1 Awareness of Digital Media Career Opportunities Develop career awareness related to working in the digital media industry. Identify occupations related to digital media careers (graphic/commercial

More information

Tutorial 17: Using Visual Image

Tutorial 17: Using Visual Image Tutorial 17: Using Visual Image What follows is a brief introduction to Visual Image. This tutorial does not attempt to touch on all of the capabilities of the software. Instead, it steps through a simple

More information

Chapter 3. Texture mapping. Learning Goals: Assignment Lab 3: Implement a single program, which fulfills the requirements:

Chapter 3. Texture mapping. Learning Goals: Assignment Lab 3: Implement a single program, which fulfills the requirements: Chapter 3 Texture mapping Learning Goals: 1. To understand texture mapping mechanisms in VRT 2. To import external textures and to create new textures 3. To manipulate and interact with textures 4. To

More information

Date Produced: Feb 02

Date Produced: Feb 02 PhotoShop and ImageReady Slicing and Optimising for Rollovers Date Produced: Feb 02 Introduction This tutorial aims to explain how to slice and optimise an image and create rollovers. Layout The picture

More information

How to...create a Video VBOX Gauge in Inkscape. So you want to create your own gauge? How about a transparent background for those text elements?

How to...create a Video VBOX Gauge in Inkscape. So you want to create your own gauge? How about a transparent background for those text elements? BASIC GAUGE CREATION The Video VBox setup software is capable of using many different image formats for gauge backgrounds, static images, or logos, including Bitmaps, JPEGs, or PNG s. When the software

More information

DIS: Design and imaging software

DIS: Design and imaging software Using IT productivity tools and applications This is the ability to use a software application designed to create, modify and layout artwork or images for display in print or on a screen (eg vector graphics

More information

Merits of QT for developing Imaging Applications UI

Merits of QT for developing Imaging Applications UI White Paper Merits of QT for developing Imaging Applications UI Amitkumar Sharma January 08, 2008 Trianz 2008 White Paper Page 1 Table of Contents 1.0 Executive Summary. ------------------------------------------------------------------------------------------------------------

More information

Malco Products, SBC. Corporate Trademark Guidelines EXTERNAL USE ONLY

Malco Products, SBC. Corporate Trademark Guidelines EXTERNAL USE ONLY Malco Products, SBC Corporate Trademark Guidelines These corporate trademark guidelines have been created to make sure that you have the information and tools you need to create communications that support

More information

CS230 : Computer Graphics Lecture 4. Tamar Shinar Computer Science & Engineering UC Riverside

CS230 : Computer Graphics Lecture 4. Tamar Shinar Computer Science & Engineering UC Riverside CS230 : Computer Graphics Lecture 4 Tamar Shinar Computer Science & Engineering UC Riverside Shadows Shadows for each pixel do compute viewing ray if ( ray hits an object with t in [0, inf] ) then compute

More information

INTERNATIONAL JOURNAL OF PURE AND APPLIED RESEARCH IN ENGINEERING AND TECHNOLOGY

INTERNATIONAL JOURNAL OF PURE AND APPLIED RESEARCH IN ENGINEERING AND TECHNOLOGY INTERNATIONAL JOURNAL OF PURE AND APPLIED RESEARCH IN ENGINEERING AND TECHNOLOGY A PATH FOR HORIZING YOUR INNOVATIVE WORK REVIEW ON CONTENT BASED IMAGE RETRIEVAL BY USING VISUAL SEARCH RANKING MS. PRAGATI

More information

EUROPEAN COMPUTER DRIVING LICENCE / INTERNATIONAL COMPUTER DRIVING LICENCE IMAGE EDITING

EUROPEAN COMPUTER DRIVING LICENCE / INTERNATIONAL COMPUTER DRIVING LICENCE IMAGE EDITING EUROPEAN COMPUTER DRIVING LICENCE / INTERNATIONAL COMPUTER DRIVING LICENCE IMAGE EDITING The European Computer Driving Licence Foundation Ltd. Portview House Thorncastle Street Dublin 4 Ireland Tel: +

More information

Topic 8 Graphics. Margaret Hamilton

Topic 8 Graphics. Margaret Hamilton Topic 8 Graphics When the computer crashed during the execution of your program, there was no hiding. Lights would be flashing, bells would be ringing and everyone would come running to find out whose

More information

Representing Graphical Data

Representing Graphical Data Representing Graphical Data Cunliffe & Elliott, chapter 4 Chapman & Chapman, chapters 3,4 CSCU9N5: Multimedia and HCI 1 Representing Graphical Data Logical and Physical Representation Use of colour: Pixels

More information