Generating and using a color palette
AssigneeCanon Kabushiki Kaisha
InventorsJun Zhao, Timothy Kohler, Jonathan Hui
Life of this patent
Estimating the term…
Loading patent…
AssigneeCanon Kabushiki Kaisha
InventorsJun Zhao, Timothy Kohler, Jonathan Hui
Estimating the term…
To generate a color palette having m colors (such as 28=256 colors) from a color image described in a color space, pixel image data corresponding to the color image is first obtained. A frequency of occurrence for each color in the pixel image data is then determined. Each color in the pixel image data is assigned to one of a predetermined number of cells into which the color space has been partitioned, the predetermined number being not greater than m. The most commonly occurring color is selected in each cell in which a color exists, so as to obtain n palette colors. A vote value is calculated for each unselected color, the vote value being based at least in part on the frequency of occurrence of the color in the pixel image and a weighting factor based on a rank of the color in its corresponding cell, the unselected colors being the colors not selected in the first selecting step. Thereafter, m-n colors are selected as the unselected colors with the highest vote values. Also, input colors in a color image described in a color space are mapped to a reduced palette of m colors derived by partitioning the color space into a predetermined number of cells, there being at least one palette color in each cell that includes an input color. The mapping is performed by determining in which cell each input color lies, and mapping each input color to the closest palette color from among all palette colors in the cell identified for that input color.
A method for generating a color palette having m colors from a color image described in a color space, comprising:
A method for generating a color palette having m colors from a color image comprising plural pixels, each pixel described in a color space, comprising:
A method for mapping input colors in a color image described in a color space to a reduced palette of m colors derived by partitioning the color space into a predetermined number of cells, there being at least one palette color assigned to each cell, comprising:
Computer-executable process steps stored on a computer readable medium to generate a color palette having m colors from a color image described in a color space, comprising:
Computer-executable process steps stored on a computer readable medium to generate a color palette having m colors from a color image comprising plural pixels, each pixel described in a color space, comprising:
Computer-executable process steps stored on a computer readable medium to map input colors in a color image described in a color space to a reduced palette of m colors derived by partitioning the color space into a predetermined number of cells, there being at least one palette color assigned to each cell, comprising:
An apparatus for generating a color palette having m colors from a color image described in a color space, comprising:
An apparatus for generating a color palette having m colors from a color image comprising plural pixels, each pixel described in a color space, comprising:
An apparatus for mapping input colors in a color image described in a color space to a reduced palette of m colors derived by partitioning the color space into a predetermined number of cells, there being at least one palette color assigned to each cell, comprising:
Dependencies are inferred from the claim text.