Commit Graph

3808 Commits

Author SHA1 Message Date
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
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
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
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
Stefan van der Walt 28df57edc8 Merge pull request #1130 from capitanbatata/more-illuminants
Add more illuminants to color conversion
2014-10-01 01:46:16 +02:00
Johannes Schönberger e5e83538ca Merge pull request #1183 from jni/warn-single-labels
Warn when single int label of 1 is passed to remove_small_objects
2014-09-30 08:18:33 -04:00
Steven Silvester d1d7af0efd Merge pull request #1180 from stefanv/doc/widget_callback
Add more complete documentation for widget callback
2014-09-30 04:26:47 -05:00
capitanbatata b44d4f7f45 Added Johannes' comments. 2014-09-30 08:32:48 +02:00
Juan Nunez-Iglesias 8711c74533 Test type warning from remove_small_objects 2014-09-30 15:04:28 +10:00
Juan Nunez-Iglesias a2def31fca Warn users of remove_small_objects about type
When input type is `int`, we assume that the image is pre-labeled.
However, when only 0 and 1 are present, it may be that the user expects
us to treat it as a binary image. We don't, but now issue a warning
that they might want to use a bool image.

Fixes #1178.
2014-09-30 14:51:00 +10:00
Stefan van der Walt ea00067b0e Fix class names 2014-09-30 06:22:24 +02:00
Stefan van der Walt 63c92537b1 Also add handle style to ThickLineTool 2014-09-30 06:18:03 +02:00
Stefan van der Walt 8a914e55f1 Invoke linetool with properties to increase coverage 2014-09-29 22:28:42 +02:00
Stefan van der Walt f7ee2c28a6 Add more complete documentation for widget callback 2014-09-29 22:25:37 +02:00
Stefan van der Walt b4a6571715 Allow modification of LineTool handle style 2014-09-29 17:13:07 +02:00
Johannes Schönberger eba3d75fa9 Add sanity checks for input parameters 2014-09-28 18:43:32 -04:00
Johannes Schönberger be5d4b19ec Add stop_probability to RANSAC 2014-09-28 18:38:35 -04:00
Johannes Schönberger d0fb18fded Merge pull request #1123 from stefanv/pnpoly
Expose point_in_poly and move to measure module
2014-09-28 09:20:29 -04:00
Juan Nunez-Iglesias 91f1d80745 Fix typos and grammatical errors in uft.py docs 2014-09-26 19:54:15 +10:00
Juan Nunez-Iglesias 141d459b71 Fix small errors in the documentation 2014-09-26 19:21:59 +10:00
Juan Nunez-Iglesias 2b7bf24c1f Add shape fix for deconvolution functions 2014-09-26 19:13:33 +10:00
Juan Nunez-Iglesias d50afed18e Add test for preserving image shape in deconv
I can confirm that this test does not pass in the current master.
2014-09-26 19:13:33 +10:00
Juan Nunez-Iglesias 214613c2a8 Run restoration test suite when run as main 2014-09-26 19:13:33 +10:00
Johannes Schönberger dd96b2483b Merge pull request #1169 from stefanv/doc/denoise_opt_param
Fix incorrectly documented non-optional argument
2014-09-22 12:39:45 -04:00
Stefan van der Walt 5ba4b7ccd3 Expose point_in_poly and move to measure module 2014-09-22 17:56:18 +02:00
Stefan van der Walt 343d1d2ec3 Fix incorrectly documented non-optional argument 2014-09-22 17:54:56 +02:00
Juan Nunez-Iglesias 6cac05a924 Merge pull request #1163 from blink1073/implement_assert_nD_array
Implement assert_nD in filter and feature packages
2014-09-23 01:13:14 +10:00