Control method and device for television, television, and storage medium

By extracting the theme colors in the TV screen image to control the display of the luminous strips on the outer frame of the TV, the problem that the luminous strips affects the visual experience is solved, and the coordination and linkage between the lighting module and the TV screen is realized, which improves the user's viewing experience.

CN115529480BActive Publication Date: 2025-05-02QINGDAO HAIER INTELLIGENT HOME APPLIANCE TECHNOLOGY CO LTD
View PDF 2 Cites 0 Cited by

Patent Information

Application Number
CN202210925948.2
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2022-08-03
Publication Date
2025-05-02
Estimated Expiration
2042-08-03

AI Technical Summary

Technical Problem

The luminous strip on the outer frame of the TV set will adversely affect the visual experience when the user watches the TV.

Method used

By acquiring the image information of the TV screen, the effective image area is determined, and divided into multiple sub-image areas, the theme colors of each sub-image area are extracted, and the display mode of the lighting module is controlled according to these theme colors, so that it is coordinated with the picture of the TV screen.

Benefits of technology

The linkage effect between the lighting module and the TV screen is realized, so that the display light of the lighting module is more coordinated with the TV screen picture, thereby improving the user's visual experience.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN115529480B_ABST
    Figure CN115529480B_ABST
Patent Text Reader

Abstract

The present application relates to the technical field of smart home appliances, and discloses a control method for a television. The television is equipped with an illumination module arranged around the television screen, and the illumination module includes a plurality of illumination units; the method includes obtaining image information of the television screen, and determining the effective image area of ​​the image information; dividing the effective image area into a plurality of sub-image areas, and extracting the theme colors of the plurality of sub-image areas respectively; based on the correspondence between the illumination unit and the sub-image area, determining the target display mode of each illumination unit according to the theme color of each sub-image area. The present application extracts the theme color of each sub-image area in the effective image area of ​​the television screen, and controls the display of each illumination unit according to the theme color of each sub-image area; so that the display mode of the illumination module is more coordinated with the picture projected on the television screen, so that users watching the television can get a good visual experience. The present application also discloses a control device for a television, a television, and a storage medium.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the technical field of smart home appliances, for example, to a control method and device for a television, a television, and a storage medium. Background Art

[0002] With the development of information technology, television, as a smart home appliance used to enrich users' visual experience, is also changing with each passing day in its playback functions and interface design.

[0003] With the upgrading of the intelligence level of television, televisions with color-changing outer frames have appeared on the market. Their outer frames include multiple light strips with color display functions. The TV controls the display color of the light strips on the outer frame based on environmental parameters, so that users can intuitively understand the current environmental conditions through the TV outer frame.

[0004] In the process of implementing the embodiments of the present disclosure, it is found that there are at least the following problems in the related art:

[0005] Since the light bar is disposed on the outer frame of the TV, which is close to the display screen of the TV, when the user is watching TV, the display brightness of the light bar will have an adverse effect on the user's visual experience of watching TV. Summary of the invention

[0006] In order to provide a basic understanding of some aspects of the disclosed embodiments, a brief summary is given below. The summary is not an extensive review, nor is it intended to identify key / critical components or delineate the scope of protection of these embodiments, but rather serves as a prelude to the detailed description that follows.

[0007] The embodiments of the present disclosure provide a control method and device for a television, a television, and a storage medium, so that the display brightness of each lighting unit of the lighting module can be coordinated with the picture projected on the television screen, so that users watching the television can have a good visual experience.

[0008] In some embodiments, the control method for a television is configured with a lighting module arranged around the television screen, and the lighting module includes multiple lighting units; the control for the television includes: acquiring image information of the television screen and determining the effective image area of ​​the image information; dividing the effective image area into multiple sub-image areas, and extracting theme colors of the multiple sub-image areas respectively; based on the correspondence between the lighting unit and the sub-image area, determining the target display mode of each lighting unit according to the theme color of each sub-image area.

[0009] In some embodiments, extracting the theme color of a sub-image area includes: extracting the highest-scoring regular color sample in the sub-image area, and extracting the transition color sample in the sub-image area that meets a preset speed-increasing condition; when the transition color sample is extracted, determining that the theme color of the sub-image area is the transition color sample; when the transition color sample is not extracted, determining that the theme color of the sub-image area is the regular color sample.

[0010] In some embodiments, dividing the effective image area into multiple sub-image areas includes: obtaining the number of illumination units and the correspondence between the illumination units and the sub-image areas; determining a target number of required sub-image areas based on the correspondence and the number of illumination units; and dividing the effective image area into the target number of sub-image areas.

[0011] In some embodiments, the effective image area of ​​the image information is determined in the following manner: when the image information indicates that a black border exists in the display image of the television screen, the display image after removing the black border is used as the effective image area.

[0012] In some embodiments, it is determined whether a black border exists in a displayed image on a television screen by dividing the border area of ​​the displayed image on the television screen into a plurality of sub-border blocks of unit area, and determining in turn whether each sub-border block meets black border detection parameters; and determining whether a black border exists in the displayed image on the television screen based on the number of sub-border blocks that meet the black border detection parameters.

[0013] In some embodiments, after acquiring the image information of the TV screen, the control method for the TV further includes: compressing the image information of the TV screen to obtain image information after compressing the original image displayed on the TV screen by a preset multiple; wherein the compression processing is smooth compression using the Bresenham algorithm.

[0014] In some embodiments, acquiring image information of a television screen includes: acquiring image information of the television screen according to a preset screen acquisition area and a preset data acquisition type; wherein the image information includes a captured image of a screen menu layer and a captured image of a video display layer.

[0015] In some embodiments, the control device for a television includes a processor and a memory storing program instructions, wherein the processor executes the above-mentioned control method for a television when running the program instructions.

[0016] In some embodiments, the television includes a television screen and an illumination module arranged around the television screen, the illumination module including multiple illumination units; the television also includes an acquisition module, an extraction module and an encapsulation module; the acquisition module is configured to obtain image information of the television screen and determine the effective image area of ​​the image information; the extraction module is configured to divide the effective image area into multiple sub-image areas and respectively extract the theme colors of the multiple sub-image areas; the encapsulation module is configured to determine the target display mode of each illumination unit according to the theme color of each sub-image area based on the correspondence between the illumination module and the sub-image area.

[0017] In some embodiments, the storage medium stores program instructions, and when the program instructions are run, they execute the control method for a television as described above.

[0018] The control method and device for a television, the television, and the storage medium provided in the embodiments of the present disclosure can achieve the following technical effects:

[0019] By extracting the theme colors of each sub-image area in the effective image area of ​​the TV screen, the TV can control the display mode of each lighting unit in its lighting module according to the theme colors of each sub-image area; in this way, when the TV screen is in the projection state, the TV will adjust the display brightness of the lighting module based on the picture projected on the TV screen, so as to achieve the linkage effect of the lighting module and the picture projected by the TV, so that the display brightness of each lighting unit of the lighting module can be more coordinated with the picture projected on the TV screen, so that users watching TV can get a good visual experience.

[0020] The above general description and the following description are exemplary and explanatory only and are not intended to limit the present application. BRIEF DESCRIPTION OF THE DRAWINGS

[0021] One or more embodiments are exemplarily described by corresponding drawings, which do not limit the embodiments. Elements with the same reference numerals in the drawings are shown as similar elements, and the drawings do not constitute a scale limitation, and wherein:

[0022] Figure 1 is a schematic diagram of a control method for a television provided by an embodiment of the present disclosure;

[0023] Figure 2 is a schematic diagram of another control method for a television provided by an embodiment of the present disclosure;

[0024] Figure 3 is a schematic diagram of another control method for a television provided by an embodiment of the present disclosure;

[0025] Figure 4is a schematic diagram of another control method for a television provided by an embodiment of the present disclosure;

[0026] Figure 5 is a schematic diagram of another control method for a television provided by an embodiment of the present disclosure;

[0027] Figure 6 is a schematic diagram of a control device for a television provided in an embodiment of the present disclosure. DETAILED DESCRIPTION

[0028] In order to be able to understand the features and technical contents of the embodiments of the present disclosure in more detail, the implementation of the embodiments of the present disclosure is described in detail below in conjunction with the accompanying drawings. The attached drawings are for reference only and are not used to limit the embodiments of the present disclosure. In the following technical description, for the convenience of explanation, a full understanding of the disclosed embodiments is provided through multiple details. However, one or more embodiments can still be implemented without these details. In other cases, to simplify the drawings, well-known structures and devices can be simplified for display.

[0029] The terms "first", "second", etc. in the specification and claims of the embodiments of the present disclosure and the above-mentioned drawings are used to distinguish similar objects, and are not necessarily used to describe a specific order or sequence. It should be understood that the terms used in this way can be interchanged where appropriate, so that the embodiments of the embodiments of the present disclosure described herein. In addition, the terms "including" and "having" and any variations thereof are intended to cover non-exclusive inclusions.

[0030] Unless otherwise stated, the term "plurality" means two or more.

[0031] In the embodiment of the present disclosure, the character " / " indicates that the preceding and following objects are in an "or" relationship. For example, A / B indicates: A or B.

[0032] The term "and / or" is a description of the association relationship between objects, indicating that three relationships can exist. For example, A and / or B means: A or B, or, A and B.

[0033] The term "correspondence" may refer to an association relationship or a binding relationship. The correspondence between A and B means that there is an association relationship or a binding relationship between A and B.

[0034] In the embodiments of the present disclosure, smart home appliances refer to home appliances that are formed by introducing microprocessors, sensor technology, and network communication technology into home appliances. They have the characteristics of intelligent control, intelligent perception, and intelligent application. The operation process of smart home appliances often relies on the application and processing of modern technologies such as the Internet of Things, the Internet, and electronic chips. For example, smart home appliances can be connected to electronic devices to enable users to remotely control and manage the smart home appliances.

[0035] In the embodiments of the present disclosure, the terminal device refers to an electronic device with a wireless connection function. The terminal device can communicate with the above-mentioned smart home appliances by connecting to the Internet, or can directly communicate with the above-mentioned smart home appliances through Bluetooth, WiFi, etc. In some embodiments, the terminal device is, for example, a mobile device, a computer, or a vehicle-mounted device built into a hover car, or any combination thereof. Mobile devices may include, for example, mobile phones, smart home devices, wearable devices, smart mobile devices, virtual reality devices, etc., or any combination thereof, wherein wearable devices include, for example: smart watches, smart bracelets, pedometers, etc.

[0036] The disclosed embodiment provides a television, including a television screen. The television is provided with an illumination module around the television screen, and the illumination module includes a plurality of illumination units. Optionally, the illumination module can be provided on the frame of the television. Specifically, the illumination module can be provided on the back of the frame of the television. Here, the side of the television capable of projecting images is regarded as the front side, and the television screen is provided on the front side of the television; conversely, the side of the television opposite to the front side is regarded as the back side, and the illumination module is provided on the back side of the television.

[0037] In the embodiment of the present disclosure, the TV frame includes an upper frame, a left frame, a right frame and a lower frame. The lighting module can be specifically arranged on the back of the upper frame, the left frame and the right frame.

[0038] Optionally, the illumination unit may be in a strip shape, and a plurality of illumination units may be arranged end to end on the back side of the TV frame.

[0039] Based on the above-mentioned relevant structural design of the television and its lighting module, the control method for the television provided by the embodiment of the present disclosure includes: acquiring image information of the television screen and determining the effective image area of ​​the image information; dividing the effective image area into multiple sub-image areas, and extracting the theme colors of the multiple sub-image areas respectively; based on the correspondence between the lighting unit and the sub-image area, determining the target display mode of each lighting unit according to the theme color of each sub-image area.

[0040] Optionally, the execution subject of the above steps can be a TV, and the TV here belongs to a smart home appliance. In practical applications, the above steps can be developed and implemented using the Kotlin language, and the above control logic can be run in the software application of the TV. Specifically, the TV obtains the image information of the TV screen and determines the effective image area of ​​the image information; the TV divides the effective image area into multiple sub-image areas, and extracts the theme colors of the multiple sub-image areas respectively; the TV determines the target display mode of each lighting unit based on the correspondence between the lighting unit and the sub-image area and the theme color of each sub-image area, so that the TV can control the operation of the lighting module according to the target display mode.

[0041] In practical applications, the above method can also be applied to TVs that are not equipped with an illumination module. Users can separately purchase an illumination module equipped with a gateway and install the illumination module on the frame of the TV. The control module of the TV is connected to the gateway of the illumination module in communication, so that the control module of the TV executes the above steps. After determining the target display mode of the illumination module, the control instruction corresponding to the target display mode is sent to the illumination module, so that the installed illumination module can execute the target display mode. Among them, the target display mode at least includes the display color of each illumination unit of the illumination module. In this way, the linkage effect between the illumination module and the screen displayed on the TV can be achieved, so that the display brightness of each illumination unit of the illumination module can be more coordinated with the screen displayed on the TV screen, so that users watching TV can get a good visual experience.

[0042] Optionally, the TV may also have an associated server, which may be deployed on a cloud server, or may be a separately set up intelligent gateway. The server has a communication connection with the TV, so the server can transmit information with the TV. Specifically, the server obtains the image information of the TV screen and determines the effective image area of ​​the image information; the server divides the effective image area into multiple sub-image areas, and extracts the theme colors of the multiple sub-image areas respectively; the server determines the target display mode of each lighting unit based on the corresponding relationship between the lighting unit and the sub-image area and the theme color of each sub-image area; the server sends the control instruction corresponding to the target display mode to the TV, so that the TV can control the operation of the lighting module according to the target display mode.

[0043] Combination Figure 1 As shown, the embodiment of the present disclosure provides a control method for a television, comprising:

[0044] S01. Acquire image information of a television screen and determine a valid image area of ​​the image information.

[0045] S02: Divide the effective image area into a plurality of sub-image areas, and extract theme colors of the plurality of sub-image areas respectively.

[0046] S03 . Based on the correspondence between the illumination units and the sub-image areas, determine the target display mode of each illumination unit according to the theme color of each sub-image area.

[0047] By adopting the control method for a television provided by the embodiment of the present disclosure, by extracting the theme color of each sub-image area in the effective image area of ​​the television screen, the television can control the display mode of each illumination unit in its illumination module according to the theme color of each sub-image area; in this way, when the television screen is in a projection state, the television will adjust the display brightness of the illumination module based on the picture projected on the television screen, thereby realizing the linkage effect of the illumination module and the picture projected by the television, so that the display brightness of each illumination unit of the illumination module can be more coordinated with the picture projected on the television screen, thereby allowing users watching television to have a good visual experience.

[0048] In some embodiments, before executing the above steps, the control method for a television may further include: obtaining current state information of the television; and obtaining image information of the television screen when the current state of the television indicates that the television is in a projection state. In this way, when the television is in a standby state, the lighting module of the television may be displayed according to other control logics; but when the television is in a projection state, the display brightness of the lighting module is adjusted based on the picture projected on the television screen, so that the display brightness of each lighting unit of the lighting module can be more coordinated with the picture projected on the television screen, so that users watching the television can get a good visual experience.

[0049] When the TV is in standby mode, other control logics that can be executed are not specifically limited here. For example, the lighting module of the TV can be controlled based on the environmental parameters of the space where the TV is located.

[0050] Optionally, extracting the theme color of the sub-image area includes: extracting the highest-scoring conventional color sample in the sub-image area, and extracting a transition color sample in the sub-image area that meets a preset speed-increasing condition; when the transition color sample is extracted, determining the theme color of the sub-image area as the transition color sample; when the transition color sample is not extracted, determining the theme color of the sub-image area as the conventional color sample. In this way, the determined conventional color sample or transition color sample can be used as a basis for determining the display color of each illumination unit of the illumination module.

[0051] Optionally, before extracting the theme color of the sub-image area, the control method for the television may further include: determining the number of color samples of each sub-image area; and determining the theme color sample of the sub-image area to be extracted according to the number of color samples.

[0052] Optionally, extracting the highest-scoring conventional color sample in the sub-image area specifically includes: parsing the image data corresponding to any sub-image area to obtain the RGB data value of the sub-image area; and compressing the RGB data value. This improves the image processing speed while ensuring the accuracy of the theme color extraction. Since the compressed data becomes smaller, the memory space occupied by the processing program is correspondingly saved.

[0053] Optionally, after the RGB data values ​​are compressed, a color histogram is constructed based on the number domain of color samples of the sub-image area to be extracted. Here, the number of color samples can be calculated by the median segmentation method. Specifically, the median segmentation method is an algorithm that maps all pixels to the RGB space, repeatedly segments subspaces in this three-dimensional space, and finally calculates the average of the pixels in the segmented space as the extraction result. The algorithm first establishes a spatial Cartesian rectangular coordinate system with three color components R, G, and B, and maps all pixels to the RGB space. Then, a cuboid is established with (Rmin, Gmin, Bmin) and (Rmax, Gmax, Bmax) as endpoints to ensure that all pixels are within this cuboid, and then the longest side of RGB is cut in half from the median of the color statistics so that the number of pixels contained in the two cuboids is the same, and the above steps are repeated until the number of cuboids obtained by the final segmentation is equal to the number of subject color samples. Finally, the RGB color average value of each cuboid is calculated as the color value of the color sample, and the number of cuboid samples is the determined number of color samples.

[0054] Optionally, the process of extracting the highest-scoring common color sample in the sub-image area further includes: calculating the similarity Si between the initial sample color based on the RGB value and pure black based on the extracted initial sample color. The similarity Si can be determined by the following formula:

[0055]

[0056] in,

[0057] R=C 1,R -C 2,R ;

[0058] G=C 1,G -C 2,G ;

[0059] B=C 1,B -C 2,B .

[0060] In this way, the obtained similarity Si can be used to evaluate and judge the color contrast between the colors corresponding to each theme color.

[0061] After calculating the similarity between each initial sample color and pure black in turn, the following similarity matrix can be obtained:

[0062]

[0063] Wherein, n is the number of sub-image areas; m is the number of color samples extracted from a sub-image area.

[0064] In this way, after obtaining the above similarity matrix, the similarity Si and the proportion Pi of the extracted color samples in each area can be calculated to construct the two-dimensional space to obtain the target weight. The proportion Pi can be calculated by the following formula:

[0065]

[0066] Among them, x is the number of pixels of the extracted color sample; y is the total number of pixels.

[0067] Optionally, the two-dimensional space can be constructed to obtain the target weight Y in the following way:

[0068] Y=C1×(S-μ) 2 +C2×S+C3×P;

[0069] Among them, C1, C2, and C3 are constants, and μ is the set optimal similarity.

[0070] In this way, the color sample with the largest Y value among the M color samples can be determined as the normal color sample of the area.

[0071] In the disclosed embodiment, to extract the transition color samples, it is necessary to first extract the theme color samples of all the sub-image areas in the image, and then determine the change in the number of pixels of the same theme color sample in each frame based on the analysis of multiple frames of image data within a certain period of time, and use the color with the most drastic increase in the number of pixels of the same theme color sample within a period of time as the transition color sample.

[0072] Optionally, extracting the transition color samples that meet the preset speed-up condition in the sub-image area may include: performing color similarity operations on K×M theme color samples output from the K areas, and grouping colors with similar colors into a sequence. Assume that the color sequence output from a single frame image is:

[0073] C={C0,C1,C2,...,C i , ..., C K×M-1};

[0074] Among them, C i is a color value sample, i is less than or equal to K×M.

[0075] Then through the color similarity operation, the divided color sequence is:

[0076] C N ={C N0 , C N1 , C N2 , ..., C Ni , ..., C Nj};

[0077] Among them, C Ni A sequence collection used to represent a similar color.

[0078] Specifically, the first step is to take a color C from the C sequence. i , C i Add to C Ni sequence, and from the C sequence C i Delete. The second step is to sequentially compare the other color values ​​C in the C sequence j Perform similarity calculation, use the calculated similarity Si and threshold V to judge, if the similarity is between [0, V], it is considered to be a color, classified into one category, and added to C Ni sequence, and C j Delete from the C sequence. Step 3: Repeat steps 1 and 2 until all colors in the C sequence are processed. Step 4: N Each color value sequence in the sequence is processed according to the RGB color averaging algorithm to obtain the average color value of each sequence, which is the color value of the current subsequence. N The number of colors in each color value sequence in the sequence is added together to count the number of colors in the current sequence. N The sequence finally outputs m color values ​​and the corresponding number of color values ​​to obtain the aforementioned color sequence.

[0079] The color sequence can be specifically expressed as:

[0080] C o ={C o0 , o1 , o2 , ..., C oi , ..., C o ( m-1 )};

[0081] Among them, m is the number of output sequences, C oi For color samples.

[0082] In this way, m theme color samples of a full-screen image can be obtained, including theme color values ​​and corresponding pixel numbers, so as to further extract transition color samples by continuously collecting multiple frames of images and processing and analyzing them.

[0083] Optionally, the extraction of transition color samples can be carried out in the following manner: re-collect a frame of image data to obtain a new color sequence. Obtain the RGB value of the color sample in the new color sequence, and perform a similarity operation with each color value in the original color sequence to find the target color value that meets the threshold [0, V]. If there are multiple color samples that meet the threshold, select the sample with the closest similarity, and calculate the relationship between the number of color values ​​of the target color value and the number of color values ​​in the new color sequence. If the number of color values ​​in the new color sequence is a specific multiple of the number of color values ​​in the original color sequence, mark the target color values ​​in the two color sequences respectively. Further, perform the operation on the other samples in the new color sequence according to the above steps until all target color values ​​that meet the standards in the new color sequence are marked. That is, each M frame is grouped, and the marking situation is detected once from each group, and the color with the most marking times and the marking times that meet certain conditions is selected from each marked target color value, and the selected target color value that meets the conditions is used as the extracted transition color sample.

[0084] Combination Figure 2 As shown, the embodiment of the present disclosure provides another control method for a television, including:

[0085] S11, extracting the highest-scoring regular color samples in the sub-image area, and extracting the transition color samples in the sub-image area that meet a preset speed-increasing condition.

[0086] S12: When a transition color sample is extracted, determine the theme color of the sub-image area as the transition color sample.

[0087] S13: When no transition color sample is extracted, determine the theme color of the sub-image area as a regular color sample.

[0088] By adopting the control method for a television provided by the embodiment of the present disclosure, the theme color of each sub-image area in the effective image area can be accurately obtained, so that the television can control the display mode of each lighting unit in its lighting module according to the theme color of each sub-image area; in this way, when the television screen is in a projection state, the television will adjust the display brightness of the lighting module based on the picture projected on the television screen, so as to achieve a linkage effect between the lighting module and the picture projected by the television, so that the display brightness of each lighting unit of the lighting module can be more coordinated with the picture projected on the television screen, thereby allowing users watching television to have a good visual experience.

[0089] In some embodiments, after the theme color of the sub-image area is extracted, gamma correction is also performed on the color corresponding to the extracted theme color. The gamma correction here is a nonlinear correction of the grayscale of the extracted main color value. It can be achieved by nonlinearly editing the gamma curve to obtain the corrected theme color. In this way, by performing gamma correction on the extracted theme color, the contrast effect of the color displayed by the lighting module can be improved.

[0090] In some embodiments, dividing the effective image area into a plurality of sub-image areas may include: determining a target method for dividing the effective image area; and dividing the effective image area into a target number of sub-image areas according to the target method. The target method for dividing the effective image area includes dividing the effective image area according to a target weight ratio of the target number of sub-image areas.

[0091] In the disclosed embodiment, the target weight ratio may be a preset weight ratio of multiple sub-image areas; the target weight ratio may be related to any size parameter of the sub-image area. For example, the target weight ratio may be related to the height of the sub-image area; specifically, if the parameters of the sub-image areas in the same row are set to the same height when dividing the sub-image areas, then the weight ratios of the sub-image areas in the same row are the same.

[0092] Optionally, dividing the effective image area into a plurality of sub-image areas includes: obtaining the number of illumination units and the correspondence between the illumination units and the sub-image areas; determining a target number of required sub-image areas according to the correspondence and the number of illumination units; and dividing the effective image area into the target number of sub-image areas. Here, the number of sub-image areas and the number of illumination units may correspond one to one.

[0093] Combination Figure 3 As shown, the embodiment of the present disclosure provides another control method for a television, including:

[0094] S21. Obtain the number of illumination units and the corresponding relationship between the illumination units and the sub-image areas.

[0095] S22. Determine the target number of required sub-image areas according to the corresponding relationship and the number of illumination units.

[0096] S23, dividing the effective image area into a target number of sub-image areas.

[0097] In this way, by dividing the effective image area into multiple sub-image areas in the above manner, and corresponding the illumination units to the sub-image areas, so that after the theme color of each sub-image area is extracted, the display mode of each illumination unit can be controlled according to the theme color of each sub-image area; in this way, when the TV screen is in a projection state, the TV will adjust the display brightness of the illumination module based on the picture projected on the TV screen, thereby realizing the linkage effect of the illumination module and the picture projected by the TV, so that the display brightness of each illumination unit of the illumination module can be more coordinated with the picture projected on the TV screen, thereby allowing users watching TV to have a good visual experience.

[0098] Optionally, the effective image area of ​​the image information is determined in the following manner: when the image information indicates that a black border exists in the display image of the television screen, the display image after the black border is removed is used as the effective image area.

[0099] In practical applications, the removal of black borders of images can be achieved through an image black frame detection module. Since the image of the video stream directly captured from the TV screen may contain upper and lower black borders, the black borders will affect the subsequent theme color extraction results. Therefore, in order to improve the theme color extraction effect, the black borders are removed to obtain the effective image area. This solution adds a black border removal step.

[0100] Optionally, whether a black border exists in the displayed image on the TV screen is determined in the following manner: the border area of ​​the displayed image on the TV screen is divided into a plurality of sub-border blocks of unit area, and each sub-border block is judged in turn whether it meets the black border detection parameters; and based on the number of sub-border blocks that meet the black border detection parameters, it is determined whether a black border exists in the displayed image on the TV screen.

[0101] Optionally, after determining that a black border exists in the image displayed on the television screen, the method further includes: determining a boundary of the black border so as to subsequently remove the black border of the image.

[0102] Specifically, removing the black border of the image may include: first setting a threshold value of the black border, for example, taking a quarter of the display height of the TV screen as the maximum value of the black border. Then, within the black border threshold range, cutting the displayed image into a preset number of sub-border blocks of unit area, and judging the area color of each sub-border block from top to bottom; if it is determined that the area color of the sub-border block is black, then proceeding to judge the area color of the next sub-border block; if it is determined that the area color of the sub-border block is not black, then ending the area color judgment.

[0103] Combination Figure 4 As shown, the embodiment of the present disclosure provides another control method for a television, including:

[0104] S31, dividing the frame area of ​​the display image of the television screen into a plurality of sub-frame blocks of unit area, and determining in turn whether each sub-frame block meets the black frame detection parameter.

[0105] S32: Determine whether a black border exists in the image displayed on the television screen according to the number of sub-border blocks that meet the black border detection parameter.

[0106] S33. When the image information indicates that a black border exists in the display image of the television screen, the display image after the black border is removed is used as the effective image area.

[0107] In this way, it is possible to accurately determine whether there is a black border on the display image of the TV screen. If it is determined that there is a black border on the display image of the TV screen, the display image after removing the black border will be used as the effective image area, thereby providing a data basis for the subsequent extraction effect of the theme color extraction step on the effective image area.

[0108] In some embodiments, after acquiring the image information of the TV screen, the control method for the TV further includes: compressing the image information of the TV screen to obtain image information after compressing the original image displayed on the TV screen by a preset multiple; wherein the compression processing is smooth compression using the Bresenham algorithm.

[0109] In practical applications, the image information of the TV screen can be compressed through an image compression module. Since the larger the original image data collected during the process of extracting the theme color from the image information, the longer the processing time occupied by the extraction process; therefore, in order to optimize the time occupied by the theme color extraction process, this solution uses the Bresenham algorithm to smoothly compress the collected original image data to obtain the image information after compression with a preset multiple; thereby, without affecting the subsequent theme color extraction, the processing time occupied by the image processing is minimized.

[0110] Optionally, acquiring image information of the television screen includes: acquiring image information of the television screen according to a preset screen acquisition area and a preset data acquisition type; wherein the image information includes a captured image of a screen menu layer and a captured image of a video display layer.

[0111] In practical applications, the image information of the TV screen can be obtained through the screen acquisition module. Before the screen acquisition module executes the image information acquisition of the TV screen, an initialization operation can be performed first; and then the screen acquisition area parameters and the data type to be acquired are set to obtain a preset screen acquisition area and a preset data acquisition type.

[0112] In this solution, the preset screen capture area includes the capture image of the on-screen display (OSD) layer and the capture image of the video display layer. The capture image of the OSD is usually a rectangular menu layer of various adjustment item information of the display that pops up after receiving the user's menu button command. The capture image of the video display layer can be obtained by directly processing the video stream of the TV screen through the graphics processor.

[0113] Combination Figure 5 As shown, the embodiment of the present disclosure provides another control method for a television, including:

[0114] S41. Acquire image information of a television screen according to a preset screen acquisition area and a preset data acquisition type.

[0115] S42: compress the image information on the television screen to obtain image information obtained by compressing the original image displayed on the television screen by a preset multiple.

[0116] In this way, the Bresenham algorithm is used to smoothly compress the collected original image data to obtain image information after compression with a preset multiple; thereby, without affecting the subsequent theme color extraction, the processing time occupied by image processing is minimized; and the time occupied by the theme color extraction process is optimized.

[0117] Combination Figure 6 As shown, the embodiment of the present disclosure provides a control device for a television, including a processor 100 and a memory 101. Optionally, the device may also include a communication interface 102 and a bus 103. The processor 100, the communication interface 102, and the memory 101 may communicate with each other through the bus 103. The communication interface 102 may be used for information transmission. The processor 100 may call the logic instructions in the memory 101 to execute the control method for a television of the above embodiment.

[0118] In addition, the logic instructions in the memory 101 described above may be implemented in the form of software functional units and when sold or used as independent products, may be stored in a computer-readable storage medium.

[0119] The memory 101 is a computer-readable storage medium that can be used to store software programs and computer executable programs, such as program instructions / modules corresponding to the method in the embodiment of the present disclosure. The processor 100 executes the functional application and data processing by running the program instructions / modules stored in the memory 101, that is, implements the control method for the television in the above embodiment.

[0120] The memory 101 may include a program storage area and a data storage area, wherein the program storage area may store an operating system and an application required for at least one function; the data storage area may store data created according to the use of the terminal device, etc. In addition, the memory 101 may include a high-speed random access memory and may also include a non-volatile memory.

[0121] An embodiment of the present disclosure provides a television, comprising the above-mentioned control device for a television.

[0122] Optionally, the television includes a television screen and an illumination module arranged around the television screen, and the illumination module includes a plurality of illumination units. The television further includes an acquisition module, an extraction module, and an encapsulation module. The acquisition module is configured to acquire image information of the television screen and determine the effective image area of ​​the image information; the extraction module is configured to divide the effective image area into a plurality of sub-image areas and extract the theme color of each sub-image area respectively; the encapsulation module is configured to determine the target display mode of each illumination unit according to the theme color of each sub-image area based on the correspondence between the illumination module and the sub-image area.

[0123] The television provided by the embodiment of the present disclosure extracts the theme color of each sub-image area in the effective image area of ​​the television screen, so that the television can control the display mode of each illumination unit in its illumination module according to the theme color of each sub-image area; in this way, when the television screen is in a projection state, the television will adjust the display brightness of the illumination module based on the picture projected on the television screen, thereby realizing the linkage effect between the illumination module and the picture projected by the television, so that the display brightness of each illumination unit of the illumination module can be more coordinated with the picture projected on the television screen, thereby allowing users watching television to have a good visual experience.

[0124] An embodiment of the present disclosure provides a computer-readable storage medium storing computer-executable instructions, wherein the computer-executable instructions are configured to execute the above control method for a television.

[0125] An embodiment of the present disclosure provides a computer program product, which includes a computer program stored on a computer-readable storage medium, and the computer program includes program instructions. When the program instructions are executed by a computer, the computer executes the above-mentioned control method for a television.

[0126] The computer-readable storage medium mentioned above may be a transient computer-readable storage medium or a non-transitory computer-readable storage medium.

[0127] The technical solution of the embodiment of the present disclosure can be embodied in the form of a software product, which is stored in a storage medium and includes one or more instructions for enabling a computer device (which may be a personal computer, a server, or a network device, etc.) to perform all or part of the steps of the method described in the embodiment of the present disclosure. The aforementioned storage medium may be a non-transient storage medium, including: a USB flash drive, a mobile hard disk, a read-only memory (ROM), a random access memory (RAM), a magnetic disk or an optical disk, and other media that can store program codes, or a transient storage medium.

[0128] The above description and the accompanying drawings fully illustrate the embodiments of the present disclosure so that those skilled in the art can practice them. Other embodiments may include structural, logical, electrical, process and other changes. The embodiments represent only possible changes. Unless explicitly required, separate components and functions are optional, and the order of operation may vary. The parts and features of some embodiments may be included in or replace the parts and features of other embodiments. Moreover, the words used in this application are only used to describe the embodiments and are not used to limit the claims. As used in the description of the embodiments and the claims, unless the context clearly indicates, the singular forms of "a", "an" and "the" are intended to include plural forms as well. Similarly, the term "and / or" as used in this application refers to any and all possible combinations of listings containing one or more associated ones. In addition, when used in the present application, the term "comprise" and its variants "comprises" and / or comprising refer to the presence of stated features, wholes, steps, operations, elements, and / or components, but do not exclude the presence or addition of one or more other features, wholes, steps, operations, elements, components and / or groups thereof. In the absence of further restrictions, the elements defined by the sentence "comprising a ..." do not exclude the presence of other identical elements in the process, method or device comprising the elements. In this article, each embodiment may focus on the differences from other embodiments, and the same and similar parts between the various embodiments may refer to each other. For the methods, products, etc. disclosed in the embodiments, if they correspond to the method part disclosed in the embodiments, then the relevant parts can refer to the description of the method part.

[0129] Those skilled in the art will appreciate that the units and algorithm steps of each example described in conjunction with the embodiments disclosed herein can be implemented in electronic hardware, or a combination of computer software and electronic hardware. Whether these functions are performed in hardware or software may depend on the specific application and design constraints of the technical solution. The technicians may use different methods for each specific application to implement the described functions, but such implementations should not be considered to exceed the scope of the embodiments of the present disclosure. The technicians may clearly understand that, for the convenience and simplicity of description, the specific working processes of the systems, devices and units described above may refer to the corresponding processes in the aforementioned method embodiments, and will not be repeated here.

[0130] In the embodiments disclosed herein, the disclosed methods and products (including but not limited to devices, equipment, etc.) can be implemented in other ways. For example, the device embodiments described above are only schematic. For example, the division of the units can be only a logical function division. There may be other division methods in actual implementation, such as multiple units or components can be combined or integrated into another system, or some features can be ignored or not executed. In addition, the coupling or direct coupling or communication connection between each other shown or discussed can be through some interfaces, indirect coupling or communication connection of devices or units, which can be electrical, mechanical or other forms. The units described as separate components may or may not be physically separated, and the components displayed as units may or may not be physical units, that is, they may be located in one place, or they may be distributed on multiple network units. Some or all of the units may be selected according to actual needs to implement this embodiment. In addition, each functional unit in the embodiment of the present disclosure may be integrated in a processing unit, or each unit may exist physically alone, or two or more units may be integrated in one unit.

[0131] The flowchart and block diagram in the accompanying drawings show the possible architecture, function and operation of the system, method and computer program product according to the embodiment of the present disclosure. In this regard, each box in the flowchart or block diagram can represent a module, a program segment or a part of the code, and the module, the program segment or a part of the code contains one or more executable instructions for realizing the specified logical function. In some alternative implementations, the functions marked in the box can also occur in a different order from the order marked in the accompanying drawings. For example, two consecutive boxes can actually be executed substantially in parallel, and they can sometimes be executed in the opposite order, which can depend on the functions involved. In the description corresponding to the flowchart and the block diagram in the accompanying drawings, the operations or steps corresponding to different boxes can also occur in a different order from the order disclosed in the description, and sometimes there is no specific order between different operations or steps. For example, two consecutive operations or steps can actually be executed substantially in parallel, and they can sometimes be executed in the opposite order, which can depend on the functions involved. Each block in the block diagrams and / or flowcharts, and combinations of blocks in the block diagrams and / or flowcharts, may be implemented by a dedicated hardware-based system that performs the specified functions or actions, or may be implemented by a combination of dedicated hardware and computer instructions.

Claims

1. A control method for a television, characterized in that: The television is equipped with a lighting module arranged around the television screen, and the lighting module includes a plurality of lighting units; The control method comprises: Acquiring image information of the television screen and determining a valid image area of ​​the image information; Dividing the effective image area into a plurality of sub-image areas, and extracting theme colors of the plurality of sub-image areas respectively; Based on the correspondence between the illumination units and the sub-image areas, the target display mode of each illumination unit is determined according to the theme color of each sub-image area; The extraction of the theme color of the sub-image area includes: Extracting transition color samples that meet a preset speed-increasing condition in the sub-image area; When the transition color sample is extracted, the theme color of the sub-image area is determined to be the transition color sample; wherein the transition color sample is used to represent the color with the most dramatic increase in the number of pixels of the same theme color sample within a period of time.

2. The control method according to claim 1, characterized in that: The method of extracting the theme color of the sub-image area also includes: Extracting the highest scoring conventional color sample in the sub-image area; After extracting the transition color samples that meet the preset speed increase condition in the sub-image area, the method further includes: In the case that the transition color sample is not extracted, the theme color of the sub-image area is determined to be the normal color sample.

3. The control method according to claim 1, characterized in that: The step of dividing the effective image area into a plurality of sub-image areas comprises: Obtaining the number of illumination units and the corresponding relationship between the illumination units and the sub-image areas; Determining a target number of required sub-image areas according to the corresponding relationship and the number of illumination units; The effective image area is divided into a target number of sub-image areas.

4. The control method according to claim 1, characterized in that: The effective image area of ​​the image information is determined by: When the image information indicates that a black border exists in the display image of the television screen, the display image after the black border is removed is used as the effective image area.

5. The control method according to claim 4, characterized in that: Determine whether a black border exists on the image displayed on the TV screen by the following method: Dividing the frame area of ​​the display image of the television screen into a plurality of sub-frame blocks of unit area, and determining in turn whether each sub-frame block meets the black frame detection parameter; Whether a black border exists in the displayed image of the television screen is determined according to the number of sub-border blocks that meet the black border detection parameter.

6. The control method according to claim 1, characterized in that: After acquiring the image information of the television screen, the control method further includes: Compressing the image information of the television screen to obtain image information obtained by compressing the original image displayed on the television screen by a preset multiple; The compression process is smooth compression using the Bresenham algorithm.

7. The control method according to claim 1, characterized in that: The step of obtaining the image information of the television screen includes: Acquiring image information of the television screen according to a preset screen acquisition area and a preset data acquisition type; The image information includes the captured image of the screen menu layer and the captured image of the video display layer.

8. A control device for a television, comprising a processor and a memory storing program instructions, characterized in that: The processor is configured to execute the control method for a television according to any one of claims 1 to 7 when executing the program instructions.

9. A television, characterized in that: It includes a TV screen and a lighting module arranged around the TV screen, wherein the lighting module includes a plurality of lighting units; The television further comprises: A collection module, configured to obtain image information of the television screen and determine a valid image area of ​​the image information; An extraction module is configured to divide the effective image area into a plurality of sub-image areas, and extract theme colors of the plurality of sub-image areas respectively; The encapsulation module is configured to determine the target display mode of each illumination unit according to the theme color of each sub-image area based on the correspondence between the illumination modules and the sub-image areas; Among them, extracting the theme color of the sub-image area includes: extracting a transition color sample in the sub-image area that meets a preset growth rate condition; when the transition color sample is extracted, determining that the theme color of the sub-image area is the transition color sample; wherein the transition color sample is used to represent the color with the most drastic increase in the number of pixels of the same theme color sample over a period of time.

10. A storage medium storing program instructions, characterized in that: When the program instructions are executed, the control method for a television according to any one of claims 1 to 7 is executed.

Citation Information

Patent Citations

  • Mobile terminal and video image processing method

    CN103369205A

  • Atmosphere light effective color obtaining method and device and display device

    CN106803948A