Documentation

This is machine translation

Translated by Microsoft
Mouseover text to see original. Click the button below to return to the English verison of the page.

Note: This page has been translated by MathWorks. Please click here
To view all translated materals including this page, select Japan from the country navigator on the bottom of this page.

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.

See Also

C Matrix Library API (MATLAB), C MEX Files (MATLAB)

Introduced in R2015a