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.

ocvKeyPointsToStruct

Convert OpenCV KeyPoint vector to MATLAB struct

C++ Syntax

#include "opencvmex.hpp"
mxArray *ocvKeyPointsToStruct(cv::vector<cv::KeyPoint> &in);

Arguments

in

Reference to an OpenCV's KeyPoint vector.

Returns

Pointer to a MATLAB® structure mxArray that represents a point feature.

Format:

Field NameField RequirementField Data Type
LocationRequiredSingle
ScaleRequiredSingle
MetricRequiredSingle
OrientationOptionalSingle
OctaveOptionalint32
MiscOptionalint32

Description

The ocvKeyPointsToStruct function converts a point feature data structure from an OpenCV KeyPoint vector to a MATLAB struct.

Introduced in R2015a