));                 }                 else                     mexErrMsgIdAndTxt("mexopencv:error",                         "Unrecognized option %s", key.c_str());             }             //vector<Mat> images(rhs[0].toVector<Mat>());             vector<Mat> images;             {                 vector<MxArray> arr(rhs[0].toVector<MxArray>());                 images.reserve(arr.size());                 for (vector<MxArray>::const_iterator it = arr.begin(); it != arr.end(); ++it)                     images.push_back(it->toMat(CV_0U));             }             