Borrar filtros
Borrar filtros

How to apply classifier on extracted features?

1 visualización (últimos 30 días)
Regina N
Regina N el 20 de Feb. de 2019
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;

Respuestas (0)

Categorías

Más información sobre Images en Help Center y File Exchange.

Etiquetas

Community Treasure Hunt

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

Start Hunting!

Translated by