Some time ago I came across Pedro F. Felzenszwalb website, a image/video segmentation method he proposed in his paper “Efficient Graph-Based Image Segmentation”. Finally I could find some time to jot down an implementation of DirectShow filter to see the method live. It all look like this:
The method is simple and I believe that it would not take a lot of time to make necessary code coptimization to have it running fast. However, I am a bit disappointed as I expected a better accuracy. The DirectShow filter is connecting as shown below:
The implementation of the filter is available for download: VideoAnalysis.dll, version 1.0.0.332, note DirectX 9 is required. To install, copy DLL into your system and register as COM sever (ie. rundll32 VideoanAlysis.dll,DllRegisterServer from command line). To uninstall, deregister and delete the file.
Keywords: video, image, analysis, segmentation, DirectX, DirectShow, DMO, ATL, WTL