CV&IP Chapter Two
CV&IP Chapter Two
Chapter Two
Topic Coverage
Basic concept of image
Resolution refers to the number of pixels in an image. Higher resolution images contain more
pixels and can represent finer details.
In grayscale images, each pixel's brightness is represented by a single value on a scale from 0 to
255 (for 8-bit images).
A value of 0 represents black (no brightness), while 255 represents white (maximum brightness).
Values in between represent varying shades of gray.
In color images represented in RGB (Red, Green, Blue) format, brightness can be measured by
combining the intensity values of the three color channels.
Cont...
When you change the resolution of an image, you are saying how many pixels you want to live in
each inch of the image.
For example, an image that has a resolution of 600 ppi will contain 600 pixels within each in of
the image.
600 is a lot of pixels to live in just one inch, which is why 600ppi images will look very crisp and
detailed.
Now, compare that to an image with 72ppi, which has a lot fewer pixels per inch.
As you've probably guessed, it won't look nearly as sharp as the 600ppi image.
Resolution rule of thumb: When scanning or photographing, always try and capture the image at
the largest resolution/quality.
Cont...
Digital image representation
Digital images are represented using a discrete set of values to capture the visual information.
The most common representation is through a grid of picture elements, known as pixels.
Each pixel corresponds to a tiny unit of the image and contains information about its color,
intensity, or other visual attributes.
An image is divided into a grid of pixels. The arrangement of pixels forms the spatial structure of
the image.
Cont...
Assume that an image f(x, y) is sampled so that the resulting digital image has M rows and N
columns.
The values of the coordinates (x, y) now become discrete quantities.
image acquisition
Cont...
Image sampling and quantization