フィルターのクリア

How to apply classifier on extracted features?

1 回表示 (過去 30 日間)
Regina N
Regina N 2019 年 2 月 20 日
srcFiles = dir('C:\Users\LENOVO\Desktop\Genuine\2\*.png'); % the folder in which ur images exists
Features = cell(length(srcFiles),1) ;
Valid_points =cell(length(srcFiles),1) ;
for i = 1 : length(srcFiles)
filename = strcat('C:\Users\LENOVO\Desktop\Genuine\2\',srcFiles(i).name);
I1 = rgb2gray(imread(filename));
points1 = detectSURFFeatures(I1); hold on;
strongest = points1.selectStrongest(10);
imshow(I1); hold on;
plot(strongest);
strongest.Location
[features1, interest_points] = extractFeatures(I1, points1);
Features{i} = features1 ;
Valid_points{i} = interest_points ;
figure; imshow(I1);
end
Features;
Valid_points;

回答 (0 件)

カテゴリ

Help Center および File ExchangeImages についてさらに検索

タグ

Community Treasure Hunt

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

Start Hunting!

Translated by