Commit Graph
95 Commits
Author SHA1 Message Date
cgohlke b06d160cb7 Fix TypeError: __class__ assignment: 'TestFlexibleMCP' object layout differs from 'UnboundSelf' 2014-03-10 23:40:14 -07:00
cgohlke 81805a530b Skip viewer tests if no Qt API is available 2014-03-10 23:10:13 -07:00
cgohlke 5403e7a61e Use os.pathsep to sepatate multiple ImageCollection load_pattern
The colon `:` does not work on Windows as it can be part of a path
2014-03-10 22:50:00 -07:00
cgohlke 534721126b Fix test_novice.test_update_on_save failure on Windows
On Windows, tempfile.NamedTemporaryFile() can not be opened a second time. See <http://docs.python.org/2/library/tempfile.html#tempfile.NamedTemporaryFile>
2014-03-10 22:22:02 -07:00
cgohlke 44f26ce9ee Define M_PI (not part of C89) 2014-03-10 20:57:33 -07:00
cgohlke a3067c572a Define M_PI (not part of C89) 2014-03-10 20:56:27 -07:00
cgohlke 2a930700d5 Fix ValueError: Buffer dtype mismatch, expected 'Py_ssize_t' but got 'long' on win-amd64 2014-03-10 20:51:43 -07:00
cgohlkeandJostein Bø Fløystad b614206a80 unwrap: Fix unicode 2013-11-22 10:42:28 +01:00
cgohlkeandJostein Bø Fløystad 73b03953a8 unwrap: Fix crash on Windows 2013-11-22 10:42:27 +01:00
cgohlkeandJostein Bø Fløystad 22f23c22fd unwrap: Fix crash on Windows 2013-11-22 10:42:27 +01:00
cgohlkeandJostein Bø Fløystad 0231f72c96 unwrap: Fix crash on Windows 2013-11-22 10:42:27 +01:00
cgohlkeandJostein Bø Fløystad c88bbf9891 unwrap: Fix crash on Windows 2013-11-22 10:42:27 +01:00
cgohlke e75126a4d8 TST: Fix RuntimeError: data type not supported on Python 2.6
On Python >=2.7, C extensions that use integer format codes with the PyArg_Parse* family of functions will raise a TypeError exception instead of triggering a DeprecationWarning (Python 2.6). The RuntimeError is raised by ndimage for unsupported array data types.
2013-10-15 00:42:40 -07:00
cgohlke f5337e3616 TST: Fix AttributeError: '_RegionProperties' object has no attribute 'weighted_moments_central' 2013-10-14 23:49:53 -07:00
cgohlke 4b02e31dfb TST: Fix test_weighted_moments is defined twice 2013-10-14 23:36:16 -07:00
cgohlke 4d46bc0912 TST: Fix ValueError: Buffer dtype mismatch, expected 'intp_t' but got 'long' 2013-10-10 21:51:56 -07:00
cgohlke 458556723d BUG: Fix ValueError: Buffer dtype mismatch, expected 'long' but got 'long long'
on win-amd64
2013-10-10 21:48:29 -07:00
cgohlke be3be537e6 TST: use BytesIO to save images into file-like object
StringIO does not work on Python 3
2013-10-10 21:22:40 -07:00
cgohlke ea357a4464 BUG: basestring not defined on PY3 2013-10-10 21:16:14 -07:00
Christoph Gohlke 45f53c9e3a Fix MSVC error C2036: 'void *' : unknown size 2013-03-06 10:09:59 -08:00
Christoph Gohlke 211d64644f Use np.intp type for indices 2013-03-04 22:45:46 -08:00
Christoph Gohlke 97fd434314 Fix ValueError: Buffer dtype mismatch on win-amd64 2013-03-04 17:33:15 -08:00
Christoph Gohlke 7ca08cf763 Fix ValueError: Buffer dtype mismatch on win-amd64 2013-03-04 17:32:22 -08:00
Christoph Gohlke dda83fdb55 Fix ValueError: Buffer dtype mismatch on win-amd64 2013-03-04 17:30:40 -08:00
Christoph Gohlke 19e938a3de Fix ValueError: Buffer dtype mismatch on win-amd64 2013-03-04 17:29:44 -08:00
Christoph Gohlke 2e230c70c0 Use log(2) instead of log10(2) 2013-02-24 09:01:09 -08:00
Christoph Gohlke 27b837b799 Use log(2) instead of log10(2) 2013-02-24 08:57:53 -08:00
Christoph Gohlke fe6d3d500c Do not install the doc package 2013-01-18 19:48:30 -08:00
cgohlke cba654cbda Use io.BytesIO instead of StringIO
Fixes NameError: global name 'io' is not defined on Python 3
2012-09-29 17:00:59 -07:00
cgohlke 5184be85b1 Document correct parameter types 2012-09-29 16:01:11 -07:00
cgohlke 2695015b3a Fix: 'inline' not permitted on data declarations 2012-09-29 15:51:17 -07:00
cgohlke 97d595eb61 Fix: 'inline' not permitted on data declarations 2012-09-29 15:49:30 -07:00
cgohlke 0cf582865e Fix: round function is not provided by libc.math on all platforms 2012-09-29 15:45:53 -07:00
cgohlke e346d6b11b Fix: round function is not provided by libc.math on all platforms 2012-09-29 15:42:51 -07:00
cgohlke e9790800d3 Fix ValueError: Buffer dtype mismatch on 64 bit platforms 2012-09-29 15:36:55 -07:00
cgohlke 0477c9dfeb Open image files in default binary write mode
Fixes test failure on Windows
2012-09-29 14:20:11 -07:00
cgohlke 8d313f1d57 Fix io.imsave() problems with passing arguments to plugin "freeimage" 2012-07-12 10:34:15 -07:00
cgohlke 76134ff59b Fix build error on EPD for Windows 2012-06-12 13:28:33 -07:00
cgohlke 98245449cb Fix test failures on Python 3 2012-06-11 09:36:29 -07:00
cgohlke bde2831709 Add test_float_out_of_range 2012-06-06 18:53:44 -07:00
cgohlke 96bad2e4cf Add range check against better judgment 2012-06-06 18:51:47 -07:00
cgohlke bbc5b8e552 Remove range check test 2012-05-24 01:20:51 -07:00
cgohlke 6d997b9af7 Remove controversial range check 2012-05-24 01:18:49 -07:00
cgohlke 225cfca4e2 Use general format 2012-05-23 12:09:41 -07:00
cgohlke 15c0df33c9 Fix TypeError 2012-05-23 12:03:23 -07:00
cgohlke 11c4ca7f53 Add floating point range check 2012-05-23 11:37:07 -07:00
cgohlke dad16f8a29 Restore test_float_out_of_range 2012-05-23 11:33:19 -07:00
cgohlke 4377c647f4 Code cleanup 2012-05-23 01:35:36 -07:00
cgohlke c4552d294a Return correct dtype 2012-05-23 00:57:26 -07:00
cgohlke 8575a46f42 Verify dtype 2012-05-23 00:55:28 -07:00
cgohlke 5153c97b21 Fix numpy 1.7dev casting 2012-05-23 00:16:00 -07:00
cgohlke b7045e6cd0 Fix rescale_intensity 2012-05-22 18:58:22 -07:00
cgohlke 31d341c0cb Fix uniform conversion to signed int 2012-05-22 18:23:35 -07:00
cgohlke 7e51e519b1 Fix whitespace 2012-05-22 12:21:58 -07:00
cgohlke 85670d60b6 Update docstring 2012-05-22 12:13:51 -07:00
cgohlke 8e67dd901f Fix spelling 2012-05-22 11:49:17 -07:00
cgohlke 754f0e5d39 Docstring additions 2012-05-22 11:39:38 -07:00
cgohlke 64da74c91a Fix grammar 2012-05-22 11:12:47 -07:00
cgohlke fc42d86894 Adjust rescale_intensity function to new dtype conversion rules 2012-05-22 00:28:32 -07:00
cgohlke e4b49239c4 Adjust tests for new type conversion rules 2012-05-22 00:25:42 -07:00
cgohlke 3ff1ebf526 Rewrite convert function 2012-05-22 00:21:32 -07:00
cgohlke 4e87a1dfce Add new 64-bit metadata types to METADATA_DATATYPE (new in FreeImage 3.15.3) 2012-05-19 13:23:32 -07:00
cgohlke faf92e1a6d Fix TypeError on 64 bit platforms 2012-02-25 21:01:27 -08:00
cgohlke 161e42e053 Fix conversion of bytes to str on Python 3 2012-02-25 20:33:17 -08:00
cgohlke c2cf8dba34 Fix invalid Python 3 syntax 2012-02-25 20:05:37 -08:00
cgohlke 1f7f234264 Fix invalid Python 3 syntax 2012-02-25 20:00:39 -08:00
cgohlke 99a8db9d54 Restore previous io plugins 2012-02-25 19:30:58 -08:00
cgohlke 8045e1f623 Restore numpy 1.5 compatibility 2012-02-12 19:57:41 -08:00
cgohlke af01a41279 Merged some code paths 2011-12-12 22:04:16 -08:00
cgohlke 038db9d1ab Rewrite dtype._convert function 2011-12-11 12:01:33 -08:00
cgohlke c825548d23 Fix reading 16 bit big-endian images with PIL 2011-12-08 11:29:46 -08:00
cgohlke 9b19bd9afc Workaround 16 bit image to numpy array conversion bug in PIL 2011-12-05 15:57:09 -08:00
cgohlke 9f329286e9 Fix docstring use_plugin example 2011-12-05 12:25:18 -08:00
cgohlke 14c89fefa5 Fix ImportError on Python 3 2011-12-03 15:47:22 -08:00
cgohlke 9133ab932c Fix ImportError on Python 3 2011-12-03 15:46:41 -08:00
cgohlke cd6d97012f Fix ImportError on Python 3 2011-12-03 15:45:40 -08:00
cgohlke 8024cc9798 Remove print statements 2011-10-12 15:29:56 -07:00
cgohlke cc84603b1a Remove print statements 2011-10-12 15:25:41 -07:00
cgohlke b708d931c2 Update URL in package description 2011-10-12 15:01:31 -07:00
cgohlke a609bd6416 Fix print statements missed by 2to3 2011-10-12 14:09:29 -07:00
cgohlke 98290218f0 Fix: don't run all scikits tests when running scikits.image.test() 2011-10-12 14:06:09 -07:00
cgohlke b15e7df14b Fix: use npz instead of npy format for matlab-output files 2011-10-11 17:23:30 -07:00
cgohlke 02b31756ff Fix: use npz instead of npy format for matlab-output files 2011-10-11 17:19:53 -07:00
cgohlke fb66138f9e Fix ImportError on Python 3 2011-10-11 17:12:06 -07:00
cgohlke 7c586cfeff Edited scikits/image/morphology/__init__.py via GitHub 2011-10-10 16:10:39 -07:00
cgohlke 17ff626bf6 Edited scikits/image/draw/draw.py via GitHub 2011-10-10 16:09:43 -07:00
cgohlke 09e0ecdf96 Edited scikits/image/morphology/watershed.py via GitHub 2011-10-10 16:09:12 -07:00
cgohlke 58226e3fca Fix Python 3 import error 2011-10-10 16:08:13 -07:00
cgohlke be02b9a651 Fix Python 3 import error 2011-10-10 16:07:24 -07:00
cgohlke b57bd821f0 Fix Python 3 import error 2011-10-10 16:06:03 -07:00
cgohlke 7f07f825e8 Fix watershed failures on Python 3 2011-10-10 14:35:21 -07:00
cgohlke d6a55c8b7b Fix AttributeError: 'function' object has no attribute 'func_name' on Python 3 2011-10-10 14:01:19 -07:00
cgohlke 5d6fcf06c4 Work around AttributeError: 'module' object has no attribute 'BufferedIOBase' on Python 2.7+, Windows 2011-10-10 13:52:55 -07:00
cgohlke f83076f722 Fix TypeError: must use keyword argument for key function on Python 3 2011-10-10 13:19:46 -07:00
cgohlke 9a24de9b81 Fix ValueError on win-amd64 2011-10-10 13:07:50 -07:00