Introduction to Computer and Human Vision Shimon Ullman, Ronen Basri, Michal Irani Assistants: Tal Hassner Eli Shechtman.

Slides:



Advertisements
Similar presentations
CS Spring 2009 CS 414 – Multimedia Systems Design Lecture 4 – Digital Image Representation Klara Nahrstedt Spring 2009.
Advertisements

Spatial Filtering (Chapter 3)
Topic 6 - Image Filtering - I DIGITAL IMAGE PROCESSING Course 3624 Department of Physics and Astronomy Professor Bob Warwick.
Image Processing Lecture 4
Image Filtering. Outline Outline Concept of image filter  Focus on spatial image filter Various types of image filter  Smoothing, noise reductions 
Chapter 3 Image Enhancement in the Spatial Domain.
July 27, 2002 Image Processing for K.R. Precision1 Image Processing Training Lecture 1 by Suthep Madarasmi, Ph.D. Assistant Professor Department of Computer.
EE 4780 Image Enhancement. Bahadir K. Gunturk2 Image Enhancement The objective of image enhancement is to process an image so that the result is more.
Digital Image Processing
ECE 472/572 - Digital Image Processing
Digital Image Processing
Digital Image Processing In The Name Of God Digital Image Processing Lecture3: Image enhancement M. Ghelich Oghli By: M. Ghelich Oghli
6/9/2015Digital Image Processing1. 2 Example Histogram.
Convolution. Spatial Filtering Operations g(x,y) = 1/M  f(n,m) (n,m) in  S Example 3 x 3 5 x 5.
The Fourier Transform Jean Baptiste Joseph Fourier.
Introduction to Computer and Human Vision Shimon Ullman, Ronen Basri, Michal Irani Assistants: Lena Gorelick Denis Simakov.
The Fourier Transform Jean Baptiste Joseph Fourier.
Introduction to Computer and Human Vision Shimon Ullman, Ronen Basri, Michal Irani Assistants: Mica Arie-Nachimson Denis Simakov.
Digital Image Processing
1 Comp300a: Introduction to Computer Vision L. QUAN.
1 Vladimir Botchko Lecture 4. Image Enhancement Lappeenranta University of Technology (Finland)
Introduction to Computer and Human Vision Shimon Ullman, Michal Irani Assistants: Shai Bagon Ira Kemelmacher Sharon Alpert.
1 Image Filtering Readings: Ch 5: 5.4, 5.5, 5.6,5.7.3, 5.8 (This lecture does not follow the book.) Images by Pawan SinhaPawan Sinha formal terminology.
Gholamreza Anbarjafari, PhD Video Lecturers on Digital Image Processing Digital Image Processing Spatial Domain Filtering: Part II.
Introduction to Computer and Human Vision Shimon Ullman, Ronen Basri, Michal Irani, Yaron Caspi Assistants: Shai Bagon Shira Kritchman.
Chapter 3 Image Enhancement in the Spatial Domain.
ECE 472/572 - Digital Image Processing Lecture 4 - Image Enhancement - Spatial Filter 09/06/11.
Chapter 3 (cont).  In this section several basic concepts are introduced underlying the use of spatial filters for image processing.  Mainly spatial.
2D Image Fourier Spectrum.
Machine Vision ENT 273 Image Filters Hema C.R. Lecture 5.
Topic 10 - Image Analysis DIGITAL IMAGE PROCESSING Course 3624 Department of Physics and Astronomy Professor Bob Warwick.
Chapter 3 Image Enhancement in the Spatial Domain.
Introduction to Computer Vision Ronen Basri, Michal Irani, Shimon Ullman Teaching Assistants Tal Amir Ita Lifshitz Michal Yarom.
Digital Image Processing (DIP) Lecture # 5 Dr. Abdul Basit Siddiqui Assistant Professor-FURC 1FURC-BCSE7.
Image processing Fourth lecture Image Restoration Image Restoration: Image restoration methods are used to improve the appearance of an image.
Why is computer vision difficult?
Image Processing Part II. 2 Classes of Digital Filters global filters transform each pixel uniformly according to the function regardless of its location.
Machine Vision ENT 273 Image Filters Hema C.R. Lecture 5.
Image Subtraction Mask mode radiography h(x,y) is the mask.
COMP322/S2000/L171 Robot Vision System Major Phases in Robot Vision Systems: A. Data (image) acquisition –Illumination, i.e. lighting consideration –Lenses,
Intelligent Vision Systems ENT 496 Image Filtering and Enhancement Hema C.R. Lecture 4.
Visual Computing Computer Vision 2 INFO410 & INFO350 S2 2015
Lecture # 19 Image Processing II. 2 Classes of Digital Filters Global filters transform each pixel uniformly according to the function regardless of.
2D Image Fourier Spectrum.
İmage enhancement Prepare image for further processing steps for specific applications.
Introduction to Computer Vision Ronen Basri, Michal Irani, Shimon Ullman Teaching Assistants Tal Amir, Sima Sabah, Netalee Efrat, Nati Ofir, Yuval Bahat,
Introduction to Computer Vision Ronen Basri, Michal Irani, Shimon Ullman Primary Teaching Assistants Alon Faktor Ofer Bartal.
CS Spring 2010 CS 414 – Multimedia Systems Design Lecture 4 – Audio and Digital Image Representation Klara Nahrstedt Spring 2010.
EE 7730 Image Enhancement. Bahadir K. Gunturk2 Image Enhancement The objective of image enhancement is to process an image so that the result is more.
Digital Image Processing
Digital Image Processing Week V Thurdsak LEAUHATONG.
Introduction to Computer Vision Ronen Basri, Michal Irani, Shimon Ullman Teaching Assistants Uri Patish Alon Faktor Amir Rosenfeld.
Spatial Filtering (Chapter 3) CS474/674 - Prof. Bebis.
Image Enhancement in the Spatial Domain.
IMAGE PROCESSING INTENSITY TRANSFORMATION AND SPATIAL FILTERING
Convolution.
Spatial Filtering - Enhancement
Image Enhancement.
Introduction to Computer and Human Vision
Introduction to Computer Vision
Fundamentals of Image Processing A Seminar on By Alok K. Watve
Image Enhancement in the Spatial Domain
Lecture 3 (2.5.07) Image Enhancement in Spatial Domain
CSC 381/481 Quarter: Fall 03/04 Daniela Stan Raicu
Introduction to Computer Vision
Introduction to Computer Vision
Nov. 25 – Israeli Computer Vision Day
Image Filtering Readings: Ch 5: 5. 4, 5. 5, 5. 6, , 5
Image Enhancement in the Spatial Domain
Convolution.
Presentation transcript:

Introduction to Computer and Human Vision Shimon Ullman, Ronen Basri, Michal Irani Assistants: Tal Hassner Eli Shechtman

Misc...  Course website:  To be added to course mailing-list: send to  Other recommended courses (for credit): - Basic Topics - Statistical Machine Learning  Vision & Robotics Seminar (not for credit): Thursdays at 11:00-12:00 (Ziskind 1) send ask to be added to “seminar13” mailing list

 How is an image formed? (geometry and photometry)  What kind of operations can we apply to images?  What do images tell us about the world? (analysis & interpretation) Applications: - Manufacturing and inspection; QA - Robot navigation - Autonomous vehicles - Guiding tools for blind - Security and monitoring - Object/face recognition; OCR. - Medical Applications - Visualization; NVS - Visual communication - Digital libraries and video search - Video manipulation and editing

Tentative Schedule Lessons 7-9 (Michal): Motion and video analysis Lesson 10 (Ronen): Image Segmentation Lesson 11 (Ronen): Photometry Lesson 12 (Shimon): Object recognition Lessons (Shimon): Human Vision  3 programming exercises (MATLAB) -- CAN SUBMIT IN PAIRS  3-4 theoretical exercises -- MUST SUBMIT INDIVIDUALLY  EXAM Lessons 1-3 (Michal): Basic Image Processing Lessons 4-6 (Ronen): Stereo and Structure from Motion

Digital Images WorldCameraDigitizer Digital Image Image Formation: (i) What determines where the image of a 3D point appears on the 2D image? (ii) What determines how bright that image point is? (iii) How is a digital image represented? (iv) Some simple operations on 2D images? today

Digital Images WorldCameraDigitizer Digital Image PIXEL Typically: 0 = black 255 = white (picture element)

x = Grayscale Image y =

Three types of images: –Gray-scale images I(x,y)  [0..255] –Binary images I(x,y)  {0, 1} –Color images I R (x,y) I G (x,y) I B (x,y)

Color Image

Effects of down-sampling (reducing number of pixels) 4 x 4 16 x x 64 8 x 8 32 x x 128

2 gray levels (1 bit/pixel) BINARY IMAGE 4 gray levels (2 bits/pixel) 8 gray levels (3 bits/pixel) 16 gray levels (4 bits/pixel) 256 gray levels (8 bits/pixel) Effects of reducing number of gray levels

Occurrence (# of pixels) Gray Level The Image Histogram H(k) = #pixels with gray-level k Normalized histogram: H norm (k)=H(k)/N (N = # pixels in the image) Histogram = The gray-level distribution: Continuous probability density function:

The Image Histogram (Cont.) P I (k) k k P I (k) k 0.1

P I (k) k P I (k) k 0.1 Histogram Stretching

kk kk Histogram Equalization

OriginalEqualized Histogram Equalization

Histogram Equalization OriginalEqualized

k AaAa k AbAb Histogram Specification Transforms an image so that its histogram matches that of another image (e.g., for comparing two images of the same scene acquired under different lighting condition)

Image Enhancement 1) Gray value (histogram) Domain 2) Spatial Domain 3) Frequency Domain - Histogram stretching - Histogram equalization - Histogram specification - Gamma correction etc... noisy image (salt & pepper noise)

Spatial Operations g(x,y) = 1/M  f(n,m) (n,m) in  S S = neighborhood of pixel (x,y) M = number of pixels in neighborhood S e.g., Examples of neighborhoods S: 3 x 3 5 x 5 Replace center pixel with average/median level: (averaging mask; weighted mask; median filter…)

Salt & Pepper Noise 3 X 3 Average5 X 5 Average 7 X 7 AverageMedian Noise Cleaning

Salt & Pepper Noise 3 X 3 Average5 X 5 Average 7 X 7 AverageMedian Noise Cleaning

Other spatial filters Are strong brightness variations always noise…?

Edge Detection

Edge Types Line Edge gray value x edge gray value x edge Step Edge

Edge Detection by Differentiation gray value x 1D image f(x) 1st derivative f'(x) threshold |f'(x)| Edge Pixels: |f'(x)| > Threshold

Original image x derivative Gradient magnitude y derivative

Vertical edges Horizontal edges Edge Detection Image

Edge Detection Image

Image Sharpening Blurry ImageLaplacianSharpened Image Also Laplacian; Zero-crossings; Edge sharpening; etc….

The End...  Exercise#1: Noise Cleaning -- on course website (+ Matlab tutorial) DUE: Nov. 10 (in 2 weeks)  Course mailing list: Send to  Vision & Robotics Seminar: send ask to be added to “seminar13” mailing list

Panoramic Mosaic Image Original video clip Generated Mosaic image

Original Outliers Original Synthesized Video Removal

Image Segmentation

Photometric Stereo