Image processing apparatus and image processing method
AssigneeCanon Kabushiki Kaisha
InventorMasanori Ichikawa
Life of this patent
Estimating the term…
Abstract
A tile image including a predetermined number of pixels (e.g., 32×32 pixels) is divided into blocks (pieces) of a size of 2×2 pixels each to compare color data of each pixel in each piece. A pattern flag indicating an arrangement pattern of the color data contained in each piece is identified, and first color data and color data other than the first color data in each piece are identified, where the first color data is color data corresponding to a pixel at a predetermined position in each piece. If it is determined that all the pieces, except for a piece consisting of the same color, included in the tile image consist of the same color, the two colors are set to representative colors for reference in the tile image.
Claims8
An image processing apparatus, comprising:
- a dividing unit that divides a tile image including a predetermined number of pixels into pieces of a size of 2×2 pixels each;
- an identifying unit that identifies a pattern flag indicating an arrangement pattern of color data contained in each piece by sequentially taking each piece divided by said dividing unit as a processing target and comparing the color data of each pixel in the processing target piece, and identifies first color data and color data other than the first color data in each piece, the first color data being color data corresponding to a pixel at a predefined position in each piece;
- a determining unit that determines whether or not all the pieces, except for a piece consisting of the same color, included in the tile image consist of same two colors;
- and
- a generating unit that generates packet data including the pattern flag, the color data on the first color in each piece, and representative colors for reference in the tile image, if said determining unit determines that all the pieces, except for a piece consisting of the same color, included in the tile image consist of same two colors, the representative colors for reference in the tile image being the same two colors.
An image processing method, comprising:
- a dividing step of dividing a tile image including a predetermined number of pixels into pieces of a size of 2×2 pixels each;
- an identifying step of identifying a pattern flag indicating an arrangement pattern of color data contained in each piece by sequentially taking each piece divided in said dividing step as a processing target and comparing the color data of each pixel in the processing target piece, and identifying first color data and color data other than the first color data in each piece, the first color data being color data corresponding to a pixel at a predefined position in each piece;
- a determining step of determining whether or not all the pieces, except for a piece consisting of the same color, included in the tile image consist of same two colors;
- and
- a generating step for generating packet data including the pattern flag, the color data on the first color in each piece, and representative colors for reference in the tile image, if it is determined in said determining step that all the pieces, except for a piece consisting of the same color, included in the tile image consist of two colors, the representative colors for reference in the tile image being the same two colors.
Dependencies are inferred from the claim text.