Matlab extract a specified number of features?

2 次查看(过去 30 天)
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 : )
  1 个评论
Vigneshwaran B
Vigneshwaran B 2022-2-25
How can extract two distinct features like food features and ingredients from the given input image?

请先登录,再进行评论。

采纳的回答

Shubham Rawat
Shubham Rawat 2020-11-27
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 个)

类别

Help CenterFile Exchange 中查找有关 Computer Vision Toolbox 的更多信息

产品


版本

R2020b

Community Treasure Hunt

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

Start Hunting!

Translated by