用C#处理图像 [英] Processing Image in C#

查看:124
本文介绍了用C#处理图像的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

大家好!

在Matlab中:

hello everybody!

In Matlab :

gaussian1=fspecial('gaussian',size1,sigma1);

num=IM-imfilter(IM,gaussian1);


我不知道函数fspecial(''gaussian'',size1,sigma1)吗?

和高斯分布?

如果我在C#中使用Afore:gausianBlur(size1,sigma1)

结果不一样

和代码C#等效于fspecial(''gaussian'',size1,sigma1)?
非常感谢!

对不起,我的英语不好!


I don''t knows function fspecial(''gaussian'',size1,sigma1) ?

And gaussian distribution?

if I using Afore in C# : gausianBlur(size1,sigma1)

the result is different

and codes C# equivalent to fspecial(''gaussian'',size1,sigma1) ?
thanks so much!

Sorry for my bad English!

推荐答案

高斯模糊的算法完全相同,不同之处在于每种语言和平台的方式.

输出的差异来自每个实现中的舍入误差和参数设置.
The algorithm for Gaussian Blur are all the same, what is different is how they are in each language and platform.

The differences in output arise from rounding errors and parameter settings in each implementation.


这篇关于用C#处理图像的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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