Like Blue and Bat said, the speed you'd need for a live feed and the calculations for color in real time would be better suited in c .
If it doesn't have to be live capture, you could save the file as an avi. You could load the avi into DB and attempt to draw your dot map while it is playing - however, DB would be a bit slow. I was able to simulate this by capturing the playing avi as an image,
pasting the image and then using the mouse coordinates and the point command to read the color under the mouse. A little clunky but it worked.
Another method if it doesn't have to be live capture, if you can save your video file as an avi or something or even as a series of jpegs (there are many utilities to break the captured video into a series of jpegs) you could load each jpeg into DB and then map the dot chart according to color with something as simple as the point command (though point is EXTREMELY slow - memblocks would be faster). You then have to reconstitute the jpegs into an avi.
Also depending on how hard you want to accomplish this, you may be able to use a twain dll or create you own that can be called from DB for the live streaming. The slow part again would be managing the dot chart live in DB.
Enjoy your day.