i applied 'unsharp' for sharpening: code worked, but it did not give that good result

조회 수: 3 (최근 30일)
i have an image of some face. in that image, human faces are quite blurred. so i applied this code for sharpening the image, it did not help that much. i applied this code, but it appeared that some small noise has been created and the image is not really sharp.
this is the code
image = 'exp.bmp';
k = imread(image);
imshow(k);
drawnow();
k1= fspecial('unsharp');
I = imfilter(k,k1,'same');
imshow(I);
drawnow()
please let me know if there is problem in my code or if there is any good alternative for sharpening images.

채택된 답변

Image Analyst
Image Analyst 2013년 3월 24일
Not sure what you expect. It will steepen existing edges but it can't invent information. It can't get you information that wasn't there in the original image. Where did you post your images? (Try http://snag.gy)
  댓글 수: 1
Sat m
Sat m 2013년 3월 24일
i did not post the image as it had some face of my friends on it. but i understand..thank you...

댓글을 달려면 로그인하십시오.

추가 답변 (0개)

카테고리

Help CenterFile Exchange에서 Images에 대해 자세히 알아보기

제품

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by