Category: OpenCV

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

OpenCV #002 Read, Write and Display Video

Digital Image Processing using OpenCV (Python & C++) Highlight: In this blog post we will explain how to read, display and save videos using OpenCV. We will give a code both in Python and C++. Tutorial Overview: Reading a video (Python & C++) Displaying a video (Python & C++) Saving a video (Python & C++) 1. Reading a video Reading a video frame and displaying it, is not as difficult, as one might think. Using…
Read more

OpenCV #001 Manipulating Image Pixels

Digital Image Processing using OpenCV (Python & C++) Highlight: In this blog post, we will give an overview of what a pixel is, how a computer understands it and how pixels can be accessed and manipulated using OpenCV. Tutorial Overview: What’s a Pixel? Coordinate System in an Image. Pixel access and manipulation in Python Pixel access and manipulation in C++ 1. What’s a Pixel? When we talk about video files, we are mainly concerned with…
Read more

CamCal #001 Perspective Projection

Highlights: In this post we will continue an exploration of the projection modeling. The basic modeling equations will be written in the matrix form. New concepts, such as vanishing points and parallel lines in images will be explained. Tutorial Overview: Perspective imaging – matrix equations How do parallel lines in 3D world behave in the image? What is a vanishing point? 1. Perspective imaging – matrix equations Let’s start with the perspective projection model equations.…
Read more