Commit Graph

10 Commits

Author SHA1 Message Date
Olivia 3f735b6482 Changed the test file to use expected warnings.
This is with help from @blink1073
2015-09-22 17:35:32 +01:00
Olivia c7597d6942 Changed function name to _check_dtype_supported 2015-09-17 13:45:01 +01:00
Olivia 9ea085fd6f Added new functionality to remove small holes from images.
This is currently working with **kwargs except for inplace
which I cannot get working. It works with arrays of type int
but returns an array of type bool. Possibly in future add
labelling for arrays of type int. A UserWarning is produced
when using arrays of type int which seems to work normally
but the test created for this does not pick up the warning.

Any assistance on these issues would be helpful. I started
this at EuroScipy 2015 and this fixes issue #1642
2015-08-30 23:05:15 +01:00
Juan Nunez-Iglesias 8711c74533 Test type warning from remove_small_objects 2014-09-30 15:04:28 +10:00
Juan Nunez-Iglesias 2af5c41571 Fix type hierarchy check in remove_small_objects 2013-09-09 13:53:33 +10:00
Juan Nunez-Iglesias b306f9b70f Revert remove_small_objects to raise TypeError 2013-03-10 19:23:04 +11:00
Stefan van der Walt dae9b7adfd STY: Minor cleanup. 2013-03-04 11:30:19 +02:00
Juan Nunez-Iglesias 6b9ecd80b9 Add raise and labeled image tests 2013-03-04 01:32:05 +11:00
Juan Nunez-Iglesias b07f7fd9bd Rename function to remove_small_objects 2013-03-04 01:32:05 +11:00
Juan Nunez-Iglesias 5222fb5ff7 Add tests for remove_small_connected_components 2013-03-04 01:32:05 +11:00