Main Content

ocvMxArrayFromPoints2f

Converts vector<cv::Point2f> to mxArray

C++ Syntax

#include "opencvmex.hpp"
mxArray *ocvMxArrayFromPoints2f(const std::vector<cv::Point2f> &points);

Arguments

points

Reference to OpenCV vector<cv::Point2f>.

Returns

Pointer to a MATLAB® mxArray.

Description

The ocvMxArrayFromPoints2f function converts std::vector<cv::Point2f> to an mxArray.

Version History

Introduced in R2015a