Commit Graph

169 Commits

Author SHA1 Message Date
Johannes Schönberger e6338b75bd Merge pull request #1921 from JDWarner/image_comparison_prefix
STY: Image comparison functions now share common prefix
2016-02-02 17:07:17 +01:00
Joshua Warner ab7f0774aa FIX: Pass arguments from deprecated function, update examples. 2016-02-01 13:57:56 -07:00
Steven Silvester 0aafbaf78b Add another note about the new warning 2016-01-31 08:37:49 -06:00
Steven Silvester bbb35134a7 Add a note about the new warning 2016-01-31 08:36:38 -06:00
Steven Silvester da038c4d88 Debugging appveyor warning 2016-01-31 07:48:47 -06:00
Steven Silvester 0d73999cfd Allow axes to be provided to imshow and fix colorbar
Allow axes to be provided to imshow and fix colorbar

Allow axes to be provided to imshow and fix colorbar

Allow axes to be provided to imshow and fix colorbar

Use tight layout by default

Try and fix appveyor issue

Handle deprecation warning on appveyor

Pin the colorbar to the image using box-forced

Fix tests again

Update function signature

Update function signature

Fix imshow call

Fix docstring with utf characters

Remove kwargs
2015-12-25 15:12:53 -06:00
Warren Weckesser 6b908c1bb1 BUG: io: imread in the PIL plugin drops indexed PNG alpha channel.
When using the PIL plugin to read an indexed PNG file that has
an alpha channel, the alpha channel would be lost.
2015-12-15 12:30:43 -05:00
Steven Silvester a6f4419da4 Update failing tests 2015-12-12 14:20:38 -06:00
Steven Silvester 1dae599eb1 Remove another tiff check in test_pil 2015-10-06 20:19:06 -05:00
Steven Silvester 1547ec39f3 Remove the tifffile save tests from test_pil 2015-10-06 20:18:16 -05:00
Steven Silvester 40a30e6d1c Remove unnecessary import 2015-09-04 08:03:01 -05:00
Steven Silvester 260e01333d Add a plugin and test for imageio 2015-09-04 08:02:35 -05:00
Connelly Barnes 28a4fcd37e fix permissions issue in test_pil.py function test_png_round_trip() 2015-08-30 21:20:28 -04:00
Connelly Barnes 4ca1f49d20 fix scikit-image bug #1680 (grayscale png round trip fails) and add unit test 2015-08-30 11:51:04 -04:00
Juan Nunez-Iglesias c2f8c4ab12 Merge pull request #1599 from blink1073/viridis
Add the viridis colormap and use it for non-standard images
2015-07-22 12:54:07 +10:00
Steven Silvester 3d963649fc Use a less-invasive approach 2015-07-16 07:56:14 -05:00
Steven Silvester b75ee66a61 Clean up tests by using fresh figures 2015-07-14 07:47:59 -05:00
Steven Silvester a8580f76b3 Always create a colorbar and update tests 2015-07-14 07:47:59 -05:00
Steven Silvester 1a27bea7da Allow pil imread to accept file-like objects again 2015-07-14 07:44:34 -05:00
Steven Silvester f1471dfd72 Remove offending line 2015-07-14 07:44:34 -05:00
Steven Silvester 7720527c95 Fix imsave test 2015-07-14 07:44:34 -05:00
Steven Silvester e1596aef1b Remove unclosed file guards 2015-07-14 07:44:34 -05:00
Steven Silvester 09c8a84a54 Merge pull request #1518 from stefanv/relative_imports
Consistently use relative imports
2015-07-12 14:41:06 -05:00
Stefan van der Walt 83d5ff9001 Consistently use relative imports 2015-07-11 15:41:37 -05:00
Jonathan Helmus 80d4e813f9 TST: Use smaller gif file in test_pil tests 2015-07-11 14:48:12 -05:00
Jonathan Helmus a47a700fe7 TST: Faster test_multi_image unit tests.
Unit tests in test_multi_image speed up by using a smaller gif file.

New file no_time_for_that_tiny.gif file created using:
gifsicle --resize 14x25 no_time_for_that.gif > no_time_for_that_tiny.gif
2015-07-11 12:35:03 -05:00
arve0 04cbaa1579 expect PIL open fp 2015-05-28 16:06:32 +02:00
Steven Silvester dfaab1957e Add a multipage tiff test and cleanup test_tifffile 2015-05-12 21:10:23 -05:00
Steven Silvester e240dff395 Reinstate explicit plugin 2015-05-11 20:54:46 -05:00
Steven Silvester 0491326d22 Remove explicit call to use_plugin 2015-05-10 20:49:46 -05:00
Steven Silvester b479eabd7e Fix failing pil test 2015-05-09 16:56:10 -05:00
Steven Silvester 5f067ff43b Move tests to pil plugin and fix file path 2015-05-09 10:22:48 -05:00
Steven Silvester d351c13c2d Add tests for multipage_rgb tif 2015-05-09 09:32:56 -05:00
Christoph Gohlke 549def734e Fix failing test 2015-05-07 17:35:48 -07:00
Christoph Gohlke 47cfcb4b8b TST skimage.io.imread returns incorrect dimensions 2015-05-07 15:07:59 -07:00
emmanuelle b66fa13dfe Removed obsolete Image class from io submodule. 2015-05-01 20:51:12 +02:00
Juan Nunez-Iglesias af1f567108 Add temporary_file context manager
This provides writeable filenames that are cleaned up when the context
is exited.
2015-03-31 19:31:45 +11:00
Juan Nunez-Iglesias b6f2125e71 Allow keyword arguments to imsave for PIL plugin
Certain formats allow additional arguments, such as `compress=` for
TIFF or `quality=` for JPEG. Without this patch, the plugin simply
does not allow these arguments to be passed.
2015-03-31 00:24:23 +11:00
Steven Silvester 9ef99d0bb1 Fix freeimage collection test 2015-03-23 19:33:57 -05:00
Steven Silvester caea879bfc More specific test in freeimage 2015-03-21 09:31:34 -05:00
Steven Silvester 4344817c70 Remove debug error raise 2015-03-20 19:35:17 -05:00
Steven Silvester 45f21d3941 Fix handling of ImageCollection indexing and add test 2015-03-20 19:11:29 -05:00
Steven Silvester 0e61374a89 Add a helper function to check for low contrast
Add a helper function to check for low contrast

Add a check for low contrast when using imsave

Use the low contrast helper in imshow and make sure warnings are always shown

Clean up parameter names and add doctests

Remove unnecessary warning context

Remove unnecessary warning context

Add dtype ranges for 64bit types

Update tests with new warnings

Fix doctest logic

Fix doctest logic

Add a low contrast test with multiple dtypes

Fix check for color images

Fix color check again

Add support for int32 types

Relax assertion for 32bit builds

Add a low contrast test with multiple dtypes

Add a low contrast test with multiple dtypes

Fix check for color images

Fix color check again

Add support for int32 types
2015-03-09 21:34:58 -05:00
Jonathan Helmus 78a0eb6b98 Implement appveyor builds
Implement Appveyor builds

initial test

Updated appveyor.yml

New nosetest call

With conda update conda

with pillow

without pillow

TST: Change case sensitivive JPG extension

Revert "TST: Change case sensitivive JPG extension"

This reverts commit 2deed7cc63736f7c6f0387bd37df4c6643c32847.

Trying with Python 2.7

Trying with version env

Trying again with variables

Testing on all Python versions

don't allow failures

Allow failure

Do not actually use tests

Ignore failing tests

Removed Python 2.6 test

Testing only Python 2.6

Testing out more sklearn like AppVeyor CI

Added install to pip

Add artifacts

Enabled all permutations

Disable 2.6, add PIL

Python 2.6, 2.7 only with PIL

Testing with variable dependencies

Allow failure with IF ELSE

With Python 3.4

Scikit-learn like appveyor CI

Fixing paths

Undo path fix

path fix single line

path fix single line 2

Using Miniconda

More path fixes

New wheelhouse link

Added pillow to requirements.txt

Added networkx to requirements.txt

Add testing of 32/64-bit Python 2.7 and 3.4 to matrix

Debugging Cython compile

Retry with all 4 builds

Updated install.ps1 file

Updated based on latest python-appveyor-demo

Debugging pip install

Specify numpy 1.8.1 until whl is uploaded to rackspace

Use skimage-wide requirements.txt file

Minor comment change to trigger build

Install wheel and then install from WHEELHOUSE

Install six from pip

Install networkx from pip

Install pyparsing from pip

Install pytz from pip

Try using just find-links

Install the binary dependencies first, then the rest

Add pillow to the install list

Fix appveyor.yml syntax

Fix requirements.txt syntax

Fix requirements.txt syntax again

Fix appveyor call to initial install

Fix appveyor call to initial install again

Fix appveyor call to initial install yet again

Install wheel

Install wheel first

Install wheel and nose in the appveyor requirements.txt

Fix Python3 version to match python ftp site

Only use cleanup decorator if available

Add debug info to multiimage test

More debugging information

Fix handling of path separators on Windows

Add another warning guard

Fix warning handling for non-windows

Do not use TkAgg as it may be causing alloc error

Clean up echo command

Allow for unclosed file warning

Fix spacing in echo command
2015-02-28 19:57:45 -06:00
Tony S Yu 7da811993a Fix compatibility with PIL 2015-02-16 22:02:52 -06:00
Steven Silvester fa226ad807 Update the README with some warning hints
Update the readme with some warning hints

Tweak README

Tweak README

Fix preferred plugins test

Pep8 fix

Remove imshow from PIL plugin

Fix spelling

Tweak readme
2015-02-07 16:40:54 -06:00
Tim Seifert 3748557ac9 fix for concatenate test 2015-02-04 22:59:19 -06:00
Steven Silvester d9f5aa9104 Compare the images in LAB space 2015-02-01 10:05:52 -06:00
Steven Silvester 3728c61615 Reinstate run_module_suite 2015-01-31 21:56:22 -06:00
Steven Silvester ca0ae43272 Add test for cmyk and use relative imports 2015-01-31 20:34:28 -06:00