Photoshop的Surface Blur如何工作? [英] How does Photoshop's Surface Blur work ?

查看:235
本文介绍了Photoshop的Surface Blur如何工作?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我在用C#进行图像处理方面做过很多不同的事情,我知道如何进行边缘检测,高斯模糊和许多其他事情,但现在我受此困扰...

我尝试了不同的方法来使它靠近,但它没有表面模糊.

表面模糊:在保留边缘的同时模糊图像.该滤镜可用于创建特殊效果并消除噪点或颗粒感.半径选项指定为模糊采样的区域的大小. 阈值"选项控制在成为模糊的一部分之前,相邻像素的色调值必须偏离中心像素值多少.从模糊中排除色调值差小于阈值"的像素.

I have been doing many different stuff in image processing with C# and I know how to do edge detection , Gaussian Blur and many other things but now im stuck with this one...

I have tried different ways to do it and ive gotten close but its not surface blur.

Surface Blur: Blurs an image while preserving edges. This filter is useful for creating special effects and for removing noise or graininess. The Radius option specifies the size of the area sampled for the blur. The Threshold option controls how much the tonal values of neighboring pixels must diverge from the center pixel value before being part of the blur. Pixels with tonal value differences less than the Threshold value are excluded from the blur.

推荐答案

一个摇摇晃晃的人写道:不能严格按照代码来解释它.大致来说,Photoshop会计算图像的低通",找到平坦"颜色的区域(任何不会被视为边缘的区域).它将低通的结果与模糊相乘(可能是高斯型)和主动选择.可以安全地假设radius参数同时适用于低通和模糊,而threshold参数仅影响低通." [
One wag wrote: "Can''t explain it strictly in terms of code. Roughly, Photoshop calculates a ''low pass'' of the image, finding the regions of ''flat'' color (anything that wouldn''t be considered an edge). It multiplies the result of the low pass with a blur (likely Gaussian) and the active selection. It is probably safe to assume that the radius parameter applies to both the low pass and the blur, while the threshold parameter only affects the low pass."[^]

For the technical details (which are far "beyond me"): see:[^].


这篇关于Photoshop的Surface Blur如何工作?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆