MexVision (Obsolete)

MexVision is a matlab interface to the XVision2 visual tracking libraries. MexVision connects to XVision through pvm, so pvm must be running.
MexVision commands are invoked using the matlab function MexVision('command',p1,p2,...) where p1..pn are the parameters required for the command.

Using MexVision to capture images:

The tracker we will be using is the "SSD1" (Sum of Squared Differences) 2DOF tracker.

More MexVision Commands

When something doesn't work

If you get an error message "no camera found" in coriander, or MexVision will not work one of the following can help:

How does MexVision interface with XVision?

MexVision runs as a distributed software using the "pvm - Parallel Virtual Machine " system. When you initialize it pvm will spawn a "mexv2" process (you can see this using "ps" either in the pvm console or at ther command prompt). The mexv2 process has a thread which handles the real time video, image capture and tracking independently of matlab.
The structure is illustrated below: