how to set paramaters in fspecial and deconvmnr command?

My hometask is deblurring a graph using wiener filter. first, I defined a ponit spread function. like this: PSF = fspecial('motion',LEN,THETA) My question is,how do I know the best valure of LEN and THETA? moreover, how do I decide to use motion filter or average or guassian filter? Do I need to do some calculation of the oringal photo or not?

Answers (1)

The best one is the one that gives you the output image you are happiest with. There is no magical way to know what that is unless you somehow know in advance what your "perfect" image looks like.

Asked:

on 11 Jun 2013

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!