Update threshold dithering brightness calculation