AFAIK Roman is right, and `COLOR_RGB2GRAY` is the preferred constant.