:ָȨ͵ģ

ʽ:
ImageFilterMatrix(n,R,a,k,tz,tf)
ImageFilterMatrix(n,R,a,k,tz)
ImageFilterMatrix(n,R,a,k)
ImageFilterMatrix(n,R,a)
ImageFilterMatrix(n,R)
ImageFilterMatrix(n)

n:Ľ,Ϊ2
R:һ(0,1)֮ڰ뾶,ĬΪ0.81
a:ӦĲa,ĬΪ2.ɲο˵
k:ĵԪصļȨϵ,ĬΪ1ֵԽڵռԽ
tz:ָʾĵıʶ,Ϊ1ʾȡ,ȡ
tf:,ĬΪ1.ɲο˵.

˵:

1ִϷһn׷

2tfӦ

tf=1, f(r)=(1-r)^a 
tf=2, r<a,f(r)= 1+(0.1-1)*r/a ; ra,f(r)=0.1*(1-r)/(1-a)  //עѡʱ,aֵ(0,1)֮ 
tf=3, f(r)=4/(3-exp(1-r^a)) 
tf=4, f(r)=sin((1-r)^a) 
tf=5, f(r)=sin(1-r)^a 

:
//ʾȡͼƬ,ִ´뽫һѡͼƬĶԻȻѡ񱣴ͼƬĶԻ

b = {ImageImport<\ImageImport>}();//ͼƬ
b = {ImageToGray<\ImageToGray>}(b);//תҶͼ
w = imagefiltermatrix(5,0.9,2,1,0,1);//ñ
d = {ImageFilter<\ImageFilter>}(b,w);//˲
{ImageExport<\ImageExport>}(d);//ȡͼƬ