A backlight detection method and device, a terminal device and a readable storage medium
By displaying different set images on a partitioned backlight display and comparing the display parameters, the problem of low accuracy in existing detection methods is solved, and accurate anomaly detection of backlights is achieved.
Patent Information
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2022-10-27
- Publication Date
- 2026-03-27
AI Technical Summary
Existing backlight detection methods have low accuracy and are difficult to accurately detect anomalies in zone-lit displays.
By controlling the target display area to display different set images, a first display image and a second display image are obtained. Anomaly detection is performed based on these images. Display parameters are obtained using a color analyzer for comparison, thereby achieving accurate detection of the backlight.
It improves the accuracy and efficiency of backlight detection, and can accurately identify the working status and abnormal conditions of the backlight.
Smart Images

Figure CN115755446B_ABST
Abstract
Description
TECHNICAL FIELD
[0001] The present application belongs to the technical field of backlight detection, and particularly relates to a backlight detection method and device, a terminal device, and a readable storage medium. BACKGROUND
[0002] Compared with ordinary backlight displays, a partitioned backlight display can independently and accurately adjust each backlight partition, thereby achieving a high contrast ratio. Existing detection methods are mostly based on human eye observation of the display effect of the partitioned backlight display to detect abnormalities of the backlight, and the accuracy of detection is low. SUMMARY
[0003] The embodiments of the present application provide a backlight detection method, device, terminal device, and readable storage medium, which can solve the problem of low accuracy of existing detection methods.
[0004] In a first aspect, the embodiments of the present application provide a backlight detection method, which comprises the following steps.
[0005] controlling a target display area to display a first set image to obtain a first display image displayed by a display; the target display area comprises at least one sub-display area, one sub-display area corresponds to one backlight partition of the display, and the first set image indicates that a target backlight corresponding to the target display area is in a non-working state;
[0006] controlling the target display area to display a second set image to obtain a second display image displayed by the display; the second set image indicates that the target backlight is in a target working state;
[0007] performing abnormality detection on the target backlight based on the first display image and the second display image.
[0008] In a second aspect, the embodiments of the present application provide a backlight detection device, which comprises the following modules.
[0009] a first control module, configured to control a target display area to display a first set image to obtain a first display image displayed by a display; the target display area comprises at least one sub-display area, one sub-display area corresponds to one backlight partition of the display, and the first set image indicates that a target backlight corresponding to the target display area is in a non-working state;
[0010] a second control module, configured to control the target display area to display a second set image to obtain a second display image displayed by the display; the second set image indicates that the target backlight is in a target working state;
[0011] anomaly detection module, configured to perform anomaly detection on the target backlight source based on the first display image and the second display image.
[0012] In a third aspect, an embodiment of the present application provides a terminal device, including a memory, a processor, and a computer program stored in the memory and capable of running on the processor, and the processor implements the backlight source detection method in the first aspect when executing the computer program.
[0013] In a fourth aspect, an embodiment of the present application provides a computer readable storage medium, which stores a computer program, and the computer program is executed by a processor to implement the backlight source detection method in the first aspect.
[0014] In a fifth aspect, an embodiment of the present application provides a computer program product, which, when running on a terminal device, enables the terminal device to execute the backlight source detection method in the first aspect.
[0015] The beneficial effects of the embodiments of the present application compared with the prior art are as follows: the target display area is controlled to display a first set image to obtain a first display image displayed by the display; the target display area includes at least one sub-display area, one sub-display area corresponds to one backlight partition of the display, and the first set image indicates that the target backlight source corresponding to the target display area is in a non-working state; the target display area is controlled to display a second set image to obtain a second display image displayed by the display; the second set image indicates that the target backlight source is in a target working state; and the target backlight source is detected for anomaly based on the first display image and the second display image. Compared with the method of detecting the anomaly of the backlight source by observing the display effect of the partitioned backlight display through the human eye, the first display image and the second display image in the present application can represent the actual working condition of the target backlight source, and therefore, the accuracy of detecting the anomaly of the backlight source based on the first display image and the second display image actually displayed by the display is higher. BRIEF DESCRIPTION OF DRAWINGS
[0016] In order to more clearly illustrate the technical solutions in the embodiments of the present application, the drawings needed in the embodiments or the prior art description will be briefly introduced as follows. Obviously, the drawings in the following description are only some embodiments of the present application, and other drawings can be obtained by those skilled in the art without creative labor.
[0017] Figure 1 is a flowchart of a backlight source detection method provided by an embodiment of the present application;
[0018] Figure 2is a schematic diagram of a second display image provided by an embodiment of the present application;
[0019] Figure 3 is a system configuration diagram of a display parameter acquisition system provided by an embodiment of the present application;
[0020] Figure 4 is a flowchart of a backlight detection method provided by another embodiment of the present application;
[0021] Figure 5 is a schematic structural block diagram of a backlight detection device provided by an embodiment of the present application;
[0022] Figure 6 is a structural schematic diagram of a terminal device provided by an embodiment of the present application. DETAILED DESCRIPTION
[0023] In the following description, specific details are set forth, such as particular system configurations, techniques, etc., in order to provide a thorough understanding of the embodiments of the present application. However, persons skilled in the art will understand that the present application can be practiced without these specific details. In other instances, well-known structures, devices, circuits, and methods have not been described in detail in order to avoid obscuring the description of the present application.
[0024] It should be understood that the term "comprises" as used in the specification and the appended claims indicates the presence of the described features, integers, steps, operations, elements, and / or components, but does not preclude the presence or addition of one or more other features, integers, steps, operations, elements, components, and / or groups thereof.
[0025] It should also be understood that the term "and / or" as used herein refers to any one of the associated listed items, combinations thereof, and all possible combinations thereof, and includes these combinations.
[0026] As used in the specification and the appended claims, the term "if' can be interpreted as meaning "when" or "once" or "in response to a determination" or "in response to a detection" depending on the context. Similarly, the phrase "if determined" or "if detected [the described condition or event]" can be interpreted as meaning "once determined" or "in response to a determination" or "once detected [the described condition or event]" or "in response to a detection [the described condition or event]" depending on the context.
[0027] In addition, in the description of the specification and the appended claims, the terms "first", "second", "third", etc. are only used for differentiation in description, and cannot be understood as indicating or implying relative importance.
[0028] References to "one embodiment" or "some embodiments" as described in this specification mean that one or more embodiments of this application include a specific feature, structure, or characteristic described in connection with that embodiment. Therefore, the phrases "in one embodiment," "in some embodiments," "in other embodiments," "in still other embodiments," etc., appearing in different parts of this specification do not necessarily refer to the same embodiment, but rather mean "one or more, but not all, embodiments," unless otherwise specifically emphasized. The terms "comprising," "including," "having," and variations thereof mean "including but not limited to," unless otherwise specifically emphasized.
[0029] Example 1:
[0030] Please see Figure 1 , Figure 1 A schematic flowchart of a backlight detection method provided in this application is shown.
[0031] Step 101: Control the target display area to display the first set image to obtain the first display image displayed on the monitor; the target display area includes at least one sub-display area, and one sub-display area corresponds to a backlight partition of the monitor; the first set image indicates that the target backlight corresponding to the target display area is in a non-working state.
[0032] Optionally, the display can be a local dimming backlight display, which can independently control the light of each zone based on a mini light-emitting diode (Mini LED) to achieve local dimming. This application refers to a local dimming backlight display composed of Mini LEDs as a Mini LED display or a Mini LED backlit liquid crystal display, and uses such a local dimming backlight display as an example to illustrate this application.
[0033] A sub-display area can refer to the display area corresponding to a backlight zone. For monitors of the same model, all sub-display areas in the monitor are the same size, and the size of each sub-display area is the same as the size of a single backlight zone. For monitors of different models, the size of the sub-display areas in each monitor may be different.
[0034] Taking a Mini LED display with a size of 27 inches, a horizontal resolution of 3840 pixels, a vertical resolution of 2160 pixels, and a number of backlight partitions of 2304 as an example, the Mini LED display has 64 backlight partitions in the horizontal direction and 36 backlight partitions in the vertical direction, that is, the Mini LED display has 36 rows and 64 columns of backlight partitions; the horizontal resolution divided by the number of backlight partitions in the horizontal direction obtains the length of a single backlight partition in the horizontal direction, that is, 3840 / 64 = 60, and the vertical resolution divided by the number of backlight partitions in the vertical direction obtains the length of a single backlight partition in the vertical direction, that is, 2160 / 36 = 60, that is, the size of a single backlight partition is 60*60, and correspondingly, the size of a single sub-display region is also 60*60.
[0035] As an implementation manner, if the target display region contains one sub-display region, one sub-display region can be controlled to display the first set image each time to obtain a first display image. The first display image contains the image actually displayed by the sub-display region, and as an example but not limitation, the first display image can be the display image corresponding to one sub-display region, or can be the display image corresponding to the entire display.
[0036] As another implementation manner, if the target display region contains at least two sub-display regions, the at least two sub-display regions contained in the target display region can be controlled to display the first set image at the same time to obtain a first display image, and the first display image contains the images actually displayed by the at least two sub-display regions.
[0037] The Mini LED display is composed of Mini LEDs and a liquid crystal screen, and there is a certain distance between the Mini LEDs and the liquid crystal screen, which leads to a light transmission phenomenon between adjacent backlight partitions, that is, the light emitted by one backlight partition can penetrate into another adjacent backlight partition. In order to avoid the light of the non-target display region affecting the detection result of the target display region, the target display region is controlled to display the first set image to obtain the first display image, including: controlling the target display region and the non-target display region to display the first set image to obtain the first display image. The non-target display region can be a region other than the target display region in the display region of the display.
[0038] Optionally, the first set image can be a black image; controlling the target display region to display the black image can represent that the backlight source of the target display region is in an off state, and controlling the non-target display region to display the black image can represent that the backlight source of the non-target display region is in an off state, and therefore, controlling the target display region and the non-target display region to display the black image can represent that all the backlight sources are in an off state, that is, the display displays a full black picture.
[0039] Optionally, if the target display region includes at least two sub-display regions, before controlling the target display region to display the first set image to obtain the first display image, the method further includes: selecting at least two non-adjacent sub-display regions, and determining the selected sub-display regions as the target display region. Selecting non-adjacent sub-display regions can avoid the influence of the light transmission phenomenon between adjacent backlight partitions on the detection result. As an example but not limitation, the target display region can include N / 4 non-adjacent sub-display regions, where N is the total number of sub-display regions.
[0040] At step 102, the second set image is displayed in the target display region to obtain a second display image displayed by the display; the second set image represents that the target backlight source is in the target working state.
[0041] Displaying the second set image in the target display region can represent that the backlight source of the target display region is in the target working state. Optionally, the second set image can be an image representing that the target backlight source is in the target working state. As an example but not limitation, the second set image can be a white image, or a red image or a yellow image, etc.
[0042] Optionally, displaying the second set image in the target display region to obtain the second display image includes: displaying the second set image in the target display region to obtain the second display image, while displaying the first set image in the non-target display region.
[0043] For example, the target display region includes N / 4 non-adjacent sub-display regions, the first set image is a black image, and the second set image is a white image. Please refer to Figure 2 , Figure 2 FIG. 2 is a schematic view of the second display image, in which each white image corresponds to a sub-display region.
[0044] If the backlight source of the non-target display region is in the working state, the light emitted by the backlight source of the non-target display region will penetrate into the target display region, affecting the image display effect of the target display region. Therefore, in order to make the second display image accurately reflect the actual working state of the target backlight source, the first set image can be displayed in the non-target display region, i.e., the backlight source of the non-target display region is in the non-working state (i.e., the off state).
[0045] It should be noted that the set brightness and / or the set contrast ratio can be set in advance, and the application can control the target display area to display the first set image and the second set image respectively under the condition that the brightness of the display is adjusted to the set brightness and / or the contrast ratio is adjusted to the set contrast ratio. As an example but not limitation, the set brightness can be the maximum brightness of the display, and the set contrast ratio can be the maximum contrast ratio of the display. The reason for adjusting the brightness of the display to the set brightness and / or adjusting the contrast ratio to the set contrast ratio is that there are multiple displays that need to be detected, and if the brightness and / or contrast ratio of each display is different when the backlight detection is performed, the display effect of the first display image and the second display image corresponding to each display is different. In this case, when the backlight of each display is detected based on the same detection standard, the detection result may be biased, and when the backlight of each display is detected based on at least two detection standards, the detection efficiency is low. Therefore, the brightness of each display can be adjusted to the set brightness and / or the contrast ratio can be adjusted to the set contrast ratio, which can avoid the bias of the detection result and improve the detection efficiency.
[0046] In step 103, the target backlight is abnormally detected based on the first display image and the second display image.
[0047] As an embodiment, the target backlight is abnormally detected based on the first display image and the second display image, including: obtaining the first display parameter corresponding to each sub-display area based on the first display image; obtaining the second display parameter corresponding to each sub-display area based on the second display image; for each sub-display area, obtaining the first detection result corresponding to the sub-display area according to the comparison result of the first display parameter and the first set data; the first set data is the display parameter data matched with the first set image; for each sub-display area, obtaining the second detection result corresponding to the sub-display area according to the comparison result of the second display parameter and the second set data; the second set data is the display parameter data matched with the second set image; combining the first detection result and the second detection result corresponding to each sub-display area, obtaining the abnormal detection result of the target backlight.
[0048] Optionally, the first display parameter corresponding to each sub-display area is obtained based on the first display image, and the second display parameter corresponding to each sub-display area is obtained based on the second display image, including: obtaining the position of each sub-display area contained in the target display area, after obtaining the first display image, controlling the color analyzer to move based on the position of each sub-display area to obtain the first display parameter corresponding to each sub-display area, and after obtaining the second display image, controlling the color analyzer to move based on the position of each sub-display area to obtain the second display parameter corresponding to each sub-display area.
[0049] Please refer toFigure 3 , Figure 3 A system configuration diagram of a display parameter acquisition system is shown, which includes a Mini LED display, a terminal device (such as an industrial host computer), a color analyzer, a bar code scanner, a universal serial bus (USB) to RS232 module, an industrial robot, and a USB to I2C module.
[0050] The terminal device is installed with a detection program for backlight detection of the Mini LED display, and the terminal device can transmit image, video and other data to the Mini LED display through a high definition multimedia interface (HDMI) cable 1, such as transmitting a first set image and a second set image to the Mini LED display.
[0051] The USB to I2C module converts the USB instruction sent by the terminal device through the USB cable into an I2C instruction, and informs the microcontroller unit (MCU) of the Mini LED display through the HDMI cable 2, establishes data communication between the terminal device and the Mini LED display, so that the terminal device can control the Mini LED display through the USB to I2C module, such as adjusting and controlling the brightness and / or contrast of the Mini LED display through the USB to I2C module.
[0052] It should be noted that the terminal device can also send image, video and instruction data to the Mini LED display through wireless communication methods such as Bluetooth, wireless fidelity (Wifi) and the like.
[0053] The bar code scanner can scan the whole machine bar code of the Mini LED display to obtain the identification information of the Mini LED display, and send the identification information to the terminal device through the USB cable, so that the terminal device obtains the backlight partition information of the Mini LED display according to the identification information, and determines the position of each sub-display area based on the backlight partition information. The identification information can be the model of the Mini LED display, and the backlight partition information can be the number and / or size of the backlight partitions.
[0054] The USB-to-RS232 module is used to convert the USB instruction sent by the terminal device through the USB cable into the RS232 instruction, so that the terminal device can control the movement of the industrial manipulator in each direction based on the position of each sub-display area through the RS232 cable.
[0055] The industrial manipulator is used to grab the test probe of the color analysis instrument and control the movement of the test probe.
[0056] The color analysis instrument is used to obtain the display parameters based on the data collected by the test probe and send the display parameters to the terminal device through the USB cable.
[0057] Optionally, based on the first display image, the first display parameter corresponding to each sub-display area is obtained; based on the second display image, the second display parameter corresponding to each sub-display area is obtained, and the method further comprises: obtaining a first photographed image, which can be an image obtained by photographing the first display image in the display through a photographing device; obtaining a second photographed image, which can be an image obtained by photographing the second display image in the display through the photographing device; and using an image processing algorithm to analyze the first photographed image and the second photographed image respectively to obtain the first display parameter and the second display parameter corresponding to each sub-display area.
[0058] Taking the first photographed image as a Red Green Blue (RGB) image as an example, how to obtain the display parameters, i.e., how to obtain the brightness and the color temperature, is described.
[0059] The brightness can be calculated by the algorithm of the gray mean value, i.e., the first photographed image is converted into a gray image, the gray mean value corresponding to each sub-display area is calculated based on the gray image, and the gray mean value is determined as the brightness.
[0060] The RGB value of each pixel point corresponding to each sub-display area can be obtained, the red channel mean value is calculated based on the R value of each pixel point, the green channel mean value is calculated based on the G value of each pixel point, and the blue channel mean value is calculated based on the B value of each pixel point, the red channel mean value, the green channel mean value, and the blue channel mean value are converted into tristimulus values by using a conversion matrix, the tristimulus values are brought into a chromaticity coordinate calculation formula to obtain the chromaticity coordinates, and the color temperature of the corresponding sub-display area is obtained based on the chromaticity coordinates.
[0061] The setting data can be the display parameter data corresponding to the display image displayed by the target display area when the backlight source of the display is normal, and the display parameter can be at least one of the brightness and the color temperature, and the display parameter data can be the setting display parameter or the setting display parameter interval.
[0062] Optionally, for each sub-display region, a corresponding first detection result is obtained according to a comparison result of the first display parameter and the first setting data, including:
[0063] If the first setting data is a first setting display parameter, the first display parameter is compared with the first setting display parameter, if the first display parameter is same as the first setting display parameter, it is determined that the backlight source of the sub-display region is normal, if the first display parameter is not same as the first setting display parameter, it is determined that the backlight source of the sub-display region is abnormal.
[0064] If the first setting data is a first setting display parameter interval, the first display parameter is compared with the first setting display parameter interval, if the first display parameter is located in the first setting display parameter interval, it is determined that the backlight source of the sub-display region is normal, if the first display parameter is not located in the first setting display parameter interval, it is determined that the backlight source of the sub-display region is abnormal.
[0065] Optionally, for each sub-display region, a corresponding second detection result is obtained according to a comparison result of the second display parameter and the second setting data, including:
[0066] If the second setting data is a second setting display parameter, the second display parameter is compared with the second setting display parameter, if the second display parameter is same as the second setting display parameter, it is determined that the backlight source of the sub-display region is normal, if the second display parameter is not same as the second setting display parameter, it is determined that the backlight source of the sub-display region is abnormal.
[0067] If the second setting data is a second setting display parameter interval, the second display parameter is compared with the second setting display parameter interval, if the second display parameter is located in the second setting display parameter interval, it is determined that the backlight source of the sub-display region is normal, if the second display parameter is not located in the second setting display parameter interval, it is determined that the backlight source of the sub-display region is abnormal.
[0068] It should be noted that, if the display parameter is luminance and color temperature, the backlight source of the sub-display region can be determined to be normal when the luminance value is same as the setting luminance value and the color temperature value is same as the setting color temperature value; or the backlight source of the sub-display region can be determined to be normal when the luminance value is located in the setting luminance value interval and the color temperature value is located in the setting color temperature value interval.
[0069] Optionally, the abnormal detection result of the target backlight source is obtained in combination with the first detection result and the second detection result corresponding to each sub-display area, including: for each sub-display area, determining whether the first detection result is a detection result indicating backlight source abnormality to obtain a corresponding first determination result, and determining whether the second detection result is a detection result indicating backlight source abnormality to obtain a corresponding second determination result; obtaining a region detection result of the corresponding sub-display area according to the first determination result and the second determination result; and obtaining the abnormal detection result according to the region detection result of each sub-display area. The region detection result can represent a detection result obtained after the backlight source corresponding to a sub-display area is subjected to abnormal detection.
[0070] For each sub-display area, if there is a detection result indicating backlight source abnormality in the first detection result and the second detection result corresponding to the sub-display area, a region detection result indicating backlight source abnormality can be obtained; if there is no detection result indicating backlight source abnormality in the first detection result and the second detection result corresponding to the sub-display area, a region detection result indicating no backlight source abnormality can be obtained.
[0071] For example, the backlight source of a certain sub-display area cannot be turned off, and when the first set image is controlled to be displayed, the second set image is actually displayed, and when the second set image is controlled to be displayed, the second set image is still actually displayed. At this time, the first detection result obtained according to the first display parameter indicates backlight source abnormality, and the second detection result obtained according to the second display parameter indicates no backlight source abnormality, and there is a detection result indicating backlight source abnormality in the first detection result and the second detection result, so it can be determined that the backlight source of the sub-display area is abnormal.
[0072] Based on the above steps of obtaining the region detection result of each sub-display area, it can be determined whether the backlight source at the corresponding position has light emission abnormality (brightness abnormality and / or color temperature abnormality) and switching control abnormality (control abnormality of turning on and off the backlight source). Taking brightness as an example, if the brightness value is not located in the set brightness value interval, it can be indicated that the brightness of the backlight source is too bright or too dark.
[0073] Optionally, the abnormal detection result is obtained according to the region detection result of each sub-display area, including: if the region detection result of M sub-display areas indicates backlight source abnormality, the obtained abnormal detection result indicates that the target backlight source is abnormal. M is a positive integer set in advance, and optionally, M can be 1.
[0074] Optionally, according to the region detection result of each sub-display area, the number and position of the sub-display areas with backlight source abnormality can also be obtained.
[0075] As another implementation, the abnormality detection on the target backlight source based on the first display image and the second display image comprises: obtaining the first display parameter corresponding to each sub-display region based on the first display image; obtaining the second display parameter corresponding to each sub-display region based on the second display image; for each sub-display region, judging whether the first display parameter and the second display parameter are the same, if yes, determining that the backlight source of the sub-display region is abnormal, if not, determining that the backlight source of the sub-display region is normal. The abnormality detection according to this implementation can detect whether the on-off control of the backlight source of each sub-display region is abnormal.
[0076] The application controls the target display region to display a first set image, and obtains a first display image displayed by the display; the target display region comprises at least one sub-display region, one sub-display region corresponds to one backlight partition of the display, and the first set image indicates that the target backlight source corresponding to the target display region is in a non-working state; the target display region is controlled to display a second set image, and a second display image displayed by the display is obtained; the second set image indicates that the target backlight source is in a target working state; and the abnormality detection on the target backlight source is performed based on the first display image and the second display image. Compared with the method of detecting the abnormality of the backlight source by observing the display effect of the partitioned backlight display through the human eye, the first display image and the second display image in the application can indicate the actual working condition of the target backlight source, and therefore, the accuracy of the abnormality detection on the backlight source according to the first display image and the second display image actually displayed by the display is higher, and the detection efficiency is also higher.
[0077] It should be noted that after the abnormality detection on the target backlight source of the target display region, the target display region can be re-determined until all the sub-display regions in the display complete the abnormality detection on the backlight. If the target display region comprises one sub-display region, as an example but not limitation, each sub-display region can be controlled to display the set image in turn in the order from left to right and from top to bottom, and the display image is obtained. If the target display region comprises at least two sub-display regions, for example, N / 4 non-adjacent sub-display regions are contained, N / 4 non-adjacent sub-display regions are selected to determine the target display region after each detection is completed. As an example, each sub-display region can be selected once, and if the distribution of the N / 4 non-adjacent sub-display regions selected at a certain time and the distribution of the N / 4 non-adjacent sub-display regions selected at the previous time are the same, the abnormality detection on the backlight source of all the sub-display regions in the display can be completed after four second display images are obtained. Figure 2
[0078] It should be understood that the size of the serial number of each step in the above embodiments does not mean the order of execution, and the execution order of each process should be determined according to its function and inherent logic, and should not constitute any limitation on the implementation process of the embodiments of the application.
[0079] Embodiment Two
[0080] Please refer to Figure 4 , Figure 4 A schematic flow of a backlight detection method provided in the application is shown.
[0081] Step 401, control the target display area to display a first set image, and obtain a first display image displayed by the display;
[0082] Step 402, control the target display area to display a second set image, and obtain a second display image displayed by the display;
[0083] The related content in steps 401-402 can be referred to the related description in steps 101-102.
[0084] Step 403, control the target display area to display a third set image, and obtain a third display image displayed by the display;
[0085] The third set image represents that the target backlight is in another working state, and the another working state is different from the target working state.
[0086] Optionally, the target working state can refer to a state in which the target backlight works at maximum brightness, and the another working state can refer to a state in which the target backlight works at another brightness (brightness other than the maximum brightness).
[0087] Optionally, the third set image can be an image different from the first set image and the second set image. For example, the second set image is a white image, and the third set image can be a gray-white image. The third set image can also be an image different from the first set image and the second set image. For example, the first set image is a black image, and the second set image is a white image, and the third set image can be a green image or a blue image, etc.
[0088] Step 404, perform abnormal detection on the target backlight based on the first display image, the second display image and the third display image.
[0089] Optionally, performing abnormal detection on the target backlight based on the first display image, the second display image and the third display image includes: obtaining a third display parameter corresponding to each sub-display area based on the third display image; for each sub-display area, obtaining a corresponding third detection result according to a comparison result of the third display parameter and third set data, and determining whether the third detection result is a detection result indicating backlight abnormality to obtain a corresponding third determination result; the third set data is display parameter data matched with the third set image; and obtaining a region detection result according to the first determination result, the second determination result and the third determination result.
[0090] The first judgment result and the second judgment result can be understood with reference to the related description in Embodiment One.
[0091] For each sub-display region, if there is a detection result indicating abnormality of the backlight in the corresponding first detection result, second detection result and third detection result, a region detection result indicating abnormality of the backlight can be obtained; if there is no detection result indicating abnormality of the backlight in the corresponding first detection result, second detection result and third detection result, a region detection result indicating no abnormality of the backlight can be obtained.
[0092] Based on the region detection result of each sub-display region obtained in this embodiment, it can also be detected whether the working state control of the backlight at the corresponding position is abnormal (whether the working state of the backlight changes with the change of the control). For example, the pre-set control instruction is to control the target display region to display a black image, a white image and a gray-white image in sequence, but the actual images displayed by the target display region are a black image, a white image and a white image in sequence, at this time, the target backlight has working state control abnormality.
[0093] The present application controls the target display region to display a first set image, a second set image and a third set image in sequence, respectively obtains a first display image, a second display image and a third display image, and based on the first display image, the second display image and the third display image, detects the abnormality of the target backlight. Not only the light-emitting abnormality detection and the on-off control abnormality detection of the target backlight can be performed, but also the working state control abnormality detection of the target backlight can be performed.
[0094] Embodiment Three:
[0095] Please refer to Figure 5 , Figure 5 The schematic structure of a backlight detection device provided by the present application is shown. For the convenience of description, only the parts related to the embodiments of the present application are shown in the figure.
[0096] With reference to Figure 5 The device comprises a first control module 51, a second control module 52 and an abnormality detection module 53; the specific functions of each module are as follows:
[0097] The first control module 51 is used for controlling the target display region to display a first set image, and obtaining a first display image displayed by the display; the target display region comprises at least one sub-display region, one sub-display region corresponds to one backlight partition of the display, and the first set image indicates that the target backlight corresponding to the target display region is in a non-working state;
[0098] The second control module 52 is configured to control the target display area to display a second setting image, so as to obtain a second display image displayed by the display; and the second setting image indicates that the target backlight source is in a target working state.
[0099] The anomaly detection module 53 is configured to perform anomaly detection on the target backlight source based on the first display image and the second display image.
[0100] Optionally, the anomaly detection module 53 is specifically configured to: acquire, based on the first display image, a first display parameter corresponding to each sub-display area; acquire, based on the second display image, a second display parameter corresponding to each sub-display area; for each sub-display area, obtain a first detection result corresponding to the sub-display area according to a comparison result of the first display parameter and first setting data; the first setting data is display parameter data matched with the first setting image; for each sub-display area, obtain a second detection result corresponding to the sub-display area according to a comparison result of the second display parameter and second setting data; the second setting data is display parameter data matched with the second setting image; and combine the first detection result and the second detection result corresponding to each sub-display area to obtain an anomaly detection result of the target backlight source.
[0101] Optionally, the anomaly detection module 53 is specifically configured to: for each sub-display area, judge whether the first detection result is a detection result indicating backlight source anomaly to obtain a first judgment result, and judge whether the second detection result is a detection result indicating backlight source anomaly to obtain a second judgment result; obtain a region detection result of the corresponding sub-display area according to the first judgment result and the second judgment result; and obtain the anomaly detection result according to the region detection result of each sub-display area.
[0102] Optionally, the apparatus further comprises a third control module, the third control module being configured to control the target display area to display a third setting image, so as to obtain a third display image displayed by the display; and the third setting image indicates that the target backlight source is in another working state, and the another working state is different from the target working state.
[0103] Optionally, the anomaly detection module 53 is specifically configured to: acquire, based on the third display image, a third display parameter corresponding to each sub-display area; for each sub-display area, obtain a third detection result corresponding to the sub-display area according to a comparison result of the third display parameter and third setting data, and judge whether the third detection result is a detection result indicating backlight source anomaly to obtain a third judgment result; the third setting data is display parameter data matched with the third setting image; and obtain the region detection result according to the first judgment result, the second judgment result and the third judgment result.
[0104] Optionally, the first control module 51 is specifically used to: control the target display area and the non-target display area to display a first set image, thereby obtaining a first display image.
[0105] Optionally, the second control module 52 is specifically used to: control the target display area to display a second set image when the first set image is displayed in the non-target display area, thereby obtaining a second display image.
[0106] Optionally, if the target display area contains at least two sub-display areas, the device further includes a determining module for selecting at least two non-adjacent sub-display areas and determining the selected sub-display areas as the target display area before controlling the target display area to display a first set image and obtaining the first display image.
[0107] The backlight detection device provided in this application embodiment can be applied in the aforementioned method embodiment one and embodiment two. For details, please refer to the description of the aforementioned method embodiment one and embodiment two, which will not be repeated here.
[0108] Example 4:
[0109] Please see Figure 6 , Figure 6 A schematic structure of a terminal device according to an embodiment of this application is shown. The terminal device 6 of this embodiment includes: at least one processor 60 ( Figure 6 Only one is shown in the diagram), memory 61, and computer program 62 stored in memory 61 and executable on at least one processor 60. When processor 60 executes computer program 62, it implements the steps of a backlight detection method in Embodiments 1 and 2 described above.
[0110] The terminal device 6 can be a computing device such as an industrial control host, desktop computer, laptop, handheld computer, or cloud server. The terminal device 6 may include, but is not limited to, a processor 60 and a memory 61. Those skilled in the art will understand that... Figure 6 This is merely an example of terminal device 6 and does not constitute a limitation on it. It may include more or fewer components than shown, or combine certain components, or different components. For example, it may also include input / output devices, network access devices, etc. If terminal device 6 is a cloud server, it can establish communication with a Mini LED display, color analyzer, barcode scanner, and industrial robot via wireless communication to form a display parameter acquisition system.
[0111] The processor 60 can be a central processing unit (CPU), and can also be other general-purpose processors, a digital signal processor (DSP), an application specific integrated circuit (ASIC), a field-programmable gate array (FPGA) or other programmable logic device, discrete gate or transistor logic, discrete hardware components, etc. The general-purpose processor can be a microprocessor or the processor can also be any conventional processor.
[0112] The memory 61 can be an internal storage unit of the terminal device 6 in some embodiments, for example, a hard disk or a memory of the terminal device 6. The memory 61 can also be an external storage device of the terminal device 6 in other embodiments, for example, a plug-in hard disk, a smart media card (SMC), a secure digital (SD) card, a flash card, etc. Further, the memory 61 can include both the internal storage unit and the external storage device of the terminal device 6. The memory 61 is used to store an operating system, an application program, a boot loader, data and other programs, for example, program codes of the computer program, etc. The memory 61 can also be used to temporarily store data that has been output or is to be output.
[0113] It should be noted that the information interaction, execution process, etc. between the above apparatuses / units can be based on the same concept as the method embodiments of the present application, and the specific functions and the technical effects brought by the specific functions can be referred to the method embodiments part, which will not be described here in detail.
[0114] Those skilled in the art can clearly understand that, for the convenience and brevity of description, only the above-mentioned division of each functional unit and module is exemplified, and in actual application, the above-mentioned functions can be completed by different functional units and modules according to needs, that is, the internal structure of the device is divided into different functional units or modules to complete all or part of the functions described above. Each functional unit and module in the embodiment can be integrated in one processing unit, or each unit can be physically present separately, or two or more units can be integrated in one unit. The integrated unit can be realized in the form of hardware or software function unit. In addition, the specific name of each functional unit and module is only for easy distinction, and does not limit the protection scope of the application. The specific working process of the unit and module in the above system can refer to the corresponding process in the foregoing method embodiment, which will not be described here.
[0115] The computer program stored in the computer readable storage medium is executed by the processor to realize the steps in each of the above method embodiments.
[0116] The integrated unit, if realized in the form of a software function unit and sold or used as an independent product, can be stored in a computer readable storage medium. Based on this understanding, all or part of the processes in the above embodiment methods can be completed by a computer program instructing related hardware, and the computer program can be stored in a computer readable storage medium. The computer program is executed by the processor to realize the steps of each of the above method embodiments. The computer program includes computer program code, which can be in the form of source code, object code, executable file or some intermediate form. The computer readable medium at least includes any entity or device capable of carrying the computer program code to the terminal device, recording medium, computer memory, read-only memory (ROM), random access memory (RAM), electrical carrier signal, telecommunication signal and software distribution medium. For example, U disk, mobile hard disk, magnetic disk or optical disk, etc. In some jurisdictions, according to legislation and patent practice, the computer readable medium cannot be an electrical carrier signal and a telecommunication signal.
[0117] In the above embodiments, the description of each embodiment has its own emphasis, and the parts not described or recorded in detail in a certain embodiment can be referred to the relevant description of other embodiments.
[0118] Those skilled in the art can understand that the units and algorithm steps of each example described in combination with the embodiments disclosed herein can be realized in electronic hardware or a combination of computer software and electronic hardware. Whether the functions are performed in hardware or software depends on the specific application and design constraints of the technical solution. Those skilled in the art can use different methods to implement the described functions for each specific application, but such implementation should not be considered beyond the scope of the present application.
[0119] In the embodiments provided in the present application, it should be understood that the disclosed apparatus / terminal device and method can be implemented by other ways. For example, the apparatus / terminal device embodiments described above are only schematic, and for example, the division of the modules or units is only a logical function division, and there can be another division manner in actual implementation, for example, a plurality of units or components can be combined or integrated into another system, or some features can be ignored or not executed. In addition, the displayed or discussed mutual couplings or direct couplings or communication connections between the units can be indirect couplings or communication connections through some interfaces, devices or units, and can be electrical, mechanical or other forms.
[0120] The units described as separate components can or can not be physically separate, and the components shown as units can or can not be physical units, i.e., can be located in one place, or can be distributed on a plurality of network units. Part or all of the units can be selected according to actual needs to achieve the purpose of the embodiments.
[0121] The above-described embodiments are only used to illustrate but not limit the technical solutions of the present application; even though the present application has been described in detail with reference to the foregoing embodiments, those skilled in the art should understand that the technical solutions recorded in the foregoing embodiments can be modified, or some technical features can be replaced by equivalent replacements; and these modifications or replacements do not make the corresponding technical solutions deviate from the spirit and scope of the technical solutions of the embodiments of the present application, and should be included in the protection scope of the present application.
Claims
1. A backlight detection method, characterized by, The method comprises: controlling a target display area to display a first set image to obtain a first display image displayed by a display; the target display area comprises at least one sub-display area, one of the sub-display areas corresponds to one backlight partition of the display, and the first set image indicates that a target backlight source corresponding to the target display area is in a non-working state; controlling the target display area to display a second set image to obtain a second display image displayed by the display; the second set image indicates that the target backlight source is in a target working state; controlling the target display area to display a third set image to obtain a third display image displayed by the display; the third set image indicates that the target backlight source is in another working state different from the target working state; acquiring a first display parameter corresponding to each of the sub-display areas based on the first display image; acquiring a second display parameter corresponding to each of the sub-display areas based on the second display image; acquiring a third display parameter corresponding to each of the sub-display areas based on the third display image; for each of the sub-display areas, obtaining a first detection result corresponding to the sub-display area according to a comparison result of the first display parameter and first set data; the first set data is display parameter data matched with the first set image; for each of the sub-display areas, obtaining a second detection result corresponding to the sub-display area according to a comparison result of the second display parameter and second set data; the second set data is display parameter data matched with the second set image; for each of the sub-display areas, obtaining a third detection result corresponding to the sub-display area according to a comparison result of the third display parameter and third set data; the third set data is display parameter data matched with the third set image; combining the first detection result, the second detection result and the third detection result corresponding to each of the sub-display areas to obtain an abnormal detection result of the target backlight source; if the target display area comprises at least two sub-display areas, controlling the at least two sub-display areas comprised in the target display area to simultaneously display the first set image, the second set image or the third set image.
2. The method of claim 1, wherein, The combining the first detection result, the second detection result and the third detection result corresponding to each of the sub-display areas to obtain the abnormal detection result of the target backlight source comprises: for each of the sub-display areas, judging whether the first detection result is a detection result indicating backlight source abnormality to obtain a first judgment result, judging whether the second detection result is a detection result indicating backlight source abnormality to obtain a second judgment result, and judging whether the third detection result is a detection result indicating backlight source abnormality to obtain a third judgment result; obtaining a region detection result of the corresponding sub-display area according to the first judgment result, the second judgment result and the third judgment result; obtaining the abnormal detection result according to the region detection result of each of the sub-display areas.
3. The method of claim 1, wherein, The control target display area displays a first set image to obtain a first display image, comprising: The target display area and non-target display area display the first set image to obtain the first display image.
4. The method of claim 1, wherein, The control target display area displays a second set image to obtain a second display image, comprising: The target display area displays the second set image to obtain the second display image under the condition that the non-target display area displays the first set image.
5. The method according to any one of claims 1 to 4, characterized in that, If the target display area contains at least two sub-display areas, before the control target display area displays a first set image to obtain a first display image, comprising: Select at least two non-adjacent sub-display areas and determine the selected sub-display areas as the target display area.
6. A backlight detection apparatus, characterized by comprising: The device for implementing the backlight detection method according to any one of claims 1-5, comprising: A first control module for controlling a target display area to display a first set image to obtain a first display image displayed by the display; the target display area contains at least one sub-display area, one sub-display area corresponds to one backlight partition of the display, and the first set image indicates that a target backlight source corresponding to the target display area is in a non-working state; A second control module for controlling the target display area to display a second set image to obtain a second display image displayed by the display; the second set image indicates that the target backlight source is in a target working state; A third control module for controlling the target display area to display a third set image to obtain a third display image displayed by the display; the third set image indicates that the target backlight source is in another working state, which is different from the target working state; An abnormality detection module for performing abnormality detection on the target backlight source based on the first display image, the second display image and the third display image.
7. A terminal device comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, characterized in that, The processor executes the computer program to implement the method according to any one of claims 1-5.
8. A computer-readable storage medium storing a computer program, the computer program comprising instructions that, when executed by a computer, cause the computer to perform the method of any one of claims 1 to 7. The computer program is executed by the processor to implement the method according to any one of claims 1-5.
Citation Information
Patent Citations
Multi-partition dynamic backlight detection method, multi-partition dynamic backlight detection device and liquid crystal display television
CN105070241A