Skip to content
This repository has been archived by the owner on Jan 25, 2022. It is now read-only.

Commit

Permalink
Browse files Browse the repository at this point in the history
features2d: fix KeyPoint::convert default values
  • Loading branch information
amroamroamro committed Feb 26, 2018
1 parent 55df235 commit 3906426
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
8 changes: 4 additions & 4 deletions +cv/KeyPointsFilter.m
Expand Up @@ -165,12 +165,12 @@
% feature detection algorithm like SIFT/SURF/ORB.
%
% ## Options
% * __Size__ keypoint diameter.
% * __Size__ keypoint diameter. default 1.0
% * __Response__ keypoint detector response on the keypoint (that
% is, strength of the keypoint).
% is, strength of the keypoint). default 1.0
% * __Octave__ pyramid octave in which the keypoint has been
% detected.
% * __ClassId__ object id.
% detected. default 0
% * __ClassId__ object id. default -1
%
% See also: cv.KeyPointsFilter.convertToPoints
%
Expand Down
2 changes: 1 addition & 1 deletion src/+cv/private/KeyPointsFilter_.cpp
Expand Up @@ -88,7 +88,7 @@ void mexFunction(int nlhs, mxArray *plhs[], int nrhs, const mxArray *prhs[])
nargchk(nrhs>=2 && (nrhs%2)==0 && nlhs<=1);
float size = 1.0f;
float response = 1.0f;
int octave = 1;
int octave = 0;
int class_id = -1;
for (int i=2; i<nrhs; i+=2) {
string key(rhs[i].toString());
Expand Down

0 comments on commit 3906426

Please sign in to comment.