Commit Graph

3831 Commits

Author SHA1 Message Date
Steven Silvester dddbc1aa23 Add the __init__.py to make it a package 2014-10-15 05:57:56 -05:00
Steven Silvester 268eb5f2b5 Add tifffile to a new external package. 2014-10-15 05:57:05 -05:00
Steven Silvester 56915d29c3 Fix tifffile imports 2014-10-12 15:10:40 -05:00
Steven Silvester 36ab379e0c Use the PyPI tifffile instead of bundling 2014-10-12 15:10:14 -05:00
Steven Silvester 0fabb0c3ab Fix comment typo 2014-10-11 18:28:36 -05:00
Steven Silvester 725c376d78 Make sure we disconnect all the signals 2014-10-11 14:34:55 -05:00
Steven Silvester 72292f73c0 Use a manual hack to remove the canvas events for old MPL 2014-10-11 09:15:10 -05:00
Steven Silvester 532e460172 Disconnect the events manually 2014-10-11 07:21:32 -05:00
Steven Silvester 0c35d13203 Add a try/catch for RectangleTool.disconnect_events 2014-10-11 05:12:04 -05:00
Stefan van der Walt 93d8bce621 Merge pull request #1189 from blink1073/fix-pil-plugin
Fix PIL handling of non-uint8 images and add `tifffile` support
2014-10-11 11:49:34 +02:00
Steven Silvester 84a56fa4a0 Fix docstring links 2014-10-11 04:48:18 -05:00
Steven Silvester b48c82f840 Make pil the default plugin 2014-10-10 20:17:00 -05:00
Steven Silvester fe6912b591 Add 'imsave' to the '*' output of pil_plugin 2014-10-10 05:43:46 -05:00
Juan Nunez-Iglesias ec5432a247 Merge pull request #1191 from ahojnnes/morph-ref
Refer to rank filters from morphology functions
2014-10-10 15:50:06 +11:00
Steven Silvester ba730091a0 Fix relative import and test import convention 2014-10-09 20:18:44 -05:00
Steven Silvester ae19578192 Remove unused import 2014-10-09 20:18:44 -05:00
Steven Silvester 3b3b44b127 Clean up pil and tif tests 2014-10-09 20:18:43 -05:00
Steven Silvester a623fd3e44 Rename the convenience methods 2014-10-09 20:18:43 -05:00
Steven Silvester 708ab0593b Fix docstring typo 2014-10-09 20:18:43 -05:00
Steven Silvester bae672f34b Do not try and save signed integer output, improved signed checks for tif. 2014-10-09 20:18:43 -05:00
Steven Silvester 047650ce38 Fix reference citation 2014-10-09 20:18:43 -05:00
Steven Silvester be279de2fa Fix handling of temp file removal 2014-10-09 20:18:43 -05:00
Steven Silvester fb9f7e7346 Properly handle all image types for PNG, beef up docs 2014-10-09 20:18:43 -05:00
Steven Silvester 9b768dc681 Add references in docstrings 2014-10-09 20:18:43 -05:00
Steven Silvester 74c87b583d Clean up imsave behavior and beef up docstring 2014-10-09 20:18:43 -05:00
Steven Silvester 8396d59268 Reinstate tifffile test 2014-10-09 20:18:43 -05:00
Steven Silvester ee755c6c0b Remove temporary file and clean up imports 2014-10-09 20:18:43 -05:00
Steven Silvester fa5a575743 Reinstate tifffile_plugin for backwards compatibility 2014-10-09 20:18:43 -05:00
Steven Silvester d9e169c518 Fix PIL tests, move helpers to _shared, fix widgets test 2014-10-09 20:18:21 -05:00
Steven Silvester 199c3da307 Clean up tests and add to bento.info.
Remove "no plugin" test because we will always have a plugin.

Fix handling of bools in ubyte check

Fix integration of tifffile.c

Clean up new tests.

Fix _tifffile import and add to bento.info

Add tifffile.py and fix pil_plugin import

Add tifffile tests to test_pil and remove PIL import checks
2014-10-09 20:18:20 -05:00
Steven Silvester 2e47ca2d67 Add tifffile.c and associated build target. 2014-10-09 20:18:20 -05:00
Steven Silvester c5b2834084 Remove old tifffile plugin in favor of using it in PIL plugin. 2014-10-09 20:18:20 -05:00
Steven Silvester 8049c642af Add tests for new behavior.
Add tests for new behavior

Fix utils import and make io.tests a package
2014-10-09 20:18:20 -05:00
Steven Silvester 7374f4ac53 Add tifffile.py and its license.
Add use of tifffile and its license

Actually add the tifffile file and LICENSE
2014-10-09 20:18:20 -05:00
Steven Silvester 5f769cb4bf Fix handling of non-uint8 images for PIL imsave.
Fix handling of non-uint8 imags for PIL imsave.

Update build requirements and documentation

Reorganized dependencies in DEPENDS.txt.

Fix install_requires string formatting

Use img_as_ubyte instead of the previous hack

Add to the docstring notes.

Add to docstring notes

Fix errant changes

Add support for tif floating point and 16bit files

Handle case where format_str is None

Add note about 2D TIFF file support

Add handling for uint16 and integer types.
2014-10-09 20:18:20 -05:00
Johannes Schönberger df1e2061a1 Use correct rank filter replacement function 2014-10-09 16:32:50 -04:00
Stefan van der Walt d16904cfbc Merge pull request #1175 from blink1073/update-setup
Update build requirements and instructions
2014-10-09 18:27:22 +02:00
Johannes Schönberger c73d1c98e0 Clarify that uint16 images are only faster up to a certain bit depth 2014-10-07 08:38:26 -04:00
Pratap Vardhan 12dab41c39 CLN: Correct dtype typo 2014-10-07 18:05:57 +05:30
Pratap Vardhan 39267d103c CLN: Improve performance of disk and diamond selems 2014-10-07 17:55:44 +05:30
Johannes Schönberger fdeeaa298a Add note about supported data types in rank filter replacements 2014-10-06 08:29:04 -04:00
Johannes Schönberger 99c95f8e4f Refer to rank filters from morphology functions 2014-10-05 11:19:37 -04:00
Steven Silvester ec55adf4ea Add pillow to requirements (but allow for PIL) 2014-10-05 10:03:34 -05:00
Steven Silvester e6270c52b6 Do not require jpg support from io plugins in novice test 2014-10-05 07:07:19 -05:00
Steven Silvester 9ea43d777b Avoid type incompatibility warnings 2014-10-04 21:41:35 -05:00
Steven Silvester 124db3274f Fix error in viewer test when mpl is present but not qt. 2014-10-04 15:58:28 -05:00
Stefan van der Walt 669b0bf311 Merge pull request #1176 from ahojnnes/ransac
Add stop_probability for RANSAC
2014-10-02 23:56:01 +02:00
Johannes Schönberger 06fd017828 Improve description of stop_probability 2014-10-01 15:30:27 -04:00
Johannes Schönberger c594416b78 Fix stop_probability description 2014-09-30 20:55:35 -04:00
Johannes Schönberger 15475516d9 Remove extra space 2014-09-30 20:49:23 -04:00