CN107463349B - Color disc establishing method and color positioning method - Google Patents

Color disc establishing method and color positioning method Download PDF

Info

Publication number
CN107463349B
CN107463349B CN201710528480.2A CN201710528480A CN107463349B CN 107463349 B CN107463349 B CN 107463349B CN 201710528480 A CN201710528480 A CN 201710528480A CN 107463349 B CN107463349 B CN 107463349B
Authority
CN
China
Prior art keywords
color
value
brightness
point
current
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN201710528480.2A
Other languages
Chinese (zh)
Other versions
CN107463349A (en
Inventor
李幸斌
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Guangzhou Shiyuan Electronics Thecnology Co Ltd
Guangzhou Shirui Electronics Co Ltd
Original Assignee
Guangzhou Shiyuan Electronics Thecnology Co Ltd
Guangzhou Shirui Electronics Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Guangzhou Shiyuan Electronics Thecnology Co Ltd, Guangzhou Shirui Electronics Co Ltd filed Critical Guangzhou Shiyuan Electronics Thecnology Co Ltd
Priority to CN201710528480.2A priority Critical patent/CN107463349B/en
Publication of CN107463349A publication Critical patent/CN107463349A/en
Application granted granted Critical
Publication of CN107463349B publication Critical patent/CN107463349B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/14Digital output to display device ; Cooperation and interconnection of the display device with other functional units
    • G06F3/1407General aspects irrespective of display type, e.g. determination of decimal point position, display with fixed or driving decimal point, suppression of non-significant zeros
    • GPHYSICS
    • G09EDUCATION; CRYPTOGRAPHY; DISPLAY; ADVERTISING; SEALS
    • G09GARRANGEMENTS OR CIRCUITS FOR CONTROL OF INDICATING DEVICES USING STATIC MEANS TO PRESENT VARIABLE INFORMATION
    • G09G5/00Control arrangements or circuits for visual indicators common to cathode-ray tube indicators and other visual indicators
    • G09G5/02Control arrangements or circuits for visual indicators common to cathode-ray tube indicators and other visual indicators characterised by the way in which colour is displayed

Abstract

A color disc establishing method and a color positioning method are provided, the color disc establishing method comprises the following steps: when the brightness setting value K of the brightness bar is obtained, determining the brightness value of each color point of the color area to be (1-K) × (1-m × S), wherein m is a preset value and ranges from 0.2 to 0.8, S is the saturation value of the current color point, K is the brightness setting value on the brightness bar, and K ranges from 0 to 1; traversing each color point on the color area, and calculating the chromaticity and saturation value of the current color point according to the coordinate value of the current color point; and calculating R, G, B values of the current color point according to the chromaticity, the saturation value and the brightness value of the current color point, and coloring pixel points according to R, G, B values of the current color point. The color disc can enable a user to intuitively and quickly locate the position of the color in the color disc according to the existing color so as to select the similar color and improve the color taking efficiency of the user.

Description

Color disc establishing method and color positioning method
Technical Field
The invention relates to the field of color processing, in particular to a color disc establishing method and a color positioning method.
Background
Common terminal devices such as computers and tablets can set colors of characters, graphics and the like. As shown in fig. 5, in a color extraction scheme in the conventional Window system, a rectangular color panel is mostly constructed according to two dimensions, namely, color saturation and hue, to display colors, colors are selected on the color panel, and the brightness of the selected colors is adjusted through brightness bar adjustment.
In the prior art, when the color brightness is adjusted by the brightness bar, the color brightness of the color panel is always unchanged. That is, the luminance bar does not interact with the color panel, so that the user cannot find the desired color intuitively and quickly, and the user cannot find the similar color through the fast color of the color panel, so that the color selection efficiency is low.
The existing color taking technology only obtains colors from a color panel and brightness in a one-way mode, and cannot determine the positions of the colors on a color disc and a brightness bar according to the obtained colors on a screen, so that the color taking technology is difficult to find similar colors of the colors obtained on the screen intuitively and quickly.
Disclosure of Invention
In view of the above, it is necessary to provide a color wheel creating method and a color positioning method to solve the problem of low color selection efficiency in the prior art.
The embodiment of the invention provides a color disc establishing method, which comprises the following steps
When the brightness setting value K of the brightness bar is obtained, determining the brightness value of each color point of the color area to be (1-K) × (1-m × S), wherein m is a preset value and ranges from 0.2 to 0.8, S is the saturation value of the current color point, K is the brightness setting value on the brightness bar, and K ranges from 0 to 1;
traversing each color point on the color area, and calculating the chromaticity and saturation value of the current color point according to the coordinate value of the current color point;
and calculating R, G, B values of the current color point according to the chromaticity, the saturation value and the brightness value of the current color point, and coloring pixel points according to R, G, B values of the current color point.
The color disc establishing method, wherein m is 0.5.
The color wheel establishing method includes that the color area is circular, a circle center of the color area is used as an origin, a perpendicular line passing through the origin is used as a y-axis, a horizontal line passing through the origin is used as an x-axis, the coordinate value of the current color point is a coordinate value relative to the x-axis and the y-axis, and the step of calculating the chromaticity and saturation value of the current color point according to the coordinate value of the current color point includes:
calculating the angle of the current color point relative to the y axis according to the coordinate value of the current color point, and determining the angle as the chromatic value of the current color point;
and calculating the percentage of the distance from the current color point to the origin and the radius of the color area according to the coordinate value of the current color point, and determining the percentage as the saturation value of the current color point.
The embodiment of the invention also provides a color positioning method, which is applied to the color disc, and the color positioning method comprises the following steps:
obtaining R, G, B values of a target point on a screen, and converting R, G, B values of the target point into chrominance, saturation and brightness values;
sequentially acquiring the chromaticity and saturation values of the color points on the color disc, and judging whether the differences between the chromaticity and saturation values of the target point and the acquired chromaticity and saturation values of the current color point are within corresponding threshold ranges;
if so, pointing a cursor on the color disc to the current color point;
and determining the brightness value of the current color point according to the brightness value of the target point, calculating a brightness setting value on a brightness bar according to the brightness value and the saturation value of the current color point, and pointing a slide bar on the brightness bar to a position corresponding to the brightness setting value.
In the color location method, a calculation formula of the brightness setting value K is as follows:
when LAt presentWhen the concentration is less than 1-m S,
Figure GDA0002394043110000021
when LAt presentK is equal to 0 when S is more than or equal to 1-m.
In the color positioning method, the threshold range of the difference value between the chromatic value of the target point and the chromatic value of the current color point is-5 to 5.
The color positioning method, wherein the step of determining the brightness value of the current color point according to the brightness value of the target point includes:
determining the brightness value of the difference value of the brightness of the current color point and the brightness of the target point within the brightness threshold range;
and calculating the brightness setting value on the brightness bar according to the brightness value of the current color point and the saturation value of the current color point, and marking the brightness setting value on the brightness bar.
The color positioning method is characterized in that the brightness threshold ranges from-0.2 to 0.2.
In the color positioning method, the step of sequentially obtaining the chromaticity and saturation values of the color points on the color wheel includes:
sequentially acquiring coordinate values of color points on the color disc;
and calculating the chromaticity and saturation values of the current color point according to the obtained coordinate values of the current color point.
The color location method, wherein m is 0.5.
In the embodiment of the invention, the brightness L of the color points on the color area is determined to be L ═ 1-K (1-m) S when the color disc is established, the value range of the preset value m is limited to be 0.2-0.8, and the color disc with soft color and gorgeous color of the color disc is established after the pixel points are colored.
Drawings
Fig. 1 is a flowchart of a color wheel establishing method in a first embodiment of the present invention;
FIG. 2 is a color wheel constructed in a first embodiment of the present invention;
FIG. 3 is a flow chart of a color location method in a second embodiment of the present invention;
FIG. 4 is a flow chart of a color location method in a third embodiment of the present invention;
fig. 5 is a prior art color wheel.
Detailed Description
Reference will now be made in detail to embodiments of the present invention, examples of which are illustrated in the accompanying drawings, wherein like or similar reference numerals refer to the same or similar elements or elements having the same or similar function throughout. The embodiments described below with reference to the accompanying drawings are illustrative only for the purpose of explaining the present invention, and are not to be construed as limiting the present invention.
These and other aspects of embodiments of the invention will be apparent with reference to the following description and attached drawings. In the description and drawings, particular embodiments of the invention have been disclosed in detail as being indicative of some of the ways in which the principles of the embodiments of the invention may be practiced, but it is understood that the scope of the embodiments of the invention is not limited correspondingly. On the contrary, the embodiments of the invention include all changes, modifications and equivalents coming within the spirit and terms of the claims appended hereto.
Referring to fig. 1, a color wheel establishing method according to a first embodiment of the present invention is applied to windows, XP, and other systems to set colors, and includes steps S11 to S13.
Step S11, when the brightness setting value K of the brightness bar is obtained, determining that the brightness value of each color point on the color region is (1-K) × (1-m × S), where m is a preset value and ranges from 0.2 to 0.8, S is the saturation value of the current color point, K is the brightness setting value on the brightness bar, and K ranges from 0 to 1.
In the above step, the color area is a circular area, and each color point in the circular area is colored by a pixel point to obtain a color disc filled with colors.
The brightness bar is used for regulating and controlling the brightness degree of the color wheel, and the brightness of each color point of the color wheel can be regulated by dragging the slide bar by a user. The user can visually see the change of the brightness degree of the whole picture of the color wheel, the user can conveniently select the colors with different hues and saturations under the same hue and the same saturation, and the user can conveniently select the colors with different hues and saturations under the same brightness.
The brightness setting value K is a value used for representing the degree of color brightness on the brightness bar, the value of K is 0-1, namely the brightness of color points on the color wheel changes from the maximum to the minimum, and different brightness setting values can be obtained by dragging the slide bar. For example, when the brightness of the currently selected color point is 1/3 of the maximum brightness of the color point, K is 2/3, which indicates the position of the slide bar at 2/3 of the brightness bar. And m is a preset value, and the value range of m is 0.2-0.8, so that the color disc can present gorgeous and colorful visual perception.
Step S12, traversing each color point on the color region, and calculating the chromaticity and saturation value of the current color point according to the coordinate value of the current color point.
Step S13, calculating R, G, B value of the current color point according to the chromaticity, saturation value and brightness value of the current color point, and coloring pixel points according to R, G, B value of the current color point.
In the above steps S12 and S13, the color in the color space corresponding to each dot in the color area is calculated, and each color dot is subjected to pixel coloring, so as to obtain a color wheel composed of various colors.
As shown in fig. 2, in this embodiment, a color wheel is constructed by using an HS L mode of a color, where hue (H, hue) ranges from 0 to 360 °, where each value represents a color, saturation (S) ranges from 0 to 100%, represents purity of the color, 0 represents a gray scale, 1 represents a pure color, luminance (L luminance), represents brightness of the color point, ranges from 0 to 100%, 0 represents black, and 1 represents a color of a specific saturation, traversing each color point on the color area, and calculating a specific point on the corresponding color space and a specific color on the color space according to coordinates of the current color point, specifically, taking a circle center of the circular color area as an origin, a vertical line passing through the origin as a y axis, a horizontal line passing through the origin as an x axis, and a coordinate value p (x, y) of the current color point is a coordinate value relative to the x axis and the y axis, and the step of calculating a chromaticity and saturation value of the color point of the current color point according to coordinates of the current color point includes:
calculating the angle of the current color point relative to the y axis as theta, and determining the value of theta as the hue H value of the current color point;
and calculating the percentage of the distance from the current color point to the origin and the radius of the color area, and determining the calculated percentage as the saturation S of the current color point. I.e. degree of saturation
Figure GDA0002394043110000051
d is the distance of the current color point p (x, y) from the origin, and r is the radius of the circular color area.
Because the brightness value L is (1-K) × (1-m × S), when a brightness setting value K is given, H, S and L values of the current color point can be obtained, because in a computer, colors are generally represented by an RGB mode, the current color point H, S and L values are converted into R, G and B values, then corresponding pixel points are colored according to the obtained R, G, B values, all the pixel points on a color area are traversed, and each color point is colored, so that a colorful color disc can be obtained.
When the brightness bar is adjusted, because the brightness setting value is changed, the color value of each point on the color disc is recalculated according to the steps, and the color is recoloring, so that the state of the color on the color space corresponding to different brightness setting values is obtained. The real-time display of the brightness of the fixed color enables the user to conveniently select the favorite color.
In the embodiment, the brightness L of the color points on the color wheel is determined to be L ═ 1-K ═ 1-m × (S), the value range of the preset value m is limited to be 0.2-0.8, and the color wheel with soft color and colorful color wheel is constructed.
Further, in this embodiment, m may be 0.5, that is, when K is 1, all color points on the color wheel have the lowest brightness, and the color wheel displays black, when K is 0, all colors on the color wheel have the highest brightness, and the brightness of the color points on the color wheel varies from the center point of the circular color wheel to the edge point of the circular color wheel from 0.5 to 1, and the brightness variation range of each color point on the color wheel varies with the change of K, for example, the brightness variation range of the color point at the center point of the color wheel (saturation is 0) is 0 to 1, and the brightness variation range of the color point at the edge of the color wheel (saturation is 1) is 0 to 0.5, so that the brightness of each color point on the color wheel is within a proper range, and the color taking efficiency of a user is improved.
For example, in another embodiment of the present invention, the value of m is 0.8, the luminance value L of a color point of the color wheel is (1-K) × (1-0.8 × S), when K is 0, all colors on the color wheel are the highest luminance, the luminance of the color point on the color wheel varies from the center point of the circular color wheel to the edge point of the circular color wheel, and the luminance varies from 0.2 to 1.
Referring to fig. 3, a color positioning method for quickly positioning the color of a target point on a screen of a terminal at a corresponding position on a color wheel and a color bar is further provided in another aspect of the present invention, where the color wheel is the color wheel mentioned in embodiment 1. The color positioning method includes steps S21-S26.
Step S21, obtain R, G, B values of the target point on the screen, and convert R, G, B values of the target point into chromaticity, saturation, and brightness values.
The system of the terminal is provided with a color picker for acquiring a color of any one position of the screen, that is, an R, G, B value of a target point on the screen the terminal converts R, G, B values of the acquired target point into chromaticity, saturation and brightness values (H, S, L).
Step S22, sequentially acquiring the chromaticity and saturation values of the color points on the color wheel.
In the above step, the step of sequentially obtaining the chromaticity and saturation values of the color points on the color wheel includes:
step S221, sequentially acquiring coordinate values of color points on the color disc;
step S222, calculating a chromaticity and saturation value of the current color point according to the obtained coordinate value of the current color point.
The coordinate p (x, y) of the current color point on the color wheel takes the circle center of the color wheel as an origin, the vertical line passing through the circle center as the ordinate axis, and the horizontal line passing through the circle center as the abscissa axis. The angle of the current color point P (x, y) with respect to the ordinate axis is θ, which corresponds to the value of the hue H, and the distance of the current color point P (x, y) from the origin as a percentage of the radius of the color wheel corresponds to the saturation S.
Step S23, determining whether the absolute values of the differences between the chromaticity and saturation values of the target point and the obtained chromaticity and saturation values of the current color point are both within the corresponding threshold ranges.
And step S24, if yes, pointing the cursor on the color wheel to the current color point. That is, the cursor is displayed on the color wheel at the coordinates P (x, y). The user can visually see the position of the color obtained from the screen on the color wheel, and the cursor is moved to other positions of the color wheel by moving the mouse to obtain the color points with the same brightness and different hues and saturation.
Because the color on the screen and the color developed on the color wheel have a certain color difference, the color of the target point selected on the screen cannot be found on the color wheel. Therefore, only approximate colors need to be found on the color wheel, and the difference values between the chromaticity and saturation values of the target point and the chromaticity and saturation values of the current color point respectively meet the corresponding threshold requirements. And traversing each color point on the color disc until finding out the color point of which the difference value between the chromaticity and the saturation value of the target point is within the corresponding threshold range, and determining the current color point.
Step S25, determining the brightness value of the current color point according to the brightness value of the target point, calculating a brightness setting value on the brightness bar according to the brightness value and the saturation value of the current color point, and pointing the slide bar on the brightness bar to a position corresponding to the brightness setting value.
And finding a brightness value which is equal to or close to the brightness value of the target point on the brightness bar corresponding to the current color point, determining the brightness setting value on the brightness bar according to the found brightness value, and marking the position corresponding to the brightness setting value on the brightness bar. For example, when the brightness value of the found current color point is half of the maximum brightness value of the current color point and the brightness setting value is 0.5, the slider bar that sets the brightness automatically jumps to the middle position of the brightness bar.
In the embodiment, the colors of the target points acquired on the screen are visually displayed at the corresponding positions on the color wheel and the brightness bar, so that a user can conveniently debug the night colors.
Please refer to fig. 4, which illustrates a color location method according to a third embodiment of the present invention. Includes steps S31-S38.
Step S31, obtain R, G, B values of the target point on the screen, and convert R, G, B values of the target point into chromaticity, saturation, and brightness values.
Step S32, coordinate values of the color points on the color wheel are sequentially acquired.
And step S33, calculating the chromaticity and saturation value of the current color point according to the coordinate value of the current color point.
Step S34, determining whether the difference between the chromaticity and saturation value of the target point and the chromaticity and saturation value of the current color point are both within the corresponding threshold range, if yes, performing step S36, and if no, performing step S38.
In the above step, traversing the color point on the color wheel, and when the current color point satisfies | H-H '| is less than or equal to 5 and | S-S' | is less than or equal to 5, determining the color point P (x, y) on the color wheel, where H and S are the chromaticity and saturation of the target color point respectively, and H 'and S' are the chromaticity and saturation of the current color point respectively.
Step S35, pointing the cursor on the color wheel to the current color point.
Step S36, determining a brightness value of the difference between the brightness of the current color point and the brightness of the target point within the brightness threshold range.
In the above step, when the difference between the brightness of the current color point and the brightness of the target point is-0.2, | LAt present-LTargetWhen | ≦ 0.02, determining the brightness value L of the current color pointAt presentWherein, LTargetIs the brightness value of the target point.
Step S37, calculating a brightness setting value on the brightness bar according to the brightness value of the current color point and the saturation value of the current color point, and pointing the slider on the brightness bar to a position corresponding to the brightness setting value.
In the above step, the formula for calculating the brightness setting value K is:
when LAt presentWhen the concentration is less than 1-m S,
Figure GDA0002394043110000081
when LAt presentK is equal to 0 when S is more than or equal to 1-m;
wherein m is a preset value, the value range of m is 0.2-0.8, S is the saturation value of the current color point, LAt presentL as the brightness value of the current color pointTargetIs the brightness value of the target point.
The brightness variation range of any color point on the color disc is 0-1-m S, when the brightness value of the color in the selected screen exceeds the maximum value (1-m S), the current color point on the color disc cannot find the brightness which is the same as the brightness value of the target point, and the K value is 0 at the moment, namely the slide bar on the brightness bar always indicates the brightest brightness position at the end point.
In step S38, coordinate values of the next color point are acquired, and the process returns to step S33.
The value of m is a predetermined value preset when the color wheel is established, preferably, the value of m is 0.5 when the color wheel is established, and when L is requiredAt presentWhen < 1-0.5S,
Figure GDA0002394043110000091
when LAt presentK is equal to 0 when S is more than or equal to 1-0.5. When m is 0.5, the brightness of each color point on the color disc is changed within a proper range, so that the color disc presents soft, gorgeous and colorful colors, and the color taking efficiency of a user is improved.
The logic and/or steps represented in the flowcharts or otherwise described herein, e.g., an ordered listing of executable instructions that can be considered to implement logical functions, can be embodied in any computer-readable medium for use by or in connection with an instruction execution system, apparatus, or device, such as a computer-based system, processor-containing system, or other system that can fetch the instructions from the instruction execution system, apparatus, or device and execute the instructions. For the purposes of this description, a "computer-readable medium" can be any means that can contain, store, communicate, propagate, or transport the program for use by or in connection with the instruction execution system, apparatus, or device.
More specific examples (a non-exhaustive list) of the computer-readable medium would include the following: an electrical connection (electronic device) having one or more wires, a portable computer diskette (magnetic device), a Random Access Memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber device, and a portable compact disc read-only memory (CDROM). Additionally, the computer-readable medium could even be paper or another suitable medium upon which the program is printed, as the program can be electronically captured, via for instance optical scanning of the paper or other medium, then compiled, interpreted or otherwise processed in a suitable manner if necessary, and then stored in a computer memory.
It should be understood that portions of the present invention may be implemented in hardware, software, firmware, or a combination thereof. In the above embodiments, the various steps or methods may be implemented in software or firmware stored in memory and executed by a suitable instruction execution system. For example, if implemented in hardware, as in another embodiment, any one or combination of the following techniques, which are known in the art, may be used: a discrete logic circuit having a logic gate circuit for implementing a logic function on a data signal, an application specific integrated circuit having an appropriate combinational logic gate circuit, a Programmable Gate Array (PGA), a Field Programmable Gate Array (FPGA), or the like.
The above-mentioned embodiments only express several embodiments of the present invention, and the description thereof is more specific and detailed, but not construed as limiting the scope of the present invention. It should be noted that, for a person skilled in the art, several variations and modifications can be made without departing from the inventive concept, which falls within the scope of the present invention. Therefore, the protection scope of the present patent shall be subject to the appended claims.

Claims (10)

1. A method of creating a color wheel, comprising:
when the brightness setting value K of the brightness bar is obtained, determining the brightness value of each color point of the color area to be (1-K) × (1-m × S), wherein m is a preset value and ranges from 0.2 to 0.8, S is the saturation value of the current color point, K is the brightness setting value on the brightness bar, and K ranges from 0 to 1;
traversing each color point on the color area, and calculating the chromaticity and saturation value of the current color point according to the coordinate value of the current color point;
and calculating R, G, B values of the current color point according to the chromaticity, the saturation value and the brightness value of the current color point, and coloring pixel points according to R, G, B values of the current color point.
2. A color disc creation method as claimed in claim 1, wherein said m is 0.5.
3. The color wheel establishing method of claim 1, wherein the color area is a circle, a center of the color area is an origin, a vertical line passing through the origin is a y-axis, a horizontal line passing through the origin is an x-axis, the coordinate value of the current color point is a coordinate value relative to the x-axis and the y-axis, and the step of calculating the chromaticity and saturation value of the current color point according to the coordinate value of the current color point comprises:
calculating the angle of the current color point relative to the y axis according to the coordinate value of the current color point, and determining the angle as the chromatic value of the current color point;
and calculating the percentage of the distance from the current color point to the origin and the radius of the color area according to the coordinate value of the current color point, and determining the percentage as the saturation value of the current color point.
4. A color location method, for use in the color wheel set up in claim 1, the color location method comprising:
obtaining R, G, B values of a target point on a screen, and converting R, G, B values of the target point into chrominance, saturation and brightness values;
sequentially acquiring the chromaticity and saturation values of the color points on the color disc, and judging whether the differences between the chromaticity and saturation values of the target point and the acquired chromaticity and saturation values of the current color point are within corresponding threshold ranges;
if so, pointing a cursor on the color disc to the current color point;
and determining the brightness value of the current color point according to the brightness value of the target point, calculating a brightness setting value on a brightness bar according to the brightness value and the saturation value of the current color point, and pointing a slide bar on the brightness bar to a position corresponding to the brightness setting value.
5. The color localization method according to claim 4, wherein the luminance setting value K is calculated by the formula:
when LAt presentWhen the concentration is less than 1-m S,
Figure FDA0002444265250000021
when LAt presentK is equal to 0 at ≧ 1-m × S, wherein, LAt presentThe luminance value of the current color point.
6. The color location method of claim 4, wherein the threshold range of the difference between the chromaticity value of the target point and the chromaticity value of the current color point is-5 to 5.
7. The color location method of claim 4 wherein the step of determining the brightness value of the current color point based on the brightness value of the target point comprises:
determining the brightness value of the difference value of the brightness of the current color point and the brightness of the target point within the brightness threshold range;
and calculating the brightness setting value on the brightness bar according to the brightness value of the current color point and the saturation value of the current color point, and marking the brightness setting value on the brightness bar.
8. The color localization method of claim 7, wherein the luminance threshold ranges from-0.2 to 0.2.
9. The color location method of claim 4, wherein the step of sequentially obtaining the chromaticity and saturation values of the color points on the color wheel comprises:
sequentially acquiring coordinate values of color points on the color disc;
and calculating the chromaticity and saturation values of the current color point according to the obtained coordinate values of the current color point.
10. The color location method of claim 4, wherein m is 0.5.
CN201710528480.2A 2017-07-01 2017-07-01 Color disc establishing method and color positioning method Active CN107463349B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201710528480.2A CN107463349B (en) 2017-07-01 2017-07-01 Color disc establishing method and color positioning method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201710528480.2A CN107463349B (en) 2017-07-01 2017-07-01 Color disc establishing method and color positioning method

Publications (2)

Publication Number Publication Date
CN107463349A CN107463349A (en) 2017-12-12
CN107463349B true CN107463349B (en) 2020-08-04

Family

ID=60546456

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201710528480.2A Active CN107463349B (en) 2017-07-01 2017-07-01 Color disc establishing method and color positioning method

Country Status (1)

Country Link
CN (1) CN107463349B (en)

Families Citing this family (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108681425A (en) * 2018-05-14 2018-10-19 北京小米移动软件有限公司 Color temperature adjusting method, device and storage medium
CN111209070B (en) * 2020-01-06 2023-09-26 杭州涂鸦信息技术有限公司 Linear gradual-change color-taking method for WEB end
CN113946262B (en) * 2020-07-15 2024-04-09 中移(苏州)软件技术有限公司 Color taking method and device and storage medium
CN113973414A (en) * 2020-07-23 2022-01-25 青岛海尔智能家电科技有限公司 Method, device and equipment for color synchronous display
CN115116404B (en) * 2021-03-22 2023-08-01 广州视源电子科技股份有限公司 Color temperature and brightness calibration method, device, medium and interactive flat panel

Family Cites Families (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US8786625B2 (en) * 2010-09-30 2014-07-22 Apple Inc. System and method for processing image data using an image signal processor having back-end processing logic
CN103581634B (en) * 2013-08-12 2015-07-22 泰邦泰平科技(北京)有限公司 Processing method for image wide dynamic range
CN106383685B (en) * 2016-09-30 2019-05-24 深圳市欧瑞博电子有限公司 A kind of method and apparatus based on rgb value position color position in colour disk

Also Published As

Publication number Publication date
CN107463349A (en) 2017-12-12

Similar Documents

Publication Publication Date Title
CN107463349B (en) Color disc establishing method and color positioning method
US10791249B2 (en) Color gamut mapping method and color gamut mapping apparatus
CN107705264B (en) Image processing method, electronic equipment and device with storage function
US20140139561A1 (en) Display Processing Method Display Processing Device and Display
US8331665B2 (en) Method of electronic color image saturation processing
JP2015529890A (en) Brightness-changed image processing with color constraints
US9025224B2 (en) Image-color-correcting method using a multitouch screen
US11030971B2 (en) Display device and image processing method for color correction based on image type
JP6793281B2 (en) Color gamut mapping method and color gamut mapping device
US10777151B2 (en) Driving method of display device and display device
US11302288B2 (en) Ambient saturation adaptation
US20220405988A1 (en) Modification of Color Contrast Ratio based on Target Contrast
US8373718B2 (en) Method and system for color enhancement with color volume adjustment and variable shift along luminance axis
KR20180063611A (en) Display device and image data processing method of the same
US7671871B2 (en) Graphical user interface for color correction using curves
US20240046836A1 (en) Image processing methods and apparatuses, electronic devices and storage media
US10008008B2 (en) Method and apparatus for assigning colours to an image
CN104639924A (en) Method for reducing degree of dependence on device pixel to improve color value precision
US9898973B2 (en) Display device, electronic apparatus and method of driving display device
CN114374830B (en) Image white balance method, electronic device and computer readable storage medium
CN102184527B (en) Image processing method and device
CN113112944A (en) Display control method, electronic device, and storage medium
US20070171308A1 (en) Methods of color index searching
CN102282853B (en) Video display device
US20140210842A1 (en) Measurement position determination apparatus, image display system, and non-transitory computer readable medium

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant