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
Juan Nunez-Iglesias
1170d87ba4
Update _calc_vert for simplicity
2014-01-27 15:18:06 +11:00
Juan Nunez-Iglesias
a6ba745807
rename x-y to col-row to be less ambiguous
2014-01-27 11:41:28 +11:00
Juan Nunez-Iglesias
7932db7832
Change profile line API to use src and dst points
2014-01-26 13:19:11 +11:00
Juan Nunez-Iglesias
011409f66a
Add profile_line to measure package
...
The profile_line function is currently part of the skimage LineProfile
plugin. However, it's useful in non-interactive contexts, and importing
it from the viewer is awkward, mostly hidden, and depends on PyQt for
no good reason. By moving the function to `skimage.measure`, it is
usable in many more contexts.
2014-01-26 00:48:21 +11:00
Johannes Schönberger
21a99a39c3
Document params attribute for each class
2014-01-22 18:46:27 -05:00
Johannes Schönberger
9905ff218f
Get rid of trailing underscore for params attribute
2014-01-22 18:39:35 -05:00
Johannes Schönberger
9963a25cde
Remove wrong comment location
2014-01-19 09:40:55 -05:00
Johannes Schönberger
c262ad2d44
Use public attribute for parameter values
2014-01-19 09:40:42 -05:00