Review. What about images? What about images? Slides04 - RGB-Pixels.key - September 22, 2015

Similar documents
DIGITAL CIRCUIT LOGIC UNIT 9: MULTIPLEXERS, DECODERS, AND PROGRAMMABLE LOGIC DEVICES

Data Representation. signals can vary continuously across an infinite range of values e.g., frequencies on an old-fashioned radio with a dial

8/30/2010. Chapter 1: Data Storage. Bits and Bit Patterns. Boolean Operations. Gates. The Boolean operations AND, OR, and XOR (exclusive or)

Programming: Part II

Import and quantification of a micro titer plate image

Part 1: Introduction to Computer Graphics

CHAPTER1: Digital Logic Circuits

Chapt er 3 Data Representation

Chapter 1: Data Storage. Copyright 2015 Pearson Education, Inc.

Part 1: Introduction to computer graphics 1. Describe Each of the following: a. Computer Graphics. b. Computer Graphics API. c. CG s can be used in

GOODNIGHT MOON & THE RUNAWAY BUNNY

Twinkle Twonkle Friday, Feb.17, 2012 at 10am Fine Arts Center Concert Hall

Project Name Test Plan

NUMB3RS Activity: Coded Messages. Episode: The Mole

Screen Shot User Guide Clinical Agency

Example: compressing black and white images 2 Say we are trying to compress an image of black and white pixels: CSC310 Information Theory.

COGS 119/219 MATLAB for Experimental Research. Fall 2017 Image Processing in Matlab

General Certificate of Education Advanced Subsidiary Examination June Problem Solving, Programming, Data Representation and Practical Exercise

London Examinations IGCSE

The reduction in the number of flip-flops in a sequential circuit is referred to as the state-reduction problem.

Footnotes and Endnotes

Getting Images of the World

1. Update Software in Meter

Computer Graphics: Overview of Graphics Systems

Announcements. Project Turn-In Process. and URL for project on a Word doc Upload to Catalyst Collect It

Frequencies. Chapter 2. Descriptive statistics and charts

ECS 15: Introduction to Computers Midterm November 6, 2013

LAURA INGALLS WILDER Growing Up on the Prairie Wednesday, November 10, 2010 at 10am Fine Arts Center Concert Hall

HD-SDI Express User Training. J.Egri 4/09 1

CHAPTER 7 BASIC GRAPHICS, EVENTS AND GLOBAL DATA

Lab 2 Part 1 assigned for lab sessions this week

1 Boxer Billy Input File: BoxerBillyIn.txt

Objectives: Topics covered: Basic terminology Important Definitions Display Processor Raster and Vector Graphics Coordinate Systems Graphics Standards

INVITATION WORKSHOP SPAIN MADRID 2018

Grove - OLED Display 1.12"

Arduino LED Matrix Control. Controlling lots of LEDs

1/29/2008. Announcements. Announcements. Announcements. Announcements. Announcements. Announcements. Project Turn-In Process. Quiz 2.

Announcements. Project Turn-In Process. Project 1A: Project 1B. and URL for project on a Word doc Upload to Catalyst Collect It

Bar Codes to the Rescue!

In the proposed amendment below, text shown with underline is proposed to be added and text shown with strikethrough is proposed to be removed.

QCTool. PetRos EiKon Incorporated

COE328 Course Outline. Fall 2007

1/ 19 2/17 3/23 4/23 5/18 Total/100. Please do not write in the spaces above.

Lossless Compression Algorithms for Direct- Write Lithography Systems

Data Encoding CTPS 2018

These are used for producing a narrow and sharply focus beam of electrons.

APPLICATION NOTE AN-B03. Aug 30, Bobcat CAMERA SERIES CREATING LOOK-UP-TABLES


InfoVue OLED Display

technology T05.2 teach with space MEET THE SENSE HAT Displaying text and images on the Sense HAT LED matrix

Sample: A small part of a lot or sublot which represents the whole. A sample may be made up of one or more increments or test portions.

Normalization Methods for Two-Color Microarray Data

Click on the chapter below to navigate to the corresponding section of this document.

18-551, Spring Group #4 Final Report. Get in the Game. Nick Lahr (nlahr) Bryan Murawski (bmurawsk) Chris Schnieder (cschneid)

FPGA Laboratory Assignment 4. Due Date: 06/11/2012

AP Statistics Sec 5.1: An Exercise in Sampling: The Corn Field

ECT 224: Digital Computer Fundamentals Digital Circuit Simulation & Timing Analysis

PARALLEL PROCESSOR ARRAY FOR HIGH SPEED PATH PLANNING

Half-Adders. Ch.5 Summary. Chapter 5. Thomas L. Floyd

Video Compression. Representations. Multimedia Systems and Applications. Analog Video Representations. Digitizing. Digital Video Block Structure

HD-D10/D20/D30 Series Asynchronous operate manual. Chapter1 Summary

A Fast Constant Coefficient Multiplier for the XC6200

TechNote: MuraTool CA: 1 2/9/00. Figure 1: High contrast fringe ring mura on a microdisplay

INTERIM ADVICE NOTE 109/08. Advice Regarding the Motorway Signal Mark 4 (MS4)

HUB CATS File Development Documentation

Statistics for Engineers

Manual Version Ver 1.0

ISCEV SINGLE CHANNEL ERG PROTOCOL DESIGN

MATH& 146 Lesson 11. Section 1.6 Categorical Data

MAKE AN RGB CONTROL KNOB.

Nuendo 3 / DM1000 V2 Setup and Operation

Sampling Worksheet: Rolling Down the River

16B CSS LAYOUT WITH GRID

With Export all setting information (preferences, user setttings) can be exported into a text file.

Displays and framebuffers

Graphics Concepts. David Cairns

)454 ( ! &!2 %.$ #!-%2! #/.42/, 02/4/#/, &/2 6)$%/#/.&%2%.#%3 53).' ( 42!.3-)33)/. /&./.4%,%0(/.% 3)'.!,3. )454 Recommendation (

Implementation of an MPEG Codec on the Tilera TM 64 Processor

Introduction to Computers & Programming

CS2401-COMPUTER GRAPHICS QUESTION BANK

Source/Receiver (SR) Setup

EVO consoles are offered in a number of size options, to suit the installation and working style of the studio.

Asynchronous IC Interconnect Network Design and Implementation Using a Standard ASIC Flow

ILDA Image Data Transfer Format

VHDL Design and Implementation of FPGA Based Logic Analyzer: Work in Progress

Ensemble. Multi-Axis Motion Controller Software. Up to 10 axes of coordinated motion

DCI Memorandum Regarding Direct View Displays

Simulation Supplement B

High Performance Raster Scan Displays

Package spotsegmentation

CHECKPOINT 2.5 FOUR PORT ARBITER AND USER INTERFACE

Getting started with. A webinar from. thinksmartbox.com/smart-support

cs281: Introduction to Computer Systems Lab07 - Sequential Circuits II: Ant Brain

Hitachi Europe Ltd. ISSUE : app084/1.0 APPLICATION NOTE DATE : 28/04/99

1 Bias-parity errors. MEMORANDUM November 14, Description. 1.2 Input

UNIVERSITY OF MASSACHUSETTS Department of Biostatistics and Epidemiology BioEpi 540W - Introduction to Biostatistics Fall 2002

CS302 Digital Logic Design Solved Objective Midterm Papers For Preparation of Midterm Exam

MATLAB Programming. Visualization

PicoScope 6 PC Oscilloscope Software

Data Storage and Manipulation

Transcription:

Review 1 What is binary? What kinds of data can be represented in binary? What about images? 2-1 How do we turn a scene into something we can store in a computer? What about images? 2-2 How do we turn a scene into something we can store in a computer? Need a way to represent colors in binary Need a way to indicate the sequence of colors that make up a picture

Bitmap Representation 3-1 Divide an image into a grid Pick the average color in each cell (pixel) Remember that color Bitmap Representation 3-2 Divide an image into a grid Pick the average color in each cell (pixel) Remember that color Remember Average Pixel Color 4-1

Remember Average Pixel Color 4-2 Remember Average Pixel Color 4-3 Pixels are very small! 5

6 Exploring pictures with JES First, get a picture into a variable: mypicture = makepicture (pickafile()) Display with: explore (mypicture) 7 Map coordinates A B C D E 1 Consist of a row and column Cleveland is in D4 F G H I J 7 69 50 30 28 29 39 32 57 12 2 54 37 66 70 52 20 8 45 41 3 55 68 3 9 62 46 16 47 1 2 51 61 56 17 48 11 5 42 31 4 25 23 43 18 38 21 14 4 26 15 36 10 65 33 6 64 40 24 53 19 13 44 60 34 59 35 58 22 49 5 67 63 Directions to Mount Holyoke College Consists of a row and column By Car From the south: North on I-91 to Route 202 (Exit 16, Holyoke/South Hadley). North on 202 through Holyoke, across the Connecticut River, and around the rotary to the South Hadley Center-Amherst exit; Route 116 north for 2.5 miles. From the north: South on I-91 to Exit 16; follow directions above. From the Mass Turnpike, east or west: Exit 5 (Holyoke/ Chicopee) to Route 33 for five miles; right onto 116; 1.5 miles north to MHC. 27 By Train Amtrak station in Springfield: www.amtrak.com. Mailing address Mount Holyoke College 50 College Street South Hadley, MA 01075 By Air Bradley International Airport, serving Hartford, Connecticut, and Springfield, Massachusetts, is 35 miles south of Mount Holyoke on I-91. For van/car service from the airport: www.bradleyairport.com/transport. www.mtholyoke.edu By Bus Peter Pan service from Boston and New York City to South Hadley with transfers in Springfield: www.peterpanbus.com. Pixel Coordinates 8 Main switchboard 413-538-2000 X is the column Y is the row 0, 0 is at the top, left corner Identify exactly one pixel

Pre-defined pixel functions 9-1 getpixel ( <picture>, <column>, <row>) - returns a pixel getpixels ( <picture> ) - returns an array of all the pixels Pre-defined pixel functions 9-2 getpixel ( <picture>, <column>, <row>) - returns a pixel getpixels ( <picture> ) - returns an array of all the pixels Terminology: An array is a list of values Calling getpixel 10-1

Calling getpixel 10-2 Calling getpixel 10-3 What is a Color? 11 RGB - Red Green Blue 3 light sources, one of each color Specify how intense each light source should be Values range between 0 and 255 Example: Red = 255, Green = 0, Blue = 0 Example: Red = 129, Green = 202, Blue = 60 Example: Red = 245, Green = 248, Blue = 34 What is black, white, gray?

Color Chooser 12 How Many Shades of Red are There? 13-1 How Many Shades of Red are There? 13-2 256 Red

How Many Combinations of Red and Green are There? 14-1 How Many Combinations of Red and Green are There? 14-2 256 Red * 256 Green = 65,536 Red/Green combinations How Many RGB Colors are There? 15-1 256 Red * 256 Green * 256 Blue = 16,777,216 Red/Green/Blue combinations

How Many RGB Colors are There? 15-2 256 Red * 256 Green * 256 Blue = 16,777,216 Red/Green/Blue combinations My display only has 2880 * 1800 = 5,184,000 pixels!! There are not enough pixels on my screen to display all the colors at one time! 16 A magnified view of an RGB display Calling getpixels 17-1 getpixels returns an array big enough to hold each pixel of an image Array contains all the pixels of the first row, followed by all the pixels of the second row, etc. How long would it be? How much memory does the array use?

Calling getpixels 17-2 getpixels returns an array big enough to hold each pixel of an image Array contains all the pixels of the first row, followed by all the pixels of the second row, etc. How long would it be? How much memory does the array use? Summary of new functions 18 getpixel ( <picture>, <column>, <row>) - returns a pixel getpixels ( <picture> ) - returns an array of all the pixels getwidth ( <picture> ) - returns the number of columns of pixels in the picture getheight ( <picture> ) - returns the number of rows of pixels in the picture Summary of Digital Representations 19 ASCII and Unicode are two binary encodings for text. RGB is a binary encoding for color Images consist of a 2D grid of pixels, each with a unique color