matlab - Image enhancement using edge extraction -


we can extract edge of image in matlab using function edge() question how can recombine edge original image image enhanced edges increase sharpness of image.

what looking exists!

the image filter in question called 'unsharp mask'. uses edge data of image sharpen it. elucidate, in manner of sorts use difference of image , blurred version of , use sharpen image. can read more here.

to use it, following:

>> my_image = imread('lena.jpg'); >> subplot(1,2,1); >> imshow(my_image); >> subplot(1,2,2); >> imshow(imfilter(my_image,fspecial('unsharp'))); 

this yeild:

enter image description here

as can see, second image visibly sharper , done "adding" edge data original image through use of unsharp mask.


Comments

Popular posts from this blog

c# - Send Image in Json : 400 Bad request -

jquery - Fancybox - apply a function to several elements -

An easy way to program an Android keyboard layout app -