function E = ComputeEnergy(img)
%COMPUTE ENERGY - Part (a)
%OUTPUTS:
%   E: The energy function as defined by the equation in the problem
%   statement
%INPUTS:
%   img: The RGB representation of the loaded image
