Commit Graph

20 Commits

Author SHA1 Message Date
Juan Nunez-Iglesias b494e36223 Add docstring for _label2rgb_overlay 2014-06-18 17:03:21 +10:00
Juan Nunez-Iglesias b70d423aab Add default values for background in _label2rgb_avg 2014-06-18 16:46:51 +10:00
Juan Nunez-Iglesias d72163a037 Add docstring for _label2rgb_avg 2014-06-18 16:46:15 +10:00
Juan Nunez-Iglesias 7cc40ddbff Add background label handling for label2rgb_avg 2014-06-18 16:44:02 +10:00
Juan Nunez-Iglesias a1fd895c4a Split label2rgb into two related functions 2014-06-17 17:45:15 +10:00
Juan Nunez-Iglesias 1eae917af3 Update label2rgb doc 2014-06-17 17:00:42 +10:00
Johannes Schönberger 7f27d5bffb Fix label2rgb bug 2013-11-09 22:04:28 +01:00
Stefan van der Walt eb6867cfe2 Make six an external dependency. 2013-10-27 14:06:26 +02:00
Tony S Yu 5a7e191f7b Fix Python 3 incompatibility 2013-10-21 23:02:51 -05:00
Tony S Yu 0663626667 Clean up color_dict definition 2013-10-21 23:02:46 -05:00
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