I need C++ WinAPI code using DirectShow library which reading web camera usb stream and processing analyze of video samples (each sample time long configured by user) by dividing video from this sample to elements (such as table which have brown-yellow colour different from area with brightness not different to table but different to area) by colour&&brightness and creating red outline of each element before shows sample with this outlines