Convert 2-element mxArray
to cv::Size
.
#include "opencvmex.hpp"
cv::Size
ocvMxArrayToSize_single(const mxArray * in, bool rcInput = true);
cv::Size ocvMxArrayToSize_int32(const mxArray * in, bool
rcInput = true);
OpenCV cv::Size
The ocvMxArrayToSize_{DataType}
function
converts a 2-element mxArray
to cv::Size
.
Empty input ([]
) returns cv::Size(0,0)
;