说说Unsharp masking,一个容易让人误解的名字

Sharpening
Sharpness is the contrast between different colors. A quick transition from black to white looks sharp. A gradual transition from black to gray to white looks blurry. Sharpening images increases the contrast along the edges where different colors meet.

Unsharp masking
The unsharp masking technique comes from a publishing industry process in which an image is sharpened by subtracting a blurred (unsharp) version of the image from itself. Do not be confused by the name of this filter: an unsharp filter is an operator used to sharpen an image.

如同前缀码这个词,明明是非前缀码,偏要叫前缀码。
在这里插入图片描述

Sharpen Image
Read an image into the workspace and display it.

a = imread('D:/MATLAB WORK/DIP/Images/kingfisher2.png');
imshow(a)
title('Original Image');

Sharpen the image using the imsharpen function and display it.

b = imsharpen(a);
figure, imshow(b)
title('Sharpened Image');

在这里插入图片描述
在这里插入图片描述
Tips
If A is a truecolor (RGB) image, then imsharpen converts the image to the Lab* color space, applies sharpening to the L* channel only, and then converts the image back to the RGB color space before returning it as the output image B.

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值