Commit Graph
4640 Commits
Author SHA1 Message Date
Tony S Yu 51c3d23b2e Fix doctests and cleanup reprs 2013-10-21 23:02:49 -05:00
Tony S Yu f1e0197753 Remove PixelGroup and just return a Picture 2013-10-21 23:02:49 -05:00
Tony S Yu 59375f2240 Rename for clarity 2013-10-21 23:02:49 -05:00
Tony S Yu 35a9cd4067 Fix setter for xy_array and reuse. 2013-10-21 23:02:49 -05:00
Tony S Yu 19a9e72ec7 Remove PixelGroup dependence on pic and key attrs 2013-10-21 23:02:49 -05:00
Tony S Yu cedfa8c7d4 Make xy_array public 2013-10-21 23:02:49 -05:00
Tony S Yu a5ad214c4b Move key validation for clarity 2013-10-21 23:02:48 -05:00
Tony S Yu 12e2a2543e Move methods from PixelGroup to Picture parent class 2013-10-21 23:02:48 -05:00
Tony S Yu b50d46b333 Change PixelGroup to inherit from Picture 2013-10-21 23:02:48 -05:00
Tony S Yu e83003c45d Simplify indexing 2013-10-21 23:02:48 -05:00
Tony S Yu 72c1f6855a Rename for clarity 2013-10-21 23:02:48 -05:00
Tony S Yu 7999e3f95e Refactor and add error tests 2013-10-21 23:02:48 -05:00
Tony S Yu 450d04d2b3 Simplify private docstrings 2013-10-21 23:02:48 -05:00
Tony S Yu b8443bd1e2 Remove unnecessary try-except. 2013-10-21 23:02:47 -05:00
Tony S Yu 7c1de57928 Simplify data access and add tests 2013-10-21 23:02:47 -05:00
Tony S Yu a951232702 Remove from_path and from_array methods
Having these methods and the constructor arguments is a bit redundant.
2013-10-21 23:02:47 -05:00
Tony S Yu 8869724b51 Remove color and size from Picture.__init__
Also rename `from_color` to `from_size`.
2013-10-21 23:02:47 -05:00
Tony S Yu 3619e6f2f2 Rename image to array 2013-10-21 23:02:47 -05:00
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 HansenandTony S Yu 2e98d8c21c Added novice submodule after rebase 2013-10-21 23:02:45 -05:00
Johannes Schönberger 114bb36ef3 Do not derive piecewise affine from projective transform 2013-10-21 16:31:30 +02:00
Johannes Schönberger 638d43c859 Re-enable clipping which was accidentally removed 2013-10-21 14:15:00 +02:00
Johannes Schönberger 0b98803f0f Add some more comments 2013-10-21 14:14:20 +02:00
Johannes Schönberger 5873159f1d Explicitly cast image shape to integer value 2013-10-21 14:01:47 +02:00
Johannes Schönberger 67cbb0221d Fix bug in homography detection 2013-10-21 13:34:55 +02: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