added variable function defs to abstract out need to check endianness from ImgOp transforms