ocvStructToKeyPoints
Convert MATLAB feature points struct to OpenCV
KeyPoint vector
C++ Syntax
#include "opencvmex.hpp"
void ocvStructToKeyPoints(const
mxArray * in,cv::vector<cv::KeyPoint> &keypoints);
Arguments
inPointer to a MATLAB® structure,
mxArray, that represents a point feature. Format:Field Name Field Requirement Field Data Type LocationRequired Single ScaleRequired Single MetricRequired Single OrientationOptional Single OctaveOptional int32 MiscOptional int32
Description
The ocvStructToKeyPoints function
converts a point feature data structure from a
MATLAB struct to an OpenCV's KeyPoint
vector.
See Also
mxArray, ocvKeyPointsToStruct, C Matrix API, Write C Functions Callable from MATLAB (MEX Files)
Version History
Introduced in R2015a