A display method and device for a drawing software on a TV
By obtaining the TV screen configuration information and display color, calculating the real color and drawing it, the problem of inconsistent display effects of drawing software on different TVs is solved, and a unified display effect is achieved.
Patent Information
- Application Number
- CN202210641928.2
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2022-06-08
- Publication Date
- 2025-07-11
- Estimated Expiration
- 2042-06-08
AI Technical Summary
On TVs with different screen configurations, the problem of inconsistent display effects of drawing software has not been effectively solved.
By obtaining the configuration information of the target TV screen color and the display color when the drawing software draws on the target TV, calculate and determine the real color used by the drawing software, and draw according to the real color.
It realizes the unified display effect of drawing software on different TVs, avoiding the inconsistent display caused by different TV screen configurations.
Smart Images

Figure CN115002372B_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the field of computer technology, and in particular, to a display method and device of a drawing software on a television. Background Art
[0002] With the popularization of Android TVs, the competition among TV manufacturers has become increasingly fierce. At present, in the highly competitive environment among TV manufacturers, each manufacturer makes targeted adjustments to the display effects of its own TVs. For example, by adjusting some configurations, the picture can be made to look a bit redder, making the characters look more aesthetic; or the picture can be made to look a bit yellower, giving a documentary a more historical feel. Although these picture configurations achieve the above effects and bring positive benefits, they are not good for drawing software. For existing drawing software, whatever color the user selects, that color will be drawn, but the color finally displayed on the screen will be affected by the aforementioned picture configurations. Taking red as an example, if the user intends to draw a pure red line, but due to the yellowish effect configured for the TV screen, what is finally shown to the user is a color that is a bit yellowish mixed with red, which does not meet the expectation. Perhaps for a documentary, a yellowish mixed display effect is better, but for a drawing software, it should show the same effect on any TV, and a pure red should be shown as pure red. Another example is that if the user saves the drawing content on TV A (a redder TV) in the company and then wants to read and continue editing it on TV B (a yellower TV) at home, and finds that the display is different, this is obviously a very bad experience.
[0003] Currently, in view of the problem in the related art that the display effects of drawing software are different on TVs with different picture configurations, no effective solution has been proposed. Summary of the Invention
[0004] An object of the present disclosure is to provide a display method and device of a drawing software on a television, as well as an electronic device and a computer-readable storage medium, so as to at least solve the problem in the related art that the display effects of drawing software are different on TVs with different picture configurations.
[0005] According to one aspect of the present disclosure, there is provided a display method of a drawing software on a television, including:
[0006] Obtaining configuration information of the color of a target TV screen;
[0007] Obtaining the display color when the drawing software is drawn on the target TV;
[0008] Determining the true color used by the drawing software according to the configuration information and the display color, and performing drawing according to the true color.
[0009] According to another aspect of the present disclosure, there is provided a display device of a drawing software in a television, including:
[0010] A first acquisition unit configured to acquire configuration information of a target television screen color;
[0011] A second acquisition unit configured to acquire a display color when the drawing software is drawn on the target television;
[0012] A determination unit configured to determine a true color used by the drawing software according to the configuration information and the display color, and perform drawing according to the true color.
[0013] According to another aspect of the present disclosure, there is provided an electronic device, including:
[0014] A processor; and
[0015] A memory storing a program,
[0016] wherein the program includes instructions that, when executed by the processor, cause the processor to execute the display method of the drawing software in the television in the present disclosure.
[0017] According to another aspect of the present disclosure, there is provided a non-transitory computer-readable storage medium storing computer instructions, where the computer instructions are used to cause the computer to execute the display method of the drawing software in the television in the present disclosure.
[0018] One or more technical solutions provided in the embodiments of the present disclosure solve the problem that the display effects of the drawing software are different on televisions with different screen configurations in the related art by acquiring configuration information of a target television screen color; acquiring a display color when the drawing software is drawn on the target television; determining a true color used by the drawing software according to the configuration information and the display color, and performing drawing according to the true color, and achieve the purpose of realizing a unified display effect of the drawing software on different televisions without affecting the recorded color parameters. BRIEF DESCRIPTION OF THE DRAWINGS
[0019] In the following description of exemplary embodiments with reference to the accompanying drawings, more details, features, and advantages of the present disclosure are disclosed. In the drawings:
[0020] Figure 1 A flowchart showing a display method of a drawing software in a television according to an exemplary embodiment of the present disclosure;
[0021] Figure 2 A flowchart showing a drawing and saving process of a drawing software according to an exemplary embodiment of the present disclosure;
[0022] Figure 3 shows a flowchart of restoring and drawing based on saved data according to an exemplary embodiment of the present disclosure;
[0023] Figure 4 shows a schematic block diagram of a display device of a painting software in a television according to an exemplary embodiment of the present disclosure;
[0024] Figure 5 shows a block diagram of an exemplary electronic device capable of implementing the embodiments of the present disclosure. Detailed implementation manners
[0025] Embodiments of the present disclosure will be described in more detail below with reference to the accompanying drawings. Although some embodiments of the present disclosure are shown in the drawings, it should be understood that the present disclosure can be implemented in various forms and should not be construed as limited to the embodiments set forth herein. Instead, these embodiments are provided to more thoroughly and completely understand the present disclosure. It should be understood that the drawings and embodiments of the present disclosure are only for exemplary purposes and are not used to limit the protection scope of the present disclosure.
[0026] It should be understood that the steps recited in the method embodiments of the present disclosure can be executed in a different order and / or in parallel. In addition, the method embodiments may include additional steps and / or omit the steps shown. The scope of the present disclosure is not limited in this regard.
[0027] As used herein, the term "including" and its variations are open-ended, that is, "including but not limited to". The term "based on" means "at least partially based on". The term "one embodiment" means "at least one embodiment"; the term "another embodiment" means "at least one additional embodiment"; the term "some embodiments" means "at least some embodiments". The relevant definitions of other terms will be given in the following description. It should be noted that the concepts such as "first" and "second" mentioned in the present disclosure are only used to distinguish different devices, modules or units, and are not used to limit the order of functions performed by these devices, modules or units or their interdependent relationships.
[0028] It should be noted that the modifications of "one" and "plural" mentioned in the present disclosure are illustrative rather than restrictive. Those skilled in the art should understand that unless otherwise clearly stated in the context, it should be understood as "one or more".
[0029] The names of the messages or information exchanged between multiple devices in the embodiments of the present disclosure are only for illustrative purposes and are not used to limit the scope of these messages or information.
[0030] The solution of the present disclosure is described below with reference to the accompanying drawings.
[0031] An exemplary embodiment of the present disclosure provides a method for displaying a drawing software on a television. Figure 1 The flowchart of the method for displaying a drawing software on a television according to an exemplary embodiment of the present disclosure is shown as Figure 1 shown, and the method includes the following steps:
[0032] Step S101, obtaining configuration information of the color of a target television screen;
[0033] Step S102, obtaining the display color when the drawing software is drawn on the target television;
[0034] Step S103, determining the true color used by the drawing software according to the configuration information and the display color, and performing drawing according to the true color.
[0035] By the above steps, the problem that the display effect of the drawing software is different on televisions with different screen configurations in the related art is solved, and the purpose of achieving a unified display effect of the drawing software on different televisions without affecting the recorded color parameters is realized.
[0036] In some of these embodiments, the configuration information of the color of the target television screen includes: a transparency adjustment value and a color channel adjustment value, where the color channel adjustment value includes: a red channel adjustment value, a blue channel adjustment value, and a green channel adjustment value.
[0037] In some of these embodiments, step S103 determining the true color used by the drawing software according to the configuration information and the display color may include:
[0038] Calculating the true color according to the following formula:
[0039] The true color + the configuration information = the display color.
[0040] In some of these embodiments, step S103 determining the true color used by the drawing software according to the configuration information and the display color may include:
[0041] Constructing the following system of equations to calculate the red channel color value, the blue channel color value, and the green channel color value in the true color respectively:
[0042] Red(Original) = Red(X)*(1 - Alpha(Adjustment)) + Red(Adjustment)*Alpha(Adjustment)
[0043] Blue(Original) = Blue(X) * (1 - Alpha(Adjustment)) + Blue(Adjustment) * Alpha(Adjustment)
[0044] Green(Original) = Green(X) * (1 - Alpha(Adjustment)) + Green(Adjustment) * Alpha(Adjustment)
[0045] Wherein, Alpha(Adjustment) represents the transparency adjustment value, Red(Adjustment) represents the red channel adjustment value, Blue(Adjustment) represents the blue channel adjustment value, Green(Adjustment) represents the green channel adjustment value, Red(Original) represents the red channel color value in the display color, Blue(Original) represents the blue channel color value in the display color, Green(Original) represents the green channel color value in the display color, Red(X) represents the red channel color value in the true color, Blue(X) represents the blue channel color value in the true color, and Green(X) represents the green channel color value in the true color;
[0046] According to the calculated red channel color value, blue channel color value, and green channel color value in the true color, the true color is combined.
[0047] In some embodiments, after drawing according to the true color, the method may further include:
[0048] Save the drawing trajectory data of the painting software, and record the color of the saved data as the display color.
[0049] The embodiments of the present disclosure can be applied to all images that can be drawn on Canvas (a class in Android for graphic drawing).
[0050] The embodiments of the present disclosure are based on the Android Canvas class and the read color configuration information of the TV screen, and realize the distinction and association between the display color (i.e., color Original) of the drawing trajectory and the true color (i.e., color Paint) actually used during Android drawing.
[0051] The specific implementation method is as Figure 2 shown, and specifically includes the following steps:
[0052] Step S201, read the color configuration information of the TV screen;
[0053] Step S202, the user selects the brush color and records it as color Original;
[0054] Step S203, calculate color Paint according to the TV screen color configuration information and color Original;
[0055] Color X + TV screen color configuration information = color Original, calculate color X. (Color X is the abbreviation for the unknown color to be calculated in this equation, X represents unknown, and color X is the calculated color Paint);
[0056] Step S204, perform drawing using color Paint;
[0057] Step S205, determine that the screen display color is color Original;
[0058] Step S206, judge whether to save; if save, then execute step S207, otherwise end;
[0059] Step S207, the color recorded when saving is color Paint.
[0060] It should be noted that the superimposing method used by the TV to calculate the display color is AlphaBlend (AlphaBlend means transparent superposition, which is a calculation method for calculating the color after color superposition). Based on this, the following equations can be obtained:
[0061] Red(Original) = Red(X) * (1 - Alpha(adjustment)) + Red(adjustment) * Alpha(adjustment)
[0062] Blue(Original) = Blue(X) * (1 - Alpha(adjustment)) + Blue(adjustment) * Alpha(adjustment)
[0063] Green(Original) = Green(X) * (1 - Alpha(adjustment)) + Green(adjustment) * Alpha(adjustment)
[0064] Among them:
[0065] Red(Original) is the red channel color value in color Original. If the color of color Original is #123456, then Red(Original) is the hexadecimal number 0x12, that is, the decimal number 18;
[0066] Blue(Original) is the blue channel color value in color Original;
[0067] Green(Original) is the green channel color value in color Original;
[0068] Red(X) is the color value of the red channel in color X;
[0069] Blue(X) is the color value of the blue channel in color X;
[0070] Green(X) is the color value of the green channel in color X;
[0071] Alpha(Adjustment) is the value for adjusting Alpha (Alpha means transparency) in the read TV screen color configuration information. For example, if the screen color adjustment is to make the screen 80% transparent, the value of Alpha(Adjustment) is 80% which is 0.8;
[0072] Red(Adjustment) is the value for adjusting the red channel in the read TV screen color configuration information. For example, if the screen color adjustment is to make the screen more red, so if we want to overlay 0xFF of red on the whole screen, the value of Alpha(Adjustment) is 0xFF which is 255;
[0073] Blue(Adjustment) is the value for adjusting the blue channel in the read TV screen color configuration information;
[0074] Green(Adjustment) is the value for adjusting the green channel in the read TV screen color configuration information.
[0075] Calculate the RGB value corresponding to color X (that is, calculate Red(X), Green(X), Blue(X)), and combine them to get color X (for example, if Red(X) = 123, Green(X) = 111, Blue(X) = 15, after converting to hexadecimal and then combining, we can get #7B6F0F).
[0076] Color X is the actual color drawn during Android drawing, denoted as color Paint.
[0077] Use color Paint for Android drawing, and the color actually displayed on the screen is color Original.
[0078] If the data of the drawing trajectory is saved locally, the saved data is color Original.
[0079] When reading the saved drawing trajectory data for restoration drawing on any TV, the execution process is as Figure 3 shown, specifically including the following steps:
[0080] Step S301, read the drawing trajectory save file;
[0081] Step S302, read the color configuration information of the TV screen;
[0082] Step S303, read from the saved information that the drawing track color is Color Original;
[0083] Step S304, calculate Color Paint according to the color configuration information of the TV screen and Color Original;
[0084] Wherein, Color Paint + the color configuration information of the TV screen = Color Original;
[0085] Step S305, use Color Paint for restoration drawing, and the color displayed on the screen is Color Original.
[0086] In the embodiment of the present disclosure, the Android painting software realizes a solution with a unified display effect on different TVs without affecting the recorded color parameters.
[0087] It should be noted that the steps shown in the above process or the flowchart of the accompanying drawings can be executed in a computer system such as a set of computer-executable instructions, and although the logical order is shown in the flowchart, in some cases, the steps shown or described can be executed in a different order than here.
[0088] The exemplary embodiment of the present disclosure also provides a display device of a painting software in a TV. This device is used to implement the above embodiments and preferred implementation manners, and those that have been described will not be repeated. As used below, terms such as "module", "unit", "sub-unit", etc. can be a combination of software and / or hardware that can implement a predetermined function. Although the devices described in the following embodiments are preferably implemented in software, implementation in hardware, or a combination of software and hardware is also possible and contemplated.
[0089] Figure 4 The schematic block diagram of the display device of the painting software in the TV according to the exemplary embodiment of the present disclosure is shown, as Figure 4 shown, this device includes:
[0090] The first acquisition unit 41 is used to acquire the configuration information of the target TV screen color;
[0091] The second acquisition unit 42 is used to acquire the display color when the painting software is drawn on the target TV;
[0092] The determination unit 43 is used to determine the true color used by the painting software according to the configuration information and the display color, and perform drawing according to the true color.
[0093] In some of these embodiments, the configuration information includes a transparency adjustment value and color channel adjustment values. Among them, the determination unit 43 includes:
[0094] A calculation module for calculating the true color according to the following equation:
[0095] The true color + the configuration information = the display color.
[0096] In some of these embodiments, the color channel adjustment values include: a red channel adjustment value, a blue channel adjustment value, and a green channel adjustment value. Among them, the determination unit 43 includes:
[0097] A construction module for constructing the following system of equations to calculate the red channel color value in the true color, the blue channel color value in the true color, and the green channel color value in the true color respectively:
[0098] Red(Original) = Red(X) * (1 - Alpha(adjustment)) + Red(adjustment) * Alpha(adjustment)
[0099] Blue(Original) = Blue(X) * (1 - Alpha(adjustment)) + Blue(adjustment) * Alpha(adjustment)
[0100] Green(Original) = Green(X) * (1 - Alpha(adjustment)) + Green(adjustment) * Alpha(adjustment)
[0101] Where Alpha(adjustment) represents the transparency adjustment value, Red(adjustment) represents the red channel adjustment value, Blue(adjustment) represents the blue channel adjustment value, Green(adjustment) represents the green channel adjustment value, Red(Original) represents the red channel color value in the display color, Blue(Original) represents the blue channel color value in the display color, Green(Original) represents the green channel color value in the display color, Red(X) represents the red channel color value in the true color, Blue(X) represents the blue channel color value in the true color, and Green(X) represents the green channel color value in the true color;
[0102] A combination module for combining to obtain the true color according to the calculated red channel color value, blue channel color value, and green channel color value in the true color.
[0103] In some of these embodiments, it further includes:
[0104] A storage unit, configured to save the drawing trace data of the drawing software after the drawing is performed according to the true color, and record the color of the saved data as the display color.
[0105] It should be noted that each of the above modules can be a functional module or a program module, and can be implemented either by software or by hardware. For the modules implemented by hardware, each of the above modules can be located in the same processor; or each of the above modules can also be located in different processors in any combined form.
[0106] An exemplary embodiment of the present disclosure further provides an electronic device, including: at least one processor; and a memory communicatively connected to the at least one processor. The memory stores a computer program executable by the at least one processor, and the computer program, when executed by the at least one processor, is configured to cause the electronic device to execute the method according to the embodiments of the present disclosure.
[0107] An exemplary embodiment of the present disclosure further provides a non-transitory computer-readable storage medium storing a computer program, wherein the computer program, when executed by a processor of a computer, is configured to cause the computer to execute the method according to the embodiments of the present disclosure.
[0108] An exemplary embodiment of the present disclosure further provides a computer program product, including a computer program, wherein the computer program, when executed by a processor of a computer, is configured to cause the computer to execute the method according to the embodiments of the present disclosure.
[0109] Reference Figure 5 , a block diagram of an electronic device 500 that can be used as a server or a client of the present disclosure will now be described. It is an example of a hardware device applicable to various aspects of the present disclosure. The electronic device is intended to represent various forms of digital electronic computer devices, such as, a laptop computer, a desktop computer, a workbench, a personal digital assistant, a server, a blade server, a mainframe computer, and other suitable computers. The electronic device can also represent various forms of mobile devices, such as, a personal digital processor, a cellular phone, a smart phone, a wearable device, and other similar computing devices. The components shown herein, their connections and relationships, and their functions are merely examples and are not intended to limit the implementation of the present disclosure described and / or claimed herein.
[0110] As Figure 5As shown, the electronic device 500 includes a computing unit 501, which can perform various appropriate actions and processes according to a computer program stored in a read-only memory (ROM) 502 or a computer program loaded from a storage unit 508 into a random access memory (RAM) 503. In the RAM 503, various programs and data required for the operation of the device 500 can also be stored. The computing unit 501, the ROM 502, and the RAM 503 are connected to each other via a bus 504. An input / output (I / O) interface 505 is also connected to the bus 504.
[0111] A plurality of components in the electronic device 500 are connected to the I / O interface 505, including: an input unit 506, an output unit 507, a storage unit 508, and a communication unit 509. The input unit 506 can be any type of device capable of inputting information into the electronic device 500. The input unit 506 can receive input numerical or character information and generate key signal inputs related to user settings and / or function controls of the electronic device. The output unit 507 can be any type of device capable of presenting information and can include, but is not limited to, a display, a speaker, a video / audio output terminal, a vibrator, and / or a printer. The storage unit 508 can include, but is not limited to, magnetic disks and optical discs. The communication unit 509 allows the electronic device 500 to exchange information / data with other devices via a computer network such as the Internet and / or various telecommunication networks and can include, but is not limited to, a modem, a network card, an infrared communication device, a wireless communication transceiver, and / or a chipset, such as a Bluetooth device, a WiFi device, a WiMax device, a cellular communication device, and / or the like.
[0112] The computing unit 501 can be various general-purpose and / or special-purpose processing components with processing and computing capabilities. Some examples of the computing unit 501 include, but are not limited to, a central processing unit (CPU), a graphics processing unit (GPU), various dedicated artificial intelligence (AI) computing chips, various computing units running machine learning model algorithms, a digital signal processor (DSP), and any appropriate processor, controller, microcontroller, etc. The computing unit 501 executes the various methods and processes described above. For example, in some embodiments, a display method of a drawing software on a TV can be implemented as a computer software program, which is tangibly contained in a machine-readable medium, such as the storage unit 508. In some embodiments, part or all of the computer program can be loaded and / or installed onto the electronic device 500 via the ROM 502 and / or the communication unit 509. In some embodiments, the computing unit 501 can be configured to execute the display method of the drawing software on the TV by any other appropriate means (e.g., by means of firmware).
[0113] The program code for implementing the methods of the present disclosure may be written in any combination of one or more programming languages. These program codes may be provided to a processor or controller of a general purpose computer, a special purpose computer, or other programmable data processing apparatus, such that the program codes, when executed by the processor or controller, cause the functions / operations specified in the flowcharts and / or block diagrams to be implemented. The program code may execute entirely on the machine, partly on the machine, as a stand-alone software package partly on the machine and partly on a remote machine, or entirely on the remote machine or server.
[0114] In the context of the present disclosure, a machine-readable medium may be a tangible medium that can contain, or store a program for use by or in connection with an instruction execution system, apparatus, or device. A machine-readable medium may be a machine-readable signal medium or a machine-readable storage medium. A machine-readable medium may include, but is not limited to, electronic, magnetic, optical, electromagnetic, infrared, or semiconductor systems, apparatus, or devices, or any suitable combination of the foregoing. More specific examples of a machine-readable storage medium would include an electrical connection based on one or more wires, a portable computer diskette, a hard disk, a random access memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or Flash memory), an optical fiber, a portable compact disc read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the foregoing.
[0115] As used in the present disclosure, the terms “machine-readable medium” and “computer-readable medium” refer to any computer program product, apparatus, and / or device (e.g., a disk, optical disk, memory, programmable logic device (PLD)) used to provide machine instructions and / or data to a programmable processor, including a machine-readable medium that receives machine instructions as a machine-readable signal. The term “machine-readable signal” refers to any signal used to provide machine instructions and / or data to a programmable processor.
[0116] In order to provide an interaction with a user, the systems and techniques described herein may be implemented on a computer having: a display device (e.g., a CRT (cathode ray tube) or LCD (liquid crystal display) monitor) for displaying information to the user; and a keyboard and a pointing device (e.g., a mouse or a trackball) by which the user can provide input to the computer. Other kinds of devices may also be used to provide an interaction with the user; for example, the feedback provided to the user may be any form of sensory feedback (e.g., visual feedback, auditory feedback, or tactile feedback); and input from the user may be received in any form (including acoustic input, voice input, or tactile input).
[0117] The systems and techniques described herein can be implemented in a computing system that includes backend components (e.g., as a data server), or a computing system that includes middleware components (e.g., an application server), or a computing system that includes frontend components (e.g., a user computer having a graphical user interface or a web browser through which a user can interact with an implementation of the systems and techniques described herein), or a computing system that includes any combination of such backend components, middleware components, or frontend components. The components of the system can be interconnected to each other by digital data communication in any form or medium (e.g., a communication network). Examples of communication networks include: local area network (LAN), wide area network (WAN), and the Internet.
[0118] A computer system can include clients and servers. Clients and servers are generally far apart from each other and typically interact through a communication network. The client - server relationship is created by computer programs that run on the respective computers and have a client - server relationship with each other.
Claims
1. A display method of a drawing software on a TV, characterized in that, Including: Obtaining configuration information of the color of the target TV screen; Obtaining the display color when the drawing software is drawn on the target TV; Determining the true color used by the drawing software according to the configuration information and the display color, and performing drawing according to the true color; Saving the drawing trajectory data of the drawing software, and recording the color of the saved data as the display color; When reading the saved drawing trajectory data for restoring drawing on any TV, reading the TV screen color configuration information; Reading the drawing trajectory color as color Original from the saved drawing trajectory data; Calculating color Paint according to the TV screen color configuration information and the color Original; wherein, the color Paint + the TV screen color configuration information = the color Original; Using the color Paint for restoring drawing, and the screen display color is the color Original.
2. The display method of the drawing software in a television according to claim 1, characterized in that, The configuration information includes a transparency adjustment value and a color channel adjustment value. Among them, determining the true color used by the drawing software according to the configuration information and the display color includes: Calculating the true color according to the following equation: The true color + the configuration information = the display color.
3. The display method of the drawing software in the television according to claim 2, wherein, The color channel adjustment value includes: a red channel adjustment value, a blue channel adjustment value, and a green channel adjustment value. Among them, determining the true color used by the drawing software according to the configuration information and the display color includes: Constructing the following system of equations to calculate the red channel color value in the true color, the blue channel color value in the true color, and the green channel color value in the true color respectively: Red(Original) = Red(X) * (1 - Alpha(adjustment)) + Red(adjustment) * Alpha(adjustment) Blue(Original) = Blue(X) * (1 - Alpha(adjustment)) + Blue(adjustment) * Alpha(adjustment) Green(Original) = Green(X) * (1 - Alpha(adjustment)) + Green(adjustment) * Alpha(adjustment) Wherein, Alpha(adjustment) represents the transparency adjustment value, Red(adjustment) represents the red channel adjustment value, Blue(adjustment) represents the blue channel adjustment value, Green(adjustment) represents the green channel adjustment value, Red(Original) represents the red channel color value in the display color, Blue(Original) represents the blue channel color value in the display color, Green(Original) represents the green channel color value in the display color, Red(X) represents the red channel color value in the true color, Blue(X) represents the blue channel color value in the true color, and Green(X) represents the green channel color value in the true color; Combining the red channel color value, the blue channel color value, and the green channel color value in the calculated true color to obtain the true color.
4. A display device of a drawing software in a television, characterized in that Including: A first acquisition unit for acquiring configuration information of the color of the target TV screen; A second acquisition unit for acquiring the display color when the drawing software is drawn on the target TV; A determination unit for determining the true color used by the drawing software according to the configuration information and the display color, and performing drawing according to the true color; A storage unit for storing the drawing trajectory data of the drawing software, and recording the color of the stored data as the display color; The first acquisition unit is further configured to read the TV screen color configuration information when restoring and drawing the stored drawing trajectory data on any TV; The second acquisition unit is configured to read the drawing trajectory color as color Original from the stored drawing trajectory data; The determination unit is further configured to calculate color Paint according to the TV screen color configuration information and the color Original; wherein, the color Paint + the TV screen color configuration information = the color Original; using the color Paint for restoring and drawing, and the screen display color is the color Original.
5. The display device of the drawing software in a television according to claim 4, characterized in that, The configuration information includes a transparency adjustment value and a color channel adjustment value, wherein the determination unit includes: A calculation module for calculating the true color according to the following equation: The true color + the configuration information = the display color.
6. The display device of the drawing software in a television according to claim 5, characterized in that, The color channel adjustment value includes: a red channel adjustment value, a blue channel adjustment value, and a green channel adjustment value, wherein the determination unit includes: A construction module for constructing the following system of equations to calculate the red channel color value, the blue channel color value, and the green channel color value in the true color respectively: Red(Original) = Red(X) * (1 - Alpha(adjustment)) + Red(adjustment) * Alpha(adjustment) Blue(Original) = Blue(X) * (1 - Alpha(adjustment)) + Blue(adjustment) * Alpha(adjustment) Green(Original) = Green(X) * (1 - Alpha(adjustment)) + Green(adjustment) * Alpha(adjustment) Wherein, Alpha (Adjustment) represents the transparency adjustment value, Red (Adjustment) represents the red channel adjustment value, Blue (Adjustment) represents the blue channel adjustment value, Green (Adjustment) represents the green channel adjustment value, Red (Original) represents the red channel color value in the display color, Blue (Original) represents the blue channel color value in the display color, Green (Original) represents the green channel color value in the display color, Red (X) represents the red channel color value in the true color, Blue (X) represents the blue channel color value in the true color, and Green (X) represents the green channel color value in the true color; A combination module, configured to combine the red channel color value, the blue channel color value, and the green channel color value in the calculated true color to obtain the true color.
7. An electronic device, characterized in that, Comprising: A processor; And A memory storing a program, Wherein, the program includes instructions that, when executed by the processor, cause the processor to execute the display method of the painting software in a television according to any one of claims 1-3.
8. A non-transitory computer-readable storage medium storing computer instructions, characterized in that, The computer instructions are used to cause the computer to execute the display method of the painting software in a television according to any one of claims 1-3.
Citation Information
Patent Citations
Image effect display method and device, electronic device and readable storage medium
CN114422765A
Display system, calibration method, computer program and recording medium
JP2013128177A