Member-only story

Python Image Processing Functions

btd
2 min readNov 11, 2023

--

Here’s a list of libraries, functions, methods, and techniques commonly used in image processing:

1. OpenCV (Open Source Computer Vision Library):

a. Image Reading and Display:

  • cv2.imread(): Reads an image from a file.
  • cv2.imshow(), cv2.waitKey(), cv2.destroyAllWindows(): Displays an image and handles window events.

b. Color Space Conversion:

  • cv2.cvtColor(): Converts an image from one color space to another.

c. Image Manipulation:

  • cv2.resize(): Resizes an image.
  • cv2.flip(): Flips an image horizontally or vertically.

d. Image Filtering:

  • cv2.filter2D(): Performs 2D convolution on an image.
  • cv2.blur(), cv2.GaussianBlur(), cv2.medianBlur(): Applies various blurring techniques.

e. Edge Detection:

  • cv2.Canny(): Detects edges in an image.

f. Histogram Equalization:

  • cv2.equalizeHist(): Equalizes the histogram of an image.

2. Pillow (PIL Fork):

--

--

btd
btd

No responses yet