figure,
imshow(x);
fR=xx(:,:,1);%R分量
fG=xx(:,:,2);%G分量
fB=xx(:,:,3);%B分量
f=1/9*ones(3);%低通滤波器,滤除高频噪声
filtered_fR...=imfilter(fR,f);
filtered_fG=imfilter(fG,f);
filtered_fB=imfilter(fB,f);
x_filtered=cat(3,filtered_fR...,filtered_fG,filtered_fB);
figure,
imshow(x_filtered);
?