blITeratorAPI — Custom iterators in c++11 made easy

What is this? This header-only-library provides a set of classes that allow a programmer to easily create custom iterators and/or custom buffers like the boost circular buffer here: Where do I get it and how do I install it? You can get the library on github here, download and unzip.…

Continue reading

blImageSerialization — Simple functions to serialize/unserialize an IplImage using opencv

This entry is part 17 of 17 in the series blImageAPI -- BarbatoLabs Image API

Introduction Whenever working with any type of data, especially images or videos, we usually run into the need of having to save the data to then load it back up for later use. The images can either be saved in binary format or text format.  The process of saving/loading data…

Continue reading

blEncodeAndDecode — Simple functions to encode and decode images in memory using OpenCV without having to save/read to disk

This entry is part 16 of 17 in the series blImageAPI -- BarbatoLabs Image API

Introduction I have seen many of these questions pop up everywhere on the web, like this stackoverflow.com question. But as it turns out, there are two very easy to use functions in opencv that allow us to encode/decode to/from several formats such as jpeg, png, pxm and many more. In…

Continue reading

blVideoThread2 — Another way to capture video using opencv in a parallel thread

This entry is part 15 of 17 in the series blImageAPI -- BarbatoLabs Image API

Introduction Just as I mentioned in my previous blVideoThread article, when capturing video, our programs can be limited by the slow speeds of the capturing hardware.  One way around this, is to obviously separate the capturing process from the main program flow. In this very short article I derive from…

Continue reading

blVideoThread — A simple class to capture video using opencv in a parallel thread

This entry is part 14 of 17 in the series blImageAPI -- BarbatoLabs Image API

Introduction This is a super short post about a simple class I made to capture video in a parallel thread. Usually, the problem is that the video capturing hardware, like webcams, is limited to thirty frames per second. If we were to capture video in series with the main program,…

Continue reading

blSignalProcessing — Fast Fourier Transforms and signal processing using OpenCV

This entry is part 13 of 17 in the series blImageAPI -- BarbatoLabs Image API

Introduction Signal processing is the technical area that deals with encoding/decoding information into/from discrete or continuous signals of any kind. Signals of interest could be coming from images, sounds, mechanical motion, celestial bodies, bacterial systems, or just about anything you can name, thus making signal processing a very important field…

Continue reading

Using OpenCV 2.2 within QTCreator in Windows

UPDATE:  If you’re trying to compile opencv look at this article. This is an update to my “Using OpenCV within QTCreator in Windows” post, that will show you how to quickly setup OpenCV 2.2 for QTCreator in Windows. (This of course will work for any IDE, not just QTCreator). So, let’s get down…

Continue reading