each_channel decorator

Tony Yu tsyu80 at gmail.com
Mon Oct 15 23:30:17 EDT 2012


After my failed @grayscale decorator suggestion (sorry again Johannes for
all the unnecessary work this caused you), I was thinking it might be nice
to add an @each_channel decorator. The basic idea is that the decorator
would check if the input image is RGB, and applies the grayscale function
to each channel of an RGB image.

Cheers,
-Tony
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/scikit-image/attachments/20121015/496d41aa/attachment.html>


More information about the scikit-image mailing list