Josh Warner (Mac)
8bcdfb8325
Remove unnecessary double import.
2014-05-08 20:12:31 -05:00
Stefan van der Walt
4da4ec5b89
Mention which parameters to label are optional. Simplify label deprecation.
2014-05-09 03:00:39 +02:00
Juan Nunez-Iglesias
837406c8fc
Merge pull request #1003 from JDWarner/join_dep_warning
...
FIX: Address non-int DeprecationWarning from NumPy
2014-05-09 10:58:16 +10:00
Josh Warner (Mac)
77b036eb89
Merge branch 'master' of git://github.com/scikit-image/scikit-image into int_idx_patch
2014-05-08 19:57:06 -05:00
Josh Warner (Mac)
375e406f64
Use safe_as_int for input checking.
2014-05-08 19:56:47 -05:00
Stefan van der Walt
1de102a885
Fix broken and circular imports
2014-05-09 02:53:57 +02:00
Josh Warner (Mac)
3fab7c0057
Remove incorrect np.round statement (directly cast m)
2014-05-08 18:54:52 -05:00
Johannes L. Schönberger
a4d97f2a1c
Merge pull request #992 from stefanv/warp_safe_output_shape
...
Safely handle non-integer output shape specification
2014-05-08 14:50:35 -04:00
Stefan van der Walt
e9c0cde8d4
Move safe_as_int into utils
2014-05-08 20:11:17 +02:00
Stefan van der Walt
a9dcdc3713
Use safe_as_int to check provided output shape
2014-05-08 19:28:29 +02:00
Stefan van der Walt
5ba3ea421c
Fix imports and suppress deprecation warnings
2014-05-08 19:14:38 +02:00
Stefan van der Walt
46829c6a33
Move implementation of label to measure submodule
2014-05-08 18:04:03 +02:00
Stefan van der Walt
7152d5c314
Move label to measure module (with deprecation). Warn that background parameter will default to 0 in v0.12.
2014-05-08 17:49:47 +02:00
Johannes L. Schönberger
82b404a672
Merge pull request #1004 from jni/viewer-examples
...
Viewer examples
2014-05-08 08:40:26 -04:00
Stefan van der Walt
0b6e48fe2a
Clarify regionprops output
2014-05-08 10:45:04 +02:00
Josh Warner (Mac)
26793068b1
Fix documentation, handle internal variable more efficiently.
2014-05-08 02:32:39 -05:00
Juan Nunez-Iglesias
040a3bf831
Merge pull request #1002 from JDWarner/asserttrue
...
Address PendingDeprecationWarnings in watershed tests
2014-05-08 16:26:42 +10:00
Josh Warner (Mac)
1ca0eef825
FIX: Non-integer indexing deprecation warnings
2014-05-08 00:39:54 -05:00
Josh Warner (Mac)
069cba50ef
FIX: Address non-int DeprecationWarning from NumPy
2014-05-07 23:54:17 -05:00
Josh Warner (Mac)
b8334e85c8
failUnless -> assertTrue
2014-05-07 23:16:42 -05:00
Josh Warner (Mac)
4aa162fc78
FIX: Remove unnecessary .transpose introduced in PR #984
2014-05-07 22:10:27 -05:00
Josh Warner (Mac)
07d3e6ede4
Convert name to _safe_as_int, output np.int64, expand Examples
2014-05-07 19:09:18 -05:00
Johannes L. Schönberger
fbda63962a
Merge pull request #984 from JDWarner/randwalk_trivialcheck
...
Random Walker improvements and checks for trivial cases
2014-05-07 14:33:09 -04:00
Josh Warner (Mac)
0d775c3aab
Remove check for non-numeric values in spacing.
2014-05-07 02:42:38 -05:00
Josh Warner (Mac)
e9c793eb17
FEAT: Shared function for safe int casting
2014-05-06 13:09:03 -05:00
Josh Warner (Mac)
0ac86b3e96
STY: More elegant and maintainable style per code review
2014-05-06 02:16:45 -05:00
Stefan van der Walt
4c7cd9bd65
Add unit test to catch non-integer output shape bug
2014-05-06 01:35:23 +02:00
Stefan van der Walt
00b4fa45e7
Always interpret provided shapes as int. Add a note on using output_shape for color images.
2014-05-06 01:35:23 +02:00
Johannes Schönberger
5c2d8eb0aa
Fix custom six issue in scipy 0.14 on python 3.4
2014-05-05 14:37:45 -04:00
Johannes Schönberger
f4f509fa8d
Fix cython compilation warnings
2014-05-05 14:37:15 -04:00
Stefan van der Walt
5e4bce3f1a
Merge pull request #986 from vighneshbirodkar/blob_example
...
Blob detection example
2014-05-01 12:40:29 +02:00
Johannes L. Schönberger
7688e57592
Merge pull request #971 from stefanv/bug/views_are_copies
...
Do not allow `view_as_*` to return copies (closes #866 )
2014-04-27 20:16:41 -04:00
Stefan van der Walt
321d9f372c
Add some PEP8
2014-04-28 01:10:15 +02:00
Vighnesh Birodkar
5b459a8e4b
autopep8 changes.
2014-04-28 00:31:18 +05:30
Vighnesh Birodkar
a82d814665
Changed example and hubble_deep_field doc string
2014-04-28 00:05:09 +05:30
Vighnesh Birodkar
7738e65de8
hubble_deep_filed doc string changes.
2014-04-27 11:51:42 +05:30
Vighnesh Birodkar
0c1c62b415
Grammar corrections.
2014-04-27 11:50:49 +05:30
Vighnesh Birodkar
57bd84e3db
Added example and pep8 changes.
2014-04-27 11:49:46 +05:30
Vighnesh Birodkar
d76aad9bd4
Added Hubble Deep Field image.
2014-04-27 11:49:26 +05:30
Stefan van der Walt
58ef146834
Copy list of modules since it may change during iteration
2014-04-27 04:05:52 +02:00
Stefan van der Walt
86beb21e5a
Move all_warnings to skimage._shared.utils
2014-04-27 03:23:22 +02:00
Stefan van der Walt
8fdd5a270d
In all_warnings context manager, return warnings for examination
2014-04-27 02:16:41 +02:00
Stefan van der Walt
337f3d175f
Update shape tests to use all_warnings
2014-04-27 02:10:29 +02:00
Stefan van der Walt
132aa8bbd3
Add all_warnings context manager
...
The context manager searches for __warningregistry__ entries that
Python leaves all over the place, clearing them, thereby ensuring
that warnings will always be raised. This is necessary for the test
suite to detect warnings even if they were raised before under
the "once" filter.
2014-04-27 02:08:33 +02:00
Thomas Robitaille
9ecbc6ef58
Use Astropy by default if possible
2014-04-22 16:39:07 +02:00
Josh Warner (Mac)
88f08ebea2
TST: Add unit test for length-2 spacing with rank-2 input
2014-04-19 11:40:16 -05:00
Josh Warner (Mac)
7847287f46
FIX: Shortcut output or catch trivial cases in random_walker
...
Also:
* New tests to cover these new checks
* Improvements to docstrings and user warnings
* Generalize handling of `sampling` in accordance with docstring
* Some extra whitespace to improve readability
2014-04-18 18:47:20 -05:00
Josh Warner (Mac)
7161175e43
DOC: Clarify UMFPACK warning; use if statements instead of assert
2014-04-18 16:52:19 -05:00
Johannes Schönberger
46b2bd5bb1
Remove print statement
2014-04-12 11:34:03 -04:00
Johannes Schönberger
739dca0201
Fix novice doc test
2014-04-12 09:57:51 -04:00