Computer Vision - Session 1
Computer Vision - Session 1
Agenda:
1- Definition of Image processing.
2- Definition of computer vision.
3- Image and it’s type .
4- color-spaces models.
5- Image Digitization.
6- Coordinate Transformation.
7- Histogram && Histogram
Equalization.
9- Noise && Filters.
What is the image processing ?
Example of operations :
• Rescaling Image
• Correcting Illumination.
What is the effect of image processing ?
What is the effect of image processing ?
What is the effect of image processing ?
What is the computer vision?
is a subject that enables the computer to understand the image and video collected
by the acquisition device. Specifically, the computer is equipped with eyes (camera)
and brain (algorithm) so that the computer can sense the environment.
Example of operations :
• Self-driving cars.
• X-Ray analysis.
• Cancer detection.
Self-driving cars
X-Ray analysis
Camera Detection
How to benefit from computer vision in Traffic ?
Could you tell me the difference between Image processing and Computer Vision?
What is the difference between Image Processing and Computer Vision?
What is the definition of image ?
• A rectangular grid of pixels and it has definite width and height counted in pixel.
•
• Each pixel (picture element) demonstrates the “intensity” of light or “color”.
●
Binary ●
Grey ●
Colored
image image image
●
Numbers of ●
1 bit ●
8 bits ●
24 bits
bits
●
Ranges ●
0 or 1 ●
0 to 255 ●
0 to 255 for
each channel
color-spaces models:
The color spaces in image processing aim to facilitate the
specifications of colors in
some standard way.
• 1-RGB = CMY
RGB
●
HSV
●
CMYK ●
●
COMP ●
Red, Green, ●
Hue, Saturation, ●
Cyan, magenta,
ONENT Blue Value yellow, key
●
USED ●
In Digital ●
In graphics such as ●
In printers
processing photoshop.
IN
●
NAME ● an additive color an additive color model ● subtractive color
model model
● Collect all ●
White Color ●
proportional Black Color
Image Digitization
The output of most sensors is a continuous voltage waveform, and image digitization is to
convert continuous images into discrete points that can be processed by computers.
Quantization: is the process of converting the pixel grayscale into discrete integer values
Coordinate Transformation:
Examples:
• Translation.
• Rotation.
• Scaling.
• mirroring.
Translation:
The point whose coordinates are in an image is moved to a new position by a translation vector .
The coordinates after transformation are . The transformation matrix of
translation is .
Example:
Rotation:
Image rotation can be considered as rotation of pixels around an axis perpendicular to the image
The point whose coordinates are in an image is rotated 𝜃º clockwise around the axis that is located
screen.
The resolution of the original image is , and the image size is after zooming. The zooming
coefficient is in the horizontal direction and in the vertical direction.
The mean filter refers to the filter in which all template weights are 1. The average value of the
neighborhoods of the pixel is used as the output result. Mean filtering can be used to smooth the
image and eliminate the noise. However, as the size of the template increases, the image becomes
more blurred. It is often used to blur images.
Gaussian Filtering:
The Gaussian filter can be used to reduce the image blurring caused by increased template
sizes.
Median Filtering
The median filter replaces the original pixel value with the median output of the pixel values sorted
in the neighborhood. Median filtering implements noise reduction and retains the sharpness of the
original image, without changing the intensity value of the original image.
Median filtering is commonly used and can effectively suppress salt-and-pepper noise and protect
the edge from blurring while suppressing random noise.
Assignment