Feature Vector of Matlab's Gabor Built in Function

1 回表示 (過去 30 日間)
Angga Lisdiyanto
Angga Lisdiyanto 2016 年 1 月 19 日
編集済み: Angga Lisdiyanto 2016 年 1 月 19 日
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.

回答 (1 件)

Walter Roberson
Walter Roberson 2016 年 1 月 19 日
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 件のコメント
Angga Lisdiyanto
Angga Lisdiyanto 2016 年 1 月 19 日
Thanks, i edited my question on Edit #1.

サインインしてコメントする。

カテゴリ

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

製品

Community Treasure Hunt

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

Start Hunting!

Translated by