3461 Output Model A picture is worth a thousand words.

Slides:



Advertisements
Similar presentations
Multimedia Mr. Sanchez.
Advertisements

Droddy.  “Pixel” is short for two words: Picture and Element. Pixels (tiny squares) combine to form the image the human eye perceives Too small for the.
A Digital Imaging Primer Nick Dvoracek Instructional Resources Center University of Wisconsin Oshkosh.
ETT 429 Spring 2007 Digital Photography/Scanners.
Introduction to Computer Graphics
Components Text Text--Processing Software A Word Processor is a software application that provides the user with the tools to create and edit text.
Part A Multimedia Production Rico Yu. Part A Multimedia Production Ch.1 Text Ch.2 Graphics Ch.3 Sound Ch.4 Animations Ch.5 Video.
COSC 3461: Module 7 Graphical Display. 2 Issues for Graphical Representation How should the graphical images be represented (formally, internally)? How.
1 Internet Graphics. 2 Representing Images  Raster Image: Images consist of “dots” of color, not lines  Pixel: Picture element-tiny rectangle  Resolution:
Graphical images Bit-mapped (or raster-based) image: Matrix describing the individual dots that are the smallest elements (pixels) of resolution on a computer.
Prepared by George Holt Digital Photography BITMAP GRAPHIC ESSENTIALS.
Faculty of Sciences and Social Sciences HOPE Website Development Graphics Stewart Blakeway FML 213
COMP Bitmapped and Vector Graphics Pages Using Qwizdom.
Computer Graphics Using “ Adobe Photoshop ” Introduction to E-Learning Center, DAD presents Workshop on Instructor: Mazhar.
Digital Images Chapter 8, Exploring the Digital Domain.
Lab #5-6 Follow-Up: More Python; Images Images ● A signal (e.g. sound, temperature infrared sensor reading) is a single (one- dimensional) quantity that.
Simple Graphics. Graphics Used in PowerPoint, Web pages and others Basic Knowledge drawing change of colour, shape and others acquiring, video camera,
Image Storage Bitmapped Graphics – in which an image is represented as a collection of dots Vector Graphics – in which an image is represented as a set.
Getting the Basics Graphics for the Web McIntyre, Period 2 Kellogg, Period 5.
Presentation Design: Graphics. More About Color “Bit depth” of colors -- This is based on the smallest unit of information that a computer understands.
1 Perception, Illusion and VR HNRS 299, Spring 2008 Lecture 14 Introduction to Computer Graphics.
Digital Image: Representation & Processing (2/2) Lecture-3
1 Computer Graphics Part 2: Images. 2 What is an image?  An image is the graphical and visual representation of some information that can be displayed.
Nov 061 Size Control How is a component’s size determined during layout and during resize operations? Three factors determine component sizes: The component’s.
Multimedia Elements II Graphics, Digital Video. UIT - Multimedia Production2 Multimedia Elements Multimedia elements include: Text Graphics Animation.
1 Ethics of Computing MONT 113G, Spring 2012 Session 10 HTML Tables Graphics on the Web.
GRAPHICS. Topic Outline What is graphic. Resolution. Types of graphics. Using graphic in multimedia applications.
Graphics. Graphic is the important media used to show the appearance of integrative media applications. According to DBP dictionary, graphics mean drawing.
CS- 375 Graphics and Human Computer Interaction Lecture 1: 12/4/1435 Fundamental Techniques in Graphics Lecturer: Kawther Abas.
Graphics workshop Library and Information Services University of St Andrews.
Image Representation. Digital Cameras Scanned Film & Photographs Digitized TV Signals Computer Graphics Radar & Sonar Medical Imaging Devices (X-Ray,
44212: Web-site Development Optimising Images for Web-pages Ian Perry Room:C49 Extension:7287
Nov 111 Example Program DemoMouseInk.java. Nov 112 Example Program DemoMouseUnistrokes.java.
Desktop Publishing Review. What is a rough sketch used in planning a layout and design?
Photoshop Photoshop works with bitmapped, digitized images (that is, continuous-tone images that have been converted into a series of small squares, or.
ADOBE PHOTOSHOP VECTOR VS RASTER. Pixel A pixel is the fundamental unit of an image in Photoshop. It is a small square block of color. An image often.
2D Graphics Theory & Principles. Single Point Smallest addressable area on screen or digital image.
Graphics An image is made up of tiny dots called pixels (“picture elements”) The resolution determines the.
Color and Images. Color The natural colors we see and the colors we see on computer monitors are different. CMYK -natural RGB -monitor.
A BCDE.
DIGITAL IMAGE. Basic Image Concepts An image is a spatial representation of an object An image can be thought of as a function with resulting values of.
Mirjana Devetakovic, M.Sc. CAAD - Images Beograd, 2011.
Raster Graphics 2.01 Investigate graphic image design.
Digital Images are represented by manipulating this…
Image File Formats. What is an Image File Format? Image file formats are standard way of organizing and storing of image files. Image files are composed.
Image File Formats By Dr. Rajeev Srivastava 1. Image File Formats Header and Image data. A typical image file format contains two fields namely Dr. Rajeev.
Digital Graphics Vocabulary Texas State University CI5363 Florence Yang.
Image File Formats Harrow Computer Club – Wed, 1 Dec 2010 Bob Watson MA CMath MIMA MBCS.
Image Editing Vocabulary Words Pioneer Library System Norman Public Library Nancy Rimassa, Trainer Thanks to Wikipedia ( help.
Scanner Scanner Introduction: Scanner is an input device. It reads the graphical images or line art or text from the source and converts.
Graphics and Image Data Representations 1. Q1 How images are represented in a computer system? 2.
Software Design and Development Storing Data Part 2 Text, sound and video Computing Science.
UNITS OF MEASUREMENT 2.01 Understand Digital Raster Graphics.
DIGITAL MEDIA FOUNDATIONS
Data Representation Images.
Sampling, Quantization, Color Models & Indexed Color
Binary Representation in Audio and Images
Chapter 3 Graphics and Image Data Representations
Graphics Bitmap Vector
Basic Desktop Terminology
Chapter 3 Image Files © 2017 Cengage Learning®. May not be scanned, copied or duplicated, or posted to a publicly accessible website, in whole or in part.
"Digital Media Primer" Yue-Ling Wong, Copyright (c)2013 by Pearson Education, Inc. All rights reserved.
Chapter 3:- Graphics Eyad Alshareef Eyad Alshareef.
LET’S LEARN ABOUT GRAPHICS!
Adobe Visual Design 2.00 Identifying design elements when preparing images (10%) 7.00 Identifying design elements when preparing illustrations (1%)
Graphics Basic Concepts.
MED 2001 Advanced Media Production
Color and Images.
Multimedia System Image
"Digital Media Primer" Yue-Ling Wong, Copyright (c)2013 by Pearson Education, Inc. All rights reserved.
Presentation transcript:

3461 Output Model A picture is worth a thousand words

3461 Coordinate Systems  Device coordinates  Physical coordinates

3461 Device Coordinates  Most natural units for the output device  Typically dots or pixels  Origin possibilities  Center  Bottom left  Upper left

3461 Physical Coordinates  Printed page  inches, cm  Architectural drawings  feet, meters

3461 Component Java’s Coordinate System (0,0) x y (width – 1, height - 1)

3461 Example Program DemoMouseEvents.java Shown earlier (x, y) coordinate of pointer in component

3461 Pixels  A Pixel is a “picture element”  a single point in a graphic image  A graphics display is divided into thousands (or millions) of pixels arranged in rows and columns  The pixels are so close together they appear connected  The number of bits used to represent each pixel determines how many colours or shades of grey can be represented  For a B&W (black and white) display, each pixel is represented by 1 bit  With 8 bits per pixel, a monitor can display 256 shades or grey or 256 colours (Note: 2 8 = 256)

3461 An image presented on a display is composed of pixels pixel

3461 Display Size  Usually specified in “inches”  Value cited is the diagonal dimension of the raster -- the viewable area of the display  E.g., a 15” monitor 15”

3461 Resolution  Resolution is the number of pixels on a display  Usually cited as n by m  n is the number of pixels across the display  m is the number of pixels down the display  Typical resolutions range from…  640 by 480 (low end), to  1,600 by 1,200 (high end)

3461 Video RAM Requirements  Total number of pixels is n  m  Examples  640  480 = 307,200 pixels  1,600  1,200 = 1,920,000 pixels  Video RAM required equals total number of pixels times the number of bits/pixel  Examples  640  480  8 = 2,457,600 bits = 307,200 bytes = 300 KB  1,600  1,200  24 = 46,080,000 bits = 5,760,000 bytes = 5,625 KB = 5.49 MB  Note: 1 KB = 2 10 = 1024 bytes, 1 MB = 2 20 = 1,048,576 bytes

3461 Resolution Bits per pixel 8 bit16 bit24 bit 640 x x x x x x Video RAM (KB) By Resolution See previous slide for calculations

3461 Aspect Ratio  Aspect ratio is the ratio of the width to height of a display screen  For a 640 by 480 display, the aspect ratio is 640:480, or 4:3  Related terms  Landscape  The width is greater than the height  Portrait  The height is greater than the width

3461 Characteristics which Determine Screen Quality  Dot Pitch (next slide)  Refresh Rate (# of times an image is displayed in 1 second. 75 Hz recommended minimum)  Convergence (the capacity of RGB to strike the same point on a screen) (not a problem with LCD screens)  Color Purity (often a problem with LCD screens when viewed off-center)

3461 Dot Pitch  Dot pitch is a measure of the diagonal distance between phosphor dots (pixels) on a display screen  One of the principal characteristics that determines the quality of a display  The lower the number, the crisper the image  Cited in mm (millimeters)  Typical values range from 0.15 mm to 0.30 mm  Note  Dot pitch, as specified, is the capability of the display  For a particular image, dot pitch can be calculated as…

3461 Dot Pitch Image Example  Q: What is the dot pitch of an image displayed on a 15” monitor with a resolution of 640 by 480?  A: Z 1.Z = ( ) 1/2 = mm = inch Dot pitch= 15 / 800 inches = inches = / mm = mm Notes:

3461 Dot Pitch Illustrated Pixel mm

3461 Colour  Two models for colour  RGB  Individual specifications for RED, GREEN, and BLUE  HSB  Individual specifications for hue, saturation, and brightness  Together, hue and saturation are called chrominance; they represent the colour  Hue is the distinction between colours (e.g., red, orange, yellow, green, etc.)  Saturation is the purity of a colour, or the amount of grey in proportion to the hue  High saturation  very intense  Low saturation  washed out  Zero saturation  white  brightness is also called luminance or intensity

3461 RGB model black blue red green cyan yellow white magenta

3461 RGB Model (2) Color RedGreenBlue Red Green Blue Yellow Cyan Magenta White Black 0 0 0

3461 Colour Choosers  Control for colour usually employs a colour chooser (aka colour picker)  Colour selected three ways:  A pre-defined palette  HSB values  RGB values

3461 Java’s JColorChooser (1) Pre-defined pallete For a demo, see DemoMenu2.java

3461 Java’s JColorChooser (2) HSB For a demo, see DemoMenu2.java

3461 Java’s JColorChooser (3) RGB For a demo, see DemoMenu2.java

3461 Microsoft Office

3461 Netscape Navigator and Microsoft IE

3461 Paint Shop Pro

3461 Drawing  Java’s “J” components are the building blocks of graphical user interfaces  At a lower level, Java provides a set of drawing primitives for  Shapes  Lines  Curves  Images  Text

3461 Example Program DemoPaintPanel.java file:///D:/York3461/Java/docs/api/java/awt/GraphicsConfiguration.html

3461 Example Program DemoPaintPanel2.java DemoPaintPanel3.java

3461 Example Program DemoMouseInk.java

3461 Example Program DemoMouseUnistrokes.java

3461 Images DemoImage.java DemoImage2.java

3461 Text  Characterized by  Font family  Style  Size and Spacing

3461 Font Families  Three types  Serif  A serif is a short line extending from and at an angle to the upper and lower strokes of a letter  Serif fonts facilitate human perception in distinguishing among letters  Sans serif  Without serifs  Monospaced or fixed-pitch  Each character occupies the same amount of horizontal space (cf. variable pitch)

3461 Serifs Illustrated AB ab Times roman Bookman oldstyle serifs

3461 Sans Serifs Illustrated CD cd Arial Lucida sans

3461 Monospaced Illustrated IM im Courier new OCR A Extended

3461 Font Style  Plain  Italic  Bold  Italic + bold Hello Java World

3461 Font Size  Font size is measured in points  A point is the smallest typographical unit of measurement  1 point = 1 / 72 inch (i.e., 72 points per inch) Hello Java World 48 point font size

3461 Font Spacing  See /JavaSwingTutorial/uiswing/painting/drawingText.html

3461 Readability of Text  Guidelines:  Uppercase vs lowercase  WORDS WRITTEN IN BLOCK CAPITALS take longer to read than those written in lowercase  However, an important word written in CAPITALS is quickly perceived provided it is surrounded by words in lowercase  Serif vs sans serif  For printed text, serif fonts are easier to run one’s eyes along and take in the written content  For on-screen text, serif fonts generally produce less well than sans serif fonts due to poorer resolution of the display

3461 Example Program DemoComboBox2.java Shown earlier

3461 Example Program DemoList3.java

3461 Image File Formats  There are many, many file formats for storing images  These include…  gif, jpg, tiff, bmp

3461 gif  gif = graphics interchange format  Pronounced giff (with a hard ‘g’)  Introduced in 1987 by CompuServe Inc.  Very popular format for web pages  Features  Limited to 256 colors (8-bit)  Lossless data compression (compresses best for images with lots of repetition; e.g., flat colors)  Support for transparency  one colour in the image’s pallete (usually the ‘background’) is treated as transparent  Support for animation

3461 jpg  jpg = jpeg = joint photographic experts group  Pronounced jay-peg  Features  Always uses 24-bit color  Lossy data compression (up to 95% reduction, but with loss of image quality proportional to amount of compression)

3461 tiff  tif = tiff = tagged image file format  Features  Supports different compression schemes (lossy and lossless)  Supports any resolution  Black and white, color, or grey shades

3461 bmp  bmp = bit-map  Standard for Windows environment  Uses a pixel map to hold line-by-line raster information  Features  No compression  Files are large

3461 Example Transparent gif FormatFile Size gif1639 jpg5522 tif3328 bmp7942 jpg, tif, bmp

3461 Next Topic…