Skip to content

Livioni/pyqt_image_process

Repository files navigation

pyqt_image_process

Non opencv library implementation. Easy to code in python but super slow.

Enviroment and Dependency

  • macOS Monterey 12.6 Apple M1 Max
  • Opencv-python 4.5.5 (Rosetta2)
  • Pyqt 6.3.1
  • matplotlib 3.5.3 (For ploting histogram)
  • scipy 1.9.1 (For side window filter, extremly slow if dont use it.)

截屏2022-09-27 20.05.58

截屏2022-10-16 20.23.07

Functions

  1. image intensification

    1. gray scale
    2. gray histogram
    3. histogram equalization
    4. gradient sharpen
    5. Laplace sharpen
  2. edge detection

    1. Roberts
    2. Sobel
    3. Laplace
    4. Krisch
    5. Canny
  3. Filter

    1. average filter $3\times 3$.
    2. median filter $3\times 3$.self.ui.pushButton_26.clicked.connect(self.button_26_clicked)
    3. side window filter (average side window filter, also $3\times3$ ).
    4. morphological filter : This function is for homework exclusively, please select the exlusive image.
    5. Diy gaussian filter : Please input gaussain template: like $[[1,2,1],[2,8,2],[1,2,1]]$ or $[[1,4,6,4,1],[4,16,24,16,4],[6,24,36,24,6],[4,16,24,16,4],[1,4,6,4,1]]$.
  4. Camera Calibration

  5. Bi-Camera Calibration

  6. Detections

    1. Threshold
    2. OTSU
    3. Kittler
    4. Single Gaussian Model
    5. Mixed Gaussian Model
    6. Hsv Histogram Matching
    7. Template Matching
    8. Local Binary Pattern
    9. SIFT
  7. Machine Learning

    1. SVM
    2. SVM+HOG
    3. Haar features
    4. Camshift

Links

C++ Version: https://github.com/QiTianyu-0403/OpenCVImage

Canny: https://github.com/StefanPitur/Edge-detection---Canny-detector/blob/master/canny.py

Side window filter python implementation: https://github.com/Beta-y/Side_Window_Filtering

Camera Calibration: https://blog.csdn.net/qq_41035283/article/details/123778452

Bi-Camera Calibration: https://blog.csdn.net/qq_36076137/article/details/118383472

OTSU: https://blog.csdn.net/laonafahaodange/article/details/123746067

Mixed Gaussian background modeling : https://zhuanlan.zhihu.com/p/90103849

Local Binary Pattern: https://zhuanlan.zhihu.com/p/91768977

SIFT : https://github.com/rmislam/PythonSIFT/blob/master/pysift.py

Yolo_v5: https://github.com/ultralytics/yolov5

About

This repo is for image process lesson BIT

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages