Screen detection method, device, display device and computer program product

By using a detection template in the display device to detect screen data, determine the number of target data blocks, and activate the screen detection function when specific conditions are met, the problem of excessive storage cost during screen detection in the prior art is solved, and a more efficient storage and detection process is achieved.

CN119207261BActive Publication Date: 2025-02-28HKC CORP LTD
View PDF 2 Cites 0 Cited by

Patent Information

Application Number
CN202411730668.1
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2024-11-29
Publication Date
2025-02-28
Estimated Expiration
2044-11-29

AI Technical Summary

Technical Problem

The prior art requires occupancy of a large number of line buffers during screen detection, resulting in excessive storage costs.

Method used

By storing the detection template in the display device, acquiring screen data and detecting it according to the template, recording the number and position of the target data units, processing multiple rows of data in sequence, determining the number of target data blocks, and activating the screen detection function when a specific condition is met.

Benefits of technology

The storage cost during screen detection is reduced, and the storage efficiency is improved by reducing dependence on the line cache area.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119207261B_ABST
    Figure CN119207261B_ABST
Patent Text Reader

Abstract

The present application provides a method, apparatus, display device and computer program product for image detection, wherein the method comprises acquiring first image data; detecting the first image data according to a first detection unit in a detection template, and recording the number of detected target data units and the target position corresponding to the first detected target data unit in the row direction when a target data unit is detected; sequentially acquiring N-1 rows of second image data after the first image data, and after each row of second image data is acquired, detecting the second image data from the target position according to the corresponding detection unit, and recording the number of detected target data units; determining the number of target data blocks according to the number of target data units corresponding to the recorded first image data and each second image data. The technical solution provided by the present application can reduce the storage cost during image detection.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the field of display technology, and in particular to a picture detection method, apparatus, display device and computer program product. Background Art

[0002] When a thin film transistor liquid crystal display (TFT-LCD) is driven, the VCOM of the common electrode is easily interfered by the data line, resulting in voltage jitter, which in turn causes crosstalk in the display screen.

[0003] In the prior art, a pattern detection function (PDF) is usually used to improve the crosstalk problem. Before determining whether to start the PDF function, the display screen needs to be detected by a timing controller. However, when detecting the display screen, a large line buffer area is required to load the screen data, resulting in excessively high storage costs. Summary of the invention

[0004] In view of this, embodiments of the present application provide a picture detection method, apparatus, display device, and computer program product for reducing storage costs during picture detection.

[0005] In order to achieve the above-mentioned purpose, in a first aspect, an embodiment of the present application provides a screen detection method, which is applied to a display device, wherein the display device stores a detection template, and the method comprises:

[0006] Acquire first picture data; the first picture data includes a line of picture data to be detected in the detection area;

[0007] The first picture data is detected according to the first detection unit in the detection template, and when a target data unit is detected, the number of the detected target data units and the target position corresponding to the first detected target data unit in the row direction are recorded; wherein the detection template includes N detection units arranged along the column direction, each detection unit includes grayscale thresholds corresponding to a plurality of adjacent pixels in the row direction; the target data unit is a pixel unit in the picture data that matches the detection unit used during detection;

[0008] Sequentially acquiring N-1 lines of second screen data following the first screen data, after each line of second screen data is acquired, detecting the second screen data from the target position according to the corresponding detection unit, and recording the number of detected target data units; wherein the N-1 lines of second screen data correspond one-to-one to the last N-1 detection units in the detection template;

[0009] The number of target data blocks is determined according to the number of target data units corresponding to the recorded first picture data and each second picture data; the target data blocks are pixel blocks in the picture data that match the detection template.

[0010] In a possible implementation manner of the first aspect, the number of the target data blocks is a minimum value of the number of target data units corresponding to the recorded first picture data and each second picture data.

[0011] In a possible implementation of the first aspect, the received picture data is stored in the target storage area, and a subsequent row of picture data overwrites a previous row of picture data.

[0012] In a possible implementation manner of the first aspect, after detecting the first picture data according to a first detection unit in a detection template, the method further includes:

[0013] When the target data unit is not detected and the detection area is not completely detected, the process returns to the step of acquiring the first frame data.

[0014] In a possible implementation manner of the first aspect, the method further includes: determining a total number of the target data blocks after the detection area is detected;

[0015] When the total number of the target data blocks meets the target condition, the picture detection function is started.

[0016] In a possible implementation manner of the first aspect, the target condition includes: a ratio of a total number of target data blocks to a total number of pixel blocks included in the detection area is greater than a target ratio.

[0017] In a second aspect, an embodiment of the present application provides a picture detection device, including: an acquisition module, a detection module and a determination module.

[0018] The acquisition module is used to: acquire first picture data; the first picture data includes a line of picture data to be detected in the detection area;

[0019] The detection module is used to detect the first screen data according to the first detection unit in the detection template, and when a target data unit is detected, record the number of the detected target data units and the target position corresponding to the first detected target data unit in the row direction; wherein the detection template includes N detection units arranged along the column direction, each detection unit includes grayscale thresholds corresponding to a plurality of adjacent pixels in the row direction; the target data unit is a pixel unit in the screen data that matches the detection unit used during detection;

[0020] The detection module is further used to: sequentially acquire N-1 lines of second picture data following the first picture data, and after each line of second picture data is acquired, detect the second picture data from the target position according to the corresponding detection unit, and record the number of detected target data units; wherein the N-1 lines of second picture data correspond one-to-one to the last N-1 detection units in the detection template;

[0021] The determination module is used to determine the number of target data blocks according to the number of target data units corresponding to the recorded first picture data and each second picture data; the target data block is a pixel block in the picture data that matches the detection template.

[0022] In a possible implementation manner of the second aspect, the number of the target data blocks is a minimum value of the number of target data units corresponding to the recorded first picture data and each second picture data.

[0023] In a possible implementation of the second aspect, the received picture data is stored in the target storage area, and a subsequent row of picture data overwrites a previous row of picture data.

[0024] In a possible implementation manner of the second aspect, the detection module is further used to:

[0025] When the target data unit is not detected and the detection area is not completely detected, the process returns to the step of acquiring the first frame data.

[0026] In a possible implementation manner of the second aspect, the determination module is further configured to: determine a total number of the target data blocks when the detection area is detected.

[0027] In a possible implementation manner of the second aspect, the device further includes a starting module, wherein the starting module is configured to:

[0028] When the total number of the target data blocks meets the target condition, the picture detection function is started.

[0029] In a possible implementation manner of the second aspect, the target condition includes: a ratio of a total number of target data blocks to a total number of pixel blocks included in the detection area is greater than a target ratio.

[0030] In a third aspect, an embodiment of the present application provides a display device, including: a memory and a processor, the memory being used to store a computer program; the processor being used to execute the method described in the first aspect or any one of the implementations of the first aspect when calling the computer program.

[0031] In a fourth aspect, an embodiment of the present application provides a computer program product. When the computer program product is executed on a display device, the display device executes the picture detection method described in any one of the first aspects.

[0032] In a fifth aspect, an embodiment of the present application provides a computer-readable storage medium having a computer program stored thereon, and when the computer program is executed by a processor, the method described in the first aspect or any one of the embodiments of the first aspect is implemented.

[0033] An embodiment of the present application provides a screen detection method, apparatus, display device, and computer program product, wherein the method is applied to a display device, the display device stores a detection template, and the method includes:

[0034] Acquire first picture data; the first picture data includes a row of picture data to be detected in the detection area; detect the first picture data according to the first detection unit in the detection template, and when a target data unit is detected, record the number of detected target data units and the target position corresponding to the first detected target data unit in the row direction; wherein the detection template includes N detection units arranged along the column direction, each detection unit includes grayscale thresholds corresponding to a plurality of adjacent pixels in the row direction; the target data unit is a grayscale threshold in the picture data that matches the detection unit used in the detection. pixel unit; sequentially obtain N-1 rows of second screen data after the first screen data, after each row of second screen data is obtained, detect the second screen data from the target position according to the corresponding detection unit, and record the number of detected target data units; wherein the N-1 rows of second screen data correspond one-to-one to the last N-1 detection units in the detection template; determine the number of target data blocks according to the number of target data units corresponding to the recorded first screen data and each second screen data; the target data block is a pixel block in the screen data that matches the detection template. The technical solution provided by the present application can reduce the storage cost during screen detection. BRIEF DESCRIPTION OF THE DRAWINGS

[0035] Figure 1 A schematic diagram of starting the PDF function in the prior art provided in an embodiment of the present application;

[0036] Figure 2 A schematic diagram of a detection grid in the prior art provided in an embodiment of the present application;

[0037] Figure 3 A schematic diagram of a method flow for image detection provided in an embodiment of the present application;

[0038] Figure 4 A schematic diagram of a detection template provided in an embodiment of the present application;

[0039] Figure 5 A schematic diagram of a detection template detecting a detection area provided in an embodiment of the present application;

[0040] Figure 6 A schematic diagram of the structure of a picture detection device provided in an embodiment of the present application;

[0041] Figure 7 A schematic diagram of the structure of a display device provided in an embodiment of the present application. DETAILED DESCRIPTION

[0042] The embodiments of the present application are described below in conjunction with the drawings in the embodiments of the present application. The terms used in the implementation method section of the embodiments of the present application are only used to explain the specific embodiments of the present application, and are not intended to limit the present application. The following specific embodiments can be combined with each other, and the same or similar concepts or processes may not be repeated in some embodiments.

[0043] Compared with traditional CRT (Cathode Ray Tube) and plasma, LCD display devices have the advantages of low power consumption, and compared with traditional CRT, LCD display devices also perform well in environmental protection. This is because there are no high-voltage components like CRT inside the LCD display device, so there will be no excessive radioactive rays caused by high voltage. The display area of ​​the LCD display device itself has no radiation at all, only a small amount of electromagnetic waves from the driving circuit. In actual production, as long as the shell is strictly sealed, electromagnetic interference (EMI) can be reduced, so its radiation index is generally lower than that of CRT. The LCD display has a large visible area. The LCD display device controls the state of liquid crystal molecules through the electrodes on the display panel to achieve the display purpose. Even if the screen is enlarged, its volume will not increase proportionally, and it is much lighter in weight than traditional display devices with the same display area. The weight of the LCD display device is about 1 / 3 of that of the traditional display device, so the LCD display device is also called a cold display device or an environmentally friendly display device. At present, the LCD display device is developing towards higher resolution, higher display quality, and larger size.

[0044] When a thin film transistor liquid crystal display (TFT-LCD) drives a display panel to display a picture, the driving mode can be a line-by-line drive. When the display panel is working, a scan signal is applied to the scan line, and when the scan signal is at a high level, the switch circuit can be turned on. A grayscale voltage is applied to the data line so that the data line can write the grayscale voltage to the corresponding pixel unit through the switch circuit to charge the pixel unit. When the display panel displays a frame of an image, starting from the first scan line, multiple scan lines output scan signals line by line to control multiple pixel units to emit light line by line. Each pixel unit includes a liquid crystal capacitor Clc and a storage capacitor Cst. The input end of the pixel unit is connected to the output end of the corresponding TFT, the control end of the TFT is connected to the scan line responsible for transmitting the switch signal, and the input end of the TFT is connected to the data line responsible for transmitting the data signal. One end of Cst and Clc is a pixel electrode, and the other end is a common line (VCOM).

[0045] When the display panel displays one or more lines, the superposition of the grayscale voltages of all data lines with positive and negative polarity in a line will affect VCOM (the current line data generally only affects the data of this line and the previous line). If the polarity is +, the VCOM voltage will jitter upwards, and if the polarity is -, the VCOM voltage will jitter downwards. This jitter can easily cause crosstalk between the common line and the data line, causing the screen to display too bright or too dark, resulting in abnormal picture problems, thereby affecting the actual display of the picture and causing poor quality.

[0046] In the prior art, PDF function is usually used to solve this problem, see Figure 1 and Figure 2 The black and white interval area in the middle will cause abnormal display of the surrounding area. At this time, it is necessary to change the display mode of the display screen. In LCD display technology, the display polarity of the data will be changed to eliminate the display abnormality. The specific method is to design a minimum detection grid inside the TCON, such as Figure 2 The 2*2 detection grids in the image are detected, and then the grayscale of the smallest detection grid is detected to see if it is consistent with the grayscale of the display data. If they are consistent, it is calculated as 1 (the thick dashed box in the figure), otherwise it is calculated as 0 (the thin dashed box in the figure). After the entire screen is detected, the number of 1s is calculated to see if it exceeds the preset number, so as to determine whether to enable the PDF function.

[0047] According to the above method, when the smallest square is compared, it will take up at least two lines of line buffer to receive display data, and then calculate the total number of hit squares within the two lines. If calculated at a resolution of 3840*2160, 2*3840 data will need to be stored, which consumes a lot of memory. In addition to 2*2, there are even 4*4, 6*6 and even more squares, which will occupy more space in the line buffer. In order to meet the storage requirements, a large wafer is required for manufacturing when preparing TCON, which increases the cost of TCON.

[0048] In view of this, an embodiment of the present application provides a picture detection method, which can save storage space when loading picture data, thereby reducing storage costs.

[0049] In order to facilitate understanding of the technical solutions in the embodiments of the present application, some of the terms involved in the embodiments of the present application are first explained below:

[0050] Picture data: Picture data includes image information of multiple frames. In one frame, the picture data includes at least the grayscale of each sub-pixel.

[0051] Detection area: The detection area is part or all of the display screen.

[0052] Grayscale: Each pixel on the display panel of the display device has a corresponding grayscale value, which represents the brightness of the light emitted by the pixel. Usually, the grayscale value is a value between 0 and 255, and the higher the value, the higher the brightness. In addition, it can be understood that the grayscale value of each pixel in the display panel changes dynamically.

[0053] The picture detection method provided in the embodiment of the present application is explained in detail below.

[0054] In specific implementation, Figure 3 The method shown is implemented and can be applied to a display device that stores a detection template. Figure 3 A schematic diagram of a method flow for image detection provided in an embodiment of the present application is shown in FIG. Figure 3 As shown, the method comprises the following steps:

[0055] Step S110: Acquire first picture data.

[0056] Taking the timing controller (TCON) receiving the first picture data as an example, TCON can be the main control chip of the display device, which can receive the picture data from the front-end chip, and convert the received picture data into a synchronous line control signal and a data output signal, etc., to realize the picture display. Among them, the front-end chip includes but is not limited to a mainboard chip or a system-on-chip (System on Chip, SOC). In a frame of the picture, the first picture data may include a line of picture data to be detected in the detection area, and the picture data may be used to form a digital signal of the picture, and may at least include the grayscale of each pixel, etc.

[0057] S120: Detect the first frame data according to a first detection unit in the detection template.

[0058] The detection template may include N detection units arranged along the column direction, where N is a positive integer greater than 1, and each detection unit may include grayscale thresholds corresponding to a plurality of adjacent pixels in the row direction. The detection template may be a 2*2, 4*4, or 6*6 grid template, see Figure 4 , below, a 2*2 square template is taken as an example, where N is 2. The template can be split into two detection units arranged along the column direction, namely the first detection unit a and the second detection unit b. Each detection unit includes two pixels corresponding to each other.

[0059] After the first picture data is acquired, the detection template may be used to match the first picture data along the row direction (also referred to as detection). Figure 4 and Figure 5 , for example, the offset of the first detection unit a in the row direction is one pixel, and the first picture data is Figure 5 Taking the first row of data in as an example, after TCON receives the first frame data, the first detection unit a can first match the grayscale of the pixel unit A1, and then move one pixel to the right to continue matching until all pixels of the first frame data are matched.

[0060] Step S130, determine whether the target data unit is detected, if yes, execute step S140, if not, execute step S150.

[0061] After the grayscale threshold of the first detection unit is matched with the first line of screen data, different steps can be performed according to the matching result, that is, whether the target data unit is detected. The target data unit can be a pixel unit in the screen data that matches the detection unit used during detection.

[0062] Step S140 , recording the number of detected target data units and the target position corresponding to the first detected target data unit in the row direction.

[0063] For example, see Figure 5 , when the first detection unit successfully detects the pixel unit A1 of the 4th row of data in the row direction, the target position x(1) of the successfully detected pixel unit A1 can be recorded, and the pixel unit A1 is determined as the target detection unit, and the number is recorded as 1. The first detection unit can detect 2 target detection units in this row of screen data, and the number of target detection units S(A2)=2. The target position and the number of target detection units can be stored in any position of the display device, for example, also in the memory of TCON, and the embodiment of the present application does not impose any special restrictions on this.

[0064] Step S150, determining whether the detection area has been completely detected, if the detection area has not been completely detected, returning to step S110, otherwise, executing step S180.

[0065] Continue reading Figure 5 For example, if the first detection unit does not match the target detection unit in the 14th row of data (ie, the third row from the end), the first detection unit can continue to acquire the first picture data. The first detection unit can continue to match the newly received first picture data.

[0066] It should be noted that after acquiring new screen data, TCON can store the most recently received line of screen data in the target storage area, and overwrite the last received line of screen data by cyclic overwriting, only needing to retain the target position and the number of detected target detection units, that is, the data of the previous line is no longer needed, thereby realizing the cyclic application of a line buffer. When the detection template is of other sizes, such as 4*4, only the target position and the number of target detection units in each line need to be retained, which can reduce storage space and thus reduce costs. Among them, the target storage area can be a line buffer.

[0067] Step S160, sequentially acquiring N-1 lines of second frame data following the first frame data, after each line of second frame data is acquired, detecting the second frame data from a target position according to a corresponding detection unit, and recording the number of detected target data units.

[0068] For example, when N is 2, after the first picture data is matched, it is possible to obtain Figure 5 After receiving the 5th line of data (i.e., the 1st line of the second screen data), the second detection unit b can start detecting at the target position x(1) and the pixel unit B2 of the second screen data, and record the number S(B2) of the corresponding target data units. At this time, S(B2)=2, which can improve the matching speed.

[0069] After the fifth row of data is detected, both detection units of the detection template complete one row of detection, that is, the detection template completes one round of detection. In other words, one row of second frame data can correspond one-to-one to the last detection unit in the detection template.

[0070] Step S170: Determine the number of target data blocks according to the number of target data units corresponding to the recorded first picture data and each second picture data.

[0071] The target data block may be a pixel block in the picture data that matches the detection template. After the detection template completes a round of detection, the number of target detection units S(AB2) determined by the detection template in the first round of detection can be determined based on the number of target data units S(A2) corresponding to the first picture data and the number of target data units S(B2) corresponding to the second picture data. At this time, S(A2)=S(B2)=S(AB2), and the data block includes pixel unit A1 and pixel unit B2.

[0072] Considering that S(A2) is not equal to S(B2), in order to improve the detection accuracy, the minimum value of the number of target data units corresponding to the first picture data and each second picture data can be recorded as the target data block.

[0073] Afterwards, the 6th row of data can be obtained (the 6th row of data is the first screen data at this time), and the 6th row of data is detected again by the first detection unit, and the number S (A3) of the detected target data units and the target position x (2) corresponding to the first detected target data unit in the row direction are recorded.

[0074] Step S180: After the detection area is detected, the total number of target data blocks is determined, and when the total number of target data blocks meets the target condition, the image detection function is started.

[0075] After the detection area is detected, the total number of target data blocks can be determined by accumulating the number of target data blocks determined in each round of the detection template. The target condition can be that the ratio of the total number of target data blocks to the total number of pixel blocks contained in the detection area is greater than the target ratio. The target ratio can be stored in the display device in advance. After the PDF function is started, the voltage polarity and the display grayscale can be changed to improve the display quality. The embodiment of the present application does not specifically limit the way in which the PDF function improves the display quality.

[0076] It is understandable that, in the technical solution provided in the present application, the more squares there are in the detection template, the more storage space this solution saves.

[0077] Those skilled in the art will appreciate that the above embodiments are exemplary and are not intended to limit the present application. Where possible, the execution order of one or more of the above steps may be adjusted, or may be selectively combined to obtain one or more other embodiments. Those skilled in the art may select and combine any of the above steps as needed, and all those that do not depart from the essence of the present application fall within the scope of protection of the present application.

[0078] The embodiment of the present application provides a screen detection method, which is applied to a display device, wherein the display device stores a detection template, and the method includes:

[0079] Acquire first picture data; the first picture data includes a row of picture data to be detected in the detection area; detect the first picture data according to the first detection unit in the detection template, and when the target data unit is detected, record the number of the detected target data units and the target position corresponding to the first detected target data unit in the row direction; wherein the detection template includes N detection units arranged in the column direction, and each detection unit includes a grayscale threshold corresponding to a plurality of adjacent pixels in the row direction; the target data unit is a pixel unit in the picture data that matches the detection unit used in the detection; sequentially acquire N-1 rows of second picture data after the first picture data, and after each row of the second picture data is acquired, detect the second picture data from the target position according to the corresponding detection unit, and record the number of the detected target data units; wherein the N-1 rows of the second picture data correspond to the last N-1 detection units in the detection template one by one; determine the number of target data blocks according to the recorded first picture data and the number of target data units corresponding to each second picture data; the target data block is a pixel block in the picture data that matches the detection template. The technical solution provided by this application can reduce the storage cost during image detection.

[0080] Based on the same inventive concept, as an implementation of the above method, an embodiment of the present application provides a screen detection device, and the device embodiment corresponds to the above method embodiment. For ease of reading, the present device embodiment will no longer repeat the details of the above method embodiment one by one, but it should be clear that the device in this embodiment can correspond to and implement all the contents of the above method embodiment.

[0081] Figure 6 A schematic diagram of the structure of the image detection device provided in the embodiment of the present application is shown in FIG. Figure 6 As shown, the device provided in this embodiment includes: an acquisition module 110, a detection module 120 and a determination module 130,

[0082] The acquisition module 110 is used to: acquire first picture data; the first picture data includes a line of picture data to be detected in the detection area;

[0083] The detection module 120 is used to: detect the first picture data according to the first detection unit in the detection template, and record the number of the detected target data units and the target position corresponding to the first detected target data unit in the row direction when the target data unit is detected; wherein the detection template includes N detection units arranged along the column direction, and each detection unit includes grayscale thresholds corresponding to a plurality of adjacent pixels in the row direction; the target data unit is a pixel unit in the picture data that matches the detection unit used during detection;

[0084] The detection module 120 is further used to: sequentially acquire N-1 lines of second picture data after the first picture data, and after each line of the second picture data is acquired, detect the second picture data from the target position according to the corresponding detection unit, and record the number of detected target data units; wherein the N-1 lines of the second picture data correspond one-to-one to the last N-1 detection units in the detection template;

[0085] The determination module 130 is used to determine the number of target data blocks according to the number of target data units corresponding to the recorded first picture data and each second picture data; the target data block is a pixel block in the picture data that matches the detection template.

[0086] In a possible implementation manner, the number of target data blocks is the minimum value of the number of target data units corresponding to the recorded first picture data and each second picture data.

[0087] In a possible implementation manner, the received picture data is stored in the target storage area, and a subsequent row of picture data overwrites a previous row of picture data.

[0088] In a possible implementation, the detection module 120 is further configured to:

[0089] When the target data unit is not detected and the detection area is not completely detected, the process returns to the step of acquiring the first frame data.

[0090] In a possible implementation manner, the determination module 130 is further configured to: determine the total number of target data blocks when the detection area is detected.

[0091] In a possible implementation, the device further includes a starting module 140, and the starting module 140 is used to:

[0092] When the total number of target data blocks meets the target condition, the screen detection function is started.

[0093] In a possible implementation, the target condition includes: a ratio of the total number of target data blocks to the total number of pixel blocks included in the detection area is greater than a target ratio.

[0094] The picture detection device provided in this embodiment can execute the above method embodiment, and its implementation principle and technical effect are similar, which will not be repeated here.

[0095] The technicians in the relevant field can clearly understand that for the convenience and simplicity of description, only the division of the above-mentioned functional units and modules is used as an example for illustration. In practical applications, the above-mentioned function allocation can be completed by different functional units and modules as needed, that is, the internal structure of the device can be divided into different functional units or modules to complete all or part of the functions described above. The functional units and modules in the embodiment can be integrated in a processing unit, or each unit can exist physically separately, or two or more units can be integrated in one unit. The above-mentioned integrated unit can be implemented in the form of hardware or in the form of software functional units. In addition, the specific names of the functional units and modules are only for the convenience of distinguishing each other, and are not used to limit the scope of protection of this application. The specific working process of the units and modules in the above-mentioned system can refer to the corresponding process in the aforementioned method embodiment, which will not be repeated here.

[0096] Based on the same inventive concept, an embodiment of the present application also provides a display device. Figure 7 A schematic diagram of the structure of a display device provided in an embodiment of the present application, such as Figure 7 As shown, the display device provided in this embodiment includes: a memory 210 and a processor 220, the memory 210 is used to store computer programs; the processor 220 is used to execute the method described in the above method embodiment when calling the computer program.

[0097] The display device provided in this embodiment can execute the above method embodiment, and its implementation principle and technical effect are similar, which will not be repeated here.

[0098] The embodiment of the present application also provides a computer program product. When the computer program product is run, the method described in the above method embodiment is executed.

[0099] An embodiment of the present application further provides a computer-readable storage medium having a computer program stored thereon. When the computer program is executed by a processor, the method described in the first aspect or any one of the embodiments of the first aspect is implemented.

[0100] In the above embodiments, it can be implemented in whole or in part by software, hardware, firmware or any combination thereof. When implemented by software, it can be implemented in whole or in part in the form of a computer program product. The computer program product includes one or more computer instructions. When the computer program instructions are loaded and executed on a computer, the process or function described in the embodiment of the present application is generated in whole or in part. The computer may be a general-purpose computer, a special-purpose computer, a computer network, or other programmable device. The computer instructions may be stored in a computer-readable storage medium or transmitted through the computer-readable storage medium. The computer instructions may be transmitted from a website site, computer, server or data center to another website site, computer, server or data center by wired (e.g., coaxial cable, optical fiber, digital subscriber line) or wireless (e.g., infrared, wireless, microwave, etc.) means. The computer-readable storage medium may be any available medium that a computer can access or a data storage device such as a server or data center that includes one or more available media integrated. The available medium may be a magnetic medium (e.g., a floppy disk, a hard disk or a tape), an optical medium (e.g., a DVD), or a semiconductor medium (e.g., a solid-state drive (SSD)).

[0101] Those skilled in the art can understand that all or part of the processes in the above-mentioned embodiments can be implemented by computer programs to instruct related hardware, and the programs can be stored in computer-readable storage media. When the programs are executed, they can include the processes of the above-mentioned method embodiments. The aforementioned storage media can include: ROM or random access memory RAM, magnetic disk or optical disk and other media that can store program codes.

[0102] The naming or numbering of the steps in this application does not mean that the steps in the method flow must be executed in the time / logical sequence indicated by the naming or numbering. The named or numbered process steps can change the execution order according to the technical purpose to be achieved, as long as the same or similar technical effects can be achieved.

[0103] In the above embodiments, the description of each embodiment has its own emphasis. For parts that are not described or recorded in detail in a certain embodiment, reference can be made to the relevant descriptions of other embodiments.

[0104] In the embodiments provided in the present application, it should be understood that the disclosed devices / equipment and methods can be implemented in other ways. For example, the device / equipment embodiments described above are merely schematic, for example, the division of the modules or units is only a logical function division, and 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. Another point is that the mutual coupling or direct coupling or communication connection 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.

[0105] It should be understood that when used in the present specification and the appended claims, the term "comprising" indicates the presence of described features, wholes, steps, operations, elements and / or components, but does not exclude the presence or addition of one or more other features, wholes, steps, operations, elements, components and / or combinations thereof.

[0106] In the description of this application, unless otherwise specified, " / " indicates that the objects associated with each other are in an "or" relationship, for example, A / B can represent A or B; "and / or" in this application is merely a description of the association relationship between associated objects, indicating that three relationships may exist, for example, A and / or B can represent: A exists alone, A and B exist at the same time, and B exists alone, where A and B can be singular or plural.

[0107] Furthermore, in the description of this application, unless otherwise specified, "plurality" means two or more than two. "At least one of the following" or similar expressions refers to any combination of these items, including any combination of single or plural items. For example, at least one of a, b, or c can mean: a, b, c, ab, ac, bc, or abc, where a, b, and c can be single or multiple.

[0108] As used in the specification and appended claims of this application, the term "if" can be interpreted as "when" or "uponce" or "in response to determining" or "in response to detecting", depending on the context. Similarly, the phrase "if it is determined" or "if [described condition or event] is detected" can be interpreted as meaning "uponce it is determined" or "in response to determining" or "uponce [described condition or event] is detected" or "in response to detecting [described condition or event]", depending on the context.

[0109] In addition, in the description of the present specification and the appended claims, the terms "first", "second", "third", etc. are used to distinguish similar objects, and are not necessarily used to describe a specific order or sequence. It should be understood that the numbers used in this way can be interchanged where appropriate, so that the embodiments described herein can be implemented in an order other than that illustrated or described herein.

[0110] References to "one embodiment" or "some embodiments" etc. described in the specification of this application mean that one or more embodiments of the present application include specific features, structures or characteristics described in conjunction with the embodiment. Therefore, the phrases "in one embodiment", "in some embodiments", "in some other embodiments", "in some other embodiments", etc. appearing in different places in this specification do not necessarily refer to the same embodiment, but mean "one or more but not all embodiments", unless otherwise specifically emphasized in other ways.

[0111] Finally, it should be noted that the above embodiments are only used to illustrate the technical solutions of the present application, rather than to limit it. Although the present application has been described in detail with reference to the aforementioned embodiments, those skilled in the art should understand that they can still modify the technical solutions described in the aforementioned embodiments, or replace some or all of the technical features therein with equivalents. However, these modifications or replacements do not cause the essence of the corresponding technical solutions to deviate from the scope of the technical solutions of the embodiments of the present application.

Claims

1. A picture detection method, characterized in that: Applied to a display device, the display device stores a detection template, and the method includes: Acquire first picture data; the first picture data includes a line of picture data to be detected in the detection area; The first picture data is detected according to the first detection unit in the detection template, and when a target data unit is detected, the number of the detected target data units and the target position corresponding to the first detected target data unit in the row direction are recorded; wherein the detection template includes N detection units arranged along the column direction, N is a positive integer greater than 1, and each detection unit includes grayscale thresholds corresponding to a plurality of adjacent pixels in the row direction; the target data unit is a pixel unit in the first picture data that matches the detection unit used during detection; Sequentially acquiring N-1 lines of second screen data following the first screen data, after each line of second screen data is acquired, detecting the second screen data from the target position according to the corresponding detection unit, and recording the number of detected target data units; wherein the N-1 lines of second screen data correspond one-to-one to the last N-1 detection units in the detection template; The number of target data blocks is determined according to the number of target data units corresponding to the recorded first picture data and each second picture data; the target data blocks are pixel blocks in the first picture data and each second picture data that match the detection template.

2. The method according to claim 1, characterized in that The number of the target data blocks is the minimum value of the number of target data units corresponding to the recorded first picture data and each second picture data.

3. The method according to claim 1, characterized in that The received screen data is stored in the target storage area, and the next line of screen data overwrites the previous line of screen data.

4. The method according to claim 1, characterized in that: After detecting the first picture data according to the first detection unit in the detection template, the method further includes: When the target data unit is not detected and the detection area is not completely detected, the process returns to the step of acquiring the first frame data.

5. The method according to claim 1, characterized in that The method further comprises: determining the total number of the target data blocks after the detection area is detected; When the total number of the target data blocks meets the target condition, the picture detection function is started.

6. The method according to claim 5, characterized in that The target condition includes: the ratio of the total number of target data blocks to the total number of pixel blocks included in the detection area is greater than the target ratio.

7. A picture detection device, characterized in that: include: Acquisition module, detection module and determination module, The acquisition module is used to: acquire first picture data; the first picture data includes a line of picture data to be detected in the detection area; The detection module is used to: detect the first screen data according to the first detection unit in the detection template, and record the number of the detected target data units and the target position corresponding to the first detected target data unit in the row direction when the target data unit is detected; wherein the detection template includes N detection units arranged along the column direction, N is a positive integer greater than 1, and each detection unit includes grayscale thresholds corresponding to a plurality of adjacent pixels in the row direction; the target data unit is a pixel unit in the first screen data that matches the detection unit used during detection; The detection module is further used to: sequentially acquire N-1 lines of second picture data following the first picture data, and after each line of second picture data is acquired, detect the second picture data from the target position according to the corresponding detection unit, and record the number of detected target data units; wherein the N-1 lines of second picture data correspond one-to-one to the last N-1 detection units in the detection template; The determination module is used to determine the number of target data blocks according to the number of target data units corresponding to the recorded first picture data and each second picture data; the target data blocks are pixel blocks in the first picture data and each second picture data that match the detection template.

8. A display device, characterized in that: include: A memory and a processor, wherein the memory is used to store a computer program; and the processor is used to execute the method according to any one of claims 1 to 6 when calling the computer program.

9. A computer program product, characterized in that The invention comprises a computer program, which, when being executed, enables the method according to any one of claims 1 to 6 to be performed.

10. A computer-readable storage medium having a computer program stored thereon, characterized in that: When the computer program is executed by a processor, the method according to any one of claims 1 to 6 is implemented.

Citation Information

Patent Citations

  • Driving method of display panel, driving device of display panel and display equipment

    CN114530129A

  • Time schedule controller, image display method and display device

    CN119007680A