16 Oct
2012
16 Oct
'12
2:13 p.m.
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@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
--