19 void mexFunction(
int nlhs, mxArray *plhs[],
int nrhs,
const mxArray *prhs[])
25 vector<MxArray> rhs(prhs, prhs+nrhs);
28 Point2f center(rhs[0].toPoint2f());
29 double angle = rhs[1].toDouble(),
30 scale = rhs[2].toDouble();
31 Mat M = getRotationMatrix2D(center, angle, scale);
void mexFunction(int nlhs, mxArray *plhs[], int nrhs, const mxArray *prhs[])
Main entry called from Matlab.
mxArray object wrapper for data conversion and manipulation.
void nargchk(bool cond)
Alias for input/ouput arguments number check.
Global constant definitions.