• Skip to primary navigation
  • Skip to main content
  • Skip to footer

PyImageSearch

You can master Computer Vision, Deep Learning, and OpenCV - PyImageSearch

  • University Login
  • Get Started
  • Topics
    • Deep Learning
    • Dlib Library
    • Embedded/IoT and Computer Vision
    • Face Applications
    • Image Processing
    • Interviews
    • Keras and TensorFlow
    • Machine Learning and Computer Vision
    • Medical Computer Vision
    • Optical Character Recognition (OCR)
    • Object Detection
    • Object Tracking
    • OpenCV Tutorials
    • Raspberry Pi
  • Books and Courses
  • AI & Computer Vision Programming
  • Reviews
  • Blog
  • Consulting
  • About
  • FAQ
  • Contact
  • University Login
OpenCV Tutorials
Tutorials

OpenCV Image Histograms ( cv2.calcHist )

April 28, 2021

In this tutorial, you will learn how to compute image histograms using OpenCV and the cv2.calcHist function. Histograms are prevalent in nearly every aspect of computer vision. We use grayscale histograms for thresholding. We use histograms for white balancing. We…

Read More of OpenCV Image Histograms ( cv2.calcHist )

OpenCV Tutorials
Tutorials

Automatic color correction with OpenCV and Python

February 15, 2021

In this tutorial, you will learn how to perform automatic color correction with OpenCV using a color matching/balancing card. Last week we discovered how to perform histogram matching. Using histogram matching, we can take the color distribution of one image…

Read More of Automatic color correction with OpenCV and Python

OpenCV Tutorials
Tutorials

Histogram matching with OpenCV, scikit-image, and Python

February 8, 2021

In this tutorial, you will learn how to perform histogram matching using OpenCV and scikit-image. Last week we discussed histogram equalization, a basic image processing technique that can improve the contrast of an input image. But what if you wanted…

Read More of Histogram matching with OpenCV, scikit-image, and Python

OpenCV Tutorials
Tutorials

OpenCV Histogram Equalization and Adaptive Histogram Equalization (CLAHE)

February 1, 2021

In this tutorial, you will learn to perform both histogram equalization and adaptive histogram equalization with OpenCV. Histogram equalization is a basic image processing technique that adjusts the global contrast of an image by updating the image histogram’s pixel intensity…

Read More of OpenCV Histogram Equalization and Adaptive Histogram Equalization (CLAHE)

Examples of Image Search Engines
Image Search Engine Basics
Tutorials

The complete guide to building an image search engine with Python and OpenCV

December 1, 2014

Let’s face it. Trying to search for images based on text and tags sucks. Whether you are tagging and categorizing your personal images, searching for stock photos for your company website, or simply trying to find the right image for…

Read More of The complete guide to building an image search engine with Python and OpenCV

Image Descriptors
Image Search Engine Basics
Tutorials

How-To: 3 Ways to Compare Histograms using OpenCV and Python

July 14, 2014

So you’ve extracted color histograms from a set of images… But how are you going to compare them for similarity? You’ll need a distance function to handle that. But which one? How you choose? And how do you compare histograms…

Read More of How-To: 3 Ways to Compare Histograms using OpenCV and Python

You can learn Computer Vision, Deep Learning, and OpenCV.

Get your FREE 17 page Computer Vision, OpenCV, and Deep Learning Resource Guide PDF. Inside you’ll find our hand-picked tutorials, books, courses, and libraries to help you master CV and DL.


Footer

Topics

  • Deep Learning
  • Dlib Library
  • Embedded/IoT and Computer Vision
  • Face Applications
  • Image Processing
  • Interviews
  • Keras & Tensorflow
  • OpenCV Install Guides
  • Machine Learning and Computer Vision
  • Medical Computer Vision
  • Optical Character Recognition (OCR)
  • Object Detection
  • Object Tracking
  • OpenCV Tutorials
  • Raspberry Pi

Books & Courses

  • PyImageSearch University
  • FREE CV, DL, and OpenCV Crash Course
  • Practical Python and OpenCV
  • Deep Learning for Computer Vision with Python
  • PyImageSearch Gurus Course
  • Raspberry Pi for Computer Vision

PyImageSearch

  • Affiliates
  • Get Started
  • About
  • Consulting
  • Coaching
  • FAQ
  • YouTube
  • Blog
  • Contact
  • Privacy Policy

© 2025 PyImageSearch. All Rights Reserved.