[Insight-users] Receiving the output of deconvolution filter, pls help!

Pratik Talole pratiktalole at gmail.com
Sun May 20 11:35:48 EDT 2012


Ah!! That did the trick. Thanks a ton Cory.

The only thing that now concerns me though is that there is some error
between the output of matlab and itk.

The error is fluctuating. There is at times even a sign change, but for most
part, the output of ITK is faithful to the output of matlab upto 1 decimal
point.

Heres my matlab code :
x = [1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20]
k = [1 2 3 4 5]
y = deconvwnr(x,k,1.0)  %%%% output = deconvwnr(input, kernel, SNR)

Is it possible to maybe tweak some part of my current ITK implementation so
that the output of ITK matches that of Matlab more closely?

A couple of things I am not sure I should have done :
1) I set normalize to false
2) I set NoiseVariance to 1.0
3) I did something about boundary conditions
  
Regards,
Pratik

--
View this message in context: http://itk-insight-users.2283740.n2.nabble.com/Receiving-the-output-of-deconvolution-filter-pls-help-tp7567771p7568011.html
Sent from the ITK Insight Users mailing list archive at Nabble.com.


More information about the Insight-users mailing list