Click here to Skip to main content
15,886,656 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
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
Posted

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[^]
 
Share this answer
 
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
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900