This repository has an ipynb file that contains the code for the image processing assignment. The code is written in python and uses the following libraries:
- numpy
- matplotlib
- python-opencv
- Biến đổi âm bản
- Phân ngưỡng
- Biến đổi logarithm
- Biến đổi hàm mũ
- Toán tử láng giềng
- Làm mịn ảnh:
- Bộ lọc trung vị
- Bộ lọc trung bình
- Phát hiện biên:
- Gradient: Robert, sobel, prewitt
- Đạo hàm bậc 2: Laplacian
- Phát hiện biên tối ưu: canny
- Phân vùng theo ngưỡng biên độ
- Otsu
- Đẳng liệu
- Xử lý hình thái
- Phép co
- Phép giãn
- Phép mở ảnh
- Phép đóng ảnh
To run the code, you need to have python installed on your computer. You can download python from here. You also need to have the following libraries installed:
- numpy
- matplotlib
- python-opencv
To install these libraries, you can use the following command:
pip install numpy matplotlib opencv-python