1 Computer Science 631 Multimedia Systems Prof. Ramin Zabih Computer Science Department CORNELL UNIVERSITY.

Slides:



Advertisements
Similar presentations
Md. Monjur –ul-Hasan Department of Computer Science & Engineering Chittagong University of Engineering & Technology Chittagong 4349
Advertisements

CS Spring 2009 CS 414 – Multimedia Systems Design Lecture 4 – Digital Image Representation Klara Nahrstedt Spring 2009.
Bit Depth and Spatial Resolution SIMG-201 Survey of Imaging Science © 2002 CIS/RIT.
School of Engineering and Computer Science Victoria University of Wellington Copyright: Peter Andreae & david streader, VUW Images and 2D Graphics COMP.
1 Comp300a: Introduction to Computer Vision L. QUAN.
Graphics File Formats. 2 Graphics Data n Vector data –Lines –Polygons –Curves n Bitmap data –Array of pixels –Numerical values corresponding to gray-
1 Computer Science 631 Lecture 3: Morphing, Sampling Ramin Zabih Computer Science Department CORNELL UNIVERSITY.
Digital Audio, Image and Video Hao Jiang Computer Science Department Sept. 6, 2007.
First Bytes - LabVIEW. Today’s Session Introduction to LabVIEW Colors and computers Lab to create a color picker Lab to manipulate an image Visual ProgrammingImage.
Image Representation.
Graphics in the web Digital Media: Communication and Design
Ch 1 Intro to Graphics page 1CS 367 First Day Agenda Best course you have ever had (survey) Info Cards Name, , Nickname C / C++ experience, EOS experience.
Lossless Compression in Multimedia Data Representation Hao Jiang Computer Science Department Sept. 20, 2007.
IT-Academic Technology Services Using Microsoft PowerPoint 2010 for Digital Storytelling.
I Power Multimedia Technology Video Data. Video data Video is a sequence of individual pictures or frames, taken one after another. These are played back.
An Introduction to Scanning and Storing Photographs and Graphics Bryn Jones Aug 2002
Data starts with width and height of image Then an array of pixel values (colors) The number of elements in this array is width times height Colors can.
Prepared by George Holt Digital Photography BITMAP GRAPHIC ESSENTIALS.
SCCS 4761 Introduction What is Image Processing? Fundamental of Image Processing.
CS 1308 Computer Literacy and the Internet. Creating Digital Pictures  A traditional photograph is an analog representation of an image.  Digitizing.
MULTIMEDIA M U A T H H U M A I D R a s h A t a l l a h.
COMP Bitmapped and Vector Graphics Pages Using Qwizdom.
CS 102 Computers In Context (Multimedia)‏ 01 / 28 / 2009 Instructor: Michael Eckmann.
MORPHING Presentation By: SWARUP DEEPIKA JAGMOHAN Date: 22 OCT 2002 Course: COMPUTER GRAPHICS.
Multimedia Databases (MMDB)
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.
1 Image Basics Hao Jiang Computer Science Department Sept. 4, 2014.
Graphics/Image Data Types
September 21, COMPUTER VISION WEB PAGE IS UP !! OR Simply go to computer science homepage.
Multimedia Elements II Graphics, Digital Video. UIT - Multimedia Production2 Multimedia Elements Multimedia elements include: Text Graphics Animation.
Multimedia Specification Design and Production 2012 / Semester 1 / L3 Lecturer: Dr. Nikos Gazepidis
CS 376b Introduction to Computer Vision 02 / 08 / 2008 Instructor: Michael Eckmann.
September 5, 2013Computer Vision Lecture 2: Digital Images 1 Computer Vision A simple two-stage model of computer vision: Image processing Scene analysis.
Digital Image Formats: An Explanation Guilford County SciVis V
Chapter 2 : Imaging and Image Representation Computer Vision Lab. Chonbuk National University.
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.
Image Representation. Digital Cameras Scanned Film & Photographs Digitized TV Signals Computer Graphics Radar & Sonar Medical Imaging Devices (X-Ray,
Why is computer vision difficult?
Finding Red Pixels Prof. Ramin Zabih
Multimedia Systems Lecture 1: Introduction Prof. Charlene Tsai
By Courtney Field Creative digital graphics. Types of graphics and examples There are a number of different types of graphics file formats. Each type.
Multimedia Basics (1) Hongli Luo CEIT, IPFW. Topics r Image data type r Color Model : m RGB, CMY, CMYK, YUV, YIQ, YCbCr r Analog Video – NTSC, PAL r Digital.
Class 9 LBSC 690 Information Technology Multimedia.
CS 376b Introduction to Computer Vision 02 / 11 / 2008 Instructor: Michael Eckmann.
CSCI-100 Introduction to Computing Hardware Part II.
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.
Paper 3 Unit 15 – Web Authoring Software Choices Graphics Exporting Graphics Creating CSS RGB Colour CSS – Body, Table and TD Border Collapse Tables -
Introduction to Image Processing Representasi Citra Tahap-Tahap Kunci pada Image Processing Aplikasi dan Topik Penelitian pada Image Processing.
TOPIC 4 INTRODUCTION TO MEDIA COMPUTATION: DIGITAL PICTURES Notes adapted from Introduction to Computing and Programming with Java: A Multimedia Approach.
Digital Image Formats: An Explanation Guilford County SciVis V
infinity-project.org Engineering education for today’s classroom Outline Images Then and Now Digitizing Images Design Choices in Digital Images Better.
An Introduction to Digital Image Processing Dr.Amnach Khawne Department of Computer Engineering, KMITL.
Visual Information Processing. Human Perception V.S. Machine Perception  Human perception: pictorial information improvement for human interpretation.
8th Lecture – Intro to Bitmap or Raster Images
DIGITAL MEDIA FOUNDATIONS
Graphics and image data representation
Images and 2D Graphics COMP
Vocabulary byte - The technical term for 8 bits of data.
VIDEO.
Presenter Name: Mahmood A.Moneim Supervised By: Prof. Hesham A.Hefny
Vocabulary byte - The technical term for 8 bits of data.
Chapter 3:- Graphics Eyad Alshareef Eyad Alshareef.
Representing Images 2.6 – Data Representation.
MED 2001 Advanced Media Production
COMS 161 Introduction to Computing
COMS 161 Introduction to Computing
Final Study Guide Arts & Communications.
COMS 161 Introduction to Computing
Multimedia System Image
Presentation transcript:

1 Computer Science 631 Multimedia Systems Prof. Ramin Zabih Computer Science Department CORNELL UNIVERSITY

2 Today’s topics n Administrivia n Motivation n Course outline n Introduction to digital imagery n Special effects

3 The most important piece of information:

4 Administrivia n Course staff: Ramin Zabih, Abhijit Warkhedi, Tibor Janosi n n MW will be lectures (Ramin) F will be section (Tibor) Section will introduce new material –Without going to section, it will be very hard to do the homework

5 Homework n Three programming projects Project 1 [2/22]: Morphing Project 2 [3/29]: Mosaics from MPEG Project 3 [4/28]: Face detection/recognition –Room for you to do research! n No exams (unless you insist…) n Grading will be typical of graduate courses I expect to give mostly A’s of some kind This is not a promise

6 Doing the projects n They will involve significant programming n You should work in groups of two n You are expected not to share code with anyone other than your partner Cheating can earn you an F, even in a graduate course n Programs must be in C under WindowsNT

7 Course motivation n Digital “media” (audio, video) is everywhere This was true even before the Web n Numerous challenges and opportunities for computer science How do you compress, process, store, transport these new data types? What kind of new creative expressions do they make possible?

8 The focus of 631 n We will focus (almost) exclusively on the issues of processing images and video Compression will be covered in sections, starting in week 2 n Our emphasis will be on algorithms n We won’t do any 410-style analysis, but we’ll spend most lectures discussing various algorithms and their properties

9 Some related areas n Graphics is concerned with producing an image from a description of the scene n Computer vision is (classically) concerned with producing a description of the scene from an image n What turns one image into another? Vision, graphics, image processing

10 Course outline n Three major pieces, each with a project I. Distorting images in an interesting way Example: special effects II. Building new images from old ones Example: Quicktime-VR III. Finding things in images Example: counting people

11 Selected topics JPEG, MPEG and wavelets The image formation process Fast image processing (hardware and software) Face recognition Tracking moving objects Content-based image retrieval

12 Introduction to digital imagery n To a computer, an image looks like a 2D array A video is a time-indexed sequence of 2D arrays n The individual elements are called pixels For a black-and-white (grayscale) image, the pixels are intensities 8-bit numbers, 0 = black, 255 = white For color, 3 intensities (red, green, blue)

13 Image file formats n The raw data is usually laid out in row- major order, with a header of some kind Width, height, bytes per pixel n Many different formats (i.e., BMP, GIF, TIFF), but little fundamental difference For this course we will concentrate on the PGM (grayscale) or PPM (color) formats We’ll give you an image library to read and write images

14 Sample code: inverting an image { int x,y; GrayImage in=imLoad(IMAGE_GRAY,“in.pgm”); int width=imGetWidth(in); int height=imGetHeight(in); GrayImage out=imNew(IMAGE_GRAY,width,height); for(y = 0; y < height; y++) for(x = 0; x < width; x++) imRef(out,x,y) = imRef(in,x,y); imSave(out,“out.pgm”); }

15 Output in.pgmout.pgm

16 A simple variation #define ALPHA.5 { int x,y; GrayImage in=imLoad(IMAGE_GRAY,“in.pgm”); int width=imGetWidth(in); int height=imGetHeight(in); GrayImage out=imNew(IMAGE_GRAY,width,height); for(y = 0; y < height; y++) for(x = 0; x < width; x++) imRef(out,x,y) = ALPHA * imRef(in,x,y); imSave(out,“out.pgm”); }

17 Output in.pgmout.pgm

18 We can use this to implement a fade in n Simplest special effect Image appears from a dark background n Let ALPHA go from 0 to 1 ALPHA = 0 gives you a black image ALPHA = 1 gives the original image How fast ALPHA changes controls the speed of the dissolve n If we let ALPHA go from 1 to 0 we get a fade out

19 Various tools do this n Examples: Adobe Premiere, or Avid Many choices of special effects Many of them just involve changing that 1 line of code! n Movie and commercial special effects are done this way as well n Hollywood has infinite $, so they often do “hand tuning” But more and more is done automatically

20 Morphing n Probably the most interesting special effect One object “stretches” into another Michael Jackson “Black and White” video n Paper: T. Beier and S. Neely, Feature- Based Image Metamorphosis, SIGGRAPH ‘92 Authors are at Pacific Data Images It’s amazing that this paper was published!