Filter löschen
Filter löschen

Info

Diese Frage ist geschlossen. Öffnen Sie sie erneut, um sie zu bearbeiten oder zu beantworten.

how to get the feature vector after extracting MSERFeature of multiple images.

1 Ansicht (letzte 30 Tage)
Tehmina Kakar
Tehmina Kakar am 7 Jul. 2018
Geschlossen: MATLAB Answer Bot am 20 Aug. 2021
How can i get the feature vector after detecting the feature ( MSERFeature). I'm using the following code.
close all; clear variable; clc;
dbstop if error
dirData = dir('F:\MATLAB\R2017a\bin\Project\project\pashto\actual proj\New folder\proo\Numbers\*.bmp');
for k = 1:length(dirData)
%%read no. of images from folder
filename = dirData(k).name;
im1 = im2single(im2bw(imread(filename)));
%%Detect the MSERF Features
points1 = detectMSERFeatures(im1);
%%Extract the MSERF Features
[features2, valid_points1] = extractFeatures(im1, points1);
figure; imshow(im1); hold on;
plot(valid_points1.selectStrongest(10),'showOrientation',true);
end
Now, i have to get the feature vector for classification purpose. Also, can I use the manual feature vector? What is the difference between them.
featureVector = [theMean, area, perimeter, stdDev];
Please tell me if i'm wrong or ive any other suggestion.

Antworten (0)

Diese Frage ist geschlossen.

Community Treasure Hunt

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

Start Hunting!

Translated by