Effacer les filtres
Effacer les filtres

Feature Vector of Matlab's Gabor Built in Function

1 vue (au cours des 30 derniers jours)
Angga Lisdiyanto
Angga Lisdiyanto le 19 Jan 2016
I was create a Bank of Gabor with gabor function and using it for imgaborfilt function.
These function is Matlab R2015b's built in function.
What i am asking for is, how to get feature vector?
Is the result of imgaborfilt is feature vector?
I think, the result of imgaborfilt is just convolution between image with Gabor's bank.
Is the Gabor feature vector algorithm are smiliar like this?
jumlah_bank = length(gaborArray);
for i = 1:jumlah_bank
subplot(4,2,i)
hasil_gabor{i} = gaborMag(:,:,i); % Convolution between image with each bank Gabor
imshow(gaborMag(:,:,i),[]);
theta = gaborArray(i).Orientation;
lambda = gaborArray(i).Wavelength;
title(sprintf('Orientation=%d, Wavelength=%d',theta,lambda));
featureVector = [];
for a = 1:jumlah_bank
gaborAbs = sum(abs(gaborMag(:,i)), 2); % sum all matrix elements in each rows
gaborAbs = gaborAbs(:);
% Normalized to zero mean and unit variance.
gaborAbs = ((gaborAbs-mean(gaborAbs))/(4.*std(gaborAbs,1))) + 0.5; % feature vector equation from Moftah Elzobi et al
featureVector = [featureVector; gaborAbs];
end
end
The feature vector algorithm above is inspired from Moftah Elzobi's et al paper : Gabor Wavelet Recognition Approach for Off-Line Handwritten Arabic Using Explicit Segmentation
Thanks in advance.
Edit #1
From Mr. Walter Roberson's explanation, i would to explain what for is this feature vector. The purpose is for get feature vector of word's handwritting. The handwritten text is very ugly or very hard to read (i.e Doctor's handwritting text). I need a Gabor feature vector algorithm for each Doctor's word segmented handwritting text.

Réponses (1)

Walter Roberson
Walter Roberson le 19 Jan 2016
Every function that calculates an scalar or vector output from an input, is a function that creates a feature vector. The problem is not in creating feature vectors, the problem is in finding useful feature vectors.
  1 commentaire
Angga Lisdiyanto
Angga Lisdiyanto le 19 Jan 2016
Thanks, i edited my question on Edit #1.

Connectez-vous pour commenter.

Catégories

En savoir plus sur Wavelet Toolbox dans Help Center et File Exchange

Produits

Community Treasure Hunt

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

Start Hunting!

Translated by