37 int rotateCode =
RotateMap[rhs[1].toString()];
38 rotate(src, dst, rotateCode);
void mexFunction(int nlhs, mxArray *plhs[], int nrhs, const mxArray *prhs[])
Main entry called from Matlab.
const ConstMap< string, int > RotateMap
Rotation codes.
struct mxArray_tag mxArray
Forward declaration for mxArray.
ROTATE_90_COUNTERCLOCKWISE
mxArray object wrapper for data conversion and manipulation.
void nargchk(bool cond)
Alias for input/output arguments number check.
Global constant definitions.
std::map wrapper with one-line initialization and lookup method.