Image Processing

Only available on StudyMode
  • Topic: Serial port, Serial communication, Universal Serial Bus
  • Pages : 32 (5891 words )
  • Download(s) : 81
  • Published : February 11, 2013
Open Document
Text Preview
Elementary Introduction to
Image Processing Based Robots
2009

Acknowledgement

P age |2

• My Senior Sourabh Sankule
• My Friends Mayank and Ashish
• Robotics Club, IIT Kanpur
• Electronics Club, IIT Kanpur
• Centre for Mechatronics, IIT Kanpur

Ankur Agrawal

IIT Kanpur

P age |3

Contents
Introduction ................................................................................................................ 4 MATLAB ....................................................................................................................... 4 What does MATLAB stand for? ......................................................................................................4 Getting acquainted with MATLAB environment .............................................................................4 General functions/commands........................................................................................................7 Trigonometric functions ......................................................................................................................... 8 The colon operator (:) ............................................................................................................................ 8 Relational operators............................................................................................................................... 9 Frequently used functions and commands ............................................................................................. 9

Taking up Images ....................................................................................................... 11 Important terms and types of Images ..........................................................................................11 Representation of an Image in MATLAB .......................................................................................13 Reading and displaying Images ....................................................................................................13 Making M-files and functions.......................................................................................................14 M-file ................................................................................................................................................... 14 Functions ............................................................................................................................................. 15

Removing Noise ...........................................................................................................................18 Getting the properties of different regions ..................................................................................21 bwboundaries ...................................................................................................................................... 21 Label Matrix (L) .................................................................................................................................... 23 regionprops ......................................................................................................................................... 24

Working in Real Time ................................................................................................. 24 Getting Hardware information .....................................................................................................24 Previewing video .........................................................................................................................26 Capturing Images .........................................................................................................................27

Interfacing via PC Ports .............................................................................................. 28 Parallel Port...
tracking img