Commit Graph
10 Commits
Author SHA1 Message Date
Tony S Yu c519f60285 Add support for consistent color labels for sparse labels. 2013-10-10 23:26:02 -05:00
Kemal Eren 4db1e1b83c handle case when there are no labels 2013-10-07 23:17:52 -07:00
Kemal Eren 794176b7c4 fixed error in label2rgb() when label is a binary array 2013-10-07 20:53:48 -07:00
Kemal Eren bdafd1e3d6 ENH: optimized label2rgb() 2013-10-07 16:47:01 -07:00
Stefan van der Walt b04c3282bf Fix zip. 2013-06-29 10:17:41 -05:00
Stefan van der Walt 9a38a59a25 Remove is_str and replace by isinstance(..., six.string_types). 2013-06-29 10:16:42 -05:00
Tony S Yu 20401d3e12 Change color definitions from ini file to python module
This simplifies the code and allows users to use either `color_dict` or module
variables, e.g., `rgb_colors.white`.
2013-06-19 19:31:47 -05:00
Tony S Yu fa01b936a6 API Change: image_label2rgb changed to label2rgb.
The name change reflects a switch in the argument order (and makes the image an optional argument).
2013-05-06 00:28:11 -05:00
Tony S Yu 4bd3fe9eb0 ENH: Add some checks on the inputs. 2013-05-06 00:25:01 -05:00
Tony S Yu 19fdad15b9 Add image_label2rgb 2013-05-06 00:25:01 -05:00