使用C#的不安全中值过滤器 [英] Unsafe Median filter using C#

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

问题描述

谁能拥有不安全的中值过滤器代码.
我尝试不安全地执行此操作,但是处理800 * 600图像需要很长时间.
谁能帮我解决这个问题....

谢谢

Can anyone have the code of unsafe median filter.
i tried to do it without unsafely but it take long time to process 800* 600 image.
can anyone help me to sole this issue....

thanks

推荐答案

它可能来自于您的实现,而不是不安全/不安全或使用的掩码大小.
800 * 600的图像不是很大.
而且,如果您使用较大的口罩尺寸,它的变化不会太大.

您可以根据需要尝试以下操作:
http://ndevilla.free.fr/median/median.pdf [
It probably comes from your implementation rather than unsafe/safe, or the size of the mask you use.
800*600 for an image is not that big.
And if you use a big mask size, it won''t change much.

You can try this anyway if you want:
http://ndevilla.free.fr/median/median.pdf[^]


阅读文章! />
http://www.codeproject.com/KB/cs/Canny_Edge_Detection.aspx


使用不安全的代码,图像为红色.我们得到一个图像的二维数组.这个数组可以用普通的中值滤波算法处理! 问候,
Vinayak Bharadi
Read the article!!!

http://www.codeproject.com/KB/cs/Canny_Edge_Detection.aspx


The Image is red using unsafe code. We get a 2d array for an image . This array can be processed by normal median filtering algorithm!!
Regards,
Vinayak Bharadi


这篇关于使用C#的不安全中值过滤器的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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