The Nagao filtering


I’m a real beginner in programming graphical applications with OpenGL.
For one of my new application, I need the Nagao algorithm.
Is there anybody here who could help me by sending me the source code (in C language) ?

Thank you very much

what is the nagao algorithm?

It’s an edge preserving smoothing filter.

Sorry, I dont have sourcecodes for it.