Matrices, Colors, and Filters

In this chapter, we will cover the following recipes:

  • Manipulating matrices-creating, filling, accessing elements, and ROIs
  • Converting between different data types and scaling values
  • Non-image data persistence using NumPy
  • Manipulating image channels
  • Converting images from one color space to another
  • Gamma correction and per-element math
  • Mean/variance image normalization
  • Computing image histograms
  • Equalizing image histograms
  • Removing noise using Gaussian, median, and bilateral filters
  • Computing gradient images using Sobel filters
  • Creating and applying your own filter
  • Processing images with real-valued Gabor filters
  • Going from the spatial to the frequency domain (and back) using discrete Fourier transform
  • Manipulating ...

Get OpenCV 3 Computer Vision with Python Cookbook now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.