committing computeBrightness