Reverted to old averaging method to export images
testing color difference (as int[])