1 CVintroduction
1 CVintroduction
Introduction to CV 2
Vision
Introduction to CV 3 Introduction to CV 4
Definition: What is computer vision?
◼ Vision allows humans to perceive and understand ◼ Computer vision aims to duplicate the effect of
the world surrounding us. human vision by electronically perceiving and
understanding an image.
◼ How to discover from images what is present in ❑ The study of recovering useful properties of the world
(what, where)
the world, where things are, what actions are
❑ from one or more images (by looking)
taking place.
❑ with an algorithmic level of specification
Introduction to CV 5 Introduction to CV 6
Introduction to CV 7 Introduction to CV 8
Some Related Disciplines
Introduction to CV 9 Introduction to CV 10
Image processing
◼ Subject
❑ Generation of new
Image
images from existing processing
Image Enhancement
images.
❑ Images altered in
some desired fashion.
Input image Output image
Introduction to CV 11 Introduction to CV 12
Image Restoration (e.g., correcting out-focus images) ◼ Image Compression
Introduction to CV 13 Introduction to CV 14
Pattern recognition
◼ Examples ◼ Subject
❑ noise suppression ❑ Classification of patterns
❑ feature enhancement ❑ Pattern represented by a set Pattern
recognition
❑ video stabilization of numbers representing
characteristics of an object
◼ Relationship to computer vision (e.g., height, weight)
❑ Often serves to provide components to computer vision. Feature vector Object class
❑ Preprocessing of sensed data.
Introduction to CV 15 Introduction to CV 16
◼ Has a very long history (research work in this field started ◼ Examples
in the 60s). ❑ Classification of chemical composition from spectral
◼ Concerned with the recognition and classification of 2D measurements.
objects mainly from 2D images. ❑ Classification of disease from symptoms.
◼ Many classic approaches only worked under very ❑ Classification of targets from visual features.
constrained views (not suitable for 3D objects). ◼ Relationship to computer vision
◼ It has triggered much of the research which led to today’s ❑ Techniques of pattern recognition can usefully be
field of computer vision. applied to the output of a computer vision system.
◼ Many pattern recognition principles are used extensively Capable of assigning imaged objects to classes based
on vision processing.
in computer vision.
Introduction to CV 17 Introduction to CV 18
Computer graphics
◼ Subject
❑ Generation of images
from models or other Computer
graphics
computational
specification.
❑ Models to Images Model Image
Computer vision
Introduction to CV 19 Introduction to CV 20
◼ Examples
❑ Photorealistic rendering (真實感渲染)
❑ Computer animation
❑ Abstract design
◼ Relationship to computer vision
❑ Akin to an inverse
❑ Potential to combine together, e.g., image based
rendering (IBR)
Introduction to CV 21 Introduction to CV 22
◼ Application of computer vision in robotics. ◼ Concerned with designing systems that are intelligent and
with studying computational aspects of intelligence.
◼ Some important applications include :
◼ It is used to analyze scenes by computing a symbolic
❑ Autonomous robot navigation
representation of the scene contents after the images
❑ Inspection and assembly have been processed to obtain features.
◼ Many techniques from artificial intelligence play an
important role in many aspects of computer vision.
◼ Computer vision is considered a sub-field of artificial
intelligence.
Introduction to CV 23 Introduction to CV 24
Computer Vision
Introduction to CV 25 Introduction to CV 26
Introduction to CV 27 Introduction to CV 28
Practical Considerations
◼ Impose constraints to recover the scene ◼ Industrial computer vision systems work very
❑ Gather more data (images) well
❑ Make assumptions about the world ❑ Make strong assumptions about lighting conditions
◼ Computability and robustness ❑ Make strong assumptions about the position of objects
❑ Is the solution computable using reasonable resources? ❑ Make strong assumptions about the type of objects
❑ Is the solution robust? (same conclusion under different
input condition)
Introduction to CV 29 Introduction to CV 30
Introduction to CV 31 Introduction to CV 32
Low level digital image processing
◼ Low level computer vision techniques overlap ◼ Standard procedures are applied to improve image
almost completely with digital image processing, quality
which has been practiced for decades. ◼ Procedures are required to have no intelligent
◼ Low level methods usually use very little capabilities
knowledge about the content of images.
Introduction to CV 33 Introduction to CV 34
Intermediate-level processing
The following sequence of processing steps is ◼ Extract and characterize components in the image
commonly recognized: ◼ Some intelligent capabilities are required.
◼Image Acquisition:
❑ An image is captured by a sensor (such as a TV
camera) and digitized;
◼Preprocessing:
❑ Computer suppresses noise (image pre-processing)
and maybe enhances some object features which are
relevant to understand the image
Introduction to CV 35 Introduction to CV 36
High-level image understanding
Introduction to CV 37 Introduction to CV 38
Recognition Cues
◼ How are we able to discern reality and an image of reality?
◼ Scene interpretation, even of complex, cluttered scenes is a What clues are present in the image?
straightforward task for humans. What knowledge do we use to process this image?
Introduction to CV 39 Introduction to CV 40
The role of color The role of texture
◼ What is this object? ◼ Characteristic image texture can help us readily
Does color play a role in recognition?
recognize objects.
Might this be easier to recognize from a different view?
Introduction to CV 41 Introduction to CV 42
Introduction to CV 43 Introduction to CV 44
Mathematics in Computer Vision Computer Vision Applications
◼ In the early days of computer vision, vision systems employed ◼ Industrial inspection
simple heuristic methods.
◼ Today, the domain is heavily inclined towards theoretically, well- ◼ Surveillance, monitoring and security
founded methods involving non-trivial mathematics.
❑ Calculus
◼ Person recognition (automated fingerprint, face,
❑ Linear Algebra iris,…)
❑ Probabilities and Statistics
❑ Signal Processing
◼ Human computer interface (Gesture recognition)
❑ Projective Geometry
❑ Computational Geometry
❑ Optimization Theory
❑ Control Theory
Introduction to CV 45 Introduction to CV 46
Visual Inspection
◼ Autonomous vehicles
◼ Hand-eye robotics
◼ Medical image analysis
◼ Image databases
◼ Space applications
◼ Virtual reality
Introduction to CV 47 Introduction to CV 48
Industrial robots Aerial surveillance
◼ Real-world needs
❑ acquisition of information about
ground activities
❑ from well positioned mobile
platform, drone
◼ State of the art example
❑ video geolocation
❑ alignment of video to calibrated
reference imagery to attain
geodetic coordinates
Vision-guided robots position nut runners on wheels
Introduction to CV 49 Introduction to CV 50
Personal identification
◼ Real-world needs
❑ secure access control to
sensitive areas and
materials reliable personal
verification and
identification:biometric “How the Afghan Girl was Identified by Her Iris Patterns” Read the story
wikipedia
identification
◼ State of the art example
❑ biometric-based
identification
❑ automated iris recognition
Introduction to CV 51 Introduction to CV 52
◼ Fingerprint Verification / Identification
Introduction to CV 53 Introduction to CV 54
Introduction to CV 55 Introduction to CV 56
Face Detection
Introduction to CV 57 Introduction to CV 58
Introduction to CV 59 Introduction to CV 60
Facial Expression Recognition Smile detection
Sad、Happy、Fear、Disgust、Surprise、Angry
Introduction to CV 61 Introduction to CV 62
◼ Real-world needs
❑ More natural interfaces
between humans and
computers (and other artifacts)
Increased speed and ease of
interaction
◼ State of the art example
❑ Automated hand gesture
recognition. Digimask: put your face on a 3D avatar.
❑ Vision-based detection,
localization and tracking
Introduction to CV 63 Introduction to CV 64
Medical Medical Applications
Introduction to CV 65 Introduction to CV 66
Introduction to CV 67 Introduction to CV 68
Optical character recognition (OCR) Document Handling
◼ Technology to convert
scanned docs to text
• If you have a scanner, it
probably came with OCR
software
Introduction to CV 69 Introduction to CV 70
Introduction to CV 71 Introduction to CV 72
Object Recognition Research Object recognition (in supermarkets)
reference view 1 reference view 2
“A smart camera is flush-mounted in
the checkout lane, continuously
watching for items. When an item is
detected and recognized, the cashier
verifies the quantity of items that were
found under the basket, and continues
to close the transaction. The item can
remain under the basket, and with
LaneHawk, you are assured to get
paid for it… “
Introduction to CV 73 Introduction to CV 74
Introduction to CV 75 Introduction to CV 76
Indexing into Databases (cont’d) Target Recognition
Introduction to CV 77 Introduction to CV 78
Introduction to CV 79 Introduction to CV 80
Smart cars Traffic Monitoring
Introduction to CV 81 Introduction to CV 82
Introduction to CV 83 Introduction to CV 84
Morphing (變形)
Introduction to CV 85 Introduction to CV 86
Introduction to CV 87