Skip to content

emish8/Image-Preprocessing-Using-OpenCV-and-PIL

Repository files navigation

Image-Preprocessing-Using-OpenCV-and-PIL

File 1

  1. Gray Coversion (avg method, cv2 filter , wieghted avg method)

image

  1. Morhology (erosion, dilation, opening, closing, gradient, tophat, blackhat)

image

  1. Gray to Binary

image

File 2

  1. Smoothing ( gausian, avg, w_avg, median, py_gaus, py_part_blur)
  • OpenCV2: Gaussing BLur, Median Blur, Average Blur, Wieghted Average (filter2D)

  • PIL: Gaussing Blur, Blur part of img image

  1. Filter ( min, max) PIL - Min Filter ( image Darkening) image

PIL - Max Fliter ( Image Brightening) image

  1. Noise Reduction OpenCV2 - Bilateral Filter image

OpenCV2 - Gaussing Blur image

File 3

Sobel - Vertical and Horizontal Feature Extraction image

Laplace - Finding Edges image

Unsharp masking - thourght subtration and PIL inbuilt function image