Computer Graphics and Image Processing Introduction

Similar documents
Introduction to Computer Graphics

COMP-557: Fundamentals of Computer Graphics McGill University, Fall 2010

COMP175: Computer Graphics. Lecture 1 Introduction and Display Technologies

A Short Introduction to Computer Graphics

CPIT-285 Computer Graphics

Monash University Clayton s School of Information Technology CSE3313 Computer Graphics Sample Exam Questions 2007

MMGD0203 Multimedia Design MMGD0203 MULTIMEDIA DESIGN. Chapter 3 Graphics and Animations

CSCD18: Computer Graphics

Kankakee Community College

Course Overview. CSCI 480 Computer Graphics Lecture 1. Administrative Issues Modeling Animation Rendering OpenGL Programming [Angel Ch.

GUI GRAPHICS AND USER INTERFACES. Welcome to GUI! Mechanics. Mihail Gaianu 26/02/2014 1

Video Game Programming ITP 380 (4 Units)

Lezione 4: Grafica 3D*(II)

CSCI 599: Digital Geometry Processing

BASIC DIGITAL PHOTOGRAPHY SPRING 2016

How To Teach Computer Graphics

Template-based Eye and Mouth Detection for 3D Video Conferencing

Introduction to Computer Graphics. Jürgen P. Schulze, Ph.D. University of California, San Diego Fall Quarter 2012

Graphic Design. Background: The part of an artwork that appears to be farthest from the viewer, or in the distance of the scene.

3D Scanner using Line Laser. 1. Introduction. 2. Theory

Mart325 Services Marketing COURSE OUTLINE

Using Photorealistic RenderMan for High-Quality Direct Volume Rendering

UNIVERSITY OF MACAU DEPARTMENT OF COMPUTER AND INFORMATION SCIENCE SFTW 463 Data Visualization Syllabus 1 st Semester 2011/2012 Part A Course Outline

MM05 Food Marketing COURSE OUTLINE

Digital image processing

Geant4 Visualization. Andrea Dotti April 19th, 2015 Geant4 M&C+SNA+MC 2015

Face detection is a process of localizing and extracting the face region from the

A technical overview of the Fuel3D system.

SkillsUSA 2014 Contest Projects 3-D Visualization and Animation

ABNORMAL PSYCHOLOGY (PSYCH 238) Psychology Building, Rm.31 Spring, 2010: Section K. Tues, Thurs 1:45-2:45pm and by appointment (schedule via )

MassArt Studio Foundation: Visual Language Digital Media Cookbook, Fall 2013

INTRODUCTION TO RENDERING TECHNIQUES

Adding Animation With Cinema 4D XL

3D Modeling, Animation, and Special Effects ITP 215x (2 Units)

INTRODUCTION IMAGE PROCESSING >INTRODUCTION & HUMAN VISION UTRECHT UNIVERSITY RONALD POPPE

How To Learn To Program In Csc 406 Computer Graphics

A PHOTOGRAMMETRIC APPRAOCH FOR AUTOMATIC TRAFFIC ASSESSMENT USING CONVENTIONAL CCTV CAMERA

Taking Inverse Graphics Seriously

Introduction to Computer Graphics. Reading: Angel ch.1 or Hill Ch1.

3D MODELING OF LARGE AND COMPLEX SITE USING MULTI-SENSOR INTEGRATION AND MULTI-RESOLUTION DATA

Image Processing and Computer Graphics. Rendering Pipeline. Matthias Teschner. Computer Science Department University of Freiburg

Course Syllabus. Tuesday 4 pm to 5 pm & Thursday 4 to 5 pm

Virtual Mouse Using a Webcam

Surface Curvature from Laser Triangulation Data. John Rugis ELECTRICAL & COMPUTER ENGINEERING

Visualization and Feature Extraction, FLOW Spring School 2016 Prof. Dr. Tino Weinkauf. Flow Visualization. Image-Based Methods (integration-based)

CS 4204 Computer Graphics

CS Client Side Web Development, Hybrid (crn # 10332) Fall 2015 Northeastern Illinois University > College of Arts & Sciences > Syllabus

Prerequisite Math 115 with a grade of C or better, or appropriate skill level demonstrated through the Math assessment process, or by permit.

2: Introducing image synthesis. Some orientation how did we get here? Graphics system architecture Overview of OpenGL / GLU / GLUT

International Journal of Advanced Information in Arts, Science & Management Vol.2, No.2, December 2014

Foothill College Winter 2014 Pre-Calculus III Math 48C CRN # units

Sweet Home 3D user's guide

Students will be notified by the instructor of any changes in course requirements or policies.

3D U ser I t er aces and Augmented Reality

3D Modeling, Animation, Compositing, and Special Effects ITP 215x (2 Units)

Lecture Notes, CEng 477

DEGREE CURRICULUM COMPUTER GRAPHICS AND MULTIMEDIA Master's Degree in Informatics Enginneering

Course Outline 2015 FINANCE 261: INTRODUCTION TO INVESTMENTS (15 POINTS) Semester 2 (1155)

Carleton University School of Computer Science COMP Computer graphics Fall 2015

CSE452 Computer Graphics

Otis Photo Lab Inkjet Printing Demo

Computer Graphics CS 543 Lecture 12 (Part 1) Curves. Prof Emmanuel Agu. Computer Science Dept. Worcester Polytechnic Institute (WPI)

Computer Animation and Visualisation. Lecture 1. Introduction

Thea Omni Light. Thea Spot Light. Light setup & Optimization

Colorado School of Mines Computer Vision Professor William Hoff

A System for Capturing High Resolution Images

Instructions for Creating a Poster for Arts and Humanities Research Day Using PowerPoint

Glass coloured glass may pick up on scan. Top right of screen tabs: these tabs will relocate lost windows.

BUILDING TELEPRESENCE SYSTEMS: Translating Science Fiction Ideas into Reality

CS 1340 Sec. A Time: 8:00AM, Location: Nevins Instructor: Dr. R. Paul Mihail, 2119 Nevins Hall, rpmihail@valdosta.

Advanced Film Production Workshop. Course Outline

Adobe Illustrator CS5 Part 1: Introduction to Illustrator

CS 51 Intro to CS. Art Lee. September 2, 2014

CS 4810 Introduction to Computer Graphics

GRAFICA - A COMPUTER GRAPHICS TEACHING ASSISTANT. Andreas Savva, George Ioannou, Vasso Stylianou, and George Portides, University of Nicosia Cyprus

Files Used in this Tutorial

Mouse Control using a Web Camera based on Colour Detection

Teaching Introductory Computer Graphics Via Ray Tracing

Computer Graphics. Anders Hast

Digital Image Requirements for New Online US Visa Application

TITLE: Elementary Algebra and Geometry OFFICE LOCATION: M-106 COURSE REFERENCE NUMBER: see Website PHONE NUMBER: (619)

Manufacturing Process and Cost Estimation through Process Detection by Applying Image Processing Technique

New York City College of Technology The City University of New York. Department of Communication Design. COMD D Animation & Modeling II

Visualisatie BMT. Introduction, visualization, visualization pipeline. Arjan Kok Huub van de Wetering

Digital Imaging and Image Editing

Signature Region of Interest using Auto cropping

So, you want to make a photo-realistic rendering of the Earth from orbit, eh? And you want it to look just like what astronauts see from the shuttle

Digitisation Disposal Policy Toolkit

B.A IN GRAPHIC DESIGN

Stage III courses COMPSCI 314

CS 40 Computing for the Web

Universidade de Aveiro Departamento de Electrónica, Telecomunicações e Informática. Introduction to Information Visualization

Computer Animation: Art, Science and Criticism

Transcription:

Computer Graphics and Image Processing Introduction Part 1 Lecture 1 1 COMPSCI 373 Lecturers: A. Prof. Patrice Delmas (303.391) Week 1-4 Contact details: p.delmas@auckland.ac.nz Office: 303-391 (3 rd level CompSci building) Office hours: Tues-Thurs 3-4pm, particularly available right after each lecture Dr Burkhard Wuensche (303.453) Week 5-8 Prof. Georgy Gimel farb (303.389) Week 9-12 Tutors: Justin Nguyen, Trevor Gee Check https://www.cs.auckland.ac.nz/courses/compsci373s1c/tutorials/ Lecture time: Tuesday 2-3pm (MLT 1) Thursday 2-3pm (PLT 1) Friday 2-3pm (Lib B15) Marking: 25% assignments, 20% test, 55% examination Assignments: 8.33 marks each (date out and due date online) 2 3 March 2014 COMPSCI 373 S1C

Information Cecil (https://www.cecil.auckland.ac.nz/) or LMS (https://lms.auckland.ac.nz/default.aspx) To sit the Online multiple choice quizzes / programming quizzes To check your marks To download all lecture recordings To download lecture notes, examples and exercises Forum (http://forums.cs.auckland.ac.nz) and Facebook page (semi-official) For Announcement and FAQ Select COMPSCI 373 C S1 2014 CS course page (http://www.cs.auckland.ac.nz/compsci373s1c) To get information about our course 3 Assessments Note: Students must obtain a pass in both the practical (assignments) and non-practical work (test + exam) in order to pass as a whole Practical: (25%) Assignments (8.33% each) A1 : due on Apr 9, 11:30pm A2 : due sometimes in May A3 : due on June 3, 11:30pm Theory: (75%) Test: 20%, On Week 6 before Easter break Exam: 55% TBA 4

Policy on Cheating and Plagiarism We uses many ways to check that the work students submit for marking is their own and was not produced by, or copied from, someone else. A comparison program to automatically compare all submissions from students. Note: All assignments deemed to be too similar are automatically allocated a zero mark. All students who submitted these assignments are entered in the duplicate assignment register (a list of students whose work is known to have been copied). This list is maintained over many years. Students who have been caught cheating will be notified by email. Offenders may be referred to the University Disciplinary Committee Both the person who copied the work and the person whose work was copied are allocated a zero mark. It is important that you do not lend your assignments to others. Never give anyone a copy of your assignment. It is the responsibility of each student to ensure that others do not copy their work. Read: http://www.auckland.ac.nz/uoa/home/about/teaching-learning/honesty 5 Assessments (con t) Missed work If you miss the deadline for an assignment and have a valid reason, you should see the course coordinator ASAP If you miss the test/exam for any valid reason, or you sit the test/exam but believe that your performance was impaired for some reason, then you may be able to apply for an aegrotat, compassionate or special pass consideration. Refer to the online information on Missed Exams, Aegrotats and Compassionate Consideration: http://calendar.auckland.ac.nz/regulations/academic/examination.html 6

Part I Overview Week 1: 2D and 3D Geometry Week 2: Color Theory (Timo) Week 3: Illumination and Shading Week 4: Ray Tracing Assignment 3 Raytracing image thanks to Tim Babb 7 References F.S. Hill. Computer Graphics using OpenGL (2 nd or 3rd Edition). Prentice Hall. Nick Efford. Digital Image Processing: A Practical Introduction Using Java. Addison Wesley. C/C++: C Reference Manual http://www.cs.bell-labs.com/who/dmr/cman.ps Bruce Eckel - Thinking in C++ http://www.ibiblio.org/pub/docs/books/eckel/ C++ for Java Programmers http://www.jgcampbell.com/cpp4jp/cpp4jp.pdf See also CS373 resources page 8

A bit more about me 13 years at Uni (lecturing 105,210,373,375,716,773,775) What I dislike: noise during the class, cheating (test, exam, assignments) What I like: engaging students, questions from students, ask questions to students (mostly the ones sleeping, talking, txting or disrupting the class) What I do outside 105 this semester: I teach 105 and 773 I do research in 3D computer vision: www.ivs.auckland.ac.nz\quick_stereo 9 Email me for Mistakes in the lecture notes Dead-links on the webpage Issues not related to courses (personal problems-valid request for extension) Forum Check it as often as you want. I tend to read the forum (when close to assignment deadlines) and do answer but likely not as fast as the tutors. The tutors are taking care of the forum. Email Check email the night before each lecture There might be special tutorials Other important information Tutor Is here to help Has to help as many students as possible (be minded of others in need) 10

Miscellaneous We will have 3 lectures a week. You need to keep up with the pace: Each new lecture will require you to know and understand the content of the previous lectures. You must do the exercises provides with the lecture notes to make sure you really understand the course content Tutorials are a great way to supplement lectures Outside office hours and tutorials, tutors are not supposed to be at hand 11 How to progress while Learning 1. Read the lecture notes after each lecture a. Make a summary of what has been seen on the lectures b. Redo examples already treated (during the lectures) or/and do the untreated examples c. Do examples without refereeing to the lectures 2. Read the materials provided online a. To learn more b. To complement lectures 3. If you have questions or do not understand something a. Do 1 b. Do 2 c. Attend the tutorials d. Check the forum e. Ask other 373 students f. Ask a tutor during office hours g. Email me (only if point a to f are completed and did not bring relevant information) 4. How to prepare exams a. Do previous years exams b. Do exercises of the course/tutorials/exercise course book i. http://www.cs.auckland.ac.nz/compsci373s1c/exams/ ii. Do 1 and 2 12

A glimpse of the research at the Intelligent Vision Systems Lab, Department of computer Science, The University of Auckland Low cost + advanced theory = improved performance 3 March 2014 IVS research Compsci 373 13 Online Interactive Web-based Stereo Vision Build a portable /comprehensive website and mobile app: Accept off-the-lab real-life photos of different types: Left + right Anaglyph Auto-stereogram Automatically align images to epipolar stereo form Reconstruct 3D information and display online Returns different 3D results URL: ww.ivs.auckland.ac.nz/quick_stereo Thousands of visitors from 47 countries around the World First rank on Google Search on key words: online stereo matching online stereo vision (1) Input Stereo matching (2) Find image correspondence set (3) Estimate F matrix and epipolar lines (4) Rectify images

3D 2D 4D DIGITAL IMAGES 15 How to Get Digital Images? 1. 2D real 2D digital 2. 3D real 2D digital 3. 4D real animated 2D digital 4. 3D real 3D digital Stereoscopic Camera 3D Scanner MRI 2D slices of 3D volume 5. 4D real 4D digital Motion Capturing 6. Synthetic or computer generated 16

What to Do with Digital Images? Image Processing: process them to get new images Computer Vision: analyze them to get information about what is in the image Computer Graphics: generate them INPUT OUTPUT Descriptions Images Descriptions Computer Graphics Images Computer Vision Image Processing 17 Pixels and Resolution Pixel or pel (picture element) Position (x,y) + signal value v (greyscale or colour) y x Position: (512, 456) Value: (10, 255, 8) Origin (0,0) of pixel coordinates sometimes in top left corner Resolution: how many pixels? width height Spatial resolution: image pixels per cm or inch (in x and y) Can be used to convert pixel coordinates into physical coordinates 18

Encoding of Colors Bit-depth: number of bits used to represent each pixel's value (typically 1, 8, 24 or 32) Binary image: bit depth is 1; only code values 0 (black) and 1 (white) Scalar/monochrome/greyscale image: scalar code values (e.g. just a single number per color) only grey values (from black to white) and no colour Vector-valued image vector code values (e.g. several numbers per color) All the colors can be represented 19 Defining Images Mathematically Images can be defined on an M N arithmetic grid (or lattice) R M, N Pixel coordinates x and y with x 1,,M ; y 1,,N Image as a function f: R V V is a set of signal values, e.g. grey levels or colors Example: pixel at position (100, 100) has value 255, i.e. f (100, 100) = 255 x, y :1 x M 1 N 4 3 2 1 0 y y N 0 1 2 3 4 M x 20

Image Processing Geometric transformations: resizing, rotation, deformations, Color transformations: quantization, conversion, color adjustment, Compositing: combination of two or more images Many other operations 21 Computer Vision Use computer to do things similar to human vision, using image processing, artificial intelligence, biology & physics Usually dealing with 2D images of 3D scene Often real-time and part of a larger system (e.g. robot) E.g. scene reconstruction, image restoration, object recognition, tracking, motion estimation, event detection, 22

A Typical computer vision project Stereo images- depth map Face features extraction Face segmentation Features labelling Face normalisation Calibration - rectification Trained information Representative weightings Class 1: Open Class 2: Go Class 3: Stop Class 4: Left e i e i+1... e n Input pose w 1 w 2... w n e i e i+1... e n w 11 w 21... w n1 Mean image w 12 w 22... w n2 w 13 w 23... w n3 w 14 w 24... w n4 PCA Classification Classified pose: Class 1 23 3 March 2014 COMPSCI 773 S1C Human vs. Computer Vision Human Vision Subjective, unstable, inaccurate in measurements Involves active interaction with environment Exploits experience, knowledge, context But unique capabilities to describe and understand Real-time Computer Vision Objective accurate measurements But low capabilities to describe and understand Rarely works effectively real-time 24

Generating Digital Images Need a 3D scene consisting of: Objects (3D models) Light sources Camera (viewer, eye) Parameters specifying how light interacts with the scene Light parameters e.g. type of light (light bulb, spotlight), color, brightness Material parameters e.g. color, texture, transparency Rendering parameters e.g. algorithm, quality, resolution 25 Objects (3D Models) Objects are made up of parts (often also of other objects): Vertices: 3D points used to define model Edges: lines between vertices Faces: polygons bounded by edges Mesh: surface made up of connected polygons Wireframe model showing mesh with vertices, edges and faces Smoothed and shaded solid model 26

The Camera View point: where is the camera? View direction: which direction does it point? View orientation: where does the top of the camera point? E.g. is the photo taken upside down? Projection: what type of lens does the camera have? Rendering: View plane (screen image) Project scene onto view plane in front of the camera Compute the color of each pixel on the view plane 27 SUMMARY 28

Summary Things we can do with images: Image Processing: process them to get new images Computer Vision / Image Analysis: analyze them to get higher-level information (context, emotional content, numbering/counting) Computer Graphics: generate them Images: pixels with encoded colors, (spatial) resolution, can be represented on arithmetic grid For generating images: 3D scene with objects (vertices, edges, faces, meshes), light sources, camera 29 Quiz 1. What is the spatial resolution of an image? 2. What is Computer Vision? 3. What are the differences between Computer Vision and human vision? 4. What does a 3D scene consist of? 5. What are vertices, edges and faces? 30

Super Quiz 1. What is camera calibration? 2. How much time did each CG still shots of Gollum-LOTR take to be generated in 2001? 3. Same question for the Hobbit 4. What is the cheapest 3D camera commercially available if any? 5. How many 3D mobile phone do you know? 6. Cite 3 famous (most-used) software packages for image processing/computer graphics? 7. What was the price of a medium ranged 2Mpixels digital camera in 2002 compared to today s 10 Mpixels camera? 31