Commit Graph

281 Commits

Author SHA1 Message Date
Juan Nunez-Iglesias c87d5567b4 Update find_contours docstring to use r/c notation
This update fixes #1140.

Other docstrings will probably need to be updated as well.
2014-09-12 14:08:07 +10:00
Stefan van der Walt 85439b173a Merge pull request #1115 from JDWarner/enh_marching_cubes
ENH: Simplify `marching_cubes` for maintainability
2014-09-01 17:32:26 +01:00
Johannes Schönberger 23083636fe Replace pow() with iterative multiplication 2014-08-31 22:51:32 -04:00
Johannes Schönberger 4f1adee2ec Make moments functions C functions and reuse centralized moments 2014-08-31 22:51:32 -04:00
Johannes Schönberger 8d2fdaa8f5 Speedup moments function 2014-08-31 22:51:32 -04:00
Johannes Schönberger cdf7ad12bc Speedup moments_central function 2014-08-31 22:51:32 -04:00
Josh Warner (Mac) af59d06461 ENH: Simplify marching_cubes for maintainability.
This does not change execution time, but the entire algorithm
is much simpler to read and understand without the branching
Cython code paths for anisotropic inputs. Memory usage decreases
a minor amount.
2014-08-31 11:00:41 +01:00
blink1073 5677dafe41 Move away from random.random in favor of random.rand 2014-07-19 18:18:23 -05:00
Johannes L. Schönberger 6546b9dba4 Merge pull request #1007 from stefanv/label_refactor
Move `morphology.label` to `measure.label` and prepare for 0-label transition
2014-05-25 21:56:42 -04:00
Stefan van der Walt 135965fbe4 Avoid circular imports 2014-05-25 20:05:17 +02:00
Stefan van der Walt 4da4ec5b89 Mention which parameters to label are optional. Simplify label deprecation. 2014-05-09 03:00:39 +02:00
Stefan van der Walt 1de102a885 Fix broken and circular imports 2014-05-09 02:53:57 +02:00
Stefan van der Walt 5ba3ea421c Fix imports and suppress deprecation warnings 2014-05-08 19:14:38 +02:00
Stefan van der Walt 46829c6a33 Move implementation of label to measure submodule 2014-05-08 18:04:03 +02:00
Stefan van der Walt 7152d5c314 Move label to measure module (with deprecation). Warn that background parameter will default to 0 in v0.12. 2014-05-08 17:49:47 +02:00
Stefan van der Walt 0b6e48fe2a Clarify regionprops output 2014-05-08 10:45:04 +02:00
Johannes Schönberger 46b2bd5bb1 Remove print statement 2014-04-12 11:34:03 -04:00
Johannes Schönberger 6a0d81a047 Remove backwards-compatability of skimage.measure.regionprops 2014-04-11 10:06:59 -04:00
Vighnesh Birodkar e6ea9efa1c formatting, used assert_equals in test 2014-03-30 17:46:45 +05:30
Vighnesh Birodkar 764c59693c removed array cast, added not equals test 2014-03-28 00:12:18 +05:30
Vighnesh Birodkar 3f5b3892ed reverted irrelevant changes 2014-03-26 03:59:56 +05:30
Vighnesh Birodkar 1fc24294ff reverted irrelevant changes 2014-03-26 03:58:32 +05:30
Vighnesh Birodkar b0dbfffb45 reverted irrelevant changes 2014-03-26 03:56:40 +05:30
Vighnesh Birodkar dd8a14bf69 reverted irrelevant changes: 2014-03-26 03:55:22 +05:30
Vighnesh Birodkar ab06d0177b pep8 2014-03-26 03:51:59 +05:30
Vighnesh Birodkar ace11b852e added nan case 2014-03-26 03:50:24 +05:30
Vighnesh Birodkar 77b91e633b added tests, accounted for nan case 2014-03-26 03:50:04 +05:30
Vighnesh Birodkar a748df0b55 removed blankline 2014-03-26 02:59:59 +05:30
Vighnesh Birodkar 12ba5905a7 overrided __eq__ method of region props 2014-03-26 02:56:49 +05:30
Johannes Schönberger 944c9c6bde Merge pull request #882 from JDWarner/correct_mesh_orientation
Correct mesh orientation
2014-03-14 18:10:28 -04:00
Josh Warner (Mac) 5ac910b0b8 FIX: correct other instance of np.linalg.norm, clarify comments 2014-03-14 14:15:45 -05:00
Josh Warner (Mac) 48ca44bf16 FIX: Slight speed decrease for backwards compatibility 2014-03-14 00:08:47 -05:00
Josh Warner (Mac) e9ac84b77c TST: Add unit test for mesh orientation correction. 2014-03-13 23:34:46 -05:00
Ankit Agrawal 292f9dce9b Fix regionprops doc typo 2014-02-12 19:17:54 +05:30
Josh Warner (Mac) f2b13047f7 DOC: correct misspelling in comment 2014-02-09 15:41:50 -06:00
Josh Warner (Mac) 3d3aba1ff7 Add correct_mesh_orientation to skimage.measure imports 2014-02-09 13:32:57 -06:00
Josh Warner (Mac) fe2edd5149 FEAT: Add function to correct mesh face orientations 2014-02-09 13:16:19 -06:00
blink1073 c2fd471c55 Fix aliasing and update docstring 2014-02-04 21:59:39 -06:00
blink1073 2893fbae0e Refactor perp_lines behavior 2014-02-02 21:52:50 -06:00
Juan Nunez-Iglesias 01967e5060 Update docstring according to @stefanv's comments 2014-01-30 12:15:36 +11:00
Juan Nunez-Iglesias 040a21afb9 Change default interpolation order to 1 2014-01-29 22:55:18 +11:00
Juan Nunez-Iglesias d71cd4d750 Remove unnecessary if clause
The `if linewidth <= 1` was necessary because the coordinate systems
(pixel/point) were all muddled up. Now that it has been clarified,
`linewidth=1` works transparently!
2014-01-29 22:52:49 +11:00
Juan Nunez-Iglesias 4bc5d66060 Add numerous (14) tests for profile_line() 2014-01-29 22:50:19 +11:00
Juan Nunez-Iglesias 00f4d38c2c Polish coordinate system
It's important to distinguish between pixels and points. A square set
of points belongs to one pixel. When users type `linewidth=3`, they
usually mean a line 3 pixels wide. The distance between the pixel
center points, then, is 2.
2014-01-29 22:47:52 +11:00
Juan Nunez-Iglesias 80dcc0cd7b Add 'order' kwarg for interpolation in profile_line() 2014-01-29 19:08:37 +11:00
Juan Nunez-Iglesias 3d93582ae7 Simplify parameters even more 2014-01-29 15:13:36 +11:00
Juan Nunez-Iglesias ae85e26ee3 Reparameterize profile_line to avoid the _calc_vert hack 2014-01-29 14:23:51 +11:00
Juan Nunez-Iglesias 2a6ec20136 Fix doctest string and output shape 2014-01-28 00:21:50 +11:00
Juan Nunez-Iglesias 5a12ef692d Allow multichannel images with >3 channels 2014-01-27 15:39:09 +11:00
Juan Nunez-Iglesias ecb50571b1 Return 1D array for single channel images 2014-01-27 15:36:58 +11:00