CN-121985172-A - Display equipment and subtitle adjusting method
Abstract
The application provides a display device and a subtitle adjusting method, wherein the display device can acquire a first color space parameter of a picture content corresponding to a display area and a second color space parameter of subtitle content based on the display area of the subtitle content in a user interface. And then calculating the first similarity of the first color space parameter and the second color space parameter. If the first similarity is larger than or equal to a first threshold value, controlling the display to display the caption content according to a target color which is higher in distinction with the picture content, and if the first similarity is smaller than a second threshold value, controlling the display to display the caption content according to a preset default color, otherwise, controlling the display to maintain the current color of the caption content. Wherein the second threshold is less than the first threshold. The application realizes the self-adaptive adjustment of the caption color through the comparison of the color space parameters and the judgment of double threshold values. The method solves the problem of insufficient distinguishing degree of the caption and the background, avoids visual flicker caused by frequent switching, and can improve caption watching experience.
Inventors
- ZHANG GAO
Assignees
- VIDAA(荷兰)国际控股有限公司
Dates
- Publication Date
- 20260505
- Application Date
- 20260127
Claims (10)
- 1. A display device, characterized by comprising: a display configured to display a user interface including picture content and subtitle content displayed at an upper layer of the picture content; a controller configured to: Acquiring a first color space parameter of picture content corresponding to a display area based on the display area of the caption content in the user interface, and acquiring a second color space parameter of the caption content; Calculating a first similarity of the first color space parameter and the second color space parameter; Controlling the display to display the subtitle content according to a target color in response to the first similarity being greater than or equal to a first threshold, wherein the target color is a color with minimum similarity between a color space parameter in an alternative color set and the first color space parameter; responding to the first similarity smaller than a second threshold value, and controlling the display to display the subtitle content according to a preset default color; And controlling the display to maintain a current color of the subtitle content in response to the first similarity being less than a first threshold and greater than or equal to the second threshold.
- 2. The display device according to claim 1, wherein the controller performs the acquisition of the first color space parameter of the display area corresponding picture content, and is specifically configured to: determining a line area of the display line in the display area according to the coordinates and line spacing information of the display line corresponding to the subtitle content; Extracting a first RGB value of the picture content corresponding to the line region; converting the first RGB values to first standard color values; converting the first standard color value into a first LAB value; And calculating a weighted average of the first LAB values to obtain the first color space parameter.
- 3. The display device of claim 2, wherein the controller performs the obtaining of the second color space parameters of the subtitle content, specifically configured to: extracting a second RGB value of the subtitle content corresponding to the line area; Converting the second RGB values to second standard color values; converting the second standard color value to a second LAB value; And calculating a weighted average of the second LAB values to obtain the second color space parameter.
- 4. A display device according to claim 3, wherein the controller performs the calculation of the first similarity of the first color space parameter and the second color space parameter, specifically configured to: and calculating the similarity between the first color space parameter of the picture content corresponding to the line area and the second color space parameter of the subtitle content corresponding to the line area to obtain the first similarity.
- 5. The display device according to claim 1, wherein the controller is configured to control the display to display the subtitle content in a target color: reading the set of alternative colors, the set of alternative colors comprising at least two different alternative colors; Acquiring a third color space parameter of the alternative color, wherein the third color space parameter and the first color space parameter are determined based on the same color space; Calculating a second similarity of the third color space parameter to the first color space parameter; determining the candidate color with the minimum second similarity in the candidate color set as the target color; setting color parameters of the subtitle content according to the color space parameters of the target color; And controlling the display to display the caption content according to the color parameters.
- 6. The display device according to claim 1, wherein the controller performing control of the display to display the subtitle content in a preset default color is configured to: Detecting the current color of the caption content; detecting a display time of the current color in response to the current color not being the default color; And if the display time is smaller than the time threshold, controlling the display to display the subtitle content according to the default color when the display time of the current color reaches the time threshold.
- 7. The display device of claim 1, wherein, in response to the first similarity being less than a first threshold and greater than or equal to the second threshold, the controller is further configured to, after controlling the display to maintain the current color of the subtitle content: After a preset detection time period, re-acquiring a first color space parameter of the picture content corresponding to the display area and re-acquiring a second color space parameter of the subtitle content; and adjusting the color of the caption content based on the similarity between the re-acquired first color space parameter and the second color space parameter.
- 8. The display device of any of claims 1-7, wherein in controlling the display to display subtitle content in a target color or a default color, the controller is further configured to: generating transition data according to the current color of the subtitle content and the color to be switched, wherein the color to be switched is the target color or the default color; Controlling the display to display the caption content according to the transition data; The transition data includes color space parameters of the color to be switched and at least one color increment from the current color to the color to be switched.
- 9. The display device of claim 8, wherein the controller is configured to control the display to display the subtitle content according to the transition data, and is configured to: Gradually setting color parameters of the subtitle content based on the transition data; controlling the display to display the caption content according to the color parameters; Controlling the display to maintain the color to be switched according to the color parameter corresponding to the color to be switched; After a preset detection time period, re-acquiring a first color space parameter of the picture content corresponding to the display area and re-acquiring a second color space parameter of the subtitle content; and adjusting the color of the caption content based on the similarity between the re-acquired first color space parameter and the second color space parameter.
- 10. A subtitle adjusting method, comprising: Acquiring a first color space parameter of picture content corresponding to a display area based on the display area of the caption content in a user interface, and acquiring a second color space parameter of the caption content; Calculating a first similarity of the first color space parameter and the second color space parameter; controlling a display to display the subtitle content according to a target color in response to the first similarity being greater than or equal to a first threshold, wherein the target color is the color with the minimum similarity between the color space parameters in the alternative color set and the first color space parameters; Responding to the first similarity smaller than a second threshold value, and controlling a display to display the caption content according to a preset default color; and controlling a display to maintain a current color of the subtitle content in response to the first similarity being less than a first threshold and greater than or equal to the second threshold.
Description
Display equipment and subtitle adjusting method Technical Field The present application relates to the field of display devices, and in particular, to a display device and a subtitle adjusting method. Background The display device refers to a terminal device capable of outputting a specific display screen, and may be a terminal device such as a smart television, a mobile terminal, a smart advertisement screen, and a projector. Taking intelligent electricity as an example, the intelligent television is based on the Internet application technology, has an open operating system and a chip, has an open application platform, can realize a bidirectional man-machine interaction function, and is a television product integrating multiple functions of video, entertainment, data and the like, and the intelligent television is used for meeting the diversified and personalized requirements of users. The display device displays subtitles with a fixed color configuration, such as displaying white subtitles by default. Since the picture content of the display device changes in real time, if the picture content is similar to the subtitle in color, the readability of the subtitle is degraded. At this time, the user can manually adjust the color of the subtitle through the system menu, and switch the subtitle to a color with a larger distinction degree from the picture content, so as to ensure the readability of the subtitle. However, the adjustment of the caption color requires manual operation and switching, if the user cannot switch the caption color in time, the watching experience of the caption is affected, the real-time performance is poor, and under the condition that the change of the picture content is complex, the user also needs to select proper colors one by one, so that the complexity of the adjustment of the caption color is improved, and the use experience of the user is further affected. Disclosure of Invention The application provides a display device and a subtitle adjusting method, which are used for solving the problems of poor real-time performance and high complexity of subtitle color adjustment. In a first aspect, the present application provides a display apparatus comprising: a display configured to display a user interface including picture content and subtitle content displayed at an upper layer of the picture content; a controller configured to: Acquiring a first color space parameter of picture content corresponding to a display area based on the display area of the caption content in the user interface, and acquiring a second color space parameter of the caption content; Calculating a first similarity of the first color space parameter and the second color space parameter; Controlling the display to display the subtitle content according to a target color in response to the first similarity being greater than or equal to a first threshold, wherein the target color is a color with minimum similarity between a color space parameter in an alternative color set and the first color space parameter; responding to the first similarity smaller than a second threshold value, and controlling the display to display the subtitle content according to a preset default color; And controlling the display to maintain a current color of the subtitle content in response to the first similarity being less than a first threshold and greater than or equal to the second threshold. The technical scheme has the following beneficial effects or advantages: By means of the double-threshold triggering mechanism of the first threshold and the second threshold, self-adaptive adjustment of the subtitle color is achieved, the problem of insufficient distinguishing degree between the subtitle and the background in a dynamic picture is solved, visual flicker caused by frequent color switching is avoided, manual intervention by a user is not needed, viewing fluency and readability of subtitle content can be improved, and therefore user experience of the user is improved. In some embodiments of the present application, the controller performs obtaining a first color space parameter of the display area corresponding to the picture content, and is specifically configured to: determining a line area of the display line in the display area according to the coordinates and line spacing information of the display line corresponding to the subtitle content; Extracting a first RGB value of the picture content corresponding to the line region; converting the first RGB values to first standard color values; converting the first standard color value into a first LAB value; And calculating a weighted average of the first LAB values to obtain the first color space parameter. The technical scheme has the following beneficial effects or advantages: The line area is determined based on the coordinates and line spacing of the display lines corresponding to the caption content, and the color characteristics of the background (picture content) corres