Category: Other

OpenCV #014 Histogram Equalization

Digital Image Processing using OpenCV (Python & C++) Highlights: In this post, we will learn what an image histogram is and why it is useful. We will also learn about how histogram equalization works and to get practical how to implement it from scratch. Let’s roll. What is a Histogram? Histogram Equalization How does it work? Implementation from scratch 1. What is a histogram? When we think of a histogram, we can interpret it as…
Read more

OpenCV #011 Discrete Fourier Transform, Part 1

Digital Image Processing using OpenCV (Python & C++) Highlights: In this post, we will learn about why the Fourier transform is so important. We will also explain some fundamental properties of Fourier transform. Also, we will discuss the advantages of using frequency-domain versus time-domain representations of a signal. Finally, uses cases will be shown where it may be applied. In Mathematics, we often use the Fourier Transform. You take a hard problem, convert it to…
Read more

OpenCV #012 Discrete Fourier Transform, Part 2

Highlights: In the previous post,  we learnt some fundamental details about the Fourier transform and why it’s worth learning. We also showed how to transform an image into its frequency domain. I recommend you read about it here if you haven’t. In this section, we would focus on filtering in the frequency domain. We would see the effects of applying a low and high pass filter. Almost all natural images have similar power spectrum Tutorial…
Read more

CamCal 004 What does R look like?

Highlights: In this post we will continue working on camera calibration, and we will take a detailed look how does \(R \) look like. If you don’t remember what is \(R \), that is a rotation operator. Tutorial Overview: Intro Example: Rotation About Z-Axis Rotation in Homogeneous Coordinates Rigid Transformation 1. Intro There are two ways to think about this rotation operator. First, we will think in a hard way. \(_{A}^{B}\textrm{R} \) expresses how each…
Read more

#FA 002 Face Detection with OpenCV in Images

Face detection represents the ability of a computer technology to locate peoples’s faces within digital images. Face detection applications employ algorithms focused on detecting human faces within larger images that also contain other objects such as landscapes, houses, cars and others. Table of Contents: Import required packages Select the network Preprocess the image, standardise, mean subtraction Process the image with a Neural Network Analyze detections The importance of face detection can be seen as: The…
Read more