I can't do region of interest sharping of image why ?
1 次查看(过去 30 天)
显示 更早的评论
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/486068/image.jpeg)
I have a mammogram image. In Left side image, I used roipoly command and drawed that polygon .
and then I sharpened that polygon inside region but image blurred instead of sharpen
What's my mistake in my codes ?
I need that polygon inside region sharpened.
img=imread('image.jpg');
if(size(img,3)>1)
img=rgb2gray(img);
end
mask=roipoly(img);
filt=fspecial('unsharp');
filt_img=roifilt2(filt,img,mask);
figure, imshow(filt_img);
0 个评论
回答(1 个)
另请参阅
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!