What is Luminance Stepping?
I call it luminance stepping because we aren’t actual discretizing the colors we are working with directly. Instead, we calculate the luminance (or light intensity) of the pixel region color. We also calculate the ratio of each color channel to it’s color’s total luminance. Then, we calculate a luminance bin that the color falls into. Finally, we use the value of that luminance bin, as well as the ratio mentioned to assemble a new shade of color. By using the ratio of the original color channels to the old luminance value, we maintain hue while changing luminance! This whole process discretizes the luminance of the color thus limiting the shades of each color displayed.