Introduction Computer vision is the analysis of digital images

Slides:



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

Lecture 2: Convolution and edge detection CS4670: Computer Vision Noah Snavely From Sandlot ScienceSandlot Science.
EDGE DETECTION ARCHANA IYER AADHAR AUTHENTICATION.
1Ellen L. Walker Edges Humans easily understand “line drawings” as pictures.
Edge detection Goal: Identify sudden changes (discontinuities) in an image Intuitively, most semantic and shape information from the image can be encoded.
Lecture 4 Edge Detection
Edge detection. Edge Detection in Images Finding the contour of objects in a scene.
EE663 Image Processing Edge Detection 2 Dr. Samir H. Abdul-Jauwad Electrical Engineering Department King Fahd University of Petroleum & Minerals.
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.
Segmentation (Section 10.2)
Edges and Lines Readings: Chapter 10:
1 Image filtering Images by Pawan SinhaPawan Sinha.
Computer Vision Basics Image Terminology Binary Operations Filtering Edge Operators.
Lecture 2: Image filtering
1 Introduction What IS computer vision? Where do images come from? the analysis of digital images by a computer.
Edge detection Goal: Identify sudden changes (discontinuities) in an image Intuitively, most semantic and shape information from the image can be encoded.
Image Filtering. Problem! Noise is a problem, even in images! Gaussian NoiseSalt and Pepper Noise.
Edge Detection Hao Huy Tran Computer Graphics and Image Processing CIS 581 – Fall 2002 Professor: Dr. Longin Jan Latecki.
Lecture 2: Edge detection CS4670: Computer Vision Noah Snavely From Sandlot ScienceSandlot Science.
Edge Detection Today’s reading Cipolla & Gee on edge detection (available online)Cipolla & Gee on edge detection Szeliski, Ch 4.1.2, From Sandlot.
Chapter 10, Part I.  Segmentation subdivides an image into its constituent regions or objects.  Image segmentation methods are generally based on two.
Kylie Gorman WEEK 1-2 REVIEW. CONVERTING AN IMAGE FROM RGB TO HSV AND DISPLAY CHANNELS.
1 Introduction What IS computer vision? Where do images come from? the analysis of digital images by a computer.
Edge Based Segmentation Xinyu Chang. Outline Introduction Canny Edge detector Edge Relaxation Border Tracing.
CSE 6367 Computer Vision Image Operations and Filtering “You cannot teach a man anything, you can only help him find it within himself.” ― Galileo GalileiGalileo.
Edges and Lines Readings: Chapter 10:
Lecture 04 Edge Detection Lecture 04 Edge Detection Mata kuliah: T Computer Vision Tahun: 2010.
Machine Vision Edge Detection Techniques ENT 273 Lecture 6 Hema C.R.
Edge Segmentation in Computer Images CSE350/ Sep 03.
Computer Vision Image Features Instructor: Dr. Sherif Sami Lecture 4.
Lecture 8: Edges and Feature Detection
1 Edge Operators a kind of filtering that leads to useful features.
April 21, 2016Introduction to Artificial Intelligence Lecture 22: Computer Vision II 1 Canny Edge Detector The Canny edge detector is a good approximation.
Winter in Kraków photographed by Marcin Ryczek
Edge Detection slides taken and adapted from public websites:
Image Segmentation Image segmentation is the operation of partitioning an image into a collection of connected sets of pixels. 1. into regions, which usually.
An Adept Edge Detection Algorithm for Human Knee Osteoarthritis Images
ECE 692 – Advanced Topics in Computer Vision
Introduction Computer vision is the analysis of digital images
CSE/EE 576 Computer Vision Spring 2007
CSE/EE 576 Computer Vision Spring 2011
CSE 455 Computer Vision Autumn 2014
EE 596 Machine Vision Autumn 2015
CSEP 576 Computer Vision Winter 2008
Jeremy Bolton, PhD Assistant Teaching Professor
Computer Vision Lecture 9: Edge Detection II
Edge detection Goal: Identify sudden changes (discontinuities) in an image Intuitively, most semantic and shape information from the image can be encoded.
DICOM 11/21/2018.
Introduction Computer vision is the analysis of digital images
Introduction What IS computer vision?
CSE/EE 576 Computer Vision Spring 2012
CSE 455 Computer Vision Autumn 2010
a kind of filtering that leads to useful features
Edge Detection CSE 455 Linda Shapiro.
Introduction What IS computer vision?
a kind of filtering that leads to useful features
CSE/EE 576 Computer Vision Spring 2010
Lecture 2: Edge detection
Image Segmentation Image analysis: First step:
CSSE463: Image Recognition Day 6
CSSE463: Image Recognition Day 6
COMPUTER VISION Introduction
Edge Detection Today’s readings Cipolla and Gee Watt,
CSSE463: Image Recognition Day 6
Finding Line and Curve Segments from Edge Images
Image Filtering Readings: Ch 5: 5. 4, 5. 5, 5. 6, , 5
Lecture 2: Edge detection
Winter in Kraków photographed by Marcin Ryczek
IT472 Digital Image Processing
Presentation transcript:

Introduction Computer vision is the analysis of digital images by a computer for such applications as: Industrial: part localization and inspection, robotics Medical: disease classification, screening, planning Military: autonomous vehicles, tank recognition Intelligence Gathering: face recognition, video analysis Security: video analysis Science: classification, measurement Document Processing: text recognition, diagram conversion

Medical Applications CT image of a patient’s abdomen liver kidney

Visible Man Slice Through Lung

3D Reconstruction of the Blood Vessel Tree

CBIR of Mouse Eye Images for Genetic Studies

Robotics 2D Gray-tone or Color Images “Mars” rover 3D Range Images What am I?

Image Databases: Images from my Ground-Truth collection. Retrieve all images that have trees. Retrieve all images that have buildings. Retrieve all images that have antelope.

Documents:

Surveillance: Object and Event Recognition in Aerial Videos Original Video Frame Color Regions Structure Regions

Digital Image Terminology: 0 0 0 0 1 0 0 0 0 1 1 1 0 0 0 1 95 96 94 93 92 0 0 92 93 93 92 92 0 0 93 93 94 92 93 0 1 92 93 93 93 93 0 0 94 95 95 96 95 pixel (with value 94) its 3x3 neighborhood region of medium intensity resolution (7x7) binary image – 0’s and 1’s gray-scale (or gray-tone) image – 0 to 255 color image – (R,G,B) at each pixel multi-spectral image – multiple values per pixel range image – depth value at each pixel labeled image – result of processing and labeling

Goals of Image and Video Analysis Segment an image into useful regions Perform measurements on certain areas Determine what object(s) are in the scene Calculate the precise location(s) of objects Visually inspect a manufactured object Construct a 3D model of the imaged object Find “interesting” events in a video liver kidney spleen

The Three Stages of Computer Vision low-level mid-level high-level (the intelligent part) image image image features features analysis

Low-Level sharpening blurring

Mid-Level (Lines and Curves) Low-Level Canny edge operator original image edge image Mid-Level (Lines and Curves) ORT line & circle extraction data structure edge image circular arcs and line segments

Mid-level (Regions) K-means clustering (followed by connected component analysis) original color image regions of homogeneous color data structure

Low- to High-Level edge image consistent line clusters low-level edge image mid-level consistent line clusters high-level Building Recognition

Filtering Operations Use Masks Masks operate on a neighborhood of pixels. A mask of coefficients is centered on a pixel. The mask coefficients are multiplied by the pixel values in its neighborhood and the products are summed. The result (response) goes into the corresponding pixel position in the output image. 36 36 36 36 36 36 36 45 45 45 36 45 45 45 54 36 45 54 54 54 45 45 54 54 54 ** ** ** ** ** ** 39 ** ** ** 1/9 1/9 1/9 3x3 Mask (mean filter) Input Image Output Image

Comparison: salt and pepper noise

Comparison: Gaussian noise

Lines and Arcs Segmentation In some image sets, lines, curves, and circular arcs are more useful than regions or helpful in addition to regions. Lines and arcs are often used in object recognition stereo matching document analysis

Edge Detection Basic idea: look for a neighborhood with strong signs of change. Problems: neighborhood size how to detect change 81 82 26 24 82 33 25 25

Differential Operators attempt to approximate the gradient at a pixel via masks threshold the gradient to select the edge pixels

Example: Sobel Operator -1 0 1 1 2 1 Sx = -2 0 2 Sy = 0 0 0 -1 0 1 -1 -2 -1 On a pixel of the image I let gx be the response to Sx let gy be the response to Sy Then the gradient is I = [gx gy] T 2 2 1/2 and g = (gx + gy ) is the gradient magnitude.  = atan2(gy,gx) is the gradient direction.

Sobel Operator on the Blocks Image original image gradient thresholded magnitude gradient magnitude

Common Masks for Computing Gradient Sobel: Prewitt: Roberts -1 0 1 -2 0 2 2 1 0 0 0 -1 -2 -1 -1 0 1 1 1 0 0 0 -1 -1 -1 0 1 -1 0 0 -1 Sx Sy

Canny Edge Detector Smooth the image with a Gaussian filter with spread . Compute gradient magnitude and direction at each pixel of the smoothed image. Zero out any pixel response  the two neighboring pixels on either side of it, along the direction of the gradient. Track high-magnitude contours. Keep only pixels along these contours, so weak little segments go away.

Canny Examples Canny =4 Canny =1 Canny =1 Roberts 2X2

Canny on Kidney Image

Canny on the Blocks image

Canny Characteristics The Canny operator gives single-pixel-wide images with good continuation between adjacent pixels It is the most widely used edge operator today; no one has done better since it came out in the late 80s. Many implementations are available. It is very sensitive to its parameters, which need to be adjusted for different application domains.

Segmentation into Regions Instead of looking for 1D features like lines and curves, some processes look for regions. The regions must be homogeneous in some attribute such as gray-tone, color, texture,... Although “region-growing” was popular in the past, clustering the pixels into subsets has become the best methodology for finding regions.