[SciPy-dev] moving imread

Sebastian Haase haase at msg.ucsf.edu
Fri Oct 20 12:40:42 CDT 2006


Hi,
keep in mind that in 
ndimage the emphasis in more on the *nd* part than in the *image* part.
Meaning ndimage is (so far) concerned about any-dimensional "image"-algorithms 
-- like segmentation or nd-erosion and so on.
It is not at all about reading jpg-files.

My 2 cents.

-Sebastian Haase



On Friday 20 October 2006 06:50, Stefan van der Walt wrote:
> Hi,
>
> I would like to move 'imread' to a more noticeable place.
> 'scipy.misc.pilutil.imread' is hardly suitable.  It probably belongs
> under 'ndimage', but since it isn't *part of* ndimage, I can't simply
> add it there (in case someone wants to install ndimage on its own).
>
> Then, I thought setup.py would be the place, but I see ndimage is
> imported using
>
>     config.add_subpackage('ndimage')
>
> I guess one could just add ndimage.imread = scipil.imread, but that
> doesn't feel quite right.
>
> Can anyone advise me on the best way to add imread to ndimage?
>
> Thanks
> Stéfan
> _______________________________________________
> Scipy-dev mailing list
> Scipy-dev at scipy.org
> http://projects.scipy.org/mailman/listinfo/scipy-dev


More information about the Scipy-dev mailing list