19 void mexFunction(
int nlhs, mxArray *plhs[],
int nrhs,
const mxArray *prhs[])
25 vector<MxArray> rhs(prhs, prhs+nrhs);
28 Mat src(rhs[0].toMat(rhs[0].isSingle() ? CV_32F : CV_64F)),
29 mtx(rhs[1].toMat(CV_64F)),
31 transform(src, dst, mtx);
mxArray object wrapper for data conversion and manipulation.
void nargchk(bool cond)
Alias for input/ouput arguments number check.
Global constant definitions.