what should be the parameter(sigma,lambda,psi,gamma,theta)values in gabor program ?
조회 수: 1 (최근 30일)
이전 댓글 표시
clc; clear all; close all; I=imread('katrina.jpg'); I=rgb2gray(I); I=imresize(I,[64 64],'bilinear'); [N N]=size(I) imshow(I) I=im2double(I); sigma=input('Enter the value of sigma '); psi=input('Enter the value of psi '); gamma=input('Enter the value of gamma '); n1=input('Enter the number of lambda you want to take '); lambda=input('Enter the different values of lambda '); n2=input('Enter the number of theta you want to take '); theta=input('Enter the different values of theta'); for i=1:n1 l=lambda(i); figure for j=1:n2 t=theta(j); g1=gabor_fn(sigma,t,l,psi,gamma); display('value of lambda');display(l); display('value of theta ');display(t); display('output of gabor filter will be');display(g1); % figure subplot(1,n2,j); GT=conv2(I,double(g1),'same') imshow(GT); end end
댓글 수: 0
답변 (1개)
chitresh
2013년 12월 2일
lambda default value is 2 that is wavelength.
bw = 1 default bandwidth.
theta = 0 to 360 degree any thing u can choose
phase offset = -180 to 180
gamma = .5 default , 1 for circular and less than 1 orientation of the parallel strips
it you get your answer plz accept it
댓글 수: 0
참고 항목
카테고리
Help Center 및 File Exchange에서 Gamma Functions에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!