CV SVD L02 P1 IntroImageProcColor
CV SVD L02 P1 IntroImageProcColor
Computer Vision(CE611)
L#01
Digital Image Processing Fundamentals
By
Dr Sunita Dhavale
2
Computer Vision
3
CE632: Course Plan
Department: Computer Science Course Type:
and Engineering Professional Core
Course Title: Computer Vision Course Code: CE632
L-T-P: 3-0-2 Credits: 4
Semester: I Specialization: AI
Total Lectures : 48L + 2P(per
week)
EndSem Marks: 50 Internal Marks:
30(Quiz)+20(Lab)
4
Course objectives
• Prerequisites: Statistical techniques, Linear
algebra and computer programming knowledge is
required.
• Course objectives: To introduce students the
fundamentals of image formation; To introduce
students the major ideas, methods, and
techniques of computer vision and pattern
recognition; To develop an appreciation for
various issues in the design of computer vision
and object recognition systems; and To provide
the student with programming experience from
implementing computer vision and object
recognition applications. 5
Course Outcome
Course Description Blooms Taxanomy No. of Marks
Outcom Level Targeted Contact
es Hours
CO1 Students will be able to understand and apply image Level 2: 14 10
processing techniques including filtering operations, Remembering,
thresholding techniques, edge detection techniques etc. Understanding
(PO1, PO2, PO3, PSO2)
CO2 Students will be able to understand and extract image Level 3: 19 10
features using techniques like corner and interest point Remembering,
detection, shape analysis, fourier descriptors, Ransac, Understanding,
GHT etc. (PO1, PO2, PO3, PSO2) Analysing
CO3 Students will be able to understand and learn how the Level 3: 13 10
extracted features can be used to solve problems in Remembering,
various computer vision related applications. (PO1, PO2, Understanding,
PO3, PSO2) Analysing
CO4 Students will be capable of applying their knowledge and Level 4: Applying, 2Hrs/Week 20
skills to solve engineering problems in computer vision Analysing (LAB)
related domain. (PO1, PO2, PO3, PSO2)
CO1-CO3 EndSem 50
Total 100
Marks
6
Syllabus
Unit 1 Image processing foundations: Review of image processing techniques
Image processing foundations: Review of image processing techniques classical filtering operations,
thresholding techniques, edge detection techniques, mathematical morphology, texture analysis, Shapes
and regions: Binary shape analysis – connectedness – object labeling and counting – size filtering – distance
functions – skeletons and thinning
Unit 2 corner and interest point detection, deformable shape analysis – boundary tracking procedures – active
contours – shape models and shape recognition – centroidal profiles – handling occlusion – boundary
length measures – boundary descriptors – chain codes, Fourier descriptors – region descriptors – moments,
Hough transform: Line detection – Hough Transform (HT) for line detection – foot-of-normal method – line
localization – line fitting
Unit 3 Case study: spatial matched filtering – GHT for ellipse detection – object location – GHT for feature
collation, RANSAC for straight line detection – HT based circular object detection – accurate center location
– speed problem – ellipse detection
Unit 4 Case Study: Image based spam detection, Case Study: CV Applications - Face detection – Face recognition –
Eigen faces, Case Study: CV Applications - human gait analysis, Case Study: CV based Surveillance
Applications
7
List of Experiments
Sr No. Experiment Name
1 Introduction to Digital Image Processing using python
2 Study and Implement Image Transformation Techniques
3 Study and Implement Image Transformation Techniques
4 Study and Implement Edge Detection Techniques
5 Study and Implement Image Thresholding Transform
6 Study and Implement Morphological Operations
7 Study and Implement Harris Corner Point Detection
8 Study and Implement SIFT
9 Mini assignment: Apply CV techniques to solve any real world
problem/ Presentations
10 CV Practice Test -1Quiz/ Presentations
8
Text/Reference Books
• Text/Reference Books:
• E. R. Davies, “Computer & Machine Vision”, Fourth Edition, Academic
Press, 2012.
• R. Szeliski, “Computer Vision: Algorithms and Applications”, Springer 2011.
• Simon J. D. Prince, “Computer Vision: Models, Learning, and Inference”,
Cambridge University Press, 2012.
• Mark Nixon and Alberto S. Aquado, “Feature Extraction & Image
Processing for Computer Vision”, Third Edition, Academic Press, 2012.
• D. L. Baggio et al., “Mastering OpenCV with Practical Computer Vision
Projects”, Packt Publishing, 2012.
• Jan Erik Solem, “Programming Computer Vision with Python: Tools and
algorithms for analyzing images”, O'Reilly Media, 2012.
• Sunita Vikrant Dhavale, “Advanced Image-based Spam Detection and
Filtering Techniques”, IGI Global, 2017
• Research paper for study (if any) - White papers on multimedia from
IEEE/ACM/Elsevier/Spinger/ NVidia sources.
9
Image Acquisition Process
Introduction
• What is Digital Image Processing?
Digital Image
— a two-dimensional function f ( x, y )
x and y are spatial coordinates
The amplitude of f is called intensity or gray level at the point (x, y)
Pixel
— the elements of a digital image
A Simple Image Formation Model
f ( x , y ) = i ( x, y ) r ( x, y )
Digitizing the
coordinate
values
Digitizing the
amplitude
values
Image Sampling and Quantization
Representing Digital Images
b=M×N×k
Representing Digital Images
Digital Image?
•Common image formats include:
– 1 sample per point (B&W or Grayscale)
– 3 samples per point (Red, Green, and Blue)
– 4 samples per point (Red, Green, Blue, and “Alpha”, a.k.a. Opacity)
• Or the domain of f:
Image Morphological
Restoration Processing
Image
Segmentation
Enhancement
Image Object
Acquisition Recognition
Representation
Problem Domain
& Description
Colour Image Image
Processing Compression
Key Stages in Digital Image Processing:
Image Acquisition
Image Morphological
Restoration Processing
Image
Segmentation
Enhancement
Image Object
Acquisition Recognition
Representation
Problem Domain
& Description
Colour Image Image
Processing Compression
Key Stages in Digital Image Processing:
Image Enhancement
Image Morphological
Restoration Processing
Image
Segmentation
Enhancement
Image Object
Acquisition Recognition
Representation
Problem Domain
& Description
Colour Image Image
Processing Compression
Key Stages in Digital Image Processing:
Image Restoration
Image Morphological
Restoration Processing
Image
Segmentation
Enhancement
Image Object
Acquisition Recognition
Representation
Problem Domain
& Description
Colour Image Image
Processing Compression
Key Stages in Digital Image Processing:
Morphological Processing
Image Morphological
Restoration Processing
Image
Segmentation
Enhancement
Image Object
Acquisition Recognition
Representation
Problem Domain
& Description
Colour Image Image
Processing Compression
Key Stages in Digital Image Processing:
Segmentation
Image Morphological
Restoration Processing
Image
Segmentation
Enhancement
Image Object
Acquisition Recognition
Representation
Problem Domain
& Description
Colour Image Image
Processing Compression
Key Stages in Digital Image Processing:
Object Recognition
Image Morphological
Restoration Processing
Image
Segmentation
Enhancement
Image Object
Acquisition Recognition
Representation
Problem Domain
& Description
Colour Image Image
Processing Compression
Key Stages in Digital Image Processing:
Representation & Description
Image Morphological
Restoration Processing
Image
Segmentation
Enhancement
Image Object
Acquisition Recognition
Representation
Problem Domain
& Description
Colour Image Image
Processing Compression
Key Stages in Digital Image Processing:
Image Compression
Image Morphological
Restoration Processing
Image
Segmentation
Enhancement
Image Object
Acquisition Recognition
Representation
Problem Domain
& Description
Colour Image Image
Processing Compression
Key Stages in Digital Image Processing:
Colour Image Processing
Image Morphological
Restoration Processing
Image
Segmentation
Enhancement
Image Object
Acquisition Recognition
Representation
Problem Domain
& Description
Colour Image Image
Processing Compression
Applications & Research Topics
Document Handling
Signature Verification
Biometrics
Fingerprint Verification / Identification
Fingerprint Identification Research
Minutiae Matching
Delaunay Triangulation
Object Recognition
Object Recognition Research
• Shape content
Indexing into Databases (cont’d)
• Color, texture
Target Recognition
RADAR is Radio Detection And Ranging. Uses extremely short bursts of radio energy
(traveling at the speed of light) are transmitted, reflected off a target and returned as echo.
Particle/high energy physics is the study of fundamental particles and forces that constitute
matter and radiation.
Radiology represents a branch of medicine that deals with radiant energy in the diagnosis
and treatment of diseases.
Seismology is the study of earthquakes and seismic waves (acoustic energy that travels
through the Earth or another planetary body) that move through and around the Earth.
Electromagnetic Spectrum
Electromagnetic Spectrum
Non-ionizing radiation is composed of electric and magnetic fields (EMFs) that do not have
sufficient energy to remove electrons from atoms or molecules. E.g. ultraviolet (UV), visible
light, infrared (IR), microwave, radio (and television), and extremely low frequency (ELF).
produced by lasers, power lines, household appliances, cellular phones, radios.
TYPES OF IMAGES
• our eyes record very little of the information that is available at any given
moment
• human eye has a limited bandwidth, band of electromagnetic (EM) radiation
that we are able to see, or “visible light”
• diversity of image types that arise from nearly every type of radiation.
– medical imaging
– new sensors that record image data
– PET (positron emission tomography)
– MRI (magnetic resonance imaging)
– CAT (computer-aided tomography)
– X-ray data
• Non-EM radiation is also useful for imaging.
• ultrasound - acoustic waves which propagate through a medium by means
of vibrations of the molecules that make the medium
• E.g. high-frequency sound waves (ultrasound) - to create images of the
human body, low-frequency sound waves – to create images of the earth’s
subsurface.
63
Recording the various types of
interaction of radiation with matter
Opaque-> can not transmit light, it reflects, scatters, or absorbs all of it e.g. Carbon black and
mirrors
Luminous objects:- can emit light energy by themselves, light bulb
Radiation source-> radioactive substances
TYPES OF IMAGES
• Reflection images sense radiation that has been reflected from the
surfaces of objects.
• radiation itself may be ambient or artificial, may be from a localized
source or from multiple or extended sources.
• optical imaging through the eye is of reflection images.
• nonvisible light examples - radar images, sonar images, laser images,
and some types of electron microscope images.
• Emission images - objects being imaged are self-luminous. E.g.
thermal or infrared images in medical, astronomical, and military
applications; self-luminous visible light objects - light bulbs and
stars; and MRI images, which sense particle emissions.
TYPES OF IMAGES
• image may reveal how the object creates
radiation/internal structure of the object being imaged.
• a thermal camera ->low-light situations captures warm
objects, such as people.
• Absorption images yield information about the internal
structure of objects. radiation passes through objects and
is partially absorbed or attenuated by the material
composing them.
• The degree of absorption dictates the level of the sensed
radiation in the recorded image. X-ray images, microscopic
images, and certain types of sonic images.
Reflection images - (a), (b) - visible light band (bas-relief patterns cast onto the coins) and microwave band
(synthetic aperture radar image of DFW airport)
Emission images - (c), (d) - forward-looking infrared (FLIR- used on military aircraft/thermographic camera
that senses infrared radiation) image and a visible light image of the globular star cluster Omega Centauri-
consists of over a million stars
Absorption - (e), (f) - digital (radiographic-low energy xrays) mammogram and a conventional light
micrograph (using microscope)
scale of images- possible to image objects extending over 1030 m and as small as 10-10 m.
Dimensionality of images and video
Sampling is the process of converting a continuous-space (or continuous-space/time)
signal into a discrete-space (or discrete-space/time) signal i.e. vector of numbers
Sampled Image as matrix – in color
image: 1 for each color
Any Questions???