This filter requires an RGB image, an error would be thrown in case of CMYK image.
More over, the filters seems to be based on the red level. Why not green or blue ?