Fix holes in lab conversions and add tests
Fix holes in lab conversions and add tests
Add saturation protection and error raising by default
Trigger travis rebuild after error
Raise warning by default, change parameter name
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
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
# The first commit's message is:
Add a known_warning decorator and suppress warnings in color pkg
# This is the 2nd commit message:
Use the existing all_warnings context manager
# This is the 3rd commit message:
Raise warnings in data
# This is the 4th commit message:
Raise warnings in draw
# This is the 5th commit message:
Raise warnings in exposure
# This is the 6th commit message:
Suppress warnings in exposure tests
# This is the 7th commit message:
Add comments about warning suppressions
Add random seeds to tests per #1044
Additionally, change all `np.random.random` to `np.random.rand` calls, as the former are not affected by `np.random.seed`.
This applies `adapt_rgb` to `equalize_adapthist` and removes the
special-casing of RGB images in that function. Note that tests of
`adapt_rgb` fail because some type conversion and intensity scaling
were added to pass tests for `equalize_adapthist`.