32 double timestamp = rhs[1].toDouble(),
33 segThresh = rhs[2].toDouble();
34 segmentMotion(mhi, segmask, boundingRects, timestamp, segThresh);
37 plhs[1] =
MxArray(boundingRects);
void segmentMotion(InputArray mhi, OutputArray segmask, std::vector< Rect > &boundingRects, double timestamp, double segThresh)
struct mxArray_tag mxArray
Forward declaration for mxArray.
mxArray object wrapper for data conversion and manipulation.
void nargchk(bool cond)
Alias for input/output arguments number check.
void mexFunction(int nlhs, mxArray *plhs[], int nrhs, const mxArray *prhs[])
Main entry called from Matlab.
Global constant definitions.