Color combine function

Juan Nunez-Iglesias jni.soma at gmail.com
Wed Jun 5 10:52:02 EDT 2013


I'd certainly use such a function. I've done it by hand quite a few times.
I agree that a two channel option where the user can specify the channels
would be useful. I would say, for example,

 def combine_to_rgb(images, channels=(0, 1, 2)):
    do_something()


Then the user can specify which channel corresponds to which image. So, for
two images, channels=(2, 0), the function would make the first image the
blue channel and the second image the red channel.


On Thu, Jun 6, 2013 at 12:04 AM, Ronnie Ghose <ronnie.ghose at gmail.com>wrote:

> just wondering what do you do if there's 2 grey level images? an option to
> choose which channels?
>
>
> Thanks,
> Ronnie
>
>
> On Wed, Jun 5, 2013 at 9:58 AM, Guillaume Gay <
> guillaume at mitotic-machine.org> wrote:
>
>> Hi list,
>>
>> I coded a very simple color combine function, that creates an RGB image
>> from one to three grey level images. Is there an interest to add it to
>> skimage? Would colorconv.py be the correct place to add it?
>>
>> Cheers,
>>
>> Guillaume
>>
>> --
>> You received this message because you are subscribed to the Google Groups
>> "scikit-image" group.
>> To unsubscribe from this group and stop receiving emails from it, send an
>> email to scikit-image+unsubscribe@**googlegroups.com<scikit-image%2Bunsubscribe at googlegroups.com>
>> .
>> For more options, visit https://groups.google.com/**groups/opt_out<https://groups.google.com/groups/opt_out>
>> .
>>
>>
>>
>  --
> You received this message because you are subscribed to the Google Groups
> "scikit-image" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to scikit-image+unsubscribe at googlegroups.com.
> For more options, visit https://groups.google.com/groups/opt_out.
>
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/scikit-image/attachments/20130606/25301e78/attachment.html>


More information about the scikit-image mailing list