CPC G06T 11/001 (2013.01) [G06F 3/0482 (2013.01); G06F 3/04842 (2013.01); G06T 2200/24 (2013.01)] | 12 Claims |
1. A system, the system comprising:
a processor; and
a unit running on said processor for handling color assignment within a complex document and for maintaining a perceived brightness difference between elements on a discreet-pixel-depth-display, said unit comprising:
a user interface to facilitate modification by a user of at least one first color to at least one second color within a previously chosen color scheme for a component of said document having principal colors and associated subordinate colors per principal color;
a color handler to modify said chosen color scheme to produce an updated color scheme to match a perceived brightness of said at least one second color throughout at least a portion of said updated color scheme; said color handler comprising:
a brightness handler to calculate said perceived brightness of said at least one second color;
a subordinate color overrider configured to calculate an actual color to be assigned (AC) from the existing subordinate color (EC) and the new color requested by said user (NC), and wherein said subordinate color overrider sets:
the hue of AC as that of NC,
the saturation of AC as a combination of at least the saturation of EC and the saturation of NC,
the lightness value of AC as a combination of at least the lightness of EC and the lightness of NC or as a function of the saturation of AC, the hue of AC and a combination of at least the perceived brightness of EC and the perceived brightness of NC; and
a color processor to process and apply said updated color scheme at least to said component.
|