Dip lect1-sent

42
One picture is worth more than ten thousand words Digital Image Processing & Machine Vision Instructed by Dr. Abdul Rehman Abbasi

Transcript of Dip lect1-sent

Page 1: Dip lect1-sent

One picture is worth more than ten thousand words

Digital Image Processing & Machine Vision

Instructed by

Dr. Abdul Rehman Abbasi

Page 2: Dip lect1-sent

Course Contents (with estimated no. of lectures)

1. Introduction & Motivation (1)2. Fundamental Concepts (1)3. Image Acquisition (1)4. Image Enhancement (2)5. Morphological Operations (1)6. Image Segmentation (3)7. Feature Extraction (3)8. Hardware & Software Methods in Image Processing (1)9. Advanced Research Areas in Image Processing (1)10. Mini-Project Presentation or Research Article Presentations (2)

Page 3: Dip lect1-sent

Reference Books & Journals • Digital Image Processing

by Rafael C. Gonzalez & Richard E. Woods (2nd Edition), Pearson Education

• Digital Image Processing: A Practical Introduction using Java TM

by Nick Efford, Pearson Education• Applied Image Processing

by G.W. Awcock & R. Thomas , McGrawHill • Real-Time Image and Video Processing: From Research to Reality

Nasser Kehtarnavaz and Mark Gamadia, Morgan & Claypool Publishers

• Image & Vision Computing, Journal (IVC)• Computer Vision & Image Understanding, Journal (CVIU)• International Journal of Computer Vision (IJCV)• IEEE Transactions on Pattern Analysis & Machine Intelligence (PAMI)• IEEE Transactions on Image Processing

Page 4: Dip lect1-sent

Introduction to Image Processing

• An image is a 2-Dimensional function f(x,y) where x and y are spatial coordinates, and amplitude f at any pair of coordinates (x,y) is called the intensity or gray level of the image at that point.

• When x,y, and f are finite and discrete we call it a digital image.• Digital image processing means processing/computing digital

images using computational means such as using a digital computer.

Page 5: Dip lect1-sent

Image Function & Spatial Coordinates

Page 6: Dip lect1-sent

Image Processing & the World

Page 7: Dip lect1-sent

Motivation

Medical Diagnosis Industrial ApplicationsSecurity ApplicationsBiometrics & FinanceSeismic Analysis Aerial ApplicationsSpace Explorations

Page 8: Dip lect1-sent

Medical Diagnosis

Digital Mammogram

Head CT Scan

MRI of Knee & Spine

Ultrasound

Page 9: Dip lect1-sent

Industrial Applications

• Electronic Defect Detection

Product Testing/QA

Page 10: Dip lect1-sent

Security ApplicationsWhole Body Scan Vehicle Identification

Page 11: Dip lect1-sent

Biometrics & Finance

Fingerprint Verification Currency verification

Personnel Verification

Page 12: Dip lect1-sent

Seismic Analysis

Seismic patterns showing oil(natural resources) traps

Mountains Ranges in Tibetan Plain

Page 13: Dip lect1-sent

Satellite Applications

Weather Forecast Aerial Analysis

Page 14: Dip lect1-sent

Space Explorations

North Pole observation

Moon surface observation

Page 15: Dip lect1-sent

Imaging Spectrum

Images can work in a wide energy spectrum

Page 16: Dip lect1-sent

Gamma Ray Imaging-1

• Nuclear Medicine • Astronomical Observations

Page 17: Dip lect1-sent

Gamma Ray Imaging-2

1. Inject a patient with a radioactive isotope that emits gamma rays as it decays

2. Images are produced from the emissions collected by gamma ray detectors

• Positron Emission Tomography (PET)

Page 18: Dip lect1-sent

Imaging in Radio Band

Magnetic Resonance Imaging (MRI)• Place a patient in a powerful magnet and passes radio waves through his

or her body in short pulses.

Page 19: Dip lect1-sent

Image Types

Page 20: Dip lect1-sent

Some Common Image Formats and Their Characteristics

Format• jpg/jpeg (Joint Photographic Experts

Group)

• tiff (Tagged-Image File Format)

• Gif (Graphics Interchange Format)

• png (Portable Network Graphics)

• bmp (Bit Map)

Characteristics • Image compression, supports 8-bit per color

(RGB), generational degradation when edited repeatedly.

• Supports 8-bit and 16-bit per color , Support s OCR and device-specific color schemes

• Limited to 256 colors , Supports animation

• 16 million colors (truecolor), Good for large images, best suited for editing

• Simple, suited for all WINDOWS applications, uncompressed

Page 21: Dip lect1-sent

Few Basic Image Operations

Page 22: Dip lect1-sent

Contrast Enhancement

Page 23: Dip lect1-sent

Image Resolution

Page 24: Dip lect1-sent

Scaling

Page 25: Dip lect1-sent

Rotation

Page 26: Dip lect1-sent

Translate

Page 27: Dip lect1-sent

Reflect or Mirroring

Page 28: Dip lect1-sent

Image Sharpening

Page 29: Dip lect1-sent

Sharpening

Page 30: Dip lect1-sent

Image Sharpening

Page 31: Dip lect1-sent

Machine Vision System Components

Page 32: Dip lect1-sent

Components of a Generic Machine Vision System

• Radiation source: Illuminating the object/scene

• Camera: The optical lens• Sensor: Converting the scene into a signal• Processer: Playing with the signal• Knowledge-Base: data understanding• Action unit: responding the visual information

Page 33: Dip lect1-sent

MV Schematic

Page 34: Dip lect1-sent

Illumination + Camera + Sensor+ Signal

Page 35: Dip lect1-sent

Processing Unit: Preprocessing

Page 36: Dip lect1-sent

Processing Unit: Segmentation

Page 37: Dip lect1-sent

Image Understanding: Tracking people’s activities

Page 38: Dip lect1-sent

Image Understanding: Skin tracking

Page 39: Dip lect1-sent

Image Understanding: Gesture Tracking

Page 40: Dip lect1-sent

Comparison of Machine &

Human Vision System

Page 41: Dip lect1-sent

Human Vision versus Machine Vision Performance Parameters

Functional Parameter Human Vision Machine Vision

Adaptability More adaptable to environmental conditions

Not much adaptable to changing world

Decision Making Humans are good in making relative comparisons

Machine needs fixed numerical values to decide

Consistency Human are tired and less consistent

Machines are consistent

Accuracy Accuracy is subjective Accuracy is higher

Speed Human brain is fast in processing

Machines with state of art have limited speed

incomparable to human brain

Spectrum Human can make use of only visible light (390-790mm)

Machines can operate in X-ray and infra red ranges

Page 42: Dip lect1-sent

That’s All for this Session