datahacker.rs@gmail.com

Category: OpenCV

OpenCV #007 Thresholding

Digital Image Processing using OpenCV (Python & C++) Highlights: In this post we will learn about Thresholding. This method is essential in many computer vision applications. The purpose of this post is to show and benchmark performance of several different approaches, and also to provide you with the necessary knowledge to implement it. Tutorial Overview: Thresholding Simple thresholding Adaptive thresholding Otsu’s Binarization 1. Thresholding In the last post we explained why edges are important for…
Read more

OpenCV #006 Sobel operator and Image gradient

Digital Image Processing using OpenCV (Python & C++) Highlights: In this post, we will learn what Sobel operator and an image gradient are. We will show how to calculate the horizontal and vertical edges as well as edges in general. What is the most important element in the image? Edges! See below. Tutorial Overview: What is the gradient? Finite difference. Discrete gradient. Sobel Operator. 1. What is the Gradient? Let’s talk about differential operators. When…
Read more

005 Averaging and Gaussian Filter

OpenCV #005 Averaging and Gaussian filter

Digital Image Processing using OpenCV (Python & C++) Highlights: In this post, we will learn how to apply and use an Averaging and a Gaussian filter. We will also explain the main differences between these filters and how they affect the output image. What does make a good filter? This is a million dollar question. Tutorial Overview: Averaging filter Gaussian filter 1. Averaging filter What does make a good filter? So, let’s start with a…
Read more

OpenCV #004 Common Types of Noise

Digital Image Processing using OpenCV (Python & C++) Highlights: We will give an overview of the most common types of noise that is present in images. We will show how we can generate these types of noise and add them to clean images. Then, we will show how we can filter these images using a simple median filter. In this post, we will assume that we “know” how the noise looks like in our experiments…
Read more

OpenCV #003 Pixel Intensity and Watermarks

Digital Image Processing using OpenCV (Python & C++) Highlight: In this blog post, we will explain how to scale the pixel’s intensity and make the image brighter and/or darker. We will show how to add logos onto a given image. This is known as a watermark, and we will also show how to add it in a transparent mode. Finally, we show-off with some cool effects for beginners, such as fading in and out using…
Read more