Color capture method and device based on RGB color disk

A technology of RGB value and color wheel, applied in the field of color picking method and device based on RGB color wheel, which can solve the problems of inability to draw, color, and edge errors.

Active Publication Date: 2017-02-22
SHENZHEN OURUIBO ELECTRONICS
View PDF2 Cites 5 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0003] However, when UI designers draw the RGB color wheel, some specific colors such as pure green, pure red, and pure blue are on the edge of the color wheel, so they cannot be drawn
Therefore, these specific colors cannot be obtained when picking colors, so there are edge errors

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 capture method and device based on RGB color disk
  • Color capture method and device based on RGB color disk
  • Color capture method and device based on RGB color disk

Examples

Experimental program
Comparison scheme
Effect test

Embodiment 1

[0084] Such as figure 1 As shown, a kind of color picking method based on RGB color wheel provided by the present invention comprises the following steps:

[0085] S102. Calculate the RGB value of the color point according to the coordinates of the color point in the color wheel.

[0086] preferred, such as figure 2 and image 3 As shown, this step S102 further includes: dividing the color wheel into three fan-shaped areas according to the three primary colors of RGB, and dividing these three fan-shaped areas into two sub-areas respectively; calculating the color according to the sub-area to which the color point belongs and its coordinates The RGB value of the point. Among them, the six sub-areas G-B sub-area, G-R sub-area, R-G sub-area, R-B sub-area, B-R sub-area, and B-G sub-area are primary color sub-areas respectively. That is, in the standard 255 color wheel, it can be divided into three fan-shaped areas of red, green, and blue, so the disc can be divided into three...

Embodiment 2

[0113] Such as Figure 4 As shown, the method for picking colors based on the RGB color wheel provided by the embodiment of the present invention is applied to devices that control color changes, such as RGB lamp control, RGB control boxes, RGB electronic display screens, and other devices. The following uses RGB lamp control as an example to illustrate , the method includes the following steps:

[0114] S402. Calculate the RGB value of the color point according to the coordinates of the color point in the color wheel.

[0115] S404. Convert the RGB values ​​into brightness, chroma, and saturation values.

[0116] S406. Send the brightness, chroma, and saturation values ​​to the RGB lights.

[0117] S408, the RGB lights are converted into corresponding colors for display according to brightness, chroma, and saturation values.

[0118] Wherein, step S402 , step S404 , and step S406 are respectively the same as S102 , step S104 , and step S106 of the first embodiment above, a...

Embodiment 3

[0121] Such as Figure 5 A color picking device based on an RGB color wheel provided by an embodiment of the present invention includes an RGB value calculation module 10, an HSL value calculation module 20, and a sending module 30, wherein:

[0122] The RGB value calculation module 10 is used to calculate the RGB value of the color point through the coordinates of the color point in the color wheel.

[0123] Specifically, the RGB value calculation module 10 further includes:

[0124] The partition unit is used to divide the RGB color wheel into three fan-shaped areas according to the three primary colors of RGB, and then divide the three fan-shaped areas into two sub-areas.

[0125] The calculation unit is used to calculate the RGB value of the color point according to the sub-area to which the color point belongs and its coordinates.

[0126] Preferably, the calculation unit is specifically used for calculation in the following manner:

[0127] When A(x,y) is in the G-B s...

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 discloses a color capture method and device based on a RGB color disk, and belongs to the technical field of color processing. The method comprises the steps of calculating a RGB value of a color point according to the coordinate of the color point in the color disk; converting the RGB value to a brightness value, a chromatic value and a saturation value; sending the brightness value, the chromatic value and the saturation value to a color display device. According to the method and device, when the characteristic that distribution of three primary colors, namely red, blue and green, is in accordance with certain regularity is utilized, a color is captured through the coordinate in the RGB color disk, and then all colors in the RGB color disk can be captured without edge errors.

Description

technical field [0001] The present invention relates to the field of color processing, in particular to a color picking method and device based on an RGB color wheel. Background technique [0002] For color picking, most of the current methods are to obtain the RGB value by absorbing the color on the RGB standard color wheel, and then convert the RGB value into brightness, chroma, and saturation to control the color change of the color display device. [0003] However, when UI designers draw the RGB color wheel, some specific colors such as pure green, pure red, and pure blue are on the edge of the color wheel, so they cannot be drawn. Therefore, these specific colors cannot be obtained when picking colors, so there are edge errors. [0004] Therefore, a new technical solution is needed to obtain all the colors on the RGB color wheel without edge errors. Contents of the invention [0005] In view of this, the technical problem to be solved by the present invention is to ...

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
IPC IPC(8): G06F3/14
CPCG06F3/1407
Inventor 赵晓伟肖凯祥何海亮王雄辉
Owner SHENZHEN OURUIBO ELECTRONICS
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Try Eureka
PatSnap group products