Gabor filter

バージョン 1.3.0.0 (65.4 KB) 作成者: Gao Yang
Generates Gabor filters using bandwidth, aspect ratio, phase, wavelength and angle as parameters.
ダウンロード: 19.7K
更新 2010/11/17

ライセンスの表示

#5237 implements a Gabor filter for image processing. From the comments and through my own use, the implementation seems to have limited freedom, and also the variances are defined in the original x,y instead of the rotated x', y' directions.

The code is a modified version based on http://en.wikipedia.org/wiki/Gabor_filter following the conventions and parameters used in http://matlabserver.cs.rug.nl/edgedetectionweb/web/edgedetection_params.html.

The function accepts scalar inputs only, and each call generates one filter. The filter generated is always real. Should you wish to build a complex Gabor filter, you may use (0 phase) + j(pi/2 phase). Filtering can be performed using conv2( ) or imfilter( ).

An example file is included, which mimics the behavior of http://matlabserver.cs.rug.nl/edgedetectionweb/web/index.html at default settings with Lena.jpg image as input. Note that the scaling of numbers is different from the web-app, but consistent with the formulae in http://matlabserver.cs.rug.nl/edgedetectionweb/web/edgedetection_params.html

Update 18-Nov-2010: Thanks to Rachel (see comment below), I have corrected a mistake in the example file. The results are unchanged though. Also, the cs.rug.nl website seems offline.

引用

Gao Yang (2026). Gabor filter (https://jp.mathworks.com/matlabcentral/fileexchange/23253-gabor-filter), MATLAB Central File Exchange. 取得日: .

MATLAB リリースの互換性
作成: R2007a
すべてのリリースと互換性あり
プラットフォームの互換性
Windows macOS Linux
謝辞

ヒントを与えたファイル: 2D and 3D Gabor Filter Creators

バージョン 公開済み リリース ノート
1.3.0.0

Corrected procedures in the example file. Results are the same but the principle is more generally applicable.

1.1.0.0

Added an example file to mimic the behavior of a known web-app and to demonstrate the usage of the function.

1.0.0.0