how to highlight/shade a segment in an image.

Andreas Mueller amueller at ais.uni-bonn.de
Sat Jun 29 11:08:53 EDT 2013


On 06/21/2013 06:44 AM, Tony Yu wrote:
>
>
>
> On Thu, Jun 20, 2013 at 10:44 PM, Brickle Macho 
> <bricklemacho at gmail.com <mailto:bricklemacho at gmail.com>> wrote:
>
>     On 21/06/13 7:03 AM, Tony Yu wrote:
>>
>>         Short version, given a label, a lable-image and a image, how do I
>>         shade/tint the label area.
>>
>>
>>     You could try out the label2rgb PR:
>>
>>     https://github.com/scikit-image/scikit-image/pull/485
>
>     Thanks.  Look interesting.  How do I try/pull/incorporate
>     label2rgb code?
>
>
I know this reply is a bit late, still, I thought it might be useful.
I usually do it using matplotlib and the alpha setting of imshow.
I just plot an image and then plot the segments using some alpha value.
That works quite well.
Hth,
Andy
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/scikit-image/attachments/20130629/58eacfc5/attachment.html>


More information about the scikit-image mailing list