Color selection interface
AssigneeAdobe Systems Incorporated
InventorsRobert Voliter, Teri Pettit
Life of this patent
Estimating the term…
Abstract
Displaying colors in a color selection interface is disclosed. Displaying includes identifying a first plurality of colors associated with a color selection interface, mapping each color in the first plurality of colors to an allowed color in an allowed color set of one or more colors to obtain a second plurality of colors, wherein mapping is performed based at least in part on a color lookup table, and visually displaying the second plurality of colors in the color selection interface, wherein the color selection interface is configured to receive a color selection from the second plurality of colors.
Claims23
A method including:
- using a processor to identify a first plurality of colors associated with a color selection interface;
- using the processor to map each color in the first plurality of colors to an allowed color in an allowed color set of one or more colors to obtain a second plurality of colors, including by:
- dividing the allowed color set between a first color lookup table and a second color lookup table such that each of the allowed colors in the allowed color set is assigned to either the first color lookup table or the second color lookup table but not both, wherein the first color lookup table has at least one allowed color assigned to it and the second color lookup table has at least one allowed color assigned to it;
- and
- for each color in the first plurality of colors:
- mapping the color in the first plurality of colors to one and only one of the allowed colors assigned to the first color lookup table to obtain a first candidate color;
- mapping the same color in the first plurality of colors used to obtain the first candidate color to one and only one of the allowed colors assigned to the second color lookup table to obtain a second candidate color;
- and
- selecting one and only one of the first candidate color or the second candidate color to include in the second plurality of colors, wherein (1) mapping the color in the first plurality of colors to one and only one of the allowed colors assigned to the first color lookup table to obtain a first candidate color and (2) mapping the same color in the first plurality of colors used to obtain the first candidate color to one and only one of the allowed colors assigned to the second color lookup table to obtain a second candidate color both include:
- determining a Δred where Δred=initialred−allowedred;
- determining a Δgreen where Δgreen=initialgreen−allowedgreen;
- determining a Δblue where Δblue=initialblue−allowedblue;
- and
- selecting that allowed color which minimizes:
- weightred×(Δred2)+weightgreen×(Δgreen2)+weightblue×(Δblue2) where weightgreen is strictly greater than weightred and weightgreen is strictly greater than weightblue;
- and
- visually displaying the second plurality of colors in the color selection interface, wherein the color selection interface is configured to receive a color selection from the second plurality of colors.
A computer program product, the computer program product being embodied in a non-transitory computer readable storage medium and comprising computer instructions for:
- identifying a first plurality of colors associated with a color selection interface;
- mapping each color in the first plurality of colors to an allowed color in an allowed color set of one or more colors to obtain a second plurality of colors, including by:
- dividing the allowed color set between a first color lookup table and a second color lookup table such that each of the allowed colors in the allowed color set is assigned to either the first color lookup table or the second color lookup table but not both, wherein the first color lookup table has at least one allowed color assigned to it and the second color lookup table has at least one allowed color assigned to it;
- and
- for each color in the first plurality of colors:
- mapping the color in the first plurality of colors to one and only one of the allowed colors assigned to the first color lookup table to obtain a first candidate color;
- mapping the same color in the first plurality of colors used to obtain the first candidate color to one and only one of the allowed colors assigned to the second color lookup table to obtain a second candidate color;
- and
- selecting one and only one of the first candidate color or the second candidate color to include in the second plurality of colors, wherein the computer instructions for (1) mapping the color in the first plurality of colors to one and only one of the allowed colors assigned to the first color lookup table to obtain a first candidate color and (2) mapping the same color in the first plurality of colors used to obtain the first candidate color to one and only one of the allowed colors assigned to the second color lookup table to obtain a second candidate color both include computer instructions for:
- determining a Δred where Δred=initialred−allowedred;
- determining a Δgreen where Δgreen=initialgreen−allowedgreen;
- determining a Δblue where Δblue=initialblue−allowedblue;
- and
- selecting that allowed color which minimizes:
- weightred×(Δred2)+weightgreen×(Δgreen2)+weightblue×(Δblue2) where weightgreen is strictly greater than weightred and weightgreen is strictly greater than weightblue;
- and
- visually displaying the second plurality of colors in the color selection interface, wherein the color selection interface is configured to receive a color selection from the second plurality of colors.
A system including:
- a processor;
- and
- a memory coupled with the processor, wherein the memory is configured to provide the processor with instructions which when executed cause the processor to:
- identify a first plurality of colors associated with a color selection interface;
- map each color in the first plurality of colors to an allowed color in an allowed color set of one or more colors to obtain a second plurality of colors, including by:
- dividing the allowed color set between a first color lookup table and a second color lookup table such that each of the allowed colors in the allowed color set is assigned to either the first color lookup table or the second color lookup table but not both, wherein the first color lookup table has at least one allowed color assigned to it and the second color lookup table has at least one allowed color assigned to it;
- and
- for each color in the first plurality of colors:
- mapping the color in the first plurality of colors to one and only one of the allowed colors assigned to the first color lookup table to obtain a first candidate color;
- mapping the same color in the first plurality of colors used to obtain the first candidate color to one and only one of the allowed colors assigned to the second color lookup table to obtain a second candidate color;
- and
- selecting one and only one of the first candidate color or the second candidate color to include in the second plurality of colors wherein the instructions for (1) mapping the color in the first plurality of colors to one and only one of the allowed colors assigned to the first color lookup table to obtain a first candidate color and (2) mapping the same color in the first plurality of colors used to obtain the first candidate color to one and only one of the allowed colors assigned to the second color lookup table to obtain a second candidate color both include instructions for:
- determining a Δred where Δred=initialred−allowedred;
- determining a Δgreen where Δgreen=initialgreen−allowedgreen;
- determining a Δblue where Δblue=initialblue−allowedblue;
- and
- selecting that allowed color which minimizes:
- weightred×(Δred2)+weightgreen×(Δgreen2)+weightblue×(Δblue2) where weightgreen is strictly greater than weightred and weightgreen is strictly greater than weightblue;
- and
- visually display the second plurality of colors in the color selection interface, wherein the color selection interface is configured to receive a color selection from the second plurality of colors.
A method including:
- using a processor to identify a first plurality of colors associated with a color selection interface;
- using the processor to map each color in the first plurality of colors to an allowed color in an allowed color set of one or more colors to obtain a second plurality of colors, including by:
- dividing the allowed color set between a first color lookup table and a second color lookup table such that each of the allowed colors in the allowed color set is assigned to either the first color lookup table or the second color lookup table but not both, wherein the first color lookup table has at least one allowed color assigned to it and the second color lookup table has at least one allowed color assigned to it;
- and
- for each color in the first plurality of colors:
- mapping the color in the first plurality of colors to one and only one of the allowed colors assigned to the first color lookup table to obtain a first candidate color;
- mapping the same color in the first plurality of colors used to obtain the first candidate color to one and only one of the allowed colors assigned to the second color lookup table to obtain a second candidate color;
- and
- selecting one and only one of the first candidate color or the second candidate color to include in the second plurality of colors, wherein (1) mapping the color in the first plurality of colors to one and only one of the allowed colors assigned to the first color lookup table to obtain a first candidate color and (2) mapping the same color in the first plurality of colors used to obtain the first candidate color to one and only one of the allowed colors assigned to the second color lookup table to obtain a second candidate color both include:
- determining a Δhue where Δhue=initialhue−allowedhue;
- determining a Δsaturation where Δsaturation=initialsaturation−allowedsaturation;
- determining a Δbrightness where Δbrightness=initialbrightness−allowedbrightness;
- and
- selecting that allowed color which minimizes:
- weighthue×(Δhue2)+weightsaturation×(Δsaturation2)+weightbrightness×(Δbrightness2) where weightbrightness is strictly greater than weighthue and weightbrightness is strictly greater than weightsaturation;
- and
- visually displaying the second plurality of colors in the color selection interface, wherein the color selection interface is configured to receive a color selection from the second plurality of colors.
A computer program product, the computer program product being embodied in a non-transitory computer readable storage medium and comprising computer instructions for:
- identifying a first plurality of colors associated with a color selection interface;
- mapping each color in the first plurality of colors to an allowed color in an allowed color set of one or more colors to obtain a second plurality of colors, including by:
- dividing the allowed color set between a first color lookup table and a second color lookup table such that each of the allowed colors in the allowed color set is assigned to either the first color lookup table or the second color lookup table but not both, wherein the first color lookup table has at least one allowed color assigned to it and the second color lookup table has at least one allowed color assigned to it;
- and
- for each color in the first plurality of colors:
- mapping the color in the first plurality of colors to one and only one of the allowed colors assigned to the first color lookup table to obtain a first candidate color;
- mapping the same color in the first plurality of colors used to obtain the first candidate color to one and only one of the allowed colors assigned to the second color lookup table to obtain a second candidate color;
- and
- selecting one and only one of the first candidate color or the second candidate color to include in the second plurality of colors, wherein the computer instructions for (1) mapping the color in the first plurality of colors to one and only one of the allowed colors assigned to the first color lookup table to obtain a first candidate color and (2) mapping the same color in the first plurality of colors used to obtain the first candidate color to one and only one of the allowed colors assigned to the second color lookup table to obtain a second candidate color both include computer instructions for:
- determining a Δhue where Δhue=initialhue−allowedhue;
- determining a Δsaturation where Δsaturation=initialsaturation−allowedsaturation;
- determining a Δbrightness where Δbrightness=initialbrightness−allowedbrightness;
- and
- selecting that allowed color which minimizes:
- weighthue×(Δhue2)+weightsaturation×(Δsaturation2)+weightbrightness×(Δbrightness2) where weightbrightness is strictly greater than weighthue and weightbrightness is strictly greater than weightsaturation;
- and
- visually displaying the second plurality of colors in the color selection interface, wherein the color selection interface is configured to receive a color selection from the second plurality of colors.
A system including:
- a processor;
- and
- a memory coupled with the processor, wherein the memory is configured to provide the processor with instructions which when executed cause the processor to:
- identify a first plurality of colors associated with a color selection interface;
- map each color in the first plurality of colors to an allowed color in an allowed color set of one or more colors to obtain a second plurality of colors, including by:
- dividing the allowed color set between a first color lookup table and a second color lookup table such that each of the allowed colors in the allowed color set is assigned to either the first color lookup table or the second color lookup table but not both, wherein the first color lookup table has at least one allowed color assigned to it and the second color lookup table has at least one allowed color assigned to it;
- and
- for each color in the first plurality of colors:
- mapping the color in the first plurality of colors to one and only one of the allowed colors assigned to the first color lookup table to obtain a first candidate color;
- mapping the same color in the first plurality of colors used to obtain the first candidate color to one and only one of the allowed colors assigned to the second color lookup table to obtain a second candidate color;
- and
- selecting one and only one of the first candidate color or the second candidate color to include in the second plurality of colors, wherein the instructions for (1) mapping the color in the first plurality of colors to one and only one of the allowed colors assigned to the first color lookup table to obtain a first candidate color and (2) mapping the same color in the first plurality of colors used to obtain the first candidate color to one and only one of the allowed colors assigned to the second color lookup table to obtain a second candidate color both include instructions for:
- determining a Δhue where Δhue=initialhue−allowedhue;
- determining a Δsaturation where Δsaturation=initialsaturation−allowedsaturation;
- determining a Δbrightness where Δbrightness=initialbrightness−allowedbrightness;
- and
- selecting that allowed color which minimizes:
- weighthue×(Δhue2)+weightsaturation×(Δsaturation2)+weightbrightness×(Δbrightness2) where weightbrightness is strictly greater than weighthue and weightbrightness is strictly greater than weightsaturation;
- and
- visually display the second plurality of colors in the color selection interface, wherein the color selection interface is configured to receive a color selection from the second plurality of colors.
Dependencies are inferred from the claim text.