Commit Graph
44 Commits
Author SHA1 Message Date
emmanuelle a5a771a8e4 Modified label function so that background pixels are labeled with 0, and
background=0 by default.

Modified label function so that background pixels are labeled with 0, and
background=0 by default. All tests of _ccomp.pyx pass

Modified a couple of files to be consistent with the new behavior of
measure.label

Modified doctring of label to pass doctest

Modified TODO.txt as well as release notes to mention the new behavior of
label.

Typo in docstring

Typo in docstring

Changed default value of kw argument background in measure.label

Removed unnecessary and outdated comment
2016-02-22 21:19:23 +01: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
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 1278b02161 Fix circular import between regionprops and convex_hull_image 2015-11-17 10:19:09 -05:00
Johannes Schönberger ee5c6fbeb2 Use relative imports in skimage files 2015-01-22 07:36:48 -05:00
Stefan van der Walt 5ba4b7ccd3 Expose point_in_poly and move to measure module 2014-09-22 17:56:18 +02:00
Stefan van der Walt 135965fbe4 Avoid circular imports 2014-05-25 20:05:17 +02:00
Stefan van der Walt 5ba3ea421c Fix imports and suppress deprecation warnings 2014-05-08 19:14:38 +02:00
Jeremy Metz 0136fd5915 Removed trailing whitespaces 2014-02-01 20:30:39 +00:00
Jeremy Metz add4b51db7 QH6228 Bug fix - remove offset from coords 2014-01-31 13:46:28 +00:00
Johannes Schönberger fb1c1d39f0 Fix misspelled sections 2013-11-09 23:01:58 +01:00
François Boulogne eb4c5c9ee4 PEP8 2013-10-14 16:14:30 +02:00
Juan Nunez-Iglesias e9c9c2ca07 Move code comment to appropriate line 2013-08-05 10:20:48 +10:00
Juan Nunez-Iglesias b03fa92478 Unique rows after getting the pixel corners 2013-08-05 10:09:37 +10:00
Juan Nunez-Iglesias a6ec1741dc Remove repeated coordinates before computing convex hull 2013-08-05 09:42:23 +10:00
Chintak Sheth a6caac07eb new line 2013-05-29 10:56:32 +05:30
Chintak Sheth afd2208ff2 Space 2013-05-29 10:38:28 +05:30
Chintak Sheth 390a6c664b Whitespaces and note 2013-05-29 10:38:28 +05:30
Chintak Sheth 054360f834 Note re-worded 2013-05-29 10:38:28 +05:30
Chintak Sheth ab2a82746f Endline 2013-05-29 10:38:28 +05:30
Chintak Sheth bec3b4e324 Note rewritten 2013-05-29 10:38:28 +05:30
Chintak Sheth a2a40de83e Test for the two neighborhood values 2013-05-29 10:38:28 +05:30
Chintak Sheth 1ef98dae8c Ability to choose the type of connectivity and ValueError 2013-05-29 10:38:28 +05:30
Chintak Sheth e49994976d Minor changes 2013-05-29 10:38:28 +05:30
Chintak Sheth 9797ae0e72 Blank at the end of docstring 2013-05-29 10:38:27 +05:30
Chintak Sheth 7836e2b012 Using labeled_im == i 2013-05-29 10:38:27 +05:30
Chintak Sheth b6d15c91c7 Remove trailing whitespace 2013-05-29 10:38:27 +05:30
Chintak Sheth 1814cc44ca Remove trailing whitespace 2013-05-29 10:38:27 +05:30
Chintak Sheth 4ff28908d8 Resolve fast forward 2013-05-29 10:38:27 +05:30
Chintak Sheth db84262ba3 Note and relative import 2013-05-29 10:38:26 +05:30
Chintak Sheth 48932b6bb2 Update convex_hull.py 2013-05-29 10:38:26 +05:30
Chintak Sheth 6fcaaee807 Added the note in docstring as suggested by Josh 2013-05-29 10:38:26 +05:30
Chintak Sheth d63ee467ee Trailing whitespace 2013-05-29 10:38:26 +05:30
Chintak Sheth e66d73ac7c Added convex_hull_object function 2013-05-29 10:38:26 +05:30
Andreas Mueller 6c59e04714 MISC remove unused imports, some pep8 corrections. 2012-09-27 20:01:45 +01:00
Andreas Mueller f7b3d8062c COSMIT pep8 2012-06-29 11:27:23 +02:00
Stefan van der Walt 3495767358 ENH: Rename convex_hull to convex_hull_image to allow later clean API addition of convex_hull with labels. 2011-11-02 09:38:54 -07:00
Stefan van der Walt 33469fa69e BUG: Allow test suite to pass with scipy < 0.9. 2011-10-28 14:56:41 -07:00
Stefan van der Walt b34b9d8ddd ENH: Only perform convex hull on select candidate pixels. Gets us a factor 30 speedup. 2011-10-26 23:17:00 -07:00
Stefan van der Walt 74f7e01e42 ENH: Improve convex_hull execution speed. 2011-10-26 19:55:46 -07:00
Stefan van der Walt 6bbeda04f3 ENH: Pre-allocate coordinate corner array. 2011-10-26 19:37:34 -07:00
Stefan van der Walt b5ad567a68 ENH: Add binary convex hull computation. 2011-10-26 17:43:30 -07:00