Rachel Finck
c9d4fa6875
Fix threshold_triangle to work with non-integer images.
2016-07-05 11:00:03 -07:00
Juan Nunez-Iglesias
b51259532b
Use canonical imports in test_frangi
2016-06-21 13:19:55 -04:00
Hiyorimi and Juan Nunez-Iglesias
025e8c5499
Frangi filter support with tests + docstrings
...
+fixed tests and removed shared code
https://github.com/scikit-image/scikit-image/pull/2139#discussion_r67240635
docstrings and style fixes
fix Lambda yielding
more style fixes
enumerate & black line fixes
2016-06-21 13:15:05 -04:00
emmanuelle
b0437045ed
Added default value to gaussian filter (sigma parameter)
2016-06-19 09:38:36 +02:00
Egor Panfilov
5f891dedc3
Removed deprecared sobel, prewitt, scharr, roberts filters
2016-06-18 18:53:59 +03:00
François Boulogne
fc1192ae15
ENH: implement mean and triangle thresholding
2016-06-10 00:27:15 +02:00
François Boulogne
ea9180f754
more concise writting
2016-06-02 13:38:32 +02:00
François Boulogne and François Boulogne
80e8544067
Review threshold minimum
2016-06-02 10:32:00 +02:00
Jeff Hemmelgarn and François Boulogne
31db1c607e
Add threshold minimum algorithm
2016-06-02 10:32:00 +02:00
Martin Zackrisson
1d7c4fd535
Corrected Otsu test error raising assertion
2016-05-30 13:38:55 +02:00
Egor Panfilov
2b1a88dfb5
Removed deprecated filters.canny links
2016-03-24 21:40:19 +03:00
Egor Panfilov
3c803f95ef
Removed deprecated filter module
2016-03-23 22:44:29 +03:00
Juan Nunez-Iglesias
aae7f2b615
Merge pull request #1907 from OrkoHunter/threshold_adaptive_block_size
...
Modify threshold_adaptive
2016-01-26 10:26:56 +11:00
Himanshu Mishra
41afd05d0a
Modify threshold_adaptive
...
1. Improve docstring
2. Raise error for even block_size
3. Test for the ValueError
2016-01-25 19:46:21 +05:30
Himanshu Mishra
1740767a3a
Add test for threshold_otsu on single color image
2016-01-25 13:56:45 +05:30
Himanshu Mishra
c41376c60e
Remove test_otsu_lena_image
2016-01-21 23:36:30 +05:30
Himanshu Mishra
a2d75de834
Add expected_warnings to the tests using threshold_otsu
2016-01-15 10:34:26 +05:30
Guillaume Lemaitre
ed55226dfb
Correct bug inside the test
2015-10-27 16:35:15 +01:00
Guillaume Lemaitre
41875cf59a
Generalize Laplce operator + testing
...
Reuse the function skimage.restoration.uft.laplacian() to create the kernel
Improve the testing for a specific case
2015-10-27 15:17:07 +01:00
Guillaume Lemaitre
5d209a68a9
Added the Laplacian operator
2015-10-27 01:23:29 +01:00
sumitbinnani
bfba746a91
Adapting Edited Files to comply with PEP8 Standards
...
Changing Indentation as per PEP8 Guidelines
2015-10-07 14:21:36 +05:30
sumitbinnani
811b6895cf
Refactoring ``skimage.filters.gabor_filter` to `skimage.filters.gabor``
...
Refactoring ```skimage.filters.gaussian_filter``` to ```skimage.filters.gaussian```
2015-10-04 00:15:53 +05:30
John Wiggins
6e6d243dbd
Use assert_raises instead of @raises.
2015-08-28 21:19:20 +02:00
John Wiggins
c05108da36
Replace a doc test with some regular unit tests.
2015-08-28 21:03:01 +02:00
Stefan van der Walt
83d5ff9001
Consistently use relative imports
2015-07-11 15:41:37 -05:00
Jeremy Metz
2bc9e82465
Minor stylistic changes, removed lena test
2015-02-23 16:40:38 +00:00
Jeremy Metz
3cbae84360
PEP8 fixes, License file added, tests added
...
* Added 7 tests (3 in TestSimpleImage, 4 as separate functions)
* Added ImageJ license file
* Updated Li code
* threshold set from image instead of fixed at 0.5
* subtract min to handle -ve images (as log is integral part of alg.)
2015-02-23 11:22:12 +00:00
Steven Silvester
f4970f9707
Fix canny import test
2015-02-03 21:47:56 -06:00
Steven Silvester
d070b2df4d
Add an explicit test for canny deprecation
2015-02-03 21:39:23 -06:00
Steven Silvester
f898bd0209
Style fixes
2014-12-26 11:26:30 -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
1b905d4cef
More cleanup and updating of tests
...
Clean up setup_test and add a teardown_test method
Implement new setup/teardown in novice tests
Fix warning handling in pil_plugin
Update rank tests
2014-12-23 16:50:50 -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
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
Juan Nunez-Iglesias
6c444490e3
Merge pull request #1243 from emmanuelle/filters_rank
...
Added an import of `median` from the `filters` module
2014-12-01 12:15:22 +11:00
emmanuelle
b730777a74
Modified test for median filter import
2014-11-30 14:58:10 +01:00
emmanuelle
bea0c1b7d1
Added an import of median from the filters module
...
(it's `filters.rank.median`, but it is convenient to have the very common
median filter in `filters` as well)
2014-11-29 14:34:09 +01:00
Johannes Schönberger
c45473bdb9
Use new edge operator functions in test cases
2014-11-27 11:11:07 -05:00
Stefan van der Walt
e8ee365382
Simplify warning test
2014-11-11 00:32:02 +02:00
Stefan van der Walt
046fe99e4e
Make sure warning is raised upon import
2014-11-10 16:56:46 +02:00
Stefan van der Walt
3260594268
Add debug print to failing assert
2014-11-10 16:01:11 +02:00
Stefan van der Walt
e03638a9d2
Filter won't be imported twice--check for its deprecation correctly
2014-11-10 13:41:26 +02:00
Stefan van der Walt
1bfb10cb88
Ensure import of old filter namespace raises warning
2014-11-10 13:16:32 +02:00
Stefan van der Walt
3ed648ea08
Fixes according to PR feedback
2014-11-10 13:16:25 +02: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