Looking for breakthrough ideas for innovation challenges? Try Patsnap Eureka!

Color quantization method and system

A color quantization and color component technology, which is applied in the field of HLS-based color quantization methods and systems, can solve the problem that more colors cannot be included, and achieve good quantization effect.

Active Publication Date: 2019-03-08
ONEPLUS TECH SHENZHEN
View PDF2 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0005] However, the most distributed colors selected by this method may be very close to each other, and the very close colors can be replaced by one color, which results in the color set not being able to contain more colors

Method used

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
View more

Image

Smart Image Click on the blue labels to locate them in the text.
Viewing Examples
Smart Image
  • Color quantization method and system
  • Color quantization method and system
  • Color quantization method and system

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0028] Further description will be given below in conjunction with the accompanying drawings and embodiments.

[0029] figure 1 It is a flowchart of a color quantization method in an embodiment. The method comprises the steps of:

[0030] Step S110: Analyze the image to be processed to obtain a first set number of N different colors. In this embodiment, the top N different colors are selected according to the distribution of each color in the image to be processed.

[0031] The color of each pixel of the image to be processed is represented by the brightness value of the three primary colors of red, green and blue (RGB). According to color theory, any color can be obtained by mixing the three primary colors. The three color components of red, green, and blue are generally divided into 256 levels of brightness from 0 to 255. When the three primary colors are mixed with any value in the 256-level brightness, a total of 256×256×256=16,777,216 different colors can be obtained ...

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

PUM

No PUM Login to View More

Abstract

The invention relates to a color quantization method. The method includes the steps of analyzing an image to be processed to obtain a first set amount of N different colors, which are front N colors, in color distribution, in the image to be processed; selecting a second set amount of M different colors from the first set amount of N different colors, and acquiring C<m><n> combinations including the second set amount of M different colors; quantizing differences between the colors in the C<m><n> combinations including the second set amount of M different colors so as to obtain M different colors having greatest differences. The invention further relates to a color quantization system. The color quantization method and system allows the colors having greatest differences to selected from a group of colors, with greatest avoidance of similar colors being selected.

Description

technical field [0001] The invention relates to the technical field of image processing, in particular to an HLS-based color quantization method and system. Background technique [0002] In order to ensure the integrity of image information to the greatest extent, most color images use 24-bit true color storage images. But in many cases, we must use 8-bit 256-color images, and then we need to convert 24-bit true-color images into 8-bit color images, that is, to perform color reduction processing. This process of representing an original image with rich colors using only a small number of color sets, and trying to maintain the realistic display effect of the original image in this process is called color quantization. [0003] Color quantization is to use the inertia of the human eye to color to combine the less important similar colors in the original image into one color, reduce the color in the image, and minimize the error of the human eye in the image before and after q...

Claims

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

Application Information

Patent Timeline
no application Login to View More
Patent Type & Authority Patents(China)
IPC IPC(8): G06T7/90
CPCG06T7/90
Inventor 杨文健肖德崇
Owner ONEPLUS TECH SHENZHEN
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Patsnap Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Patsnap Eureka Blog
Learn More
PatSnap group products