Commit Graph
4344 Commits
Author SHA1 Message Date
Stefan van der Walt 2b10dda6b8 Merge pull request #1485 from emmanuelle/model_binary
Add rounded blobs generation
2015-05-12 12:21:47 -07:00
arve0 0eb7d132d3 pop_bilateral docstring: the->pixels 2015-05-12 15:30:14 +02:00
emmanuelle 1ef90468e0 Modified (again) test accuracy. 2015-05-11 22:58:16 +02:00
emmanuelle e751d245f3 Modified test with a less stringent condition on numerical value for the
mean value of blobs image.
2015-05-10 23:29:54 +02:00
Johannes Schönberger 0c69cdc5e7 Fix out-of-bounds access in color LUT for NaN values 2015-05-10 13:47:42 -04:00
Steven Silvester 556cb3452c Merge pull request #1498 from cgohlke/patch-2
Fix skimage.io.imread returns incorrect dimensions
2015-05-09 09:02:41 -05:00
emmanuelle 073c9735dc Fixed example in doctest. 2015-05-09 14:51:41 +02:00
emmanuelle 1c3af75dd3 Addressed a few minor issues raised by Juan and Stefan. 2015-05-09 10:23:49 +02:00
Stefan van der Walt ef8f8c70d6 Merge pull request #1494 from arve0/reset_button_crop_plugin
Add reset button to crop plugin
2015-05-08 01:35:00 -07:00
Christoph Gohlke 549def734e Fix failing test 2015-05-07 17:35:48 -07:00
Christoph Gohlke 3d3351b9fa Fix failing test 2015-05-07 17:34:05 -07:00
Christoph Gohlke 47cfcb4b8b TST skimage.io.imread returns incorrect dimensions 2015-05-07 15:07:59 -07:00
Christoph Gohlke 3c8bf02fa5 Fix skimage.io.imread returns incorrect dimensions
Fixes #1496
2015-05-07 15:03:25 -07:00
arve0 d7a80f55f3 add reset button to crop plugin 2015-05-07 10:14:38 +02:00
Stefan van der Walt 7741317cbb Merge pull request #1475 from gustavla/slic-fix
Fix crashing bug in slic
2015-05-06 00:22:48 -07:00
Steven Silvester add8419f13 Merge pull request #1492 from arve0/viewer_button
viewer: add button widget
2015-05-04 19:58:08 -05:00
arve0 690a839de8 add button class 2015-05-04 12:12:18 +02:00
Steven Silvester edde93048f Merge pull request #1487 from hawkerpl/pillow-imread-error-message-fix
fix more informative error while reading image
2015-05-02 10:13:46 -05:00
hawkerpl 9adcd89883 fix more informative error while reading image 2015-05-02 16:09:41 +02:00
emmanuelle b66fa13dfe Removed obsolete Image class from io submodule. 2015-05-01 20:51:12 +02:00
emmanuelle a615623643 Added function to generate binary image with rounded (blob-like) objects. 2015-05-01 19:28:56 +02:00
Gustav Larsson 9de5a4557c Added test for buffer overflow in slic.
As with all buffer overflows, it is hard to make a test that
consistently triggers tests the behavior. This test does not work for me
through the test_slic.py file, but it works in isolation.
2015-04-20 14:35:57 -05:00
Gustav Larsson 841da2b3f8 Fixed crashing bug in slic.
The enforce connectivity step of slic runs a BFS and puts the
results in coord_list. This coord_list has room for max_size elements,
which is easily overrun if there is a large connected element. This
change limits the BFS to max_size, so that if a connected area is bigger
than max_size, it will be split up instead of the program crashing.
2015-04-20 09:39:38 -05:00
Stefan van der Walt 80ef48ccfa Add spacing in novice model to make docs render correctly 2015-04-11 22:18:34 -07:00
Steven Silvester 7fbf2ab3f9 Merge pull request #1460 from jni/fix-pil-imsave
Allow keyword arguments to imsave for PIL plugin
2015-04-02 19:42:04 -05:00
Steven Silvester 62e82ccf49 Do not read in the whole array 2015-03-31 20:54:57 -05: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
Steven Silvester ad8c94fcaf Fix handling of non-gif and tiff files 2015-03-30 21:41:44 -05: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 e531e57124 Only index tif and gif files in collection 2015-03-29 21:54:35 -05:00
Steven Silvester eed18b803f Another random warning guard 2015-03-29 15:36:25 -05:00
Steven Silvester adac822ee9 Fix setup to allow installing from PyPI
≈
Fix setup to allow installing from PyPi
Another attempt at fixing the setuptools problem

Fix pip incantation

Fix typo

Try updating setuptools too

Try upgrading pip and setuptools after venv install

Rule out install_requires as the source of the problem

Try just requiring the ones that can be built from source

Use explicit install_requires and move version checks to after setup runs

Clean up installation for PyPI compatiblity

Dead end commit

Fix travis to match new installation procedure

Put build_versions check after install

Fix travis syntax

Switch to lower-case cython in version check

Another attempt

Another fix

Fix syntax error

Make header executable

Build inplace on py27

Fix finding of source code version in sphinx

Fix travis syntax

Import setuptools after install

Fix the version check in sphinx

Work around setuptools bug in 2.7

Fix handling of Cython requirement and update release notes

Switch to one Appveyor build and update build method

Add cython back to install_requires

Remove debug lines

Another try for appveyor install

Another attempt at setuptools and Appveyor

Do not let intermittent apt-get failures crash the build

Fix typo

Another appveyor attempt

More fixes for setuptools and Appveyor

Yet another setuptools/appveyor attempt

Put requirements.txt back in order

Fix typo

Fix readlines function call

Try not using a venv for python 2.7

Fix syntax

Try the provided venv for py27

Remove --user

Remove debug info

Another try for python27 fix

Try again

Do not use install_requires with numpy/scipy

Try just avoiding scipy

Try removing scipy (numpy was before)

Avoid both scipy and numpy

Fix qt install on 27

Fix qt install on 27 agin

Revert the scripts to their previous condition

Revert file permission changes

Undo changes to requirements.txt
2015-03-29 15:36:11 -05:00
Steven Silvester 9ef99d0bb1 Fix freeimage collection test 2015-03-23 19:33:57 -05:00
Steven Silvester 73b1942751 Do not attempt to use _frame_index for exotic load_patterns 2015-03-23 15:35:17 -05:00
Steven Silvester caea879bfc More specific test in freeimage 2015-03-21 09:31:34 -05:00
Steven Silvester a51d49abe6 Always use _find_images() 2015-03-21 09:31:05 -05:00
Steven Silvester 4344817c70 Remove debug error raise 2015-03-20 19:35:17 -05:00
Steven Silvester 80555a2bdb Add a note to the docstring 2015-03-20 19:14:25 -05:00
Steven Silvester 45f21d3941 Fix handling of ImageCollection indexing and add test 2015-03-20 19:11:29 -05:00
Eric Dill 8af43739c4 TST: Barn-door testing of SaveButtons clicks
The canny_simple.py demo in viewer_examples/plugins has a save
button that raises an AttributeError in PIL because the button
click is passing 'False' to the SaveButtons.save_to_file function
when it expects a filename or None.
2015-03-19 08:35:57 -04:00
Steven Silvester 6051ff215c Merge pull request #1430 from arve0/document_measure.label
import from _label instead of _ccomp
2015-03-14 22:00:45 -05:00
Juan Nunez-Iglesias 0d3d5f1319 Update See Also to References
"See Also" is apparently reserved by sphinx-numpydoc for pointers to
other code functions, rather than documentation.
2015-03-15 12:21:18 +11:00
Juan Nunez-Iglesias 2f62cf9d2e Clarify 'low-contrast' in docstring 2015-03-15 12:21:18 +11:00
arve0 6fceaa2f75 import from _label instead of _ccomp 2015-03-14 23:22:15 +01:00
arve0 f737ac4496 move docstring from viewer.widgets.core to viewer.widgets 2015-03-14 20:26:36 +01: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
Johannes Schönberger 47a4418140 Use np.inf instead of float('inf') 2015-03-08 19:37:53 -04:00
Johannes Schönberger d6a737bf86 Update doctest for new estimator API 2015-03-08 13:13:46 -04:00
Johannes Schönberger eb6c3ede38 Fix RANSAC for invalid model estimation and confidence corner case
Previously, estimators did not return whether the model estimation
was successful. RANSAC now tests whether the estimation was
successful and skips invalid models.

When the confidence/stop_probability of RANSAC was set to 1,
the iteration was falsely terminated early instead of running for
the maximum number of iterations.
2015-03-06 23:47:08 -05:00
Antony Lee 10af2b21ee Use relative imports to plugins.
Otherwise e.g. skivi fails to start.
2015-03-05 16:17:57 -08:00