Commit Graph

326 Commits

Author SHA1 Message Date
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 782ba46a4c Handle more warnings
Punt on the issue of warnings with the minimum build

Handle warnings in measure pkg

Fix the rank filter test by forcing a random seed in the function

Compare as boolean in imread test

Import loadmat in test_setup to avoid warning

Use a setup method for imread plugin test

Revoke unintended changes

Fix indentation to appease jni

More indentation fixes

Fix unintentional comment out
2014-12-23 16:49:59 -06:00
Steven Silvester 6db92d387b More doctest and pil_plugin fixes
Fix Python2 imread in pil_plugin.

Load from data

Use all_warnings when importing the other packages

More fixes for regionprops doctest
2014-12-23 16:49:38 -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 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 2756358f3c Clean up PIL plugin and handle more warnings
Use the pil plugin to load data files

Fix install_requires string formatting

Dead end commit

Make all tools executable

Remove debug print

Suppress PIL resourcewarnings

Handle a few more warnings
2014-12-23 16:48:38 -06:00
Pratap Vardhan b72a960670 DOC: Misc spell corrections 2014-12-16 11:41:24 +05:30
Johannes Schönberger 125d53ba52 Add test cases for invalid block sizes 2014-12-15 09:50:10 +01:00
Johannes Schönberger 813142baf8 Check for invalid upsampling block sizes 2014-12-15 09:50:07 +01:00
Johannes Schönberger 3a1079a180 Misc PEP8 fixes 2014-12-14 02:56:14 +01:00
emmanuelle 873a2bab4f Modified a few docstrings that made doctesting fail 2014-12-07 16:58:36 +01:00
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
Jacopo 77a78a287c Updated docs for regionprops to reflect the dropping of regions with label value 0 2014-12-03 11:09:46 +10:00
Matěj Týč c6ebe6c661 Removed negative connectivity support as requested 2014-12-02 22:34:04 +01:00
Matěj Týč e41bff898a Added fix for the strange input array shapes + tests 2014-11-28 16:45:52 +01:00
Johannes Schönberger 8a67733567 Add encoding header 2014-11-26 18:26:34 -05:00
Johannes Schönberger fc0a6064d7 Use uint8 type for simple moments functions 2014-11-26 17:08:42 -05:00
Johannes Schönberger 71a5437794 Add fused type specialization for moments functions 2014-11-26 17:03:50 -05:00
Matěj Týč 3b4425813b Streamlined connectivity vs neighbors handling 2014-11-25 00:37:19 +01:00
Matěj Týč ac11b61502 Fixed typos, added array shape checking 2014-11-23 23:45:32 +01:00
Matěj Týč d07caea5a8 Mended code style 2014-11-23 23:17:01 +01:00
Matěj Týč a4b841daf0 Fixed bugs 2014-11-19 23:16:33 +01:00
Matěj Týč 53e1912854 Merge branch 'label3d' of https://github.com/matejak/scikit-image into label3d 2014-11-19 23:03:07 +01:00
Matěj Týč fe4a9b5847 Made the scan code cleaner and faster (but longer) 2014-11-19 23:02:34 +01:00
Matěj Týč 20755da3fe Fixed typos and made some style fixes 2014-11-19 21:32:27 +01:00
Matěj Týč 06c46ec51e Introduced the connectivity parameter, regrouped some code 2014-11-18 23:45:54 +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ýč eb55d177c3 Removed declaration of deceased function 2014-11-15 17:11:45 +01:00
Matěj Týč d29831882d Redone the background handling = considerable speedup 2014-11-15 16:42:22 +01:00
Matěj Týč 67464e2081 Fixed a typo + cleaned the code semantics 2014-11-15 16:11:31 +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
Matěj Týč 815ea29d26 Added some comments + requested reformatting 2014-10-29 00:58:01 +01:00
Matěj Týč 416f3a2eb5 numpy 1.6 compat fix 2014-10-27 23:33:59 +01:00
Matěj Týč 152a6d0de8 Fixed typos + added docstrings and comments 2014-10-27 22:37:04 +01:00
Matěj Týč 98047f5ce8 Cython minor fixes 2014-10-26 23:38:12 +01:00
Matěj Týč d3049a087c Refactored Cython stuff with easier code readability in mind 2014-10-26 23:22:54 +01:00
Matěj Týč b65ebdfb13 Added support for 3D arrays 2014-10-26 21:30:05 +01:00
Matěj Týč f736047ebb Refactored measure.label, added documentation. 2014-10-25 18:34:32 +02:00
Johannes Schönberger 06fd017828 Improve description of stop_probability 2014-10-01 15:30:27 -04:00
Johannes Schönberger c594416b78 Fix stop_probability description 2014-09-30 20:55:35 -04:00
Johannes Schönberger 15475516d9 Remove extra space 2014-09-30 20:49:23 -04:00
Johannes Schönberger eba3d75fa9 Add sanity checks for input parameters 2014-09-28 18:43:32 -04:00
Johannes Schönberger be5d4b19ec Add stop_probability to RANSAC 2014-09-28 18:38:35 -04:00
Stefan van der Walt 5ba4b7ccd3 Expose point_in_poly and move to measure module 2014-09-22 17:56:18 +02:00
Juan Nunez-Iglesias c87d5567b4 Update find_contours docstring to use r/c notation
This update fixes #1140.

Other docstrings will probably need to be updated as well.
2014-09-12 14:08:07 +10:00
Stefan van der Walt 85439b173a Merge pull request #1115 from JDWarner/enh_marching_cubes
ENH: Simplify `marching_cubes` for maintainability
2014-09-01 17:32:26 +01:00
Johannes Schönberger 23083636fe Replace pow() with iterative multiplication 2014-08-31 22:51:32 -04:00
Johannes Schönberger 4f1adee2ec Make moments functions C functions and reuse centralized moments 2014-08-31 22:51:32 -04:00
Johannes Schönberger 8d2fdaa8f5 Speedup moments function 2014-08-31 22:51:32 -04:00