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