Add some functions for inverting colors
Use functions to perform image operations
Pull out a function for constructing lookup ops easily