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 CenterFile Exchange에서 Image Data Workflows에 대해 자세히 알아보기

태그

Community Treasure Hunt

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

Start Hunting!

Translated by