Commit Graph

167 Commits

Author SHA1 Message Date
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 9e8f91930e Handle warnings in several packages
Start handling warnings in data, exposure, and draw

Add a known_warning decorator and suppress warnings in color pkg

Use the existing all_warnings context manager

Raise warnings in data

Raise warnings in draw

Raise warnings in exposure

Suppress warnings in exposure tests

Add comments about warning suppressions

Raise warnings in feature

Fix warnings in filter package

Add warning handling to graph

Handle warnings in io package
2014-12-23 16:47:41 -06:00
Pratap Vardhan b72a960670 DOC: Misc spell corrections 2014-12-16 11:41:24 +05:30
Johannes Schönberger 3a1079a180 Misc PEP8 fixes 2014-12-14 02:56:14 +01:00
Rebecca 1b217f971e replacing lena in examples and most tests 2014-11-07 16:01:23 +02:00
Vighnesh Birodkar b8988190b0 Docstring changes 2014-10-23 13:17:29 +05:30
Vighnesh Birodkar 96bf747197 always return new id and put new id logic in a function 2014-10-18 21:33:42 +05:30
Vighnesh Birodkar 31ecc3db86 Change None to 0 2014-10-17 00:06:12 +05:30
Vighnesh Birodkar 0419c1e6f7 sequential numbering of nodes using max id 2014-10-16 23:22:56 +05:30
Vighnesh Birodkar 4f91a4ded3 cleanup of if else block 2014-10-05 17:03:56 +05:30
Vighnesh Birodkar 02fec246ea change in random number max logic 2014-10-04 22:37:12 +05:30
Vighnesh Birodkar 3a9df73590 Corrected new id logic 2014-10-04 22:33:10 +05:30
Vighnesh Birodkar febef86bbb added non in-place merge 2014-10-04 20:19:58 +05:30
Juan Nunez-Iglesias 25d6c58674 Merge pull request #1087 from vighneshbirodkar/rag_draw
RAG drawing function
2014-08-18 10:05:58 -05:00
Vighnesh Birodkar 103f48bc00 Spelling error 2014-08-18 19:58:02 +05:30
Vighnesh Birodkar 12b1a91c70 remove self loops in rag 2014-08-18 18:42:23 +05:30
Vighnesh Birodkar 3f7ce2e670 Added example with cubehelix 2014-08-15 21:28:47 +05:30
Vighnesh Birodkar 344e2a51c0 cast labels in ncut 2014-08-15 17:52:25 +05:30
Vighnesh Birodkar c43180fa27 force copy 2014-08-15 17:02:35 +05:30
Vighnesh Birodkar 4bb4076959 fixed imports 2014-08-15 14:15:02 +05:30
Vighnesh Birodkar 7730eb004e fixed init 2014-08-15 14:13:36 +05:30
Vighnesh Birodkar bcbfdb28f5 add desaturate option 2014-08-15 14:11:53 +05:30
Vighnesh Birodkar 5bd55071bc handled matplotlib not present case 2014-08-15 14:11:18 +05:30
Vighnesh Birodkar adeb8689af Fixed doctest 2014-08-15 14:10:38 +05:30
Vighnesh Birodkar 95b20adee7 None comparison 2014-08-15 14:10:37 +05:30
Vighnesh Birodkar 4005749a61 rebase and change API to support mpl colorspec 2014-08-15 14:10:37 +05:30
Vighnesh Birodkar 6928e5d9ef Corrected docstrings 2014-08-15 14:10:09 +05:30
Vighnesh Birodkar 5c662b4472 Docstrings 2014-08-15 14:10:09 +05:30
Vighnesh Birodkar f4aa0fc8e1 Formatting 2014-08-15 14:07:58 +05:30
Vighnesh Birodkar 39dfcc4144 Frist working copy of RAG draw 2014-08-15 14:07:58 +05:30
Vighnesh Birodkar afa345f363 Update graph_cut.py 2014-08-14 23:47:00 +05:30
Vighnesh Birodkar b61763117d Update _ncut_cy.pyx 2014-08-14 23:45:30 +05:30
Vighnesh Birodkar ab60edcdf7 Fix Reference format 2014-08-10 20:31:22 +05:30
Vighnesh Birodkar 4a231cfd35 Minor changes 2014-08-10 20:07:34 +05:30
Vighnesh Birodkar 0c185629d3 corrected similarity 2014-08-09 22:09:12 +05:30
Vighnesh Birodkar 03d3873cc4 docstring of _label_all 2014-08-09 22:08:27 +05:30
Vighnesh Birodkar ded138cbcb test case for in place 2014-08-09 21:35:07 +05:30
Vighnesh Birodkar 3973b30300 docstring changes and code movement 2014-08-09 21:29:41 +05:30
Vighnesh Birodkar 6d0bf723d7 Docstring changes and typos 2014-08-08 23:16:38 +05:30
Vighnesh Birodkar 1fa7bced8d skip error test 2014-08-06 23:45:35 +05:30
Vighnesh Birodkar 9371c4f0e7 Fixed potential import error 2014-08-06 22:38:18 +05:30
Vighnesh Birodkar 35c9746b74 comment 2014-08-06 02:48:03 +05:30
Vighnesh Birodkar 3ad2b682d6 test skip 2014-08-06 02:47:24 +05:30
Vighnesh Birodkar 69fec94326 rag copy in threshold cut 2014-08-06 02:46:29 +05:30
Vighnesh Birodkar 452921d9f2 API changes, comments and docstrings 2014-08-06 02:44:33 +05:30
Vighnesh Birodkar 07cb79cd27 Cut cost is computed by Cython code 2014-08-05 23:35:32 +05:30
Vighnesh Birodkar d8c0b2e7dd Add unit test 2014-08-05 23:35:32 +05:30
Vighnesh Birodkar 7e2f33cb11 Refer sections of paper in comments 2014-08-05 23:33:23 +05:30
Vighnesh Birodkar f261e51faa rename method to cut_normalized 2014-08-05 23:33:23 +05:30