Commit Graph
379 Commits
Author SHA1 Message Date
Evgeni Burovski 5fa50a6765 MAINT: skel3d: prune dead code (eg, is_surface_point) 2016-02-20 17:26:12 +00:00
Evgeni Burovski ecf744542e MAINT: remove decorators which have no effect anyway 2016-02-20 17:26:12 +00:00
Evgeni Burovski dc6cf19fec STY: move main functions to the top of the file 2016-02-20 17:26:12 +00:00
Evgeni Burovski f82dddd475 MAINT: stop slicing memoryviews in is_simple_point.
Use plain C arrays for neighbors[27] + memcpy when copying the `cube`
for labeling.

Apparently, slicing memoryviews *is* expensive (cf Jake vdP'2012).
2016-02-20 17:26:12 +00:00
Evgeni Burovski 42ba24deb3 MAINT: skel3d: don't print stuff 2016-02-20 17:26:12 +00:00
Evgeni Burovski 88a9bcc874 DOC: skel3d: add basic docstrings 2016-02-20 17:26:12 +00:00
Evgeni Burovski 689980124d MAINT: skel3d: simplify dealing with 2D images 2016-02-20 17:26:12 +00:00
Evgeni Burovski c60b6b05cf MAINT: statically type img in toplevel _compute_thin_image 2016-02-20 17:26:12 +00:00
Evgeni Burovski 2f0d0cc18c MAINT: avoid incrurring np.r_ overhead in is_simple_point
(yet another x1.6)
2016-02-20 17:26:12 +00:00
Evgeni Burovski b7889b2c4f MAINT: avoid doing np.sum in the hot loop
(you gotta be kidding me, x2 speed-up)
2016-02-20 17:26:11 +00:00
Evgeni Burovski 01e1f04b28 TST: skel3d: add a Bat Cochlea sample from FIJI collections 2016-02-20 17:26:11 +00:00
Evgeni Burovski c9ed06ad92 MAINT: skel3d: statically type Euler LUT 2016-02-20 17:26:11 +00:00
Evgeni Burovski 32865d2bd9 MAINT: skel3d: statically type index_octants 2016-02-20 17:26:11 +00:00
Evgeni Burovski 53f48cb6c0 MAINT: skel3d: only allocate and type neighborhood once; switch off
bounds checking
2016-02-20 17:26:11 +00:00
Evgeni Burovski f1176a5319 MAINT: skel3d: add static typing to obvious places 2016-02-20 17:26:11 +00:00
Evgeni Burovski 06d5a91f57 MAINT: skel3d: move computations to cython 2016-02-20 17:26:11 +00:00
Evgeni Burovski a85c9ddd3c MAINT: move new skeletonize3d files to more appropriate places 2016-02-20 17:26:11 +00:00
Evgeni Burovski e421cea331 ENH: start adding a python version of Skeletonize3D code 2016-02-20 17:26:11 +00:00
Steven Silvester b710bd21d2 Use a stacklevel of 2 by default for all warnings 2016-01-30 08:57:46 -06:00
Emmanuelle Gouillart d4b3aeeed3 Merge pull request #1846 from arokem/hull-docs
DOC: Small one. The input to this one needs to be 2D.
2015-12-24 10:34:00 +01:00
arokem 9fb5f1333d TST: Test both functions(!). 2015-12-23 15:36:35 -08:00
arokem 436d0e8ca3 TST: Test error handling in convex_hull, convex_hull_object.
Also, a few PEP8 fixes in both module and tests.
2015-12-23 14:57:44 -08:00
arokem 227211fec7 DOC: Small one. The input to this one needs to be 2D. 2015-12-23 14:24:52 -08:00
emmanuelle 0b61b8f46f Removed deprecated label function from morphology module in preparation
for 0.12 release.
2015-12-23 23:24:22 +01:00
Juan Nunez-Iglesias 3b525987f5 Merge pull request #1787 from ahojnnes/rpropsfix
Various fixes and improvements
2015-11-19 15:16:16 +11:00
Johannes Schönberger 9d3a7b4ecd Remove redundant type conversion 2015-11-18 08:58:01 -05:00
Johannes Schönberger a63b746e6c Move import test to top of function and import outside of function 2015-11-17 10:25:05 -05:00
Johannes Schönberger 6e644c4aa6 Remove single author from header, fix typo
Functions in this file are from multiple authors, the original
author is attributed in the contributors section and the Git history.
2015-11-17 10:22:44 -05:00
Johannes Schönberger 1278b02161 Fix circular import between regionprops and convex_hull_image 2015-11-17 10:19:09 -05:00
Olivia Wilson 2045c44d1f Removed trailing whitespace 2015-10-07 11:30:20 +01:00
Olivia Wilson 07775b6b54 Merge branch 'remove_small_holes' of https://github.com/oew1v07/scikit-image into remove_small_holes
Need to merge with work completed elsewhere
2015-10-07 11:00:02 +01:00
Olivia Wilson 815c5c8ee7 Added new line 2015-10-07 10:59:26 +01:00
Olivia 9025c020ae Adjusting spacing of array in doctests 2015-09-25 14:55:13 +01:00
Olivia 5c7c67db12 Made changes to doctests 2015-09-25 14:51:06 +01:00
Olivia Wilson 19fbdfb6fe Adjusted white space for doctests 2015-09-24 11:58:40 +01:00
Olivia Wilson 413ac4a53b Altered doctests to correct spacing 2015-09-23 21:24:11 +01:00
Olivia a3bb9401c2 Moved the comments on labeled arrays to notes section 2015-09-22 17:41:22 +01:00
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 a5ba186f80 Added new _supported_types function and new line at end 2015-08-31 19:11:43 +01:00
Olivia 9bfbcfcef3 Removed extraneous print statement 2015-08-30 23:15:04 +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
Stefan van der Walt 83d5ff9001 Consistently use relative imports 2015-07-11 15:41:37 -05:00
Christian Sachs 639a046611 fixed intra docstring reference links 2015-06-30 16:33:03 +02:00
Christian Sachs 2de03d018a reordered code according to PEP8, modified docstring 2015-06-30 15:07:04 +02:00
Christian Sachs f54c254421 fixed docstrings, renamed variables for clarity, removed old skeletonize function body 2015-06-30 09:39:25 +02:00
Christian Sachs 5301a9a8e3 added faster, Cython based skeletonize function 2015-06-29 22:11:22 +02:00
Juan Nunez-Iglesias 0d134987f9 Harmonize all ndimage usage across the library
Only two forms remain in use:

- `from scipy import ndimage as ndi`
- `from scipy.ndimage import function`
2015-06-09 15:18:37 +10:00
Lee Kamentsky 54f8265603 Issue #803 order the structuring element by distance to get diagonals processed last 2015-05-28 13:28:21 -04:00
kpk09andLee Kamentsky a9bdaaf274 proposed fix and test for broken watershed on flat areas (https://github.com/scikit-image/scikit-image/issues/803) 2015-05-28 13:28:16 -04:00