opevcvdl-hw1

This project uses openCV and Qt to achieve the requirements.

Version

  • Python 3.7
  • opencv-contrib-python 3.4.2.17
  • Matplotlib 3.1.1
  • pyqt5 5.15.1

Requirements

Image Processing

  • Load Image File : Open a new window to show the image and show the height and width of the image in console mode
  • Color Separation : Extract 3 channels of the image BGR to 3 separated channels and open 3 new windows to show result images
  • Image Flipping : Flip the image and open a new window to show the result
  • Blending : Combine two images and use trackbar to change the weights and show the result in the new window

Image Smoothing

  • Median Filter
  • Gaussian Blur
  • Bilateral Filter

Edge Detection

  • Gaussian Blur
  • Sobel X : Use Sobel edge detection to detect vertical edge by your own 3×3 Sobel X operator
  • Sobel Y : Use Sobel edge detection to detect horizontal edge by your own 3×3 Sobel Y operator
  • Magnitude

Transforms

  • Rotation
  • Scaling
  • Translation

GitHub

View Github