Click here to Skip to main content
15,892,480 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
hello everybody!

In Matlab :
C#
gaussian1=fspecial('gaussian',size1,sigma1);

num=IM-imfilter(IM,gaussian1);

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!
Posted
Updated 1-Oct-11 19:32pm
v2

1 solution

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.
 
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