www.gusucode.com > images 案例代码 matlab源码程序 > images/ControlTheAmountOfSharpeningAtTheEdgesExample.m

    %% Control the Amount of Sharpening at the Edges
% 
%%
% Read an image into the workspace and display it.
a = imread('rice.png');
imshow(a), title('Original Image');
%%
% Sharpen image, specifying the |radius| and |amount| parameters. 
b = imsharpen(a,'Radius',2,'Amount',1);
figure, imshow(b)
title('Sharpened Image');