Commit Graph

2617 Commits

Author SHA1 Message Date
Tony S Yu c5bfed26cd Fix validation bug and add test 2013-10-21 23:02:47 -05:00
Tony S Yu 9385e73586 Clean up testing 2013-10-21 23:02:47 -05:00
Tony S Yu f47c5a7be7 Switch argument order for clarity 2013-10-21 23:02:47 -05:00
Tony S Yu 087d422ebc Rename novice package as per convention 2013-10-21 23:02:46 -05:00
Tony S Yu 266c28ba6b Reuse colors from skimage.color.
This change greatly reduces the number of available colors, which is probably
a good thing.
2013-10-21 23:02:46 -05:00
Tony S Yu 0663626667 Clean up color_dict definition 2013-10-21 23:02:46 -05:00
Tony S Yu 896e471a12 Fix modified flag behavior 2013-10-21 23:02:46 -05:00
Tony S Yu c881cf32e6 Remove unnecessary functions. 2013-10-21 23:02:46 -05:00
Tony S Yu 2cf9466e9e Clean up docstrings.
__getitem__/__setitem__ docstrings aren't typically displayed so they're
unnecessary. Move and fix doctests as well.
2013-10-21 23:02:46 -05:00
Tony S Yu e86b0a161c Change inflate/inflation to rescale/scale. 2013-10-21 23:02:46 -05:00
Tony S Yu 62c16bde51 Remove color scraping script and intermediate data file 2013-10-21 23:02:45 -05:00
Tony S Yu 9503c41f26 Cleanup docstrings.
Note that the getter (not setter) docstring gets printed at the interactive prompt
2013-10-21 23:02:45 -05:00
Tony S Yu a2f03d3075 Speed up test 2013-10-21 23:02:45 -05:00
Tony S Yu 22a7558673 Change test class to test functions 2013-10-21 23:02:45 -05:00
Tony S Yu 1a418f8820 Clean up novice __init__
Move functions from __init__ to novice module and clean up package docstring.
Doctest now passes.
2013-10-21 23:02:45 -05:00
Tony S Yu 34a844dd3b Cleanups to imports and line wrapping 2013-10-21 23:02:45 -05:00
Tony S Yu bd51d9cbef Fix whitespace 2013-10-21 23:02:45 -05:00
Michael Hansen 2e98d8c21c Added novice submodule after rebase 2013-10-21 23:02:45 -05:00
Andreas Mueller 96f04ad530 slight performance improvement. 2013-10-20 15:15:55 -07:00
Andreas Mueller 57e37352cb FIX add missing min_size parameter, add regression test. 2013-10-20 15:15:36 -07:00
Stefan van der Walt f5f8a2c289 Fix markup error in marching cubes docs. 2013-10-19 16:08:42 +02:00
Johannes Schönberger 1b66ab479a Speed up memory views in watershed function 2013-10-18 21:00:40 +02:00
Johannes Schönberger 3e28168914 Speed up memory views in skeletonize function 2013-10-18 20:56:18 +02:00
Johannes Schönberger 342205fcde Speed up memory views in line drawing function 2013-10-18 20:54:28 +02:00
Johannes Schönberger bfb0cfce2f Speed up memory views in local_binary_pattern 2013-10-18 20:49:49 +02:00
Juan Nunez-Iglesias 354c8502c2 Merge pull request #791 from stefanv/regionprops_as_dict
Dictionary interface to preserve backward compatibility for RegionProps.
2013-10-17 05:12:14 -07:00
Stefan van der Walt 8e763f4e48 Fix Py3 exception in GTK plugin. 2013-10-17 13:44:19 +02:00
Stefan van der Walt 94cad284ce Fix Python 3 list handling. 2013-10-17 13:43:18 +02:00
Stefan van der Walt 14687d0510 Dictionary interface to preserve backward compatibility for RegionProps. 2013-10-17 13:07:41 +02:00
Josh Warner 783e120e75 Merge pull request #788 from ahojnnes/patch-1
Weighted central moments
2013-10-15 10:45:50 -07:00
Josh Warner 714afb44f7 Merge pull request #787 from cgohlke/patch-2
TST: Fix RuntimeError: data type not supported on Python 2.6
2013-10-15 09:54:06 -07:00
Johannes Schönberger 2bf47ada90 Change data type of convolution to more general uint 2013-10-15 18:11:03 +02:00
Johannes Schönberger 505467008d Fix dtype error on 32bit systems as convolve is only implemented for 32bit integers 2013-10-15 15:49:10 +02:00
Johannes Schönberger 6711bfb3c8 Rename weighted central moments property 2013-10-15 15:12:00 +02:00
cgohlke e75126a4d8 TST: Fix RuntimeError: data type not supported on Python 2.6
On Python >=2.7, C extensions that use integer format codes with the PyArg_Parse* family of functions will raise a TypeError exception instead of triggering a DeprecationWarning (Python 2.6). The RuntimeError is raised by ndimage for unsupported array data types.
2013-10-15 00:42:40 -07:00
cgohlke f5337e3616 TST: Fix AttributeError: '_RegionProperties' object has no attribute 'weighted_moments_central' 2013-10-14 23:49:53 -07:00
cgohlke 4b02e31dfb TST: Fix test_weighted_moments is defined twice 2013-10-14 23:36:16 -07:00
Johannes Schönberger a17cfd9b06 Remove print statement 2013-10-14 22:14:01 +02:00
Johannes Schönberger 3f39885c93 Re-add tests 2013-10-14 20:02:46 +02:00
Johannes Schönberger 5c9d7af652 Remove deprecated hough_* functions 2013-10-14 19:52:56 +02:00
Johannes Schönberger 8c5aa376d5 Remove deprecated tv_denoise function 2013-10-14 19:52:56 +02:00
Johannes Schönberger 5e2b04c486 Remove deprecated is_local_maximum function 2013-10-14 19:52:32 +02:00
Stefan van der Walt a6f59a587d Merge pull request #783 from ahojnnes/draw
Remove set_color duplicate and add test case
2013-10-14 10:45:26 -07:00
Johannes Schönberger a9e9012d1a Re-add missing parts 2013-10-14 18:24:58 +02:00
Johannes Schönberger ffbe37ad9d Add test case for set_color function 2013-10-14 18:01:03 +02:00
Johannes Schönberger 998d64e64e Remove duplicate set_color function 2013-10-14 17:58:18 +02:00
Marianne Corvellec 93fb2d3188 Merge branch 'master' of git://github.com/scikit-image/scikit-image into filter_median_dtypes 2013-10-14 11:25:08 -04:00
Johannes Schönberger 29d8e0d1d9 Merge pull request #778 from stefanv/binary_morph_out
Simplify output handling for binary morphology.
2013-10-14 08:22:46 -07:00
Stefan van der Walt d182286e53 Always use uint8 for binary view. 2013-10-14 16:41:08 +02:00
François Boulogne ca6ecf08e6 DOCTEST: fix 2013-10-14 16:28:53 +02:00