Lecture 01 Introduction to Computer Vision Course: T0283 - Computer Vision Year: 2013.

Slides:



Advertisements
Similar presentations
Digital Image Fundamentals Selim Aksoy Department of Computer Engineering Bilkent University
Advertisements

5/13/2015CAM Talk G.Kamberova Computer Vision Introduction Gerda Kamberova Department of Computer Science Hofstra University.
Overview of Computer Vision CS491E/791E. What is Computer Vision? Deals with the development of the theoretical and algorithmic basis by which useful.
OpenCV Stacy O’Malley CS-590 Summer, What is OpenCV? Open source library of functions relating to computer vision. Cross-platform (Linux, OS X,
Image Representation and Manipulation CS302 Data Structures Prof. George Bebis
Image Formation Fundamentals CS491E/791E. How are images represented in the computer?
2007Theo Schouten1 Introduction. 2007Theo Schouten2 Human Eye Cones, Rods Reaction time: 0.1 sec (enough for transferring 100 nerve.
Image and Sound Editing Raed S. Rasheed Image Image. Digital image. – Raster images. – Vector Images. – Stereo Images. – Image File Formats Lossless.
CIS 601 Fall 2004 Introduction to Computer Vision and Intelligent Systems Longin Jan Latecki Parts are based on lectures of Rolf Lakaemper and David Young.
Goals of Computer Vision To make useful decisions based on sensed images To construct 3D structure from 2D images.
A Brief Overview of Computer Vision Jinxiang Chai.
SCCS 4761 Introduction What is Image Processing? Fundamental of Image Processing.
G52IIP, School of Computer Science, University of Nottingham What we will learn … Topics relate to the use of computer to Acquire/generate Process/manipulate/store.
Filtering (I) Dr. Chang Shu COMP 4900C Winter 2008.
Chapter 7 Digital Images and Video
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.
Image Formation Fundamentals Basic Concepts (Continued…)
CIS 601 Fall 2003 Introduction to Computer Vision Longin Jan Latecki Based on the lectures of Rolf Lakaemper and David Young.
© 1999 Rochester Institute of Technology Introduction to Digital Imaging.
Sensing for Robotics & Control – Remote Sensors R. R. Lindeke, Ph.D.
CS 376b Introduction to Computer Vision 02 / 08 / 2008 Instructor: Michael Eckmann.
1 Digital Image Processing Dr. Saad M. Saad Darwish Associate Prof. of computer science.
Chapter 2 : Imaging and Image Representation Computer Vision Lab. Chonbuk National University.
Intelligent Vision Systems Image Geometry and Acquisition ENT 496 Ms. HEMA C.R. Lecture 2.
1 Chapter 1: Introduction 1.1 Images and Pictures Human have evolved very precise visual skills: We can identify a face in an instant We can differentiate.
1 © 2010 Cengage Learning Engineering. All Rights Reserved. 1 Introduction to Digital Image Processing with MATLAB ® Asia Edition McAndrew ‧ Wang ‧ Tseng.
Chapter 1. Introduction. Goals of Image Processing “One picture is worth more than a thousand words” 1.Improvement of pictorial information for human.
Image Representation. Digital Cameras Scanned Film & Photographs Digitized TV Signals Computer Graphics Radar & Sonar Medical Imaging Devices (X-Ray,
MACHINE VISION Machine Vision System Components ENT 273 Ms. HEMA C.R. Lecture 1.
Digital Image Processing Lecture 1: Introduction February 21, 2005 Prof. Charlene Tsai Prof. Charlene Tsai
Digital Image Processing NET 404) ) Introduction and Overview
CSCI-100 Introduction to Computing Hardware Part II.
1 Computer Science 631 Multimedia Systems Prof. Ramin Zabih Computer Science Department CORNELL UNIVERSITY.
1 Introduction What IS computer vision? Where do images come from? the analysis of digital images by a computer.
1 Machine Vision. 2 VISION the most powerful sense.
Introduction to Image Processing Representasi Citra Tahap-Tahap Kunci pada Image Processing Aplikasi dan Topik Penelitian pada Image Processing.
Introduction to Image Processing. What is Image Processing? Manipulation of digital images by computer. Image processing focuses on two major tasks: –Improvement.
Intelligent Vision Systems Image Geometry and Acquisition ENT 496 Ms. HEMA C.R. Lecture 2.
Intelligent Robotics Today: Vision & Time & Space Complexity.
Suggested Machine Learning Class: – learning-supervised-learning--ud675
Introduction to Image Processing Course Notes Anup Basu, Ph.D. Professor, Dept of Computing Sc. University of Alberta.
  Computer vision is a field that includes methods for acquiring,prcessing, analyzing, and understanding images and, in general, high-dimensional data.
An Introduction to Digital Image Processing Dr.Amnach Khawne Department of Computer Engineering, KMITL.
CS Spring 2014 CS 414 – Multimedia Systems Design Lecture 4 – Visual Perception and Digital Image Representation Klara Nahrstedt Spring 2014.
Visual Information Processing. Human Perception V.S. Machine Perception  Human perception: pictorial information improvement for human interpretation.
Image Processing F34IMP lecture 1
COMP 9517 Computer Vision Digital Images 1/28/2018 COMP 9517 S2, 2009.
Course : T Computer Vision
Sampling, Quantization, Color Models & Indexed Color
CS201 Lecture 02 Computer Vision: Image Formation and Basic Techniques
Image Segmentation Classify pixels into groups having similar characteristics.
Chapter 3:- Graphics Eyad Alshareef Eyad Alshareef.
Outline Image formats and basic operations Image representation
Machine Vision Acquisition of image data, followed by the processing and interpretation of these data by computer for some useful application like inspection,
Image Formation Fundamentals
Digital Image Fundamentals
Chapter 1: Image processing and computer vision Introduction
Computer Vision (CSE 490CV, EE400B)
Digital Image Fundamentals
COMS 161 Introduction to Computing
Final Study Guide Arts & Communications.
CMSC 426: Image Processing (Computer Vision)
Multimedia System Image
IT523 Digital Image Processing
© 2010 Cengage Learning Engineering. All Rights Reserved.
Visuals are analog signals...
PGM Format CS474/674 – Prof. Bebis.
Presentation transcript:

Lecture 01 Introduction to Computer Vision Course: T Computer Vision Year: 2013

Learning Outcomes After carefully listening this lecture, students will be able to do the following:  Show what computer vision is all about and basic principles of various computer vision applications (LO1)  Explain approaches in computer vision systems (three level processing) (LO1)  Explain how a digital image is formed and other related matters such as light and visual perception (LO1) T Computer Vision2

Learning Outline What is Computer Vision? Image Processing Computer Vision Face Detection Text Detection & Recognition High Level Capability Approach in Computer Vision The Three Processing Level Image Formation Image Digitization Digital Image T Computer Vision3

What is Computer Vision? Ballard and Brown  The construction of explicit, meaningful description of physical objects from images. Forsyth and Ponce  Extracting descriptions of the world from pictures or sequences of pictures. T Computer Vision4

5 What is Computer Vision? A field that includes methods for acquiring, processing, analyzing, and understanding images and, in general, high-dimensional data from the real world in order to produce numerical or symbolic information, e.g., in the forms of decisions.

Application of Computer Vision Interaksi manusia dan robot (Human Robot Interaction) Pengontrolan proses industri Pendeteksi nomor plat kendaraan Surveillance (monitor penyusup, analisa trafik jalan tol dan lainnya) Robot Vision, Humanoid Robot and Soccer Robot. Modeling obyek atau lingkungan T Computer Vision6

Image Processing T Computer Vision7

Image Enhancement T Computer Vision8

Image Processing (cont’d) Image Restoration (e.g., correcting out-focus images) T Computer Vision9

Computer Graphics Geometric modeling T Computer Vision10

Computer Vision T Computer Vision11

An Industrial Computer Vision System T Computer Vision12

T Computer Vision13 Low-level image analysis: Identify edges, regions Mid-level: Distinguish “cap” from “no cap” Estimation: What are orientation of cap, height of liquid? Cap Inspection System

Face Detection How is this like the bottle problem on the previous slide? T Computer Vision14

Text Detection & Recognition Similar to face finding: Where is the text and what does it say? Viewing at an angle complicates things... T Computer Vision15 from J. Zhang et al.

Text Detection & Recognition (cont’d) Text Detection and Recognition Apps  T Computer Vision16 Google Goggles

High Level Capability Computer Vision System (CVS) is expected to have high level capabilities like Human Visual System (HVS) does such as: Object detection – is an object present in the scene? If so, where is its boundaries Recognition – putting a label on an object Description – assigning properties to objects 3D inference – interpreting a 3D object from 2D views Interpreting motion T Computer Vision17

Approach in Computer Vision T Computer Vision18 3-D World Objects Images Objects Detection & Recognitions Edges/Region/Depth Models and Assumptions Features/Surfaces

The Three Processing Level Low-level processing  Standard procedures are applied to improve image quality  Procedures are required to have no intelligent capabilities T Computer Vision19

The Three Processing Level (cont’d) Intermediate-level processing  Extract and characterize components in the image  Some intelligent capabilities are required T Computer Vision20

The Three Processing Level (cont’d) High-level processing  Recognition and interpretation  Procedures require high intelligent capabilities T Computer Vision21

How are images represented in the computer? T Computer Vision22

Image Formation There are two parts to the image formation process:  The geometry of image formation, which determines where in the image plane the projection of a point in the scene will be located.  The physics of light, which determines the brightness of a point in the image plane as a function of illumination and surface properties. T Computer Vision23

Image formation (cont’d) Geometric parameters  type of projections  position and orientation of camera in space  perspective distortions introduced by the imaging process Photometric parameters  type, intensity, and direction of illumination  reflectance properties of the viewed surfaces Optical parameters of the lens  lens type  focal length  field of view T Computer Vision24

A Simple Model of Image Formation The scene is illuminated by a single source The scene reflects radiation towards the camera The camera senses it via chemicals on film T Computer Vision25

What is Light? The visible portion of the electromagnetic (EM) spectrum It occurs between wavelengths of approximately 400 and 700 nanometers T Computer Vision26

CCD (Charged-Coupled Device) Cameras Tiny solid state cells convert light energy into electrical charge. The image plane acts as a digital memory that can be read row by row by a computer. T Computer Vision27

Frame Grabber Usually, a CCD camera plugs into a computer board (frame grabber). The frame grabber digitizes the signal and stores it in its memory (frame buffer). T Computer Vision28

Image Digitization Sampling means measuring the value of an image at a finite number of points. Quantization is the representation of the measured value at the sampled point by an integer. T Computer Vision29

Image Digitization (cont’d) T Computer Vision30

Image Quantization T Computer Vision gray levels (8 bpp) 32 gray levels (5 bpp) 16 gray levels (4 bpp) 8 gray levels (3 bpp) 4 gray levels (2 bpp) 2 gray levels (1 bpp)

Image Sampling T Computer Vision32 Original Image Sampled by a Factor of 2 Sampled by a Factor of 4 Sampled by a Factor of 8

T Computer Vision33 Digital Image An image is represented by a rectangular array of integers. An integer represents the brightness or darkness of the image at that point. N: # of rows, M: # of columns, Q: # of gray levels  N =, M =, Q = (q is the # of bits/pixel)  Storage requirements: NxMxQ (e.g., N=M=1024, q=8, 1MB)

Image File Formats Many image formats adhere to the simple model shown below (line by line, no breaks between lines). The header contains at least the width and height of the image. Most headers begin with a signature or “magic number” - a short sequence of bytes for identifying the file format. T Computer Vision34

Common Image File Formats GIF (Graphic Interchange Format) PNG (Portable Network Graphics) JPEG (Joint Photographic Experts Group) TIFF (Tagged Image File Format) PGM (Portable Gray Map) FITS (Flexible Image Transport System) T Computer Vision35

OpenCV Computer vision is the most important technology in the future in the development of intelligent robot. Computer vision is In the simplest terms, computer vision is the discipline of "teaching machines how to see." OpenCV (Open Source Computer Vision Library) and released under a BSD license and hence it’s free for both academic and commercial use. It has C++, C, Python and Java interfaces and supports Windows, Linux, Mac OS, iOS and Android. T Computer Vision36

Color and grayscale grayscale image = ( (0.3 * R) + (0.59 * G) + (0.11 * B) ) T Computer Vision37

Optical Flow Optical flow or optic flow is the pattern of apparent motion of objects, surfaces, and edges in a visual scene caused by the relative motion between an observer (an eye or a camera) and the scene. T Computer Vision38

Homework Install Visual Studio 2012 Express Edition and OpenCV Create a program to display an image and play a video. Create a program to display video from a Webcam T Computer Vision39

DisplayImage.cpp // Menampilkan Image menggunakan cvLoadImage #include "stdafx.h" #include int _tmain(int argc, _TCHAR* argv[]) { IplImage *img = cvLoadImage("f:\handsome.jpg"); cvNamedWindow("OpenCV",1); cvShowImage("OpenCV",img); cvWaitKey(0); cvDestroyWindow("OpenCV "); cvReleaseImage(&img); return 0; } T Computer Vision40

C++ 2.x Style //DisplayImage2.cpp #include "stdafx.h" #include using namespace std; int _tmain(int argc, _TCHAR* argv[]) { cv::Mat img=cv::imread("f:/fruits.jpg"); cv::imshow("Belajar OpenCV",img);//tampilkan cv::waitKey(); return EXIT_SUCCESS; } T Computer Vision41

Camera CvCapture* capture; capture = cvCaptureFromCAM(0); if( capture ) { while( true ) { frame = cvQueryFrame( capture ); T Computer Vision42

Face Library String face_cascade_name = "lbpcascade_frontalface.xml"; String eyes_cascade_name = "haarcascade_eye_tree_eyeglasses.xml"; T Computer Vision43

Final Project ( 5-6 person in group) Create a program using OpenCV Presentation 10 minutes in session 13. Example projects : 1.Face Recognition using AAM 2.Car Plate Recognition 3.Stereo Vision 4.Object Detection and Tracking 5.Image Processing for specific purposes. T Computer Vision44

References Textbook Forsyth, D., Ponce, J. (2012). Computer Vision: A Modern Approach. 2nd ed. Prentice Hall. ISBN: Web Lecture 01 Introduction to Computer Vision T Computer Vision45