MATLAB Answers

Matlab extract a specified number of features?

1 view (last 30 days)
Hello,
Using the extractFeatures function:
[features1, valid_points1] = extractFeatures(I1, points1);
How can we change it so that the length of features 1 is the same as the length of points1?
E.g. if points1 are 27 coordinates how do we ensure features1 is 27 features?
Thanks in advance : )

  0 Comments

Sign in to comment.

Accepted Answer

Shubham Rawat
Shubham Rawat on 27 Nov 2020
Hi Animesh,
You do not have to change the function, extractFeatures function is taking points as input which is M-by-2 matrix of [x,y] coordinates and output features is an M-by-N matrix of M feature vectors.
For further information you may refer to the documentation page of extract features:
Hope this Helps!

  0 Comments

Sign in to comment.

More Answers (0)

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!