1. 程式人生 > >【原始碼】Gabor特徵提取——採用自定義的Gabor濾波器組提取影象特徵

【原始碼】Gabor特徵提取——採用自定義的Gabor濾波器組提取影象特徵

第一個名為“gaborFilterBank.m”的函式生成一個自定義的Gabor濾波器組。

The first function named “gaborFilterBank.m” generates a custom-sized Gabor filter bank.

它建立了一個u乘v的單元陣列,其元素為M乘N矩陣;每個矩陣都是一個二維Gabor濾波器。

It creates a u by v cell array, whose elements are m by n matrices; each matrix being a 2-D Gabor filter.

第二個名為“gaborFeatures.m”的函式提取輸入影象的Gabor特徵。

The second function named “gaborFeatures.m” extracts the Gabor features of an input image.

它建立一個列向量,由輸入影象的Gabor特徵組成。

It creates a column vector, consisting of the Gabor features of the input image.

將特徵向量歸一化為零均值和單位方差。

The feature vectors are normalized to zero mean and unit variance.

在每個檔案的末尾都有一個顯示部分,用於繪製濾波器並顯示過濾後的影象。

At the end of each file there is a Show section that plots the filters and shows the filtered images.

本程式碼依據的參考文獻:

M. Haghighat, S. Zonouz, M. Abdel-Mottaleb, “CloudID: Trustworthy cloud-based and cross-enterprise biometric identification,” Expert Systems with Applications, vol. 42, no. 21, pp. 7905-7916, 2015.

作者:© Mohammad Haghighat, University of Miami

[email protected]

原始碼下載地址:

http://page5.dfpan.com/fs/6lcja22122912615a22/

更多精彩文章請關注微訊號:在這裡插入圖片描述