Top Banner
BASICS OF DIGITAL IMAGE PROCESSING Erkki Rämö
49

Basics of digital image processing

Jan 03, 2016

Download

Documents

conan-sutton

Basics of digital image processing. Erkki Rämö. Digital image processing. Editing and interpreting of picture information Examples: Improving the visual quality of the image Removing an error from the image Automated interpretation of the image. Related disciplines. Group discussion 1. - PowerPoint PPT Presentation
Welcome message from author
This document is posted to help you gain knowledge. Please leave a comment to let me know what you think about it! Share it to your friends and learn new things together.
Transcript
Page 1: Basics of digital image processing

BASICS OF DIGITAL IMAGE PROCESSINGErkki Rämö

Page 2: Basics of digital image processing

Digital image processing

20.04.23 2

Editing and interpreting of picture information Examples: Improving the visual quality of the

image Removing an error from the image Automated interpretation of the

image

Page 3: Basics of digital image processing

Related disciplines

Page 4: Basics of digital image processing

Group discussion 1• Discuss application areas of digital image processing.

20.04.23 4

Page 5: Basics of digital image processing

Where is image processing applied?

20.04.23 5

Biological research – cell studies

Page 6: Basics of digital image processing

20.04.23 Lauri Toivio 6

Military research – interpretation of reconnaissance photos

Page 7: Basics of digital image processing

20.04.23 Lauri Toivio 7

Document control – scanning, interpretation, archiving

Page 8: Basics of digital image processing

20.04.23 Lauri Toivio 8

Industry automation – machine vision

Page 9: Basics of digital image processing

20.04.23 Lauri Toivio 9

Forensics – Fingerprint analysis

Page 10: Basics of digital image processing

20.04.23 Lauri Toivio 10

Medicine – x-ray image analysis

Page 11: Basics of digital image processing

20.04.23 Lauri Toivio 11

Photography – Digital photography

Page 12: Basics of digital image processing

Publishing

20.04.23 12

Page 13: Basics of digital image processing

20.04.23 Erkki Rämö 13

Space investigation

Page 14: Basics of digital image processing

20.04.23 Erkki Rämö 14

Remote Sensing

Page 15: Basics of digital image processing

20.04.23 Erkki Rämö 15

Mapping (eg. Google street view)

Page 16: Basics of digital image processing

20.04.23 Erkki Rämö 16

Film industry

Page 17: Basics of digital image processing

Visual image

Light = electromagnetic radiationDifferent wavelengths of light reflect from the object and absorb to the object in different ways, depending on objects surfaces construction and material

Reflecting light is perceived with the eye-brain visual system as an image

Wavelength of visual light is 400 - 700 nm

20.04.23 17

Page 18: Basics of digital image processing

Perceiving of the visual image

What is needed:Light source

Light bulb radiates light of some color

Targetwhich reflects part of the light and absorbs the rest

Eye receives the signal signal is interpreted by brain

20.04.23 18

Page 19: Basics of digital image processing

10-6 10 103 109

Cosmicrays

Gammarays

X-rays

UVInfra-red

Micro-wave

Radio

nm

Visible light

400 nm 700 nm

Spectrum of light

Page 20: Basics of digital image processing

Group discussion2• List imaging applications working in different wavelengths.• Can you find imaging using else than electromagnetic

radiation

20.04.23 20

Page 21: Basics of digital image processing

Eyesight

Eye, visual nervetrack and brains visual centre form the human visual system

There’s no visual system better than the eye Some animal eyes are better than human

eye Examples of ‘analog’ image processing

A paddle in the water, refraction of light in the interface of two substances

Image restoration by eyeglasses

20.04.23 21

Page 22: Basics of digital image processing

From optical image to a digital image

Page 23: Basics of digital image processing

The construction of the eye

Cross-section of the human eye

Page 24: Basics of digital image processing

Comparison between an eye and a cameraSimilarities:

In the eye image is drawn upside down to the retinaPupil works like the iris of the cameraRetina, with two types of visual cells, rods (about 120

million) and cones(about 7 million)

Differencies:Focus by changing the refraction of the lense by means

of the radial deformation

20.04.23 24

Page 25: Basics of digital image processing

Visual cells of the eye

Rodsthousands of times more sensitive than cones. responsible of dark vision

ConesResponsible of seeing the colors Three kinds: sensitive for blue-purple, green and red-

yellow. Peaks of sensitivity are in the wavelengths of 447 nm,

540 nm ja 577 nm

20.04.23 25

Page 26: Basics of digital image processing

Anatomy of the eyeIn the area of accurate sight, in the middle of the yellow-

spots fovea there are no rods but plenty of cones.Outside the fovea, accuracy of vision is poor

5° from the fovea – only half of the accuracyOnly a small area of field of vision is seen accurateMoving the eyeball we can focus on different details

20.04.23 26

Page 27: Basics of digital image processing

Anatomy of the eye 2

Sensitivity of visual cells to alteration of lighting is logarithmicWebers law

JND=K*I Where K is constant and JND (Just Noticable Difference)

Example: 100 W lighting 10 W power increment.

In 1000W lighting we need 100W increment for same resultImage: Intensity must be doubled to notice the same

visual difference

27

Page 28: Basics of digital image processing

Visual cells react with one anotherMach Band Effect

Eye works like a high pass filter sharpening the detailsOn the edge of the tone slope, dark color seems lighter and

light color seems darker

20.04.23 28

Page 29: Basics of digital image processing

Influence of the background Simultaneous contrast

20.04.23 29

Page 30: Basics of digital image processing

Influence of the background Simultaneous contrast

20.04.23 30

Page 31: Basics of digital image processing

Frequency responseHow small details are still visible?Influences:

Number and positioning of cells, elasticity of the eye, brain response, intensity of light

31

Page 32: Basics of digital image processing

Procedure classes of image processing

Procedures have been developed already in1960’s, though due to lack of computing power they were hard to implement

Some procedures enhance the quality of the imageOthers pick and analyze information from the image

20.04.23 32

Page 33: Basics of digital image processing

5 Procedure classes

1. Image Enhancement

2. Image Restoration

3. Image Analysis

4. Image Compression

5. Image Synthesis

20.04.23 33

Page 34: Basics of digital image processing

Image Enhancement

Most common procedure classCan be used as independent enhancement method or

as pre-operation for other methods, for example reducing the image before analysis

20.04.23 34

Page 35: Basics of digital image processing

Image enhancement 2

Goal is to enhance the visual quality of the imagecontrast and brightnessnoise reductionsharpening

20.04.23 Erkki Rämö 35

Page 36: Basics of digital image processing

Example: adjusting contrast

Photoshop ”autolevels”, which implements the whole tone scale for the image

20.04.23 Lauri Toivio 36

Page 37: Basics of digital image processing

Image Restoration

Goal is to restore an image as original or removal of known photographic errorCorrections:

• Removal of geometric distortion• Removal of blur• Noise removal• Motion-blur removal

20.04.23 37

Page 38: Basics of digital image processing

Example: enhancing sharpnessPhotoshop ”Unsharp mask”

20.04.23 38

Page 39: Basics of digital image processing

Image AnalysisAs result there rarely is an image, but information about

what’s in the imageImplemented in various tasks involving artificial vision

20.04.23 39

Page 40: Basics of digital image processing

Example: Measuring of an object

20.04.23 40

Page 41: Basics of digital image processing

Image compressionGoal is to compress image-information so that it would consume less space

Pros needs less space faster transfer

Methods:lossless compression(max 2:1)lossy compression(max 100:1)

Based on redundant information in the image

20.04.23 41

Page 42: Basics of digital image processing

Example: JPEG-compression

183 KB 17 KB

20.04.23 Lauri Toivio 42

Page 43: Basics of digital image processing

Image SynthesisImage is built out of other images orVisualization of non-image informationUsed when:

taking a picture is not physically possible fast and/or slow events

modelling an object which does not exist

Examples:2D images of projection images mathematicallyvisualization of chart information as an image

20.04.23 43

Page 44: Basics of digital image processing

20.04.23 44

Construction of image processing application

Application can be divided into unit tasks

• Application construction:

Applications

Fundamental Classes

Operations

Process

Page 45: Basics of digital image processing

Application level20.04.23 Lauri Toivio 45

Basic description of application Example application:

Capture video image of cars licence plate Process and interpret the signs on the plate Check register if the vehicle has any offense

Page 46: Basics of digital image processing

Image processing part

20.04.23 46

Process image and identify letters and numbers as an array

In short: Read the signs of the licence plate

Page 47: Basics of digital image processing

Process classes

20.04.23 47

Divide application into unit tasks Image enhancing: Improve the image

quality Image analysis: Interpret the letters and

numbers of the plate

ZHO-408

Page 48: Basics of digital image processing

Operations48

Image enhancement: Improve the image quality Contrast alteration: steepen the contrast Edge highlighting: Outlines of signs

Image analysis: Interpretation of the letters and numbers of the plate Detaching edges: Follow the outlines Classification of objects: Fit vectors into images in

model library

Page 49: Basics of digital image processing

Methods

Contrast alteration: steepening of contrastContrast stretching as pixel operation

Edge highlighting: Outlines of symbolsSobels edge highlighting algorithm

Finding edges: Follow the outlines Edge finding algorithm

Classification of vectors: Fit vectors into images in model library

20.04.23 49