[SciPy-Dev] sum_angle() and sum_polar() functions

Stéfan van der Walt stefan at sun.ac.za
Wed May 23 19:41:42 EDT 2012


On Mon, May 21, 2012 at 1:06 AM, Robert Jördens <jordens at gmail.com> wrote:
> On Mon, May 21, 2012 at 1:16 AM, Ralf Gommers
> <ralf.gommers at googlemail.com> wrote:
>> Could you time the scikits-image version, it's not obvious from reading the
>> code that it will be very slow?
>
> In [47]: from scipy.misc.pilutil import radon as scipy_radon
> In [50]: from skimage.transform import radon as scikits_radon

Looking at this again, I don't think the comparison is accurate.  The
skimage version of the radon transform does linear interpolation,
whereas sum_angle uses the nearest neighbor.

Stéfan



More information about the SciPy-Dev mailing list