added image brightness and diff detection