Juan Nunez-Iglesias ea1566fffb Fix image dimension sanitizing at function start
`np.atleast_3d` will add a singleton dimension at the end of an array
if needed. This is not the correct thing to do if `multichannel=False`
based on the subsequent lines. If the input image was 2D with shape
`(40, 50)` and `multichannel=False`, then `np.atleast_3d` gives it
shape `(40, 50, 1)`, and then, because `multichannel=False`, the rest
of the code gives it shape `(40, 50, 1, 1)`. This results in the final
returned array having shape `(40, 50, 1)` instead of the desired
`(40, 50)`.

This commit fixes that and updates the test to detect this failure.
2013-09-16 16:02:24 +10:00
2012-10-29 18:07:46 +01:00
2013-09-01 16:03:14 +02:00
2013-08-15 14:59:52 +05:30
2012-11-02 16:02:06 -07:00

Image Processing SciKit

Source

https://github.com/scikit-image/scikit-image

Mailing List

http://groups.google.com/group/scikit-image

Installation from source

Refer to DEPENDS.txt for a list of dependencies.

The SciKit may be installed globally using

$ python setup.py install

or locally using

$ python setup.py install --prefix=${HOME}

If you prefer, you can use it without installing, by simply adding this path to your PYTHONPATH variable and compiling the extensions:

$ python setup.py build_ext -i

License

Please read LICENSE.txt in this directory.

S
Description
Image Processing SciKit (Toolbox for SciPy)
Readme 42 MiB
Languages
Python 71.7%
Cython 17.9%
C 8.3%
C++ 1.6%
PowerShell 0.2%
Other 0.2%