how can compute the frequency of given gray scale image?...

6 ビュー (過去 30 日間)
sumi
sumi 2014 年 3 月 19 日
コメント済み: sumi 2014 年 3 月 20 日
I am using biomodality detection algorithm. In that algorithm using d frequency of gray image..
n_s=freqz2(Ps);
i am using this coding.. but i got 64x64 matrix.. i want one output from this coding..

回答 (1 件)

Margreet
Margreet 2014 年 3 月 19 日
[H, f1, f2] = freqz2(h, n1, n2) returns H, the n2-by-n1 frequency response of h, and the frequency vectors f1 (of length n1) and f2 (of length n2). h is a two-dimensional FIR filter, in the form of a computational molecule. f1 and f2 are returned as normalized frequencies in the range -1.0 to 1.0, where 1.0 corresponds to half the sampling frequency, or π radians.
So if you put n1 = 1 and n2= 1, you should get a 1-by-1 frequency response H. Hope that helps.
  1 件のコメント
sumi
sumi 2014 年 3 月 20 日
thank u so much for ur reply...

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

カテゴリ

Help Center および File ExchangeDigital Filter Design についてさらに検索

Community Treasure Hunt

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

Start Hunting!

Translated by