Kevin Murray b9a7445296 [skimg.io._plugins.freeimage_plugin] fix segfault
I have moved the freeimage error handler callback function to the module
namespace to prevent it being garbage collected. See the following for
more info on this quirk of ctypes:
http://stackoverflow.com/questions/12995925/how-to-prevent-functype-from-being-collected
https://github.com/JohannesBuchner/PyMultiNest/issues/5

This also changes the way FreeImage errors are handled. If an exception
is raised in a callback, it will not propagate beyond ctypes internals.
Now, we use a callback that sets a global variable to indicate error. We
then check for error and reset the error string to NULL every time the
C api is called. This is the only way we can both:
 a) Not segfault on freeimage error
 b) Pass the freeimage error to the user
 c) raise RuntimeError()
2014-06-27 21:26:58 +10:00
2014-05-27 22:39:22 -04:00
2014-05-05 16:34:31 +02:00
2014-06-15 15:23:40 +02:00
2014-05-27 21:46:41 -04:00
2014-04-20 10:46:27 -04:00
2014-06-01 12:38:57 +02:00
2012-11-02 16:02:06 -07:00
2013-11-01 04:45:16 +02:00
2014-05-27 21:46:41 -04: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%