This is a convenience function to avoid using a capssetter when we want to treat
Bayer as gray. In the future we can add properties to balance each element of the
CFA.
Note there's a bug with the in-place transform, so currently a memcpy is being used.