blImageAPI — Take the negative of an opencv image, no matter what the depth is

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

Introduction I have created the blImageAPI to make life easier when it comes to programming images and videos. In this article I present a couple of functions that make it a snap to take the negative of an image, no matter what its depth or number of channels are. In…

Continue reading

blImageAPI — separate an opencv image into its individual channels

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

Introduction I have created the blImageAPI to make life easier when it comes to programming images and videos. In this article I present a couple of functions that make it a snap to play with image channels. In the end, you’ll be able to do the following: How do I…

Continue reading

blImageOperators — Overloaded operators and functions to use blImage as a generic matrix in c++

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

Introduction blImage makes working with images in OpenCV a snap.  Automatic garbage collection, automatic type conversion and 100% compatibility with opencv algorithms, all that accomplished with the help of boost::shared_ptr and template meta-programming. Now, to expand its usefulness and applicability, in this post I present a collection of overloaded operators…

Continue reading