Posts tagged Cplusplus
Divide an image into blocks using GDI+ in C++
- 03 Oktober 2020
- 08 April 2022
- Munich
- English
- Image processing
In the previous blog, we used OpenCV to divide an image into multiple blocks of a certain height and width, which is useful when we need to apply a certain image transformation block-wise. This blog will provide an alternative implementation using the Windows API, specifically the GDI+ library.
Divide an image into blocks using OpenCV in C++
- 01 Oktober 2020
- 08 April 2022
- Munich
- English
- Image processing
Often you will need to divide an image into multiple blocks of a certain height and width to apply a certain transformation or would like to compare two images block-wise. This blog will provide a short explanation and a C++ implementation for how to divide an image into multiple blocks with custom height and width.
How to loop over monitors and get their coordinates on Windows in C++?
- 28 September 2020
- 08 April 2022
- Munich
- English
- Image processing
The previous three blogs (Capturing the screen on Windows in C++ using OpenCV & Capturing the screen on Windows in C++ using GDI+ and Comparing screen capturing using GDI+ and OpenCV on Windows in C++) described capturing a screenshot of only one monitor. However, nowadays we often use multiple monitors and capturing the content of all of them or a specific one, two or more. Therefore, we will need to retrieve the coordinates of the targeted monitors. This blog will provide a short explanation and a C++ implementation for how to loop the existing monitors in a multiple monitors setup, get their dimensions and coordinates which can be used later into capturing the monitors content.
Comparing screen capturing using GDI+ and OpenCV on Windows in C++
- 28 Juli 2020
- 08 April 2022
- Munich
- English
- Image processing
To follow up on my last two blogs (Capturing the screen on Windows in C++ using OpenCV & Capturing the screen on Windows in C++ using GDI+ ), we compare in this post both approaches. In order to compare both approaches, we examines their run-times and CPU usages.
Capturing the screen on Windows in C++ using GDI+
- 26 Juli 2020
- 08 April 2022
- Munich
- English
- Image processing
GDI+/ Gdiplus is part of the Win32 API, that helps C/C++ programmers with graphics related tasks on Windows. In this blog, we will be writing a simple algorithm to capture the content of the screen on Windows using Gdiplus in C++.
Capturing the screen on Windows in C++ using OpenCV
- 25 Juli 2020
- 08 April 2022
- Munich
- English
- Image processing
OpenCV is just a great computer vision tool with a wide variety of capabilities, that is available in both C++ and Python. In this first blog about OpenCV, I will be introducing a simple algorithm to capture the content of the screen on Windows using OpenCV in C++.