Archived from groups: rec.video.desktop (
More info?)
"Richard Crowley" <rcrowley7@xprt.net> wrote in message
news:10rsubmntluvh66@corp.supernews.com...
> <braintest@gmail.com> wrote ...
> > After a quick google search, it looks like this forum is the most
> > appropriate place to ask. I would like to know if most webcams use
> > overlay.
> >
> > I was planning to paint a purple rectangle in a MatLab window (doesn't
> > mater what MatLab is, it could be Photoshop) and was wondering whether
> > I would see the video captured with a webcam.
>
> I have no idea what you are asking here (and likely others don't,
> either). Try it again from the top with a bit more detail.
>
> In particular define what YOU mean by "overlay", and what a
> purple rectangle has to do with anything. And what do you mean
> by "captured with a webcam"?
If the cam uses overlays then the purple (magenta) rectangle is the colorkey
for the video. I.E. anything that is the colorkey color allows the video to
show through. The details of his implementation are unimportant except to
answer the question
. It's hard to know because every application can do
things differently. And since we don't know what application he is using
it's difficult to answer the question with anything but... try it yourself
and find out.
The overlay is a special video surface apart from the primary video that you
normally see. It can be sized and moved like a window. It is seen whenever
the primary surface is painted with the colorkey. The webcam itself doesn't
use the overlay plane. The software that is running the webcam does. With
directx you have VMR (Video Mixing Renderer) which can mix multiple video
images and paint them on the primary surface. That would be a case of not
using overlays. Overlays are typically limited to a single video.