Color determination method and device, equipment and storage medium
By obtaining the attribute data group of the TV input signal and selecting the adaptive color curve group and picture quality parameter file, the problem of insufficient color adjustment items of the TV is solved, accurate display and adaptive adjustment are achieved, and user experience and simplicity of application between devices are improved.
Patent Information
- Application Number
- CN202410146784.2
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-02-01
- Publication Date
- 2025-08-01
AI Technical Summary
In the prior art, the number of color adjustment items of television sets is small, and it is impossible to adapt to various types of display signals, resulting in poor display effect.
By obtaining the attribute data group of the input signal, selecting the corresponding color curve group, and displaying it in combination with the picture quality parameter file to achieve adaptive adjustment of color and picture quality.
It realizes accurate display of colors in different situations, improves the user's viewing experience, and supports quick color setting application between different devices, simplifying engineering complexity.
Smart Images

Figure CN120416408A_ABST
Abstract
Description
Technical Field
[0001] The embodiments of the present application relate to the technical field of display, and in particular, to a method, apparatus, device, and storage medium for determining colors. Background Art
[0002] The color calling system of a television can adjust the color output of the television so that the television presents different display effects based on different color outputs. In related technologies, the color calling system of a television can provide several simple color adjustment items for users to select, and determine the currently used color adjustment item based on the user's selection, and then adjust the color output based on the color adjustment item. However, with the development of display technologies, the types of display signals sent by signal sources are becoming increasingly rich. For example, different signal sources can send display signals with different resolutions, different coding formats, different frame rates, etc. At this time, for different types of display signals, the need to adjust the color output using appropriate color adjustment items is increasing. Summary of the Invention
[0003] The embodiments of the present application provide a method, apparatus, device, and storage medium for determining colors to solve the technical problem in related technologies that the number of color adjustment items is small and cannot adapt to various types of display signals.
[0004] In a first aspect, an embodiment of the present application provides a method for determining colors, including:
[0005] Obtaining an attribute data group of an input signal to be displayed, where the attribute data group includes attribute data of multiple attribute types;
[0006] Selecting a corresponding color curve group in a color file according to the attribute data group, where the color curve group includes multiple color curves for determining display colors, and each color curve group has a corresponding attribute data group;
[0007] Obtaining the display color of the input signal according to the color curve group and the color parameters of the input signal, and displaying the input signal through the display color and the image quality parameters recorded in the image quality parameter file.
[0008] As described above, by obtaining the attribute data group of the input signal to be displayed, finding the corresponding color curve group in the color file, then determining the display color of the input signal according to the color curve group, and displaying the input signal based on the display color and the image quality parameters in the image quality parameter file, the technical problem in the related art that the number of color adjustment items is small and cannot adapt to various types of display signals is solved. In different situations, based on the input signals with different attribute data, the used color curves can be replaced in real time to ensure accurate color display, that is, the color determination device accurately presents the colors corresponding to different signal sources, thereby providing a more accurate and realistic image and improving the user's viewing experience. Moreover, the adaptive adjustment of color settings is realized. Only by the attribute data of the input signal can the color curve group required for color setting be determined, without user operation and no longer relying on static settings or predefined parameters.
[0009] Based on the above embodiments, when obtaining the attribute data group of the input signal to be displayed, it further includes:
[0010] If there is empty attribute data in the attribute data group, use the preset default data corresponding to the attribute type to which the empty attribute data belongs to replace the empty attribute data to obtain an updated attribute data group.
[0011] As described above, setting default data for each attribute type so that when the attribute data under the attribute type in the attribute data group is empty, the default data can be used. On the basis of classifying the input signals based on the attribute data under each attribute type, one or more input signals with empty attribute data under one or more attribute types can be additionally classified, enriching the types of input signals.
[0012] Based on the above embodiments, obtaining the attribute data group of the input signal to be displayed includes:
[0013] When it is detected that the attribute data of the input signal to be displayed has changed, obtain the attribute data group of the input signal.
[0014] As described above, when it is detected that the attribute data of the input signal has changed, automatically replace the used color curve group, and the dynamic adaptive adjustment of color settings can also be further realized.
[0015] Based on the above embodiments, the color determination method further includes:
[0016] Obtain the target color file of the target display device;
[0017] Use the target color file to replace the currently used color file to use the color curve groups recorded in the target color file.
[0018] As described above, by setting the color file recording color settings and the image quality parameter file recording image quality parameters as two independent files, it is possible to quickly apply (which can also be understood as quickly loading and applying) color settings between different devices and models. During the application process, only the color file needs to be obtained and replaced, without the need to decode and encode the color file again, improving the flexibility of the storage method and the simplicity of application. Especially for merchants manufacturing color determination devices, it is possible to quickly apply color settings between different models, simplifying the engineering complexity and improving production efficiency.
[0019] Based on the above embodiment, the color determination method further includes:
[0020] Receiving a first color setting operation issued by the user;
[0021] According to the first color setting operation, displaying at least one color option to be selected, and each color option corresponds to a color curve group;
[0022] Receiving a selection operation issued by the user;
[0023] Among at least one color option to be selected, updating the color curve group corresponding to the color option selected by the selection operation to the currently used color curve group.
[0024] Based on the above embodiment, the color determination method further includes:
[0025] Receiving a second color setting operation issued by the user;
[0026] According to the second color setting operation, determining the color curve group corresponding to the corresponding color option;
[0027] Receiving a color saving operation issued by the user;
[0028] According to the color saving operation, associating and saving the color option and the corresponding color curve group for the user to select.
[0029] As described above, by enabling the user to set the color curve group corresponding to the color option, and then select the color option according to their own needs and use the corresponding color curve group to determine the color of the input signal, it is possible to provide a user-friendly interaction interface, allowing the user to customize color settings, so that the color settings meet the user's personal preferences and improve the user experience.
[0030] Based on the above embodiment, the displaying the input signal by using the displayed color and the image quality parameters recorded in the image quality parameter file includes:
[0031] Determining the corresponding image quality parameter in the image quality parameter file according to the attribute data of the set attribute type in the attribute data group;
[0032] According to the display color and the determined image quality parameters, display the input signal.
[0033] Based on the above embodiments, the multiple attribute types include: color space, dimension, frame rate, HDR_SDR, color format, resolution, RGB_YUV, scanning method, and channel type.
[0034] As described above, dividing multiple input signals based on multiple attribute types can achieve a more refined division of the input signals, and further achieve an adjustment of the color setting for more refined input signals, making this method applicable to more different types of input signals and having wide applicability.
[0035] Based on the above embodiments, the color curve group includes: a color curve representing the correspondence between hues, a color curve representing the correspondence between hue and brightness, a color curve representing the correspondence between hue and saturation, a color curve representing the correspondence between brightness and brightness, a color curve representing the correspondence between brightness and hue, a color curve representing the correspondence between brightness and saturation, a color curve representing the correspondence between saturation and saturation, a color curve representing the correspondence between saturation and brightness, and a color curve representing the correspondence between saturation and hue.
[0036] In a second aspect, an embodiment of the present application further provides a color determination device, including:
[0037] A data acquisition unit for acquiring an attribute data group of an input signal to be displayed, where the attribute data group includes attribute data of multiple attribute types;
[0038] A curve selection unit for selecting a corresponding color curve group in a color file according to the attribute data group, where the color curve group includes multiple color curves for determining the display color, and each color curve group has a corresponding attribute data group;
[0039] A signal display unit for obtaining the display color of the input signal according to the color curve group and the color parameters of the input signal, and displaying the input signal through the display color and the image quality parameters recorded in the image quality parameter file.
[0040] In a third aspect, an embodiment of the present application further provides a color determination device, including:
[0041] One or more processors;
[0042] One or more display interfaces for receiving an input signal to be displayed;
[0043] A display screen for displaying an input signal;
[0044] A memory for storing one or more programs;
[0045] When the one or more programs are executed by the one or more processors, the one or more processors implement the color determination method as described in the first aspect.
[0046] In a fourth aspect, an embodiment of the present application further provides a computer-readable storage medium, on which a computer program is stored, and when the program is executed by a processor, it implements the color determination method as described in the first aspect. Description of the Drawings
[0047] Figure 1 Schematic diagram of the composition of a picture quality file in the related art;
[0048] Figure 2 Schematic diagram of the structure of a color determination device provided by an embodiment of the present application;
[0049] Figure 3 Flowchart of a color determination method provided by an embodiment of the present application;
[0050] Figure 4 Attribute type diagram corresponding to an HSY bin provided by an embodiment of the present application;
[0051] Figure 5 Schematic flowchart provided by an embodiment of the present application;
[0052] Figure 6 Flowchart of a color determination method provided by an embodiment of the present application;
[0053] Figure 7 Schematic diagram of applying a color file provided by an embodiment of the present application;
[0054] Figure 8 Schematic diagram of the completion of applying a color file provided by an embodiment of the present application;
[0055] Figure 9 Flowchart of a color determination method provided by an embodiment of the present application;
[0056] Figure 10 Schematic diagram of the structure of a color determination device provided by an embodiment of the present application. Detailed Description of the Invention
[0057] The present application will be further described in detail below with reference to the accompanying drawings and embodiments. It can be understood that the specific embodiments described herein are used to explain the present application, rather than limiting the present application. In addition, it should be noted that, for the sake of convenience of description, only the parts related to the present application rather than all the structures are shown in the drawings.
[0058] It should be noted that due to space limitations, the specification of the present application does not exhaust all optional implementation manners. After reading the specification of the present application, those skilled in the art should be able to think that as long as the technical features do not conflict with each other, any combination of technical features can constitute an optional implementation manner.
[0059] The following is a detailed description of each embodiment.
[0060] The color call system is a system for adjusting color output in a television. In the related art, the color call system can adjust color output through static settings or predefined parameters. Among them, static setting means that the user can, in combination with their own display requirements, adjust the display parameters related to color in the color call system. Each display parameter can be regarded as a color adjustment item. For example, the user can adjust the value used for hue, the value used for brightness, or the value used for saturation. After that, the television can use the values set by the user. The predefined parameters mean that the television pre-sets several display modes, such as the standard mode, the game mode, and the movie mode, etc. Each display mode is used as a color adjustment item, and corresponding display parameters are pre-set, such as the values of hue, brightness, saturation, etc. The user can select the desired display mode. After that, the television can use the display mode selected by the user.
[0061] In this way, although it is possible to adjust the color output of the television, the number of color adjustment items that the user can select or set is small, and the types of display signals are becoming increasingly rich. A small number of color adjustment items cannot meet the different display effects of different types of display signals expected by the user.
[0062] An optional method is to set corresponding color settings by identifying different resolutions of the display signal or the source channel type of the display signal. The color settings can also be understood as pre-set display parameters related to colors. Based on different color settings, different display effects can be achieved for the colors. The aforementioned resolutions can include types such as 480p, 576p, 720p, 1080p, 2K, and 4K, and the aforementioned source channel types can include types such as High-Definition Multimedia Interface (HDMI) channel, Digital Television (DTV) channel, Analog Television Signal (i.e., ATV) channel, Audio Video (AV) channel, and Universal Serial Bus (USB) channel. For example, when the resolution is 2K, the TV uses one color setting, and when the resolution is 4K, the TV uses another color setting, or when the source channel type is the HDMI channel, the TV uses one color setting, and when the source channel type is the DTV channel, the TV uses another color setting. In this way, although it is possible to set different color settings for display signals with different resolutions or different source channel types to achieve corresponding display effects. However, since the resolutions and source channel types are limited, it still cannot meet the different display effects expected by users for different types of display signals. For example, this method cannot meet the requirement that a display signal with a frame rate of 30hz and a resolution of 2K corresponds to a different color setting from a display signal with a frame rate of 60hz and a resolution of 2K.
[0063] Moreover, in practical applications, there is a need to apply color settings across devices and models. For example, model B wants to apply the color settings used by model A. Figure 1 It is a schematic diagram of the composition of a picture quality file in the related art. Figure 1 In it, the picture quality file used by model A is denoted as picture quality file A, and the picture quality file used by model B is denoted as picture quality file B. Among them, the picture quality file records all the current color settings used by the model and other picture quality parameters (for example, the specific values of picture quality parameters such as sharpness, contrast, and noise reduction). Figure 1In it, the content related to the color setting in the picture quality file A is denoted as color A, and the content related to other picture quality parameters is denoted as other picture quality parameters A. Similarly, the picture quality file B records color B and other picture quality parameters B. When applying the color setting, device B needs to first obtain the picture quality file A of device A. Then, device B decodes the picture quality file A and finds the content related to the color setting, that is, finds color A. Then, it uses color A to replace color B, and then fuses (i.e., encodes) the replaced color A and other picture quality parameters B into a new picture quality file B and uses the new picture quality file B. At this time, although the color setting can be applied between different devices, the processes of decoding and encoding the picture quality file are relatively troublesome and error-prone.
[0064] Based on this, in an embodiment of the present application, a color determination method is provided. The color determination method classifies the display signal according to the attribute type of the display signal, and pre-sets color settings corresponding to various types of display signals, so as to adaptively use the corresponding color settings based on different types of display signals, so that the display colors of different types of display signals have different effects, meeting the user's color display requirements for different types of display signals. Moreover, the content related to the color setting in the picture quality file is separated from the picture quality file to form two independent files. One is used to record the content related to the color setting, and the other records other picture quality parameters. When there is a need to apply the color setting, only the file related to the color setting needs to be obtained and used, which simplifies the application process of the color setting and improves the accuracy.
[0065] The color determination method provided in an embodiment of the present application can be executed by a color determination device. The color determination device can be implemented in software and / or hardware. The color determination device can be composed of two or more physical entities, or can be composed of one physical entity. Currently, the color determination device can be a display device such as a television, an interactive smart panel, a tablet computer, or a monitor.
[0066] Figure 2 It is a schematic structural diagram of a color determination device provided in an embodiment of the present application. Refer to Figure 2 In this, the color determination device includes: a processor 11, a memory 12, a display screen 13, and a display interface 14. Among them, the processor 11, the memory 12, the display screen 13, and the display interface 14 can be connected through a bus or other means. Figure 2 Taking the connection through the bus as an example.
[0067] The number of processors 11 is one or more. Figure 2Taking a processor 11 as an example. The processor 11 can be a Central Processing Unit (CPU), or other types or kinds of processors. By running software programs, instructions, and modules in the memory 12, the processor 11 realizes various functional applications and data processing of the color determination device, and thus can implement the color determination method provided in the embodiments of the present application.
[0068] As a computer-readable storage medium, the memory 12 can be used to store software programs, computer-executable programs, and modules, such as the program instructions / modules corresponding to the color determination method in the embodiments of the present application. The memory 12 mainly includes a program storage area and a data storage area. Among them, the program storage area can store an operating system and application programs required for at least one function; the data storage area can store data created according to the use of the color determination device, etc. In addition, the memory 12 can include high-speed random access memory, and can also include non-volatile memory, such as at least one magnetic disk storage device, a flash memory device, or other non-volatile solid-state storage devices. In some instances, the memory 12 can further include a memory remotely set relative to the processor 11, and these remote memories can be connected to the color determination device through a network. Examples of the above network include but are not limited to the Internet, an enterprise intranet, a local area network, a mobile communication network, and combinations thereof. It can be understood that when the processor 11 has a storage function, the memory 12 and the processor 11 can also be integrated into one physical entity.
[0069] The number of display screens 13 (also referred to as screens, display screens) is one or more. Figure 2 Taking one display screen 13 as an example. The display screen 13 can be a liquid crystal display (LCD), an LED display, an organic light-emitting diode (OLED) display, a flexible light-emitting diode (FLED) display, etc., and the embodiments are not limited thereto. In addition, the display screen can be a flat screen or a curved screen, and the embodiments of the present application are not limited thereto. Based on the display screen 13, the display function of the color determination device can be realized.
[0070] The number of display interfaces 14 is multiple. Figure 2Take a display interface 14 as an example. The display interface 14 is used to transmit display signals. For example, it receives display signals generated by an external signal source, so that the processor 11 processes them and controls the display screen 13 to display. In one embodiment, the types of the display interface 14 at least include: HDMI, AV, DTV, ATV, USB, Low Voltage Differential Signaling (LVDS), SCART (Syndicat des Constructeurs d'Appareils Radiorécepteurs et Téléviseurs), PC (personal computer), Digital Visual Interface (DVI), component video interface (YPbPr), etc., one or more of them. Each type of display interface 14 can transmit the corresponding type of display signal. Therefore, it can also be considered that each type of display interface 14 corresponds to a type of Source channel type. Among them, the display signal refers to a signal that can be used for the display screen 13 to display. For example, after the display signal is received by the display interface 14, the processor 11 controls the display screen 13 to respond to the display signal to display the corresponding content.
[0071] In addition, the color determination device may further include devices such as a power supply, a speaker, physical buttons, etc., and the embodiments are not limited thereto.
[0072] Figure 3 The flowchart of a color determination method provided by an embodiment of this application is referred to Figure 3 , when the color determination device executes the color determination method, it specifically includes steps 210-step 230:
[0073] Step 210, obtain an attribute data group of the input signal to be displayed, and the attribute data group includes attribute data of multiple attribute types.
[0074] Exemplarily, the input signal to be displayed can be understood as a display signal sent by an external signal source to the color determination device, so that the color determination device can accurately display. When the color determination device receives the input signal to be displayed, it also monitors various types of attribute data of the input signal to obtain an attribute data group of the input signal. Among them, the attribute data group can be considered as a set of attribute data of multiple attribute types. Each attribute type can reflect an attribute of the input signal, and each type of attribute data indicates the specific data content of the input signal under the corresponding attribute type. The attribute types included in the attribute data group can be preset. After that, the color determination device can monitor the attribute data of the input signal under the corresponding attribute types based on the preset attribute types, and then obtain an attribute data group including the attribute data under each attribute type.
[0075] The attribute types included in the attribute data group can be preset according to actual needs. Currently, the richer the attribute types are, the richer the types of input signals divided based on the attribute types are, and the corresponding color settings are also richer. In one embodiment, considering the existing attribute types and the actual display requirements of users for colors, it is set that multiple attribute types in the attribute data group include: color space, dimension, frame rate, HDR_SDR, color format, resolution, RGB_YUV, scanning method, and channel type.
[0076] Among them, color is the different perception of the human eye for light of different frequencies. The color space, also known as the color gamut, can be considered as a method of encoding a color. In one embodiment, the attribute data under the color space can include: BT.709, sRGB (standard Red Green Blue), Dolby Vision, BT.601, Phase Alteration Line (PAL), SECAM, NTSC (National Television Standards Committee), BT.2020, P3 color gamut, and Adobe RGB color space, a total of 10 kinds of attribute data. In practical applications, the color space can also include other attribute data. It can be understood that the more attribute data there is, the more detailed the corresponding attribute type is divided.
[0077] The dimension can reflect the spatial dimension presented when the input signal is displayed. In one embodiment, the attribute data under the dimension includes: 2D and 3D, a total of 2 kinds of attribute data. In the 2D dimension, the input signal presents a planar visual effect when displayed, and in the 3D dimension, the input signal presents a three-dimensional visual effect when displayed. It can be understood that in practical applications, when the spatial dimension increases, the attribute data under the dimension can also increase.
[0078] The frame rate is the frequency (speed) at which bitmap images appear continuously on the display in frames. Currently, the frame rate can also be understood as the refresh rate. In one embodiment, the attribute data under the frame rate includes: 24hz, 30hz, 50hz, 60hz, 120hz, 144hz, and 240hz, a total of 7 kinds of attribute data. In practical applications, the frame rate can also include other attribute data.
[0079] HDR_SDR can be understood as the image technology specifically used for the input image, and this image technology is related to chrominance. In one embodiment, the attribute data under HDR_SDR includes: high dynamic range image (HDR), standard dynamic range (SDR), HLG (Hybrid Log-Gamma), Dolby Vision, HDR10+, and HDR_Vivid, a total of 6 types of attribute data. In practical applications, HDR_SDR can also include other attribute data.
[0080] Color format (Subsample) can currently be understood as a method of describing color recording in the YUV space, which can reflect different compression degrees. In one embodiment, the attribute data under the color format includes: 444 (i.e., YUV444), 422 (i.e., YUV422), and 420 (i.e., YUV420), a total of 3 types of data. In practical applications, the color format can also include other attribute data.
[0081] Resolution can reflect the precision when playing the image corresponding to the input signal. In one embodiment, the attribute data under the resolution includes: 480, 576, 720, 1080, 4K2K, and 8K4K, a total of 6 types of data. In practical applications, the resolution can also include other attribute data.
[0082] RGB_YUV refers to whether the input signal is in RGB format or YUV format. At this time, the attribute data under RGB_YUV includes RGB and YUV, a total of 2 types of data.
[0083] Scanning method (Scanning) can be understood as the scanning method used when playing the image corresponding to the input signal, generally divided into progressive scanning and interlaced scanning. Based on this, in the embodiment, the attribute data under the scanning method includes: progressive scanning (Progressive) and interlaced scanning (Interlaced), a total of 2 types of data.
[0084] Channel (source) type refers to the channel type for transmitting the input signal, and can also be understood as the display interface type. In one embodiment, the attribute data under the channel type includes: HDMI, AV, DTV, ATV, USB, LVDS, SCART, PC, DVI, and YPbPr, a total of 10 types of data. In practical applications, the channel type can also include other attribute data.
[0085] Based on the aforementioned 9 types of attribute types and the attribute data under each attribute type, 10×2×7×6×3×6×2×2×10 = 604800 types of signals can be classified for the input signal.
[0086] Exemplarily, the input signal carries corresponding attribute data. When the color determination device receives the input signal, it can obtain the attribute data under each attribute type carried by the input signal, and then obtain an attribute data group.
[0087] In one embodiment, the attribute data of the input signal can be monitored. When it is monitored that the attribute data of the input signal changes, the attribute data group is obtained. If there is no change, the currently obtained attribute data group is continuously used. Accordingly, this step may specifically further include: when it is monitored that the attribute data of the input signal to be displayed changes, obtaining the attribute data group of the input signal. That is, the color determination device monitors the attribute data of the currently received input signal to be displayed. This monitoring can be real-time monitoring or monitoring at a certain time interval. Then, it is determined whether the currently monitored attribute data is the same as the attribute data in the currently used attribute data group (i.e., the most recently obtained attribute data group). If the attribute data under at least one attribute type changes, the currently latest attribute data of the input signal is obtained to obtain an attribute data group, and this attribute data group is used. And the color determination device continues to monitor the attribute data of the input signal.
[0088] It can be understood that in practical applications, there may be cases where the attribute data of one or more attribute types in the input signal is empty. That is, on the basis of the foregoing 604,800 input signals, one or more input signals with empty attribute data of one or more attribute types can be additionally classified. At this time, in order to ensure that color setting can still be achieved when the attribute data is empty, it is set that when the attribute data under the attribute type is empty, the default attribute data is used as the attribute data under the attribute type. Accordingly, in one embodiment, when obtaining the attribute data group of the input signal to be displayed, it further includes: if there is empty attribute data in the attribute data group, using the preset default data corresponding to the attribute type to which the empty attribute data belongs to replace the empty attribute data to obtain an updated attribute data group.
[0089] Exemplarily, when obtaining the attribute data of the input signal to obtain an attribute data group, it is confirmed whether there is empty attribute data in the attribute data group. Among them, the empty attribute data indicates that the input signal does not carry the attribute data under the corresponding attribute type. For example, if the input signal does not have the attribute data under HDR_SDR, then the attribute data under HDR_SDR in the obtained attribute data group is empty.
[0090] If there is any empty attribute data, replace the empty attribute data with the default data under the corresponding attribute type. Exemplarily, in the color determination device, a corresponding piece of attribute data is set in advance for each attribute type (currently there are 9 attribute types) as the default attribute data. Currently, the default attribute data corresponding to the attribute type is denoted as the default data. In one embodiment, the default data may be different from the attribute data under the foregoing corresponding attribute type, and the default data may also be empty. In practical applications, a certain piece of attribute data under the foregoing attribute type may also be set as the default data corresponding to the attribute type. After the default data is set, when it is determined based on the input signal that the attribute data under a certain attribute type (the quantity may be one or more, which is not limited currently) is empty, the default data under the attribute type can be obtained, and the empty attribute data is replaced with the default data.
[0091] Step 220: Select a corresponding color curve group in the color file according to the attribute data group. The color curve group includes multiple color curves for determining the display color, and each color curve group has a corresponding attribute data group.
[0092] In one embodiment, color setting is achieved through the color curve group, that is, a color curve group can be regarded as a kind of color setting. The color curve group includes multiple color curves, and the number of color curves included in each color curve group is the same. The color curve is a data curve used for color setting to determine the display color. Currently, the color curve can reflect the corresponding relationship between the display parameters related to color. Exemplarily, based on the display parameters related to color, each display color can be determined. Currently, HSY (which can also be denoted as HSL) is used to determine each display color, where HSY is divided into three components: Hue, Saturation, and Luminance. All external colors can be composed of these three components. That is, the current display parameters related to color are: Hue, Saturation, and Luminance.
[0093] Among them, Hue, which can also be denoted as chromaticity or hue, refers to the relative brightness of an image and appears as a color on a color image. It can reflect the type of color and is an attribute describing the position of the color on the spectrum. In the standard color model, the value of Hue usually ranges from 0 degrees to 360 degrees, and different values represent different colors on the spectrum. The common colors and their corresponding Hue value ranges are respectively: Red: 0 degrees - 60 degrees, Orange: 30 degrees - 90 degrees, Yellow: 60 degrees - 120 degrees, Green: 90 degrees - 180 degrees, Cyan: 150 degrees - 210 degrees, Blue: 180 degrees - 270 degrees, Purple: 240 degrees - 300 degrees, Pink: 300 degrees - 360 degrees.
[0094] Luminance represents the degree of brightness. Generally, changes in luminance do not involve the color itself, but only represent the degree of light and darkness. The value range of luminance can be 0% - 100%. This value range can reflect the change process from complete darkness to complete brightness. For example, when the luminance is 0%, it means complete darkness, no brightness, corresponding to pure black. When the luminance is 50%, it means medium brightness, usually corresponding to the normal brightness of the current display color. When the luminance is 100%, it means complete brightness, no shadow or dark part, corresponding to pure white.
[0095] Saturation refers to the vividness of a color, and can also be understood as the purity or grayness of a color. During the process from low saturation to high saturation, the appearance of the color will change. Among them, at low saturation, the color looks darker and faded, seemingly mixed with more gray or white. For example, red at low saturation may appear as light red or pink. Medium saturation is a balanced saturation. The color looks vivid but not excessive. Typical colors show typical appearances at medium saturation. For example, red at medium saturation is pure red. At high saturation, the color looks very pure and vivid, without the mixture of gray or white, presenting the highest purity. For example, red at high saturation appears as a very vivid red.
[0096] Currently, each color curve included in the color curve group can respectively reflect the corresponding relationships among hue, luminance, and saturation. Then, through these corresponding relationships, the hue, luminance, and saturation of the color to be displayed can be determined, and thus the color can be determined, that is, the color setting is achieved. In one embodiment, based on the number of types of display parameters (currently 3 types), in order to adjust the color more precisely, each color curve group is set to include 9 color curves, and the 9 color curves respectively reflect the corresponding relationships of hue, luminance, and saturation themselves and among them. Specifically, the 9 color curves included in the color curve group are: the color curve representing the corresponding relationship between hue and hue (i.e., the Hue by Hue color curve), the color curve representing the corresponding relationship between hue and luminance (i.e., the Luminance by Hue color curve), the color curve representing the corresponding relationship between hue and saturation (i.e., the Saturation by Hue color curve), the color curve representing the corresponding relationship between luminance and luminance (i.e., the Luminance by Luminance color curve), the color curve representing the corresponding relationship between luminance and hue (i.e., the Hue by Luminance color curve), the color curve representing the corresponding relationship between luminance and saturation (i.e., the Saturation by Luminance color curve), the color curve representing the corresponding relationship between saturation and saturation (i.e., the Saturation by Saturation color curve), the color curve representing the corresponding relationship between saturation and luminance (i.e., the Luminance by Saturation color curve), and the color curve representing the corresponding relationship between saturation and hue (i.e., the Hue by Saturation color curve).
[0097] Among them, the Hue by Hue color curve means that through the value of hue, the corresponding value of hue can be found in the corresponding color curve. The Luminance by Hue color curve means that through the value of hue, the corresponding value of luminance can be found in the corresponding color curve. The Saturation by Hue color curve means that through the value of hue, the corresponding value of saturation can be found in the corresponding color curve, and so on, to obtain the meanings represented by each color curve.
[0098] The color curve can be set by the developer and used by the color determination device after the setting is completed. In one embodiment, when the developer sets the color curve, the value ranges corresponding to hue, saturation, and brightness are each divided into 32 segments, that is, the value range of hue has 32 segments, the value range of brightness has 32 segments, and the value range of saturation has 32 segments. Taking the Saturation by Hue color curve as an example, the value of hue usually ranges from 0 degrees to 360 degrees. When this value range is divided into 32 segments, 360 / 32 = 11.25, that is, each 11.25 degrees is divided into one segment. Taking red as an example, based on the aforementioned common colors and their corresponding hue value ranges, the first 5 segments of the value range all belong to the red range. However, the reds corresponding to different segments are also distinguishable. The hue value corresponding to bright red is 0 degrees, representing the brightest and purest red. The hue value corresponding to pink is at different positions within the range of 0 degrees to 60 degrees, that is, different pinks can be found at different values within the range of 0 degrees to 60 degrees. These pinks are between bright red and light pink and are different. The hue value corresponding to dark red is close to 60 degrees, that is, when the red transitions to deep red or dark red, it requires a certain level of saturation. Correspondingly, in the Saturation by Hue color curve, for each segment, different hue values have corresponding saturation values. The developer can raise (i.e., perform gain) or lower (i.e., perform attenuation) the color curve according to the actual color display requirements to adjust the saturation values corresponding to the hue values. For example, if the current color display requirement is to make the concentration of bright red higher, then the developer can raise the starting position of the first segment of the curve corresponding to the hue value of 0 degrees, that is, raise the corresponding saturation value to achieve an increase in the concentration of bright red. The setting of other color curves can refer to the Saturation by Hue color curve.
[0099] In one embodiment, each color curve group has a corresponding attribute data group, that is, each color curve group has corresponding attribute data under the aforementioned 9 types of attribute types. In other words, after the developer completes the setting of the color curves included in a color curve group, the developer can synchronously set the 9 types of attribute data corresponding to this color curve group. After that, the color curve group and the corresponding 9 types of attribute data are associated. After all color curve groups and their corresponding attribute data are set, they can be stored in the color determination device for use. In addition, color curve groups corresponding to each attribute data group containing default data are also set and associated for storage, so that when there are empty attribute data in the attribute data group corresponding to the current input signal, there are still corresponding color curve groups based on the attribute data groups obtained from the corresponding default data.
[0100] In one embodiment, each color curve group and its corresponding attribute data group are stored in a file. Currently, the file storing the color curve group is denoted as the color file, and the color file is a binary format file, i.e., the Bin format. At this time, the color file can also be denoted as HSY Bin, and the attribute data corresponding to HSY Bin includes each attribute data under the aforementioned various attribute types. For example, referring to Figure 4 , it shows various attribute data corresponding to some color curve groups in HSY Bin. It can be understood that in addition to Figure 4 the color curve groups corresponding to the respective attribute data shown, when there are default data in the attribute data group in the color file, the corresponding color curve groups are also stored, so as to satisfy that based on the currently obtained attribute data group (whether the attribute data is empty or not), the corresponding color curve group can be found.
[0101] Exemplarily, after the color determination device obtains the attribute data group of the input signal, it can obtain each attribute data in the attribute data group. Then, based on each color curve group and its corresponding relationship with the attribute data group, the color curve group corresponding to the currently obtained attribute data group can be searched in the color file. Currently, the found color curve group can be considered as the color curve group applicable to the color setting of the input signal, that is, the color setting of the input signal is subsequently implemented using this color curve group.
[0102] Step 230: Obtain the display color of the input signal according to the color curve group and the color parameters of the input signal, and display the input signal through the display color and the image quality parameters recorded in the image quality parameter file.
[0103] The color parameters can be understood as the parameters representing the color to be displayed in the input signal (i.e., the display parameters related to color). Currently, the color parameters include hue, saturation, and brightness, that is, a color parameter includes the value of hue, the value of saturation, and the value of brightness. During the process of displaying the input signal, the corresponding color can be determined based on the value of hue, the value of saturation, and the value of brightness in the color parameters. Currently, the input signal carries the color parameters of the color to be displayed, so that the color to be displayed can be obtained based on the color parameters. It can be understood that when the color determination device receives the input signal, the input signal carries the attribute data under each attribute type, so that the color determination device can obtain the attribute data group, and the input signal also carries the color parameters, so that the color determination device can determine the color to be displayed for the input signal based on the color parameters.
[0104] In one embodiment, after obtaining the color curve group, the color curve group is applied, that is, the color curves in the color curve group are applied to determine the color parameters required for actual display. During the application process, based on the color curve group and the color parameters of the input signal, the adjustment of the color parameters is realized. Then, based on the adjusted color parameters, the corresponding color is determined, that is, the adjusted color is obtained for display, so as to realize the adjustment of the color to be displayed in the input signal and obtain the display color. After that, the display color is displayed. Specifically, the color curve group includes 9 color curves. Based on the value of the hue in the color parameters of the input signal, the value of the hue corresponding to the value of the hue can be found in the Hue by Hue color curve. It should be noted that the Hue by Hue color curve means that the value of the hue can be found in the corresponding color curve through the value of the hue (it can be understood that each point in the color curve has an abscissa and an ordinate. When the corresponding ordinate can be found based on the abscissa, the abscissa can be regarded as the original value of the hue, and the ordinate can be regarded as the found value of the hue). Currently, based on the value of the hue in the color parameters of the input signal, the value of the hue corresponding to the corresponding point can be found in the Hue by Hue color curve as the found value of the hue. Currently, for the sake of distinction, the value of the hue obtained based on the Hue by Hue color curve is denoted as the first hue value. The method of finding the corresponding parameters on other color curves is similar. At this time, the value of the saturation corresponding to the value of the hue (that is, the value carried by the input signal) can be found in the Saturation by Hue color curve. Currently, it is denoted as the first saturation value. The value of the luminance corresponding to the value of the hue (that is, the value carried by the input signal) can be found in the Luminance by Hue color curve. Currently, it is denoted as the first luminance value. Similarly, based on the value of the saturation in the color parameters of the input signal, the corresponding value of the saturation can be found in the Saturation by Saturation color curve. Currently, it is denoted as the second saturation value. The value of the hue corresponding to the value of the saturation can be found in the Hue by Saturation color curve. Currently, it is denoted as the second hue value. The value of the luminance corresponding to the value of the saturation can be found in the Luminance by Saturation color curve. Currently, it is denoted as the second luminance value. The value of the luminance corresponding to the value of the luminance can be found in the Luminance by Luminance color curve. Currently, it is denoted as the third luminance value. The value of the hue corresponding to the value of the luminance can be found in the Hue by Luminance color curve. Currently, it is denoted as the third hue value. The value of the saturation corresponding to the value of the luminance can be found in the Saturation by Luminance color curve. Currently, it is denoted as the third saturation value.
[0105] After that, based on the first hue value, the second hue value, the third hue value, the first brightness value, the second brightness value, the third brightness value, the first saturation value, the second saturation value, and the third saturation value, the adjusted display color can be obtained. Among them, the mixing method of the foregoing parameters is not limited at present. For example, the average value of the first hue value, the second hue value, and the third hue value is taken, or the three hue values are weighted to obtain a new hue value. Similarly, a new brightness value and a new saturation value are obtained. After that, based on the new hue value, the new brightness value, and the new saturation value, the adjusted display color can be obtained.
[0106] In one embodiment, after obtaining the adjusted display color, the input signal can be displayed according to the adjusted display color. Optionally, when displaying, the image quality parameters recorded in the image quality parameter file are also referred to.
[0107] The image quality parameters refer to the parameters related to the image quality of the presented picture. At present, the image quality parameters at least include the values of sharpness, contrast, and noise reduction (image noise reduction), etc. The image quality parameter file is a file that records the image quality parameters. At present, the image quality parameter file and the color file are two independent files, which are respectively stored in the color determination device, so as to be used to determine the color and image quality parameters respectively when the color determination device displays the input signal. Compared with the related art in which the color setting and other image quality parameters are encoded in one image quality file, the present application uses the color file and the image quality parameter file separately, without encoding them into one file, which is convenient for independent processing of the two files.
[0108] In an optional manner, the image quality parameters recorded in the image quality parameter file are fixed values. When the color determination device displays the input signal, the fixed values are used. At this time, no matter whether the attribute data of the input signal changes, the values of the image quality parameters are fixed. In another optional manner, multiple image quality parameters can also be set in advance, that is, the image quality parameter file contains multiple image quality parameters, and each image quality parameter also has corresponding attribute data under at least one attribute type. For example, one image quality parameter includes the specific value of sharpness, the specific value of contrast, and the value of noise reduction, and this image quality parameter also has corresponding attribute data, for example, the corresponding attribute data is a resolution of 1080, a frame rate of 60 Hz, and an HDMI channel. Then, after receiving the input signal, the corresponding image quality parameter can be found in the image quality parameter file according to the attribute data of the input signal under the corresponding attribute type, and the input signal can be displayed based on the found image quality parameter. For example, if the resolution in the attribute data of the input signal is 1080, the frame rate is 60 Hz, and the channel is HDMI, then, according to the corresponding relationship, the corresponding image quality parameter can be found in the image quality parameter file and used.
[0109] Currently, taking the example that there is property data under at least one property type corresponding to each picture quality parameter, at this time, the input signal is displayed through the display color and the picture quality parameters recorded in the picture quality parameter file, including steps 231 - 232:
[0110] Step 231: Determine the corresponding picture quality parameter in the picture quality parameter file according to the property data of the set property type in the property data group.
[0111] Similarly, each color curve group has a corresponding property data group, and there is also corresponding property data under at least one property type for each picture quality parameter. Among them, each picture quality parameter includes values such as sharpness, contrast, and noise reduction. The values in different picture quality parameters are different. The number of property types corresponding to each picture quality parameter is less than the number of property types corresponding to the color data group, that is, the division granularity of the picture quality parameter is coarser than that of the color. Currently, the property types corresponding to each picture quality parameter include: resolution, frame rate, and channel type. Correspondingly, the picture quality parameter file records various picture quality parameters, as well as the resolution, frame rate, and channel type corresponding to each picture quality parameter. The values of the picture quality parameters and the property data under the corresponding property types can be set by developers according to actual needs, and after the setting is completed, a picture quality parameter file is formed and stored in the color determination device for use. The setting process of the picture quality parameter file can refer to the setting process of the color file and will not be described separately here.
[0112] Exemplarily, after obtaining the property data group of the input signal to be displayed currently, in addition to determining the color data group, the corresponding picture quality parameter is also found in the picture quality parameter file based on the property data under the resolution, the property data under the frame rate, and the property data under the channel type in the property data group.
[0113] Step 232: Display the input signal according to the display color and the determined picture quality parameter.
[0114] Exemplarily, the color determination device uses the determined picture quality parameter to display the input signal, so that the display screen meets the corresponding picture quality parameter, and the displayed color is the determined display color.
[0115] At this time, with the change of the property data of the input signal, the adaptive adjustment of the display color and the adaptive adjustment of the picture quality parameter can be realized.
[0116] As described above, by obtaining the attribute data group of the input signal to be displayed, finding the corresponding color curve group in the color file, then determining the display color of the input signal according to the color curve group, and displaying the input signal based on the display color and the image quality parameters in the image quality parameter file, the technical problem in the related art that the number of color adjustment items is small and cannot adapt to various types of display signals is solved. In different situations, the color curve used can be replaced in real time based on the input signal with different attribute data to ensure accurate color display, that is, the color determination device accurately presents the colors corresponding to different signal sources, thereby providing a more accurate and realistic image and improving the user's viewing experience. Moreover, the adaptive adjustment of color settings is realized. Only by the attribute data of the input signal can the color curve group required for color setting be determined, without user operation and no longer relying on static settings or predefined parameters. Moreover, when it is monitored that the attribute data of the input signal changes, the used color curve group is automatically replaced, and the dynamic adaptive adjustment of color settings can be further realized. Moreover, by dividing multiple input signals based on multiple attribute types, a finer division of the input signals can be realized, and then the adjustment of the color settings of the finer input signals can be realized, making this method applicable to more different types of input signals and having wide applicability.
[0117] The color determination method provided in the foregoing embodiment will be described exemplarily below. In this example, the color file is denoted as HSY Bin, and the input signal to be displayed is an image signal or a video signal. Figure 5 It is an exemplary flowchart provided in an embodiment of the present application. Referring to Figure 5 , after the color determination device starts running, it obtains the input image signal or video signal. Then, it obtains the attribute data group of the input signal and starts to monitor in real time whether the attribute data of the input signal changes. If it changes, it obtains the changed attribute data group. Then, based on the currently obtained attribute data group, it finds the corresponding color curve group in HSY Bin. The color curve group is applied to the image signal or video signal, that is, the color curve group is used to determine the color of the image signal or video signal. Then, the image or video is output, that is, the image corresponding to the image signal or the video corresponding to the video signal is displayed. The color presented during display is determined by the color curve group, and the image quality parameters used during presentation are determined by the image quality parameters recorded in the image quality parameter file. At this time, determining the color curve group based on the attribute data group of the input signal and determining the displayed color based on the color curve group can realize the adaptive adjustment of color to provide the best visual effect.
[0118] In an embodiment of the present application, in addition to realizing the adaptive adjustment of the display color, the application of the color file between different devices can also be realized. At this time, Figure 6The flowchart of a color determination method provided by an embodiment of this application is referred to Figure 6 On the basis of the color determination method provided in the foregoing embodiment, the color determination method may further include steps 310 to 320:
[0119] Step 310: Obtain the target color file of the target display device.
[0120] Currently, taking the example of using the color file used by another color determination device with the currently used color determination device, in the embodiment, the other color determination device to be applied is denoted as the target display device. When the target display device displays, it uses its own stored color file and picture quality parameter file. In the embodiment, the color file used by the target display device is denoted as the target color file, and each pre-set color curve group and its corresponding attribute data are recorded in the target color file.
[0121] Since the target color file is stored as an independent file in the target display device, when the color determination device wants to use the target color file, it only needs to obtain the target color file from the target display device. Among them, the method of obtaining the target color file is not limited currently. For example, copy the target color file in the target display device to a removable storage device, and then the color determination device obtains the target color file by reading the removable storage device. Another example is that after establishing a communication connection between the target display device and the color determination device, the color determination device obtains the target color file from the target display device.
[0122] Step 320: Use the target color file to replace the currently used color file to use each color curve group recorded in the target color file.
[0123] Exemplarily, after obtaining the target color file, the target color file can be used to replace the currently used color file. After the file replacement, the currently used color file is the target color file. Then, based on the attribute data group of the input signal to be currently displayed, the corresponding color curve group can be found in the target color file, and then the color setting can be realized based on the color curve group.
[0124] It can be understood that referring to the foregoing application method of the color file, the application of the picture quality parameter file can also be realized.
[0125] As described above, by setting the color file that records the color settings and the picture quality parameter file that records the picture quality parameters as two independent files, it is possible to quickly apply (which can also be understood as quickly loading and applying) the color settings between different devices and models. During the application process, only the color file needs to be obtained and replaced, without the need to decode and encode the color file again, which improves the flexibility of the storage method and the simplicity of application. Especially for merchants manufacturing color determination devices, it is possible to quickly apply the color settings between different models, simplify the engineering complexity, and improve the production efficiency.
[0126] The color determination method provided in the foregoing embodiment will be described exemplarily below. Figure 7 The following is a schematic diagram of applying a color file provided in an embodiment of the present application. Refer to Figure 7 , the color determination device that needs to apply the target color file is denoted as model A, the target display device is denoted as model B, the color file used in model A is denoted as color A, and the picture quality parameter file used is denoted as picture quality file A, which records other picture quality parameters. The target color file used in model B is denoted as color B, and the picture quality parameter file used is denoted as picture quality file B, which records other picture quality parameters. Currently, color A and picture quality file A are two independent files, and color B and picture quality file B are two independent files. When model A wants to apply color B, obtain the file of color B from model B, and then replace the currently used color A with color B. At this time, refer to Figure 8 , the color file used in model A is color B, and the picture quality parameter file is still picture quality file A. There is no need to decode and re-encode the file during the application process, which simplifies the color application process.
[0127] In an embodiment of the present application, in addition to realizing the adaptive adjustment of the display color, an interface for user interaction can also be provided to enable the user to select the color settings by himself through this interface. The timing relationship between the execution steps of the user's self-selection of color settings and the execution steps of the foregoing automatic determination of color settings is not limited currently. For example, after completing the color setting based on the attribute data group of the input signal (that is, after executing steps 210 - step 230), the user can then select the color settings by himself. Another example is that after the user selects the color settings by himself, the automatic determination of color settings can also be set (that is, execute steps 210 - step 230). At this time, Figure 9 The following is a flowchart of a color determination method provided in an embodiment of the present application. Refer to Figure 9 , based on the color determination method provided in the foregoing embodiment, this color determination method may further include steps 410 - step 480:
[0128] Step 410, receive the second color setting operation issued by the user.
[0129] Exemplarily, the second color setting operation refers to an operation in which a user sets a custom color setting. Through the second color setting operation, the user can select at least one color curve group that meets their preferences in the color file, and the color curve group selected by the user can be considered as the custom color setting of the user.
[0130] The triggering method of the second color setting operation is not limited currently. For example, there is an option to change the self - selected color curve group in the function menu of the color determination device. When it is detected that this option receives a setting operation (such as a click operation), the color file is retrieved and each color curve group in the color file is displayed. After that, when it is detected that at least one color curve group receives a setting operation (such as a click operation), it is determined that the second color setting operation is received, and the color curve group clicked by the user is determined as the color curve group selected by the user.
[0131] Step 420: Determine the color curve group corresponding to the corresponding color option according to the second color setting operation.
[0132] A color option refers to an option available to the user when the user selects the currently used color curve group in the color determination device. Each color option has a corresponding color curve group. In one embodiment, the color curve group corresponding to the color option is determined based on the second color setting operation. For example, after the user selects a color curve group through the second color setting operation, the color determination device creates a color option and associates the color curve group selected by the user with the newly created color option, so that when the user selects this color option, the corresponding color curve group can be obtained. Currently, if the number of color options has reached the pre - set maximum number, an existing color option can be used, and the color curve group corresponding to the existing color option is replaced with the color curve group currently selected by the user. Among them, the method of selecting an existing color option is not limited currently. For example, the user selects the color option, or selects the color option with the fewest number of times selected by the user.
[0133] Step 430: Receive the color saving operation issued by the user.
[0134] The color saving operation refers to an operation of saving the user's settings, that is, an operation of saving the color option and the corresponding color curve group. The triggering method of the color saving operation is not limited currently. For example, when the user issues the second color setting operation, a storage option is also displayed on the color determination device. When it is detected that this option receives a setting operation (such as a click operation), it is determined that the color saving operation is received.
[0135] Step 440: According to the color saving operation, associate and save the color option and the corresponding color curve group for the user to select.
[0136] For example, after receiving the color saving operation, the color curve group selected by the user and the corresponding color option are associated and saved. After the association is saved, the color option can be selected by the user.
[0137] Optionally, the user can also adjust the color curve group of their choice. For example, when the user calls up the color curve group corresponding to the color option, the color determination device displays 9 color curves, and the user can adjust the color curve. For example, when adjusting the Luminance by Hue color curve, the brightness value corresponding to each hue can be modified. Afterwards, the user's modifications are saved so that when the user selects the color option, the color determination device uses the color curve group modified by the user.
[0138] The aforementioned process can be considered the process of the user setting a customized color setting. After the setting is completed, the user can also select a customized color setting, i.e., refer to steps 450-480. The color setting customization process can be implemented at any desired time when the user uses the color determination device, and the user selecting a customized color setting process can also be implemented at any desired time when the user uses the color determination device. There is no clear order for executing the two processes and the automatic completion of the color setting (i.e., steps 210-230), and the embodiments do not limit this.
[0139] Step 450: Receive a first color setting operation issued by the user.
[0140] The first color setting operation refers to an operation for displaying color options for the user to select. The triggering method of the first color setting operation is currently not limited. For example, if an option (button) for displaying color options is displayed in a function menu of the color determination device, when it is detected that the option (button) has received a setting operation (such as a click operation), it is determined that the first color setting operation has been received.
[0141] Step 460: Display at least one color option to be selected according to the first color setting operation, where each color option corresponds to a color curve group.
[0142] For example, after receiving a first color setting operation, the color determination device may respond to the first color setting operation. During the response, the color determination device displays each currently created color option. The display method of the color options is currently not limited. Each created color option has a corresponding color curve group. When there are a large number of color options, only some of the color options may be displayed, and the user can then change the currently displayed color options.
[0143] Step 470: Receive a selection operation from the user.
[0144] After displaying the created color options, the user can select the desired color option according to their own needs. Currently, the operation of the user selecting a color option is recorded as a selection operation. Generally, only one color option can be selected in one selection operation.
[0145] Step 480: Among at least one color option to be selected, update the color curve group corresponding to the color option selected by the selection operation to the currently used color curve group.
[0146] Exemplarily, determine the color option selected by the selection operation, obtain the color curve group corresponding to this color option, and update this color curve group to the currently used color curve group. At this time, when displaying the input signal, determine the color of the input signal according to the color curve group selected by the user and display it. Optionally, after the user selects a color option, the color determination device does not need to listen for changes in the attribute data of the input signal until the end of this display, and then the color determination device shuts down. Or, after the user selects a color option, the color determination device continues to listen for changes in the attribute data of the input signal. When a change occurs, obtain the attribute data group, and find the corresponding color curve group in the color file according to the attribute data group as the currently used color curve group.
[0147] As described above, by enabling the user to set the color curve group corresponding to the color option, select the color option according to their own needs, and then use the corresponding color curve group to determine the color of the input signal, it is possible to provide a user-friendly interaction interface, allow the user to customize the color setting, make the color setting meet the user's personal preferences, and improve the user experience.
[0148] An embodiment of the present application also provides a color determination device. Figure 10 For the structural schematic diagram of a color determination device provided by an embodiment of the present application, refer to Figure 10 . The color determination device includes: a data acquisition unit 501, a curve selection unit 502, and a signal display unit 503.
[0149] Among them, the data acquisition unit 501 is used to acquire the attribute data group of the input signal to be displayed, and the attribute data group contains attribute data of multiple attribute types; the curve selection unit 502 is used to select the corresponding color curve group in the color file according to the attribute data group. The color curve group contains multiple color curves for determining the display color, and each color curve group has a corresponding attribute data group; the signal display unit 503 is used to obtain the display color of the input signal according to the color curve group and the color parameters of the input signal, and display the input signal through the display color and the image quality parameters recorded in the image quality parameter file.
[0150] In one embodiment of the present application, when the data acquisition unit 501 acquires the attribute data group of the input signal to be displayed, it is further configured to, if there is any empty attribute data in the attribute data group, use the preset default data corresponding to the attribute type to which the empty attribute data belongs to replace the empty attribute data, so as to obtain the updated attribute data group.
[0151] In one embodiment of the present application, the data acquisition unit 501 is specifically configured to acquire the attribute data group of the input signal when it monitors that the attribute data of the input signal to be displayed changes.
[0152] In one embodiment of the present application, the color determination device further includes: a file acquisition unit, configured to acquire the target color file of the target display device; a file replacement unit, configured to use the target color file to replace the currently used color file, so as to use each color curve group recorded in the target color file.
[0153] In one embodiment of the present application, the color determination device further includes: a first operation receiving unit, configured to receive a first color setting operation issued by the user; an option display unit, configured to display at least one selectable color option according to the first color setting operation, and each color option corresponds to a color curve group; a second operation receiving unit, configured to receive a selection operation issued by the user; a color curve group update unit, configured to update the color curve group corresponding to the selected color option in the at least one selectable color option to the currently used color curve group.
[0154] In one embodiment of the present application, the color determination device further includes: a third operation receiving unit, configured to receive a second color setting operation issued by the user; a curve determination unit, configured to determine the color curve group corresponding to the corresponding color option according to the second color setting operation; a fourth operation receiving unit, configured to receive a color saving operation issued by the user; a curve saving unit, configured to associate and save the color option and the corresponding color curve group according to the color saving operation for the user to select.
[0155] In one embodiment of the present application, the signal display unit 503 includes: a display color determination subunit, configured to obtain the display color of the input signal according to the color curve group and the color parameters of the input signal; a picture quality parameter determination subunit, configured to determine the corresponding picture quality parameters in the picture quality parameter file according to the attribute data of the set attribute type in the attribute data group; an input signal display subunit, configured to display the input signal according to the display color and the determined picture quality parameters.
[0156] In one embodiment of the present application, the multiple attribute types include: color space, dimension, frame rate, HDR_SDR, color format, resolution, RGB_YUV, scanning method, and channel type.
[0157] In one embodiment of the present application, the color curve group includes: a color curve representing the correspondence between hues, a color curve representing the correspondence between a hue and brightness, a color curve representing the correspondence between a hue and saturation, a color curve representing the correspondence between brightness values, a color curve representing the correspondence between brightness and a hue, a color curve representing the correspondence between brightness and saturation, a color curve representing the correspondence between saturation values, a color curve representing the correspondence between saturation and brightness, and a color curve representing the correspondence between saturation and a hue.
[0158] The color determination device provided in the embodiment of the present application is included in the color determination device and can be used to execute the color determination method provided in any of the foregoing embodiments, and has the corresponding functions and beneficial effects.
[0159] It should be noted that in the embodiments of the above color determination device, the various units and modules included are only divided according to functional logic, but are not limited to the above division, as long as the corresponding functions can be realized; in addition, the specific names of the functional units are only for the convenience of mutual distinction and do not limit the protection scope of the present invention.
[0160] One embodiment of the present application further provides a color determination device. Refer to Figure 2 , the color determination device includes: a processor 11, a memory 12, a display screen 13, and a display interface 14. Among them, the display screen 13 is used to display an input signal; the display interface 14 is used to receive the input signal to be displayed; the memory 53 is used to store one or more programs; when the one or more programs are executed by the one or more processors 11, the one or more processors 11 implement the color determination method described in any of the foregoing embodiments. The relevant content of each component can be referred to the foregoing description.
[0161] The above color determination device includes a color determination device, can be used to execute any color determination method, and has the corresponding functions and beneficial effects. The specific details not described currently can be referred to the relevant description of the foregoing color determination method.
[0162] One embodiment of the present application further provides a storage medium containing computer-executable instructions. When the computer-executable instructions are executed by the processor of the color determination device, they are used to execute the relevant operations in the color determination method provided in any embodiment of the present application, and have the corresponding functions and beneficial effects.
[0163] Those skilled in the art should understand that the embodiments of the present application can be provided as a method, a system, or a computer program product.
[0164] Therefore, the present application may be implemented in the form of a complete hardware embodiment, a complete software embodiment, or an embodiment combining software and hardware aspects. Moreover, the present application may be implemented in the form of a computer program product implemented on one or more computer-usable storage media (including but not limited to disk memory, CD-ROM, optical memory, etc.) containing computer-usable program code. The present application is described with reference to the flowcharts and / or block diagrams of methods, devices (systems), and computer program products according to embodiments of the present application. It should be understood that each flow and / or block in the flowchart and / or block diagram, as well as the combination of flows and / or blocks in the flowchart and / or block diagram, can be implemented by computer program instructions. These computer program instructions can be provided to the processing modules of a general-purpose computer, a special-purpose computer, an embedded processor, or other programmable data processing devices to generate a machine, such that the instructions executed by the processing modules of the computer or other programmable data processing devices generate means for implementing the functions specified in Figure 1 one or more flows and / or blocks Figure 1 one or more blocks. These computer program instructions can also be stored in a computer-readable memory that can direct a computer or other programmable data processing device to work in a specific manner, such that the instructions stored in the computer-readable memory generate a manufactured article including instruction means that implement the functions specified in Figure 1 one or more flows and / or blocks Figure 1 one or more blocks. These computer program instructions can also be loaded onto a computer or other programmable data processing device, such that a series of operation steps are executed on the computer or other programmable device to generate a computer-implemented process, so that the instructions executed on the computer or other programmable device provide steps for implementing the functions specified in Figure 1 one or more flows and / or blocks Figure 1 one or more blocks.
[0165] A computer-readable medium includes permanent and non-permanent, removable and non-removable media and can implement information storage by any method or technology. The information can be computer-readable instructions, data structures, program modules, or other data. Examples of computer storage media include, but are not limited to, phase change memory (PRAM), static random access memory (SRAM), dynamic random access memory (DRAM), other types of random access memory (RAM), read-only memory (ROM), electrically erasable programmable read-only memory (EEPROM), flash memory or other memory technologies, compact disc read-only memory (CD-ROM), digital versatile disc (DVD) or other optical storage, magnetic cassette tapes, magnetic tape magnetic disk storage or other magnetic storage devices, or any other non-transitory medium that can be used to store information that can be accessed by a computing device. As defined herein, a computer-readable medium does not include transitory computer-readable media, such as modulated data signals and carrier waves.
[0166] It should also be noted that the term "comprising", "including" or any other variant thereof is intended to cover non-exclusive inclusion, so that a process, method, article or device comprising a series of elements includes not only those elements but also other elements not expressly listed, or elements inherent to such process, method, article or device. Without further limitation, an element defined by the statement "comprising an..." does not exclude the presence of additional identical elements in the process, method, article or device comprising the element.
[0167] Note that the above is only a preferred embodiment of the present application and the applied technical principles. Those skilled in the art will understand that the present application is not limited to the specific embodiments described herein, and various obvious changes, re-adjustments and substitutions can be made by those skilled in the art without departing from the protection scope of the present application. Therefore, although the present application has been described in more detail through the above embodiments, the present application is not limited to the above embodiments. Without departing from the concept of the present application, it can also include more other equivalent embodiments, and the scope of the present application is determined by the scope of the appended claims.
Claims
1. A method for determining a color, characterized in that, include: Acquire an attribute data group of an input signal to be displayed, wherein the attribute data group includes attribute data of multiple attribute types; Selecting a corresponding color curve group in a color file according to the attribute data group, wherein the color curve group includes a plurality of color curves for determining a display color, and each color curve group has a corresponding attribute data group; The display color of the input signal is obtained according to the color curve group and the color parameters of the input signal, and the input signal is displayed according to the display color and the image quality parameters recorded in the image quality parameter file.
2. The color determination method according to claim 1, wherein The step of obtaining the attribute data group of the input signal to be displayed further includes: If there is empty attribute data in the attribute data group, the empty attribute data is replaced with preset default data corresponding to the attribute type to which the empty attribute data belongs, so as to obtain an updated attribute data group.
3. The color determination method according to claim 1, wherein The step of obtaining the attribute data group of the input signal to be displayed includes: When it is detected that the attribute data of the input signal to be displayed changes, the attribute data group of the input signal is acquired.
4. The color determination method according to claim 1, characterized in that Also includes: Get the target color file of the target display device; The target color file is used to replace the currently used color file, so as to use each color curve group recorded in the target color file.
5. The color determination method according to claim 1, characterized in that, Also includes: receiving a first color setting operation issued by a user; According to the first color setting operation, at least one color option to be selected is displayed, each color option corresponds to a color curve group; Receive selection operations from users; In at least one color option to be selected, the color curve group corresponding to the color option selected by the selection operation is updated as the currently used color curve group.
6. The color determination method according to claim 5, characterized in that, Also includes: receiving a second color setting operation issued by the user; According to the second color setting operation, determining a color curve group corresponding to the corresponding color option; Receive the color saving operation issued by the user; According to the color saving operation, the color option and the corresponding color curve group are associated and saved for user selection.
7. The color determination method according to claim 1, characterized in that The displaying of the input signal using the display color and the image quality parameters recorded in the image quality parameter file includes: Determining corresponding image quality parameters in an image quality parameter file according to the attribute data of the attribute type in the attribute data group; The input signal is displayed according to the display color and the determined image quality parameter.
8. The color determination method according to claim 1, wherein The multiple attribute types include: color space, dimension, frame rate, HDR_SDR, color format, resolution, RGB_YUV, scanning mode and channel type.
9. The color determination method according to claim 1, characterized in that, The color curve group includes: a color curve representing the correspondence between hue and hue, a color curve representing the correspondence between hue and brightness, a color curve representing the correspondence between hue and saturation, a color curve representing the correspondence between brightness and brightness, a color curve representing the correspondence between brightness and hue, a color curve representing the correspondence between brightness and saturation, a color curve representing the correspondence between saturation and saturation, a color curve representing the correspondence between saturation and brightness, and a color curve representing the correspondence between saturation and hue.
10. A color determination device, characterized in that, include: A data acquisition unit for acquiring an attribute data group of an input signal to be displayed, where the attribute data group includes attribute data of multiple attribute types; A curve selection unit for selecting a corresponding color curve group in a color file according to the attribute data group, where the color curve group includes multiple color curves for determining a display color, and each color curve group has a corresponding attribute data group; A signal display unit for obtaining a display color of the input signal according to the color curve group and a color parameter of the input signal, and displaying the input signal by using the display color and a picture quality parameter recorded in a picture quality parameter file.
11. A color determination device, characterized in that, Comprising: One or more processors; One or more display interfaces for receiving an input signal to be displayed; A display screen for displaying the input signal; A memory for storing one or more programs; When the one or more programs are executed by the one or more processors, the one or more processors implement the color determination method according to any one of claims 1-9.
12. A computer-readable storage medium having a computer program stored thereon, characterized in that, When the program is executed by a processor, it implements the color determination method according to any one of claims 1-9.