Docsity

Machine Vision-Robot Design, Programming and Implementation-Lecture Slides, Slides of Robotics

Toggle sidebar
bg1
Machine vision - giving robots sight
• Potentially the most powerful sensor is artificial vision
• Also called computer vision and machine vision.
• Machine vision is already used for both robotic & non-robotic applications.
• Machine vision is a complex subject encompassing a number of different high tech
fields including optical engineering, analogue video processing, digital image
processing, pattern recognition and artificial intelligence and computer graphics.
• The basic process is modelled on the mammalian eye/brain interaction.
Image
acquisition
Image
enhancement
Image
segmentation
Image
understanding
Raw input
image
computer vision tasks
high level
processing
intermediate level
processing
low level
processing
docsity.com
pf3
pf4
pf5
pf8
pf9
pfa
pfd
pfe
pff
pf12
pf13
pf14
pf15
pf16
pf17
pf18
pf19
pf1a
pf1b
pf1c
pf1d
pf1e
pf1f
pf20
pf21
pf22
pf23
pf24
pf25
pf26
pf27

Partial preview of the text

Download Machine Vision-Robot Design, Programming and Implementation-Lecture Slides and more Slides Robotics in PDF only on Docsity!

Machine vision - giving robots sight •^ Potentially the most powerful sensor is artificial vision•^ Also called computer vision and machine vision.•^ Machine vision is already used for both robotic & non-robotic applications.•^ Machine vision is a complex subject encompassing a number of different high techfields including optical engineering, analogue video processing, digital imageprocessing, pattern recognition and artificial intelligence and computer graphics.•^ The basic process is modelled on the mammalian eye/brain interaction.

Imageacquisition

Imageenhancement

Imagesegmentation

Imageunderstanding

Raw inputimage

computer vision tasks

high levelprocessing intermediate levelprocessing low levelprocessing

The mammalian visual process •^ Vision is the process of converting sensory information into theknowledge of shape, identity or configuration of objects.•^ Other sensors besides light sensors can also provide similarinformation: including bat sonar, and touch.•^ Previous input and its interpretation can greatly affect currentprocessing of sensory data.•^ Seeing is the physical recording of the pattern of light energyreceived from the environment. It consists of:–^ selective gathering in of light–^ projection or focusing of light on a photoreceptive surface–^ conversion of light energy into chemical or electrical activity•^ Information from sensors is usually not just ON or OFF, but alsoincludes ''how much''.

Components of a machine vision system:^ Video signal^ Main elements: camera,digitiser, frame-store, processor. Lightrays output

Digitaldata

videocamera

T.V.monitor

Video signalinputDigitiser &Display

Framestore

HostComputerCo-Input/processorOutput ImageMemory

Lighting •^ Good illumination of the subject is essential for successfulapplication of computer vision•^ Poor image quality cannot be rectified by further stages of imageprocessing•^ controlled lighting ensures consistent data from the image.•^ There are several methods of illumination:–^ front lighting is used to determine surfacecharacteristics of the object,^ –^ back lighting is used for simple outline analysis.^ –^ Structured lighting is used to recover 3D geometry of asubject and^ –^ strobe lighting may be used to freeze a scene such asobjects on a moving conveyor belt.

Camera types :(2) CCD camera: •^ CCD cameras are made up from several photodetectors which mayeither be arranged in a line or in an array.•^ Most common type of camera used in machine vision•^ In its basic form it is a single IC device consisting of an array ofphotosensitive cells•^ Each cell produces an electric current dependent on the incident lightfalling on it.•^ These cells are polled to produce a video signal output.•^ CCD cameras have less geometric distortion and a more linear videooutput when compared to Vidicons.•^ since these devices incorporate discrete elements they are much bettersuited to digital processing•^ The large surveillance market means they are cheap, robust and easyto use and integrate with other systems

CCD camera types:^ typical camera^ •^ older systems were very chunky, heavy & power hungry•^ advances in IC technology have resulted in smaller and smallersystems that use less power•^ miniaturisation first resulted in remote head ‘lipstick’ sized cameras•^ latest technologies include very small single board systems

singleboardcamera

remote headcamera docsity.com

Image digitisation: •^ digitisers consist of an analogue amplifier and signal conditioner,which give gain and offset control on the incoming image data,and also provide synchronisation for the signal.•^ Most are capable of converting input analogue signals intodigital values at full video rates: around

11 /^ -^ /^30

th second per

image.• Most digitisers have very limited spatial resolution (sincestandard video is also limited in this fashion) - typical outputimage sizes are 640x480, 512x512.• The digitiser is typically provided with lookup tables (LUTs) toquickly change pixel values. For each possible pixel value thecorresponding output value is 'looked up' in the table.• Most b/w digitisers are 8 bit. Colour ones usually 24bit.• The output images from the A/D are usually fed to an onboardFRAMESTORE.

Image digitisation: Real Image

Spatial pointdigitization Binary Image Digital light levelat this point 255 255 164 165 166^ 255 255 255 255 255 255 255 255Greylevel Image

255 255^95

255 255 255 255 255 255 255 255255 255 255^ 255 255 255 255 255 255 255 255

Computer Vision

-^ What is computer vision?^ –^ “Making computers see”

Nicesunset!

What is Computer Vision?

Scene/object modelingNavigationObject recognitionEvent/action recognition

…Or To This

-^ J

…Or To This

-^ Hallway straight ahead

Why is Vision Difficult?

Consider the input...

Not this

01 00 05 00 03 00 02 00 00 03 01 01 01 01 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 02 00 0103 30 3A 38 39 2D 1D 15 10 0E 0C 0A 0A 0A 09 06 08 07 06 06 05 05 07 07 04 05 04 04 06 02 01 02 02 02 02 07 01 02 02 0303 22 1B 16 14 0A 08 0B 0A 0D 0B 0B 0C 06 07 05 05 06 06 06 03 07 04 06 05 09 05 04 05 01 04 04 02 03 03 04 02 04 03 0200 0F 0B 04 10 07 09 07 08 09 09 08 05 08 08 05 09 03 08 05 02 08 08 06 06 04 02 05 03 02 05 05 00 02 02 04 04 00 00 0300 07 09 0E 0C 07 08 0A 0A 0B 0F 0A 0C 07 06 0B 07 0B 05 0B 08 09 07 03 08 04 04 02 00 04 02 04 00 04 03 08 00 06 09 0400 0E 0C 09 09 08 08 07 08 09 09 0A 05 08 07 07 07 09 08 0A 08 09 06 0A 03 09 07 06 06 03 05 03 01 06 02 03 07 01 04 0402 0C 0B 0A 05 08 09 0A 0C 0A 0A 08 0A 0A 06 08 06 06 04 06 02 06 07 04 04 04 06 09 05 05 08 06 04 05 04 06 01 0A 03 0202 0B 14 0F 0F 0D 0A 0E 0A 0C 0C 0E 0A 0C 0B 09 0A 09 0A 0A 09 0B 0B 05 0C 0C 0A 04 07 06 03 05 07 04 05 03 02 01 06 0302 10 12 0B 10 0A 0D 0D 0B 0D 0C 0B 0B 0C 0D 0B 0B 0A 0A 0A 0B 0C 17 15 1C 15 0D 08 09 08 05 05 05 04 02 05 04 04 00 0401 15 0E 10 12 0C 0D 0C 0C 0A 0B 0B 09 0C 0F 09 09 0D 07 0B 08 15 60 5D 61 59 33 0D 0A 07 08 08 05 03 06 07 01 03 05 0202 12 10 0F 0E 10 10 0B 0C 0F 0F 0E 0C 10 0D 15 10 09 12 11 12 50 68 66 89 71 5E 3F 08 09 0A 09 0A 03 03 02 05 05 04 0201 11 12 0C 11 13 10 10 0B 10 0F 0C 11 11 13 0D 0F 0D 0D 0B 25 7A 7F 79 6D 80 6E 54 0C 0D 09 0A 06 04 02 05 00 05 04 0301 10 0F 0D 12 0E 10 0E 0F 13 13 11 13 17 11 0F 14 11 11 14 39 84 88 7E 8C 73 7A 5C 1E 05 0A 0F 0E 0C 05 02 04 03 06 0502 0F 15 0D 18 11 0D 11 14 10 12 12 14 19 13 17 13 16 16 20 73 68 87 89 93 8B 83 69 43 07 0A 12 0A 0B 06 06 03 04 05 0302 13 14 14 16 11 13 13 17 12 17 17 28 1E 1A 17 19 14 12 4F 7D 74 85 91 93 8C 7F 6F 5F 0B 09 12 0D 0C 02 04 07 04 05 0400 0F 16 0F 13 12 10 1D 12 21 15 1E 21 1F 1C 1D 2D 1A 2D 7C 7A 95 6B 30 48 62 87 71 5C 0A 08 11 0C 09 04 04 02 06 04 0300 10 1C 10 11 1A 0D 1A 1A 25 28 33 30 26 2B 3E 29 35 6C 83 5E 7B 94 8A 5A 3D 42 76 5C 13 08 13 0F 0C 04 04 01 05 05 0301 12 17 1A 19 18 15 20 29 20 3F 1F 37 29 39 49 24 33 8F 93 B4 AE 79 42 39 73 7D 89 46 12 06 12 12 0F 08 03 03 03 04 0301 13 20 0F 14 26 1B 18 20 2F 3D 3E 42 3B 45 2E 48 70 96 9F 96 6B 24 0F 22 4B C3 A4 3F 4F 0C 18 16 0F 05 05 08 05 05 0400 19 1C 13 13 21 1D 12 18 47 3D 47 45 3A 27 3B 33 A8 A6 91 81 4B A1 75 4B AC A1 B5 79 0C 0B 13 0F 0B 02 03 06 07 07 0400 1B 1D 1C 1C 1C 1B 1B 1E 55 49 49 36 28 2A 24 9F AD AC AA B1 9C 8D 5F 3E 98 B7 B7 A3 31 11 14 0A 0D 04 08 07 07 07 0602 21 18 15 16 1D 15 18 1E 36 5B 29 2C 19 29 4F AF BC AF AB 9E A1 97 82 70 9F AE AD A5 92 16 10 07 0E 0A 0C 08 05 0B 0501 17 1B 1A 1A 2B 1B 2A 32 34 46 2C 1B 26 4C 40 BA BB B5 AE 95 94 84 7A 8A 9A B9 BB AD 9C 8A 15 09 09 05 0B 0D 0F 0B 0700 1A 18 1C 1E 27 21 1D 3F 4E 32 25 1B 1B 93 46 AF AB B1 AC A4 93 89 91 86 90 AA 9F 91 97 AD 7F 0C 0B 0E 0B 0C 0C 09 0500 15 1A 21 1E 2E 1B 23 47 4E 23 21 19 49 99 5B AA AC B7 AF A6 9A 93 8F 85 7F A0 A4 C2 9F 99 4E 09 08 0A 0D 0C 0A 0C 0700 13 18 21 26 31 28 25 34 4C 1F 2B 1C 8B 9B 42 9B A7 A1 B4 B0 AA A0 9D 92 72 8E 97 71 A7 32 04 0A 0A 0D 0D 09 0D 0C 0700 1A 1C 21 28 3A 30 26 40 4C 26 18 2C 90 A1 39 A0 97 B8 AA B2 A5 A6 A3 98 76 92 96 98 6D 08 0D 07 08 0C 0B 0E 0D 0D 0A04 1E 29 1F 27 32 26 2E 41 4A 2C 34 46 8A A5 89 9E A3 B0 B7 AF AB AB 99 97 90 A4 94 85 7C 08 07 07 08 09 09 08 0C 0D 0B01 1F 29 27 27 2A 2C 36 4D 50 34 42 45 95 9B AA 7E AD B3 AA B2 A8 B2 92 98 8E 9E 8E 44 34 18 05 06 0A 0D 0D 0D 0F 0C 0800 21 2E 23 29 2C 2A 34 44 5A 39 4F 29 90 9B A5 86 AA B2 B3 AE A0 A3 9C 94 79 43 2B 25 2D 07 0E 05 06 0C 0A 0F 0D 09 0C00 21 27 20 28 29 2F 2A 44 57 42 31 28 8C 93 A3 AC 60 BA BD B4 AE A8 A2 62 91 5F 52 4F 3F 09 0D 0D 09 0E 0E 0B 12 0B 0B03 30 2E 2C 29 2A 3B 30 4E 3C 40 40 49 5E AE 9F A4 B1 4E AA AA A0 A4 9C 94 A2 AB A8 93 52 0E 0E 09 0B 0D 10 0C 0C 10 0900 30 32 2E 36 39 36 24 2D 5A 46 46 68 30 8B 8C A3 AC A5 3E A1 AF A8 82 A4 AC A2 96 71 73 08 10 0B 0B 0B 0E 0F 10 11 0A00 54 34 1E 3C 3F 3E 29 27 56 38 4C 5C 44 26 94 9A A2 A2 A6 8E 4E 70 99 AC A6 A2 89 7E 5B 11 0E 10 10 17 12 0D 0C 0D 0C00 4B 30 23 36 44 48 3C 2E 2D 34 35 29 58 5B 0D 36 50 34 52 9C A8 B5 AA B3 AE A0 9C 8C 62 0A 12 14 0D 16 14 11 10 0E 0D01 38 2C 24 2E 51 59 4B 30 27 39 2B 2B 24 29 69 37 25 29 82 97 A1 AB AC B2 A6 A6 A0 89 69 0F 10 1C 18 14 10 10 0F 0C 0F03 21 2A 27 22 5C 44 31 3F 33 1F 37 24 23 36 27 24 2B 4D 50 85 90 96 86 A3 A5 99 8D 7A 4E 0E 1B 15 20 0F 0F 16 12 13 0B01 1D 1F 2B 20 21 48 2F 40 2F 2D 2A 25 2B 2C 20 25 25 26 3E 55 5E 62 6D 6D 6E 68 5E 43 0D 10 21 18 32 1A 13 10 13 15 1004 27 2F 2A 28 21 3B 45 2E 3A 40 33 2D 2F 1F 1E 1B 20 37 3C 3F 3C 34 30 24 17 0D 0B 0E 11 1E 23 1B 25 14 0D 10 0F 12 0F04 22 27 37 33 1A 1B 35 4A 1D 20 2C 2F 1F 1F 3B 34 1A 2A 38 44 1E 0C 0C 06 0C 10 12 1B 21 21 34 32 20 0B 0E 10 0D 0D 0F02 32 22 33 29 20 22 19 30 35 1D 1E 16 19 18 1C 16 18 23 39 10 13 0E 0E 1A 15 15 13 1A 18 2C 2E 19 0F 0D 10 0E 0E 14 0D01 33 36 23 31 29 20 19 1B 1E 17 1C 1F 1F 1F 1C 31 23 1C 2F 13 11 16 10 12 16 13 19 1B 17 19 1D 13 14 10 10 12 11 12 0D01 28 31 34 24 30 23 19 18 28 2A 1D 1F 1D 1B 1E 1B 26 31 39 16 14 13 14 13 15 1B 22 1A 1E 1B 15 13 16 0C 0D 11 0E 12 0D00 29 20 1C 2E 25 28 28 22 1E 20 1F 1F 1D 1B 1C 29 22 43 37 17 10 15 15 12 10 14 15 1B 1E 15 1A 11 10 14 13 14 17 12 1101 25 28 2A 23 23 29 26 1E 1D 34 38 1B 1B 22 26 18 1A 4C 33 1C 11 14 14 14 10 10 18 17 1E 29 20 1A 15 12 17 0E 14 12 1202 25 23 21 21 24 27 28 22 1E 2D 2D 23 1D 25 28 27 2A 5F 24 22 15 14 13 19 15 16 15 17 1A 1B 34 29 1B 16 17 16 16 17 1200 24 1F 20 28 22 1B 22 27 20 17 1E 1B 20 22 21 1C 5E 72 23 18 25 16 15 11 0F 17 15 14 14 18 1F 21 1B 16 18 10 13 16 1002 24 23 25 21 24 21 22 24 28 2F 26 23 1A 1D 16 21 B0 2C 26 22 2C 22 1D 1A 10 1A 1D 1A 13 14 1C 21 1B 17 17 17 13 13 14

But this…