each_channel decorator
Schönberger Johannes
hannesschoenberger at gmail.com
Tue Oct 16 10:13:31 EDT 2012
No problem @Tony.
Sorry, but I do not understand what this decorator does. Could you provide a short example?
Johannes Schönberger
Am 16.10.2012 um 05:30 schrieb Tony Yu <tsyu80 at gmail.com>:
> 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
>
> --
>
>
More information about the scikit-image
mailing list