Tony S Yu
8e0bf8ab8f
Fix imread from urls on some backends.
...
Some backends infer the image type from the extension. This fix just adds the extension to the temp filename.
2013-04-20 14:57:58 -05:00
Zach Pincus
8b6f489bab
Add multipage TIFF unittest
2013-04-18 11:08:12 -04:00
Zach Pincus
ab8b325ff4
Fix 64-bit multipage tiff writing segfault
2013-04-17 17:56:08 -04:00
Johannes Schönberger
16863535eb
Re-enable plots in doc strings and generate PDF images for them
2013-03-13 10:59:26 +01:00
Johannes Schönberger
0324737c47
Fix some doc strings for latex docs
2013-03-12 09:39:42 +01:00
Johannes Schönberger
21d480c32c
Fix accidentially changed doc strings
2013-02-24 14:20:02 +01:00
Johannes Schönberger
62d83ad42c
Globally change np to cnp if cimported
2013-02-24 14:14:14 +01:00
Matt McCormick
ad23f203da
ENH: Add SimpleITK IO plugin.
...
IO plugin for SimpleITK, http://simpleitk.org/
imread and imsave implemented. Tests based off the PIL tests.
2013-01-17 09:55:56 +00:00
Stefan van der Walt
98a5b2ed79
Merge pull request #368 from tonysyu/imread-url
...
ENH: Allow URLs in imread.
2012-12-17 12:17:50 -08:00
Tony S Yu
abc1d2095f
BUG: Fix file URI in test (2nd attempt)
2012-12-13 13:42:11 -05:00
Tony S Yu
a6d4b6e7fa
BUG: Fix file separators for windows
2012-12-12 11:06:15 -05:00
Luis Pedro Coelho
38f699471e
TST Remove unneeded test
...
Per stefanv's comment on github, this was testing functionality higher
up in skimage.io
2012-11-24 19:04:55 +00:00
Luis Pedro Coelho
10ce9b89ab
RFCT Use skimage.utils.convert for type conversion
2012-11-24 19:04:16 +00:00
Luis Pedro Coelho
6ebc43bad8
ENH Add imread io plugin
...
This relies on imread (https://github.com/luispedro/imread ) which
supports a few microscopy formats otherwise hard to read (LSM and
MetaMorph STK) as well as basic ones.
2012-11-24 19:04:01 +00:00
Tony S Yu
c451aa0d4b
STY: Fix confusing use of context-manager.
2012-10-19 17:52:10 -04:00
Tony S Yu
9f7a376e4d
ENH: Add test and support for reading file URLs
2012-10-19 15:21:31 -04:00
Tony S Yu
e513018052
Fix handling of temporary file.
...
Opening an already-opened file was unsafe. Close the file, then manually delete it.
2012-10-18 22:07:18 -04:00
Tony S Yu
cd8c3da8ec
ENH: Allow imread to read URLs
2012-10-18 21:51:21 -04:00
Paul Ivanov
b4b090271d
complete singularization of scikit-image
...
I've updated references in the code and documentation to the new name.
2012-10-08 16:29:55 -07:00
Andreas Mueller
6546460f47
COSMIT some pep8
2012-09-30 15:53:33 +01:00
Stefan van der Walt
3469f1f544
Merge pull request #327 from cgohlke/patch-1
...
BUG: Open image files in default binary write mode.
2012-09-29 18:01:04 -07: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
0477c9dfeb
Open image files in default binary write mode
...
Fixes test failure on Windows
2012-09-29 14:20:11 -07:00
Andreas Mueller
6c59e04714
MISC remove unused imports, some pep8 corrections.
2012-09-27 20:01:45 +01:00
Tony S Yu
0504392fd5
DOC: Fix doctests in io collection module
2012-09-11 23:36:12 -04:00
Tony S Yu
d67e81742d
DOC: Shorten plugin description so it fits in table
2012-09-02 18:10:14 -04:00
Tony S Yu
bfa6f05e1f
DOC: Change title to match numpy docstring standard
2012-09-02 17:53:22 -04:00
Stefan van der Walt
ce423e169e
Merge pull request #257 from ahojnnes/shared
...
ENH: Add shared package.
2012-08-25 10:35:29 -07:00
Stefan van der Walt
8cdd0e909a
Merge pull request #258 from tonysyu/imshow-filename
...
ENH: Allow imshow to show images when given file name.
2012-08-24 02:56:45 -07:00
Tony S Yu
53807d79a6
Merge pull request #233 from wilsaj:image-html-repr
...
Conflicts:
skimage/io/tests/test_collection.py
2012-08-24 00:15:32 -04:00
Tony S Yu
de20e482ad
ENH: Allow imshow to show images when given file name.
2012-08-22 22:10:32 -04:00
wilsaj
38a96b9ac9
Remove tag metadata-related fucntions from Image class
2012-08-21 20:51:23 -05:00
Johannes Schönberger
a08779e06a
Use predefined header files from Cython
2012-08-21 15:15:27 +02:00
Stefan van der Walt
b1139c724d
DOC: Fix typos in see-also references.
2012-08-13 12:02:32 -07:00
wilsaj
fabedb58ec
add unit test for Image._repr_png_() with PIL plugin
2012-08-12 18:54:43 -05:00
wilsaj
9bd445700a
add note about to display protocol to Image docstring
2012-08-12 18:20:58 -05:00
Tony S Yu
a05c3c6637
DOC: Add note about ImageCollection slicing.
...
Also, clean up some whitespace issues.
2012-08-05 17:44:49 -04:00
Tony S Yu
816d6e319a
Merge pull request #221 from jjhelmus/imagecollection_slicing
...
Fix import conflicts:
skimage/io/collection.py
2012-08-05 17:41:29 -04:00
Jonathan Helmus
03d037d044
ImageCollection now slices like other iterables
2012-07-25 11:11:25 -04:00
wilsaj
2b66f0c303
role duplicate logic for Image._repr_png_() and Image._repr_jpeg_() into a common method
2012-07-24 23:21:42 -05:00
wilsaj
b9d468b668
use standard conventions for Image.__new__() cls attribute and docstring
2012-07-24 23:20:22 -05:00
wilsaj
7368332df9
remove unused import
2012-07-24 23:07:44 -05:00
wilsaj
a31e0d9eeb
remove superfluous conditional logic
2012-07-24 23:01:51 -05:00
tonysyu
71a518c8cf
Merge pull request #226 from jni/jni-alphanumeric-sort
...
Sort files from a global pattern alphanumerically
2012-07-22 21:28:38 -07:00
wilsaj
dcb7dacc6c
open buffer on on byte_array
2012-07-21 10:23:20 -05:00
Juan Nunez-Iglesias
9cbf2ef369
Simplify alphanumeric_key logic
...
Thanks to Tony Yu for the suggestion.
2012-07-21 00:51:55 -05:00
wilsaj
fbb2ec3afa
close temp StringIO buffers when we're done with them
2012-07-20 20:34:12 -05:00
wilsaj
74cde286b4
allow qt_plugin imsave() function to write to file-like objects
2012-07-20 20:33:25 -05:00
Stefan van der Walt
37e0ce0fc8
Merge pull request #223 from jni/jni-concatenate-image-collection
...
ENH: Concatenate image collection.
2012-07-20 16:02:04 -07:00
Juan Nunez-Iglesias
699b5d9269
Add test coverage for alphabetic sort
...
alphanumeric_key should sort filenames correctly when they differ in
text, not just numbers.
2012-07-20 17:50:04 -05:00