Posts

Showing posts from October, 2011

Static Classes and Static Class Members in C#

Static classes - what are they? In C#, static classes have one important difference to that of non-static classes: they cannot be instantiated. That is, the new operator cannot be used to create an instance of the class type. Since no instance of a static class can exist, its members can only be accessed using the class name itself.

How to Permanently Remove Items in STL Containers

Image
remove - What is does and does not do Like all STL algorithms, remove receives a pair of iterators to identify the range of container elements over which it needs to operate, as shown in its declaration: [code language="cpp"] template< class ForwardIterator, class T > ForwardIterator remove( ForwardIterator first, ForwardIterator last, const T& value ); [/code]

Tracking Colored Objects in Video using OpenCV and cvBlobsLib

Image
As a newcomer to image processing, I have attempted to achieve the tracking of coloured objects in some sample video footage . In my case, my little one’s blue gloves moving in a snow-covered landscape (a bitterly cold Musselburgh allotments , December 2010).