Started developing a templated struct for looping over the channels in a pixel and applies an operator to them.