30 if (rhs[0].isNumeric() || rhs[0].isLogical()) {
33 rhs[0].isUint8() || rhs[0].isLogical() ?
CV_8U :
37 else if (rhs[0].isCell()) {
39 if (!rhs[0].isEmpty() && rhs[0].at<MxArray>(0).isFloat()) {
struct mxArray_tag mxArray
Forward declaration for mxArray.
LIBMWMEX_API_EXTERN_C void mexErrMsgIdAndTxt(const char *identifier, const char *err_msg,...)
Issue formatted error message with corresponding error identifier and return to MATLAB prompt...
mxArray object wrapper for data conversion and manipulation.
void nargchk(bool cond)
Alias for input/output arguments number check.
Global constant definitions.
Rect boundingRect(InputArray points)
void mexFunction(int nlhs, mxArray *plhs[], int nrhs, const mxArray *prhs[])
Main entry called from Matlab.