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.
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
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...
PUM
Abstract
Description
Claims
Application Information
- R&D Engineer
- R&D Manager
- IP Professional
- Industry Leading Data Capabilities
- Powerful AI technology
- Patent DNA Extraction
Browse by: Latest US Patents, China's latest patents, Technical Efficacy Thesaurus, Application Domain, Technology Topic, Popular Technical Reports.
© 2024 PatSnap. All rights reserved.Legal|Privacy policy|Modern Slavery Act Transparency Statement|Sitemap|About US| Contact US: help@patsnap.com