Stefan van der Walt
83d5ff9001
Consistently use relative imports
2015-07-11 15:41:37 -05:00
Christian Sachs
639a046611
fixed intra docstring reference links
2015-06-30 16:33:03 +02:00
Christian Sachs
2de03d018a
reordered code according to PEP8, modified docstring
2015-06-30 15:07:04 +02:00
Christian Sachs
f54c254421
fixed docstrings, renamed variables for clarity, removed old skeletonize function body
2015-06-30 09:39:25 +02:00
Christian Sachs
5301a9a8e3
added faster, Cython based skeletonize function
2015-06-29 22:11:22 +02:00
Juan Nunez-Iglesias
0d134987f9
Harmonize all ndimage usage across the library
...
Only two forms remain in use:
- `from scipy import ndimage as ndi`
- `from scipy.ndimage import function`
2015-06-09 15:18:37 +10:00
Lee Kamentsky
54f8265603
Issue #803 order the structuring element by distance to get diagonals processed last
2015-05-28 13:28:21 -04:00
kpk09
a9bdaaf274
proposed fix and test for broken watershed on flat areas ( https://github.com/scikit-image/scikit-image/issues/803 )
2015-05-28 13:28:16 -04:00
Steven Silvester
ed7aecdc4c
Fix links
2015-02-07 19:33:30 -06:00
Johannes Schönberger
ee5c6fbeb2
Use relative imports in skimage files
2015-01-22 07:36:48 -05:00
Juan Nunez-Iglesias
1439341461
Remove unused cmorph extension
...
The C morphology module has been superseded by wrapping scipy.ndimage.
2015-01-22 11:38:37 +11:00
Juan Nunez-Iglesias
658a83d46c
Don't use backticks to refer to functions
...
See the "See Also" section in the NumPy Docstring Conventions
document:
https://github.com/numpy/numpy/blob/master/doc/HOWTO_DOCUMENT.rst.txt
2015-01-22 11:38:37 +11:00
Juan Nunez-Iglesias
2d0a3eff33
Expand explanation of _invert_selem
2015-01-22 11:38:37 +11:00
Juan Nunez-Iglesias
7935e51596
Clarify and fix docstrings
2015-01-22 11:38:37 +11:00
Juan Nunez-Iglesias
d8555142da
Update binary morphology tests, which no longer warn
2015-01-22 11:38:36 +11:00
Juan Nunez-Iglesias
f321fefb8b
Fix morpho open/close edge bugs by padding image
2015-01-22 11:38:35 +11:00
Juan Nunez-Iglesias
97770e9fa5
Minor update to binary morphology docstrings
2015-01-22 11:29:09 +11:00
Juan Nunez-Iglesias
04536cc7df
Update morphology dtypes tests
...
Previously, we were testing that any dtype would get converted to uint8
and then correctly processed. Now, since we are using ndimage, we are
directly processing all dtypes. I've updated the tests accordingly.
2015-01-22 11:29:08 +11:00
Juan Nunez-Iglesias
1fa6904c04
Workaround for strange ndimage selem inversion
2015-01-22 11:29:08 +11:00
Juan Nunez-Iglesias
8ffed5e424
Wrap scipy.ndimage binary morphology functions
2015-01-22 11:29:08 +11:00
Juan Nunez-Iglesias
56764f8209
Wrap scipy.ndimage grey morphology functions
2015-01-22 11:29:08 +11:00
Steven Silvester
f898bd0209
Style fixes
2014-12-26 11:26:30 -06:00
Steven Silvester
2e0deb9595
Fix syntax error and missing | operator
2014-12-24 07:47:05 -06:00
Steven Silvester
d37ccca598
Fix Py2.7 build errors
2014-12-24 06:54:56 -06:00
Steven Silvester
2d3ada19e5
Allow for no exceptions to be raised and cleanup
...
Allow for no exceptions to be raised
Add some helpful comments
Remove doctest skips
Remove TODO note
Cleanup and skip failing doctest
2014-12-23 16:51:18 -06:00
Steven Silvester
c0a0490eed
Fix handling of multiple warnings and update tests
...
Fix handling of multiple warnings
Update all test __init__ files
Update segmentation pkg
Update the color pkg
Update the exposure pkg
Update the filters pkg
Update the io pkg
Update the measure pkg
Update morphology package
Restructure test setup function
Add expected_warnings to __all__
Update restoration pkg.
Remove explicit filter check since it is done elsewhere
Fix the image test helpers
Update the transform pkg
Fix util pkg
Update viewer pkg
2014-12-23 16:51:06 -06:00
Steven Silvester
a4e4e57ba5
Create new expected_warnings helper and some cleanup
...
Add new helper function for expected warnings during test
Indentation cleanups and avoid skipping doctests if possible.
2014-12-23 16:50:18 -06:00
Steven Silvester
4680f30466
Add a test setup helper function
...
Add a function to set up a skimage test
Switch to new test helper function
Import local packages that raise warnings in test setup function
More fixes to doctests
Fix regionprops doc test
Try and fix the test_rank failure.
Remove no longer needed RectangleSelector shim
Skip more doctests in _regionprops
Try importing another scipy subpackage
2014-12-23 16:49:20 -06:00
Steven Silvester
f72882fbd2
Import scipy before turning on warnings
2014-12-23 16:49:19 -06:00
Steven Silvester
542cd4fabe
Fix some doctest warnings
...
Fix doctest errors
Suppress warnings when importing scipy.ndimage for the first time
2014-12-23 16:49:01 -06:00
Steven Silvester
0debedd82c
Handle more warnings and reset io plugins as needed
...
Reset plugins prior to running collections test
Handle warnings in morphology pkg
Add __init__ for morpohology tests
Handle warnings for novice pkg
Handle warnings for restoration pkg
Handle warnings for segmentation pkg
Handle warnings for _shared pkg
Handle warnings for transform pkg
Handle warnings for util pkg
Handle warnings in viewer module
2014-12-23 16:48:16 -06:00
Pratap Vardhan
2d4a77d94e
DOC: Change selem.ellipse params
2014-12-16 10:40:01 +05:30
Pratap Vardhan
db7b43199d
BUG: Change dtype
2014-12-15 18:13:39 +05:30
Pratap Vardhan
65c6b773ce
DOC: Clean up doc strings
2014-12-15 14:49:26 +05:30
Pratap Vardhan
8d50561d18
TST: Test for ellipse structuring element
2014-12-15 13:21:15 +05:30
Pratap Vardhan
4c68a5ad44
ENH: ellipse structuring element
2014-12-15 13:10:06 +05:30
Juan Nunez-Iglesias
53bb6f9369
Merge pull request #1290 from pratapvardhan/morph-selem
...
TST: Test for selem.cube
2014-12-14 18:13:04 +11:00
Josh Warner
1213a3ea1a
Merge pull request #1289 from ahojnnes/random
...
STY: Misc PEP8 fixes
2014-12-13 23:25:37 -06:00
Pratap Vardhan
073f28e90e
TST: Test for selem.cube
2014-12-14 10:52:53 +05:30
Johannes Schönberger
3a1079a180
Misc PEP8 fixes
2014-12-14 02:56:14 +01:00
Pratap Vardhan
9d6516903d
DOC: Add test functions docstrings
2014-12-14 01:28:09 +05:30
Pratap Vardhan
2058fe23cb
CLN: Minor cleanup - unused imports, pep8
2014-12-14 01:17:27 +05:30
Pratap Vardhan
8f7d9d69fe
CLN: Remove unused import and add module docstring
2014-12-11 20:17:29 +05:30
Stefan van der Walt
36aa4cdb6f
Merge pull request #1254 from matejak/label3d
...
Refactor labeling and extend to 3D
2014-12-04 12:31:29 +02:00
Matěj Týč
e41bff898a
Added fix for the strange input array shapes + tests
2014-11-28 16:45:52 +01:00
Matěj Týč
abf3dbc593
Added and tested proper exception handling concerning array shape
2014-11-16 15:33:13 +01:00
Matěj Týč
7c7ecc4bdc
Mainly typo fixes
2014-11-11 21:49:57 +01:00
Matěj Týč
438a9355d6
Fixed bugs so test pass now
2014-11-11 00:39:49 +01:00
Stefan van der Walt
78a7b7307a
Rename and deprecate filter module to prevent shadowing of built-in keyword
2014-11-10 12:53:50 +02:00
Matěj Týč
53f93a7f8e
Added tests for 3D labelling (that fail)
2014-11-08 12:09:19 +01:00