On 15 January 2012 15:48, Alessandro Gallo <ales.ga...@gmail.com> wrote:
> I'm a new Octave user, I tried to use the function iradon in the image
> package.
>
> There was an error when you choose the Hann filter for the filtered back
> projection.
> I solved the problem changing the 127 th line code in the rho_filter.m file.
>
> before
> -------------
> elseif (strcmpi (type, 'hann'))
> filt = fftshift (hann (length (rho)));
>
>
> after
> -------------
> elseif (strcmpi (type, 'hann'))
> filt = fftshift (hanning (length (rho)));
>
>
> the hann function doesn't exists in the image package.
>
>
> I hope this is an useful information.
> Regards
> Ale

Hi Alessandro,

hann() is in the signal package which is a dependency of the image
package. You should have signal installed unless you installed image
with the -nodeps flag (or you're using a very old version of the
signal package). However, hann() is nothing more than a wrapper for
hanning() which is in core so I commit this change.

Thank you,
Carnë

------------------------------------------------------------------------------
Try before you buy = See our experts in action!
The most comprehensive online learning library for Microsoft developers
is just $99.99! Visual Studio, SharePoint, SQL - plus HTML5, CSS3, MVC3,
Metro Style Apps, more. Free future releases when you subscribe now!
http://p.sf.net/sfu/learndevnow-dev2
_______________________________________________
Octave-dev mailing list
Octave-dev@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/octave-dev

Reply via email to