Professional Documents
Culture Documents
C1 Introduction
C1 Introduction
C1 Introduction
Chapter 1. Introduction
(Digital Image Processing)
PGS.TS. Hoàng Văn Dũng
Email: dunghv@hcmute.edu.vn
Outline
1 Introduction to image processing
2 Concepts
5 Introduction to OpenCV
6 Exercises
2 Concepts
5 Introduction to OpenCV
6 Exercises
1 pixel
f(645:650,1323:1328) =
83 82 82 82 82 82 In 8-bit representation
82 82 82 81 81 81 Pixel intensity values
82 82 81 81 80 80 change between 0 (Black)
82 82 81 80 80 79
80 79 78 77 77 77 and 255 (White)
80 79 78 78 77 77
f(2724,2336) = 88
One pixel
Gamma-Ray imaging
of
A starburst galaxy
Gamma-Ray about 12 million
Imaging light-years away
Cherenkov
Telescope Gamma-Ray Imaging
in nuclear medicine
ISLab- Intelligent Systems Laboratory 17
Digital Images
• X- ray images Figure ad
Examples of b
X-ray imaging ce
G B
Visible light
Ultrasonic spectrum
▪ Next time we will start to see the key stages in digital image processing and talk
about interpolation
2 Concepts
5 Introduction to OpenCV
6 Exercises
Image Morphological
Restoration Processing
Image
Segmentation
Enhancement
Image Object
Acquisition Recognition
Representation &
Problem Domain
Description
Colour Image Image
Processing Compression
Image
Segmentation
Enhancement
Image
Object Recognition
Acquisition
Single Sensor
Representation &
Problem Domain Line
Sensor
Description
Array
Sensor
Image Morphological
Restoration Processing
Image
Segmentation
Enhancement
Image
Object Recognition
Acquisition
Representation &
Problem Domain
Description
Image Morphological
Restoration Processing
Image
Segmentation
Enhancement
Image Object
Acquisition Recognition
Representation &
Problem Domain
Description
Image Morphological
Restoration Processing
Image
Segmentation
Enhancement
Image Object
Acquisition Recognition
Representation &
Problem Domain
Description
Image Morphological
Restoration Processing
Image
Segmentation
Enhancement
Image Object
Acquisition Recognition
Representation &
Problem Domain
Description
Image
Enhancement
Segmentation
Image
Acquisition Object
Recognition
Problem Domain
Representation &
Description
Image Morphological
Restoration Processing
Image
Segmentation
Enhancement
Image Object
Acquisition Recognition
Representation &
Problem Domain
Description
Image
Segmentation
Enhancement
Image Object
Acquisition Recognition
Representation &
Problem Domain
Description
Colour Image Image
Processing Compression
Image Morphological
Restoration Processing
Image
Segmentation
Enhancement
Image
Object Recognition
Acquisition
Representation &
Problem Domain
Description
Colour Image Image
Processing Compression
2 Concepts
5 Introduction to OpenCV
6 Exercises
2 Concepts
5 Introduction to OpenCV
6 Exercises
• Documents:
– https://docs.opencv.org
• https://docs.opencv.org/4.x/d9/df8/tutorial_root.html
• https://docs.opencv.org/4.x/d6/d00/tutorial_py_root.html
– https://www.geeksforgeeks.org/opencv-python-tutorial/
➢ OpenCV in Python
➢ OpenCV in C++
• Install openCV
pip install opencv-python
• Coding Python/C++ program read two image files and show on two
windows and same window.
1. Open VS Code.
2. Click the Extensions view icon on the Sidebar (Ctrl+Shift+X).
3. Search of C++. After searching, you should find the extensions shown below:
MinGW-x86_64-8.1.0-posix-seh-rt_v6-rev0
• The includePath search the path that will include the libraries you want, and I
add the path of OpenCV.
• The compilerPath finds the path of compiler, so I set to the compiler I am going
to use.
#include "opencv2/core.hpp"
using namespace cv;
...
Mat H = findHomography(points1, points2, RANSAC, 5 );
...