DirectShow Sample Application: Blob Counting

The BlobCounter sample appliaction demonstrates the usage of the MV BlobCounter filter.

This and other sample applications can be found in the MV Development Kit installation directory. 

Filter Graph Summary  

The filter graph utilizes the MV Image File Source filter as source. The MV Blob Counter filter recognizes blobs within the selected image and calculates some blob properties. The two video renderers show the original image and the image with the marked blobs.

The Application

The application contains two MV Smart Controls used to display the video outputs of the filter graph. The "Load Image" button opens a file dialog for the selection of an image. The application lists the center coordinates of all recognized blobs in a control window. Click on the "Blob Counter Properties" button to change the properties of the  MV Blob Counter filter and press the "Update" button in order to update the blob positions.