Interface to Meteor1 frame grabber
This adds a new
virtual file @METEOR1
which can be used to access matrox's meteor 1 frame grabber. In order to
use this interface you must have the driver installed, it can be found at
http://home.att.net/~marksu/meteorman.html.
NOTE: To use the Video4Linux driver you must include the library RavlImgIOMeteor1 in your USESLIBS
line of the defs.mk
The following code can then be used for grabbing a single image
(See Ravl.Core.IO):
ImageC<ByteYUVValueC> x;
Load("@METEOR1:/dev/meteor0", x);
or a seqence (See Ravl.OS.Sequence)
DPIPortC<ImageC<ByteYUVValueC> > in;
if(!OpenISequence(in,"@METEOR1:/dev/meteor0")) {
// Failed to open input file.
// Report an error...
}
ImageC<ByteYUVValueC> value;
while(in.Get(value)) {
// Process your data...
}
Normal classes:
Advanced classes:
Develop classes: