golib  0.5
matlab/mex/videocapture/videocapture.cpp File Reference
#include "mex.h"
#include <govideocapture.h>
#include <gocolourspace.h>

Macros

#define USAGE()
 

Functions

void mexFunction (int nlhs, mxArray *plhs[], int nrhs, const mxArray *prhs[])
 

Detailed Description

This mex module provides a simple video capture function.

Usage
In matlab, call image = videocapture (fd); where fd is a file descriptor from the videocaptureopen mex module.

Macro Definition Documentation

◆ USAGE

#define USAGE ( )
Value:
{\
mexErrMsgTxt ("Usage: [image] = videocapture (file_descriptor)\nCopyright Christian Gosch, all rights reserved."); \
}