Commit Graph

16 Commits

Author SHA1 Message Date
Charles Harris 7a074d5dd1 BUG: Fix slicing error revealed by numpy 1.9.0.
Numpy 1.9.0 no longer allows oversize data to be assigned to a
boolean indexed 1-d array by discarding excess elements.

Closes #1050.
2014-07-04 20:12:46 -06:00
Josh Warner (Mac) 3fab7c0057 Remove incorrect np.round statement (directly cast m) 2014-05-08 18:54:52 -05:00
Josh Warner (Mac) 26793068b1 Fix documentation, handle internal variable more efficiently. 2014-05-08 02:32:39 -05:00
Josh Warner (Mac) 069cba50ef FIX: Address non-int DeprecationWarning from NumPy 2014-05-07 23:54:17 -05:00
Johannes Schönberger 7f27d5bffb Fix label2rgb bug 2013-11-09 22:04:28 +01:00
Johannes Schönberger 615866ae16 Cast label_field to integer dtype for float intput 2013-11-09 21:56:18 +01:00
François Boulogne eb4c5c9ee4 PEP8 2013-10-14 16:14:30 +02:00
Juan Nunez-Iglesias a9afb241cc Rename deprecated relabel_from_one in docstring example 2013-10-03 16:23:30 +10:00
Juan Nunez-Iglesias a8488bfecd Remove deprecated use of relabel_from_one 2013-10-03 16:14:30 +10:00
Juan Nunez-Iglesias 1843829917 Add relabel_sequential, deprecate relabel_from_one 2013-10-03 16:08:29 +10:00
François Boulogne 628d484942 DOC: no import numpy in doc 2013-10-02 18:14:21 +02:00
Juan Nunez-Iglesias 54530d16f6 Update snippets in notes to use double backticks 2013-09-22 13:37:04 +10:00
Juan Nunez-Iglesias 34b1b7b414 Fix errors in relabel_from_one docs; PEP8 2013-09-07 00:51:21 +10:00
Juan Nunez-Iglesias 2ebac38c4d Rename ar to label_field for clarity 2012-12-17 16:37:41 +11:00
Juan Nunez-Iglesias e3951a2a78 Rename ar_relabeled to relabeled for simplicity 2012-12-12 14:31:05 +11:00
Juan Nunez-Iglesias dc377970f5 Add functions to join and relabel segmentations
The join of two segmentations is the segmentation in which two voxels
are in the same segment if and only if they are in the same segment in
both input segmentations.
2012-11-28 12:22:14 +11:00