03.09.2020 Views

Getting started with Computer Vision

A guide to the knowledge and application of visual systems

A guide to the knowledge and application of visual systems

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

5 How to process and<br />

interpret images<br />

a. Image as an array<br />

A digital image is an array of pixels where each pixel is a<br />

combination of numerical values representing the colours<br />

and intensities at a particular point on the image.<br />

A pixel, or picture element, is the smallest visual element of an<br />

image and typically contains three component intensities, or<br />

channels, such as red, green and blue. Colour digital images<br />

are created by combining the channels to reproduce the broad<br />

range of colours seen by the human eye.<br />

A grayscale image refers to the number of different shades, or<br />

depth, of a particular colour. A grayscale image can be created<br />

from any single channel or colour of the image.<br />

The image resolution gives the number of pixels and the aspect<br />

ratio gives the width:height pixel ratio.<br />

The channel contains the number of samples per point, which for<br />

grayscale images is a single sample per pixel, whereas for colour<br />

images is three samples per pixel (red, green, blue).<br />

Pixel<br />

Smallest visual element<br />

Digital Image<br />

A multidimensional array<br />

of numbers<br />

Aspect Ratio<br />

Width:Height<br />

Resolution<br />

Width x Height<br />

Channel: No. of samples per point<br />

Single plane: Grayscale / B&W images<br />

10<br />

9<br />

15<br />

32<br />

10<br />

65<br />

90<br />

32<br />

85<br />

23<br />

65<br />

54<br />

16<br />

70<br />

96<br />

99<br />

90<br />

43<br />

60<br />

85<br />

87<br />

85<br />

65<br />

32<br />

28<br />

56<br />

67<br />

70<br />

96<br />

92<br />

90<br />

43<br />

99<br />

85<br />

87<br />

65<br />

43<br />

56<br />

67<br />

96<br />

92<br />

43<br />

99<br />

87<br />

78<br />

67<br />

92<br />

99<br />

Three Planes: Colour images<br />

©maxEmbedded.com2012<br />

11

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!