CN114359177A - Image display method and device for panel to be detected, electronic equipment and storage medium - Google Patents

Image display method and device for panel to be detected, electronic equipment and storage medium Download PDF

Info

Publication number
CN114359177A
CN114359177A CN202111547491.8A CN202111547491A CN114359177A CN 114359177 A CN114359177 A CN 114359177A CN 202111547491 A CN202111547491 A CN 202111547491A CN 114359177 A CN114359177 A CN 114359177A
Authority
CN
China
Prior art keywords
image
panel
thumbnail
detected
interest
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN202111547491.8A
Other languages
Chinese (zh)
Inventor
张鑫
朱小明
匡梦良
殷亚男
许超
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Suzhou Mega Technology Co Ltd
Original Assignee
Suzhou Mega Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Suzhou Mega Technology Co Ltd filed Critical Suzhou Mega Technology Co Ltd
Priority to CN202111547491.8A priority Critical patent/CN114359177A/en
Publication of CN114359177A publication Critical patent/CN114359177A/en
Pending legal-status Critical Current

Links

Images

Landscapes

  • User Interface Of Digital Computer (AREA)

Abstract

The embodiment of the invention provides an image display method and device for a panel to be detected, electronic equipment and a storage medium. The method comprises the following steps: acquiring an image of a panel to be detected; generating a thumbnail of an image of a panel to be detected; and displaying the user interface, wherein the user interface comprises a first display area and a second display area, the first display area is used for displaying at least part of the region of interest in the image of the panel to be detected, the second display area is used for displaying the thumbnail and a first mark, and the first mark is used for marking the position of the region of interest displayed in the first display area in the thumbnail. Therefore, the user can conveniently and quickly know the position of the currently displayed region of interest in the image of the panel to be detected based on the thumbnail. The panel detection method and the panel detection device provide convenience for the user to perform panel detection operation, and improve the use experience of the user.

Description

Image display method and device for panel to be detected, electronic equipment and storage medium
Technical Field
The present invention relates to the field of panel inspection technologies, and in particular, to an image display method for a panel to be inspected, an image display device for a panel to be inspected, an electronic apparatus, and a storage medium.
Background
Chip On Glass (COG for short) is a technology in which a driving circuit Chip is directly bonded On a Glass substrate, and is widely applied to various display products such as liquid crystal display and electroluminescence technologies. In the COG process, a Conductive pin of a driving circuit is aligned to an electrode (bump) on a glass substrate, an Anisotropic Conductive Film (ACF) is used as a bonding dielectric material, and the Conductive pin of the driving circuit is connected and conducted with the electrode on the glass substrate at a high temperature and a high voltage for a certain period of time. Similarly, the flexible circuit board On Glass (FPC On Glass, FOG for short) is a technique in which a flexible circuit board (FPC) is directly bonded to a Glass substrate, and the process is similar to COG. Similarly, a Chip On Film (COF) product is formed by directly packaging a semiconductor chip on a flexible substrate and then bonding the flexible substrate to glass, and the manufacturing process is similar to that of COG.
Panel inspection techniques typically utilize processing of an image of the panel to be inspected to achieve panel inspection. On the one hand, the panel to be detected is generally large in size; on the other hand, in order to obtain high detection accuracy, the requirement for the sharpness of the image is high, thereby resulting in a large size of the image. When performing panel inspection, a part of an image, for example, a part of an electrode region of a panel to be inspected, is generally displayed on a display interface. This causes inconvenience to the user in performing the panel detection operation.
Disclosure of Invention
The present invention has been made in view of the above problems. According to an aspect of the present invention, there is provided an image display method of a panel to be detected. The method comprises the following steps: acquiring an image of a panel to be detected; generating a thumbnail of an image of a panel to be detected; and displaying the user interface, wherein the user interface comprises a first display area and a second display area, the first display area is used for displaying at least part of the region of interest in the image of the panel to be detected, the second display area is used for displaying the thumbnail and a first mark, and the first mark is used for marking the position of the region of interest displayed in the first display area in the thumbnail.
Illustratively, the method further comprises: detecting a panel to be detected to obtain a flaw area of the panel to be detected; determining the position of a defect area in the thumbnail; the user interface also includes a second marker for marking a location of the defect area in the thumbnail.
Illustratively, generating a thumbnail of an image of the panel to be detected includes: compressing and extracting all interested areas in the image of the panel to be detected to obtain an area compressed image; and performing distance projection transformation on the region compressed image to generate a thumbnail.
Illustratively, the compression extraction of all the regions of interest in the image of the panel to be detected comprises: starting from a first interested region of an image of a panel to be detected until the end of a last interested region, and dividing every adjacent n interested regions into a group; each set of regions of interest is replaced with a line segment to generate a region compressed image.
Illustratively, the method further comprises: n, n ═ Floor ((max (W) was calculated according to the following equationorig/Wthum,Horig/Hthum) Floor () represents rounding up the value in parentheses, max () represents rounding up the larger of the two parameters in parentheses, WorigWidth, W, of the image representing the panel to be inspectedthumIndicates the width of the thumbnail, HorigHeight of the image representing the panel to be inspected, HthumIndicating the height of the thumbnail.
Illustratively, the region compressed image is subjected to a line spacingTransforming from projection to generate a thumbnail includes: calculating an average width of the intervals between the regions of interest in each group of regions of interest; compressing the average width of the space between the regions of interest in each group of regions of interest by a factor of n to obtain the width I of the space between two segmentscur(ii) a Width I for the space between two line segmentscurIf the number of pixels is less than the threshold T, the width I of the interval between two line segments is determinedcurRounding up after expanding by a factor of m to obtain the width of the expanded space between the two line segments, where m is min (W)thum/(Bl+Br),T/Icur) Min () represents the smaller of the two parameters in parentheses, WthumIndicates the width of the thumbnail, BlAnd BrThe distance of the leftmost line segment in the area compressed image from the left side of the thumbnail and the distance of the rightmost line segment in the area compressed image from the right side of the thumbnail are respectively indicated.
Illustratively, the method further comprises: responding to the operation of the user on the second display area, and acquiring the position of the current target region of interest determined by the user in the thumbnail; determining the position of the current target region of interest in the image of the panel to be detected based on the position of the current target region of interest in the thumbnail according to the position mapping relation between the image of the panel to be detected and the thumbnail; and displaying the current target region of interest in the first display area according to the position of the current target region of interest in the image of the panel to be detected.
According to another aspect of the present invention, there is also provided an image display device of a panel to be detected, the device including: the image acquisition module is used for acquiring an image of the panel to be detected; the thumbnail generation module is used for generating thumbnails of the images of the panel to be detected; and the display module is used for displaying a user interface, wherein the user interface comprises a first display area and a second display area, the first display area is used for displaying at least part of an interested area in the image of the panel to be detected, the second display area is used for displaying a thumbnail and a first mark, and the first mark is used for marking the position of the interested area displayed by the first display area in the thumbnail.
According to yet another aspect of the present invention, there is also provided an electronic device, comprising a display, a processor and a memory, wherein the display is used for displaying a user interface, and the memory stores computer program instructions which, when executed by the processor, are used for executing the image display method of the panel to be detected as described above.
According to still another aspect of the present invention, there is also provided a storage medium on which program instructions are stored, the program instructions being operable when executed to perform the image display method of a panel to be inspected as described above.
According to the technical scheme, at least part of the interested area of the panel to be detected is truly displayed on the user interface, the thumbnail of the image of the panel to be detected is also displayed, and the position of the displayed interested area in the thumbnail is marked on the thumbnail. Therefore, the user can conveniently and quickly know the position of the currently displayed region of interest in the image of the panel to be detected based on the thumbnail. The panel detection method and the panel detection device provide convenience for the user to perform panel detection operation, and improve the use experience of the user.
The foregoing description is only an overview of the technical solutions of the present invention, and the embodiments of the present invention are described below in order to make the technical means of the present invention more clearly understood and to make the above and other objects, features, and advantages of the present invention more clearly understandable.
Drawings
The above and other objects, features and advantages of the present invention will become more apparent by describing in more detail embodiments of the present invention with reference to the attached drawings. The accompanying drawings are included to provide a further understanding of the embodiments of the invention and are incorporated in and constitute a part of this specification, illustrate embodiments of the invention and together with the description serve to explain the principles of the invention and not to limit the invention. In the drawings, like reference numbers generally represent like parts or steps.
Fig. 1 shows a schematic flow diagram of an image display method of a panel to be inspected according to an embodiment of the present invention;
FIG. 2 shows a schematic diagram of a user interface according to one embodiment of the invention;
FIG. 3 shows a schematic flow chart of the steps of generating a thumbnail of an image of a panel to be inspected according to one embodiment of the present invention;
FIG. 4 is a schematic flow chart illustrating the compression extraction of all regions of interest in an image of a panel to be detected to obtain a region compressed image according to an embodiment of the present invention;
FIG. 5 shows a schematic flow diagram of a distance projective transformation of a region-compressed image to generate a thumbnail according to one embodiment of the present invention;
FIG. 6 shows a schematic block diagram of an image display apparatus according to an embodiment of the present invention; and
FIG. 7 shows a schematic block diagram of an electronic device according to an embodiment of the invention.
Detailed Description
In order to make the objects, technical solutions and advantages of the present invention more apparent, exemplary embodiments according to the present invention will be described in detail below with reference to the accompanying drawings. It is to be understood that the described embodiments are merely a subset of embodiments of the invention and not all embodiments of the invention, with the understanding that the invention is not limited to the example embodiments described herein. All other embodiments, which can be derived by a person skilled in the art from the embodiments of the invention described herein without inventive step, shall fall within the scope of protection of the invention.
As described above, in the existing panel inspection technology, only a part of an image of a panel to be inspected, for example, a partial electrode region currently focused by a user, is usually displayed on a display interface. It is difficult for the user to conveniently determine its position in the entire image based on the display contents, and it is inconvenient for the user to perform panel detection. Therefore, the present invention proposes a new image display method to solve the above technical problems.
Fig. 1 shows a schematic flow diagram of an image display method 100 of a panel to be inspected according to an embodiment of the present invention. As shown in fig. 1, the method 100 includes the following steps.
Step S110, an image of the panel to be detected is acquired.
The image of the panel to be detected may be an original image acquired by an image acquisition device such as a camera in the panel detection system, or may be an image obtained after preprocessing the original image. The preprocessing operation may include all operations for more clearly performing panel detection. For example, the preprocessing operation may include a denoising operation such as filtering. The image may contain all or part of the electrodes in the panel to be detected.
Step S120, a thumbnail of the image of the panel to be detected is generated.
It is understood that the thumbnail is a small image obtained by image compression processing of data in an image compared with the image of the panel to be detected. The image compression processing may include an operation of compressing an image of a large resolution into a thumbnail of a small resolution, an operation of replacing a plurality of pixels in the image with one pixel in the thumbnail, and the like, to reduce image data of the thumbnail. However, the positional relationship between the respective portions in the thumbnail images remains substantially the same as the positional relationship of the corresponding portions in the image of the panel to be detected. The thumbnail may provide a summary function for the image of the panel to be detected.
Alternatively, in the process of generating the thumbnail, the information of the region of interest in the image of the panel to be detected may be reduced less, and the information of the background region, such as the interval between the regions of interest, in the image of the panel to be detected may be reduced more.
Step S130, displaying a user interface.
FIG. 2 shows a schematic diagram of a user interface according to one embodiment of the invention. As shown in fig. 2, the user interface includes a first display area 210 and a second display area 220. The first display area 210 is used for displaying at least a portion of a region of interest in an image of a panel to be inspected. It will be understood by those skilled in the art that the image of the panel to be detected is acquired for detecting the panel to be detected, and the region of interest may be any region that a user wishes to detect, such as an electrode region on the panel to be detected. In the embodiment of the present application shown in fig. 2, the first display area 210 shows a portion of the electrodes in the image of the panel to be inspected, as indicated by the light gray rectangle in the middle of the right side of fig. 2. The second display area 220 is used to display a thumbnail and a first mark 221. The first mark 221 is used to mark the position of the region of interest displayed in the first display area 210 in the thumbnail image. I.e. the area marked by the first mark 221 corresponds to the area of interest currently displayed by the first display area 210. Thus, from the second display area 220, the position of the region of interest displayed by the first display area 210 in the image of the entire panel to be detected can be clearly observed. As shown in fig. 2, the region of interest currently displayed by the first display area 210 is located on the left side of the image of the entire panel to be detected.
According to the technical scheme, at least part of the interested area of the panel to be detected is truly displayed on the user interface, the thumbnail of the image of the panel to be detected is also displayed, and the position of the displayed interested area in the thumbnail is marked on the thumbnail. Therefore, the user can conveniently and quickly know the position of the currently displayed region of interest in the image of the panel to be detected based on the thumbnail. The panel detection method and the panel detection device provide convenience for the user to perform panel detection operation, and improve the use experience of the user.
Illustratively, the method 100 may further include the following steps.
Step S140, detecting the panel to be detected to obtain a defect area of the panel to be detected.
After the image of the panel to be detected is acquired, the panel to be detected can be detected. The flaw area in the area of interest of the panel to be detected can be determined through the panel detection item. Illustratively, the panel detection items may include the number, distribution, and offset degree of particles in the electrodes on the panel to be detected, and of course, whether there is a foreign object in and/or between the electrodes may also be detected. And obtaining the defective areas of the panel to be detected after detection, wherein each defective area can comprise one or more unqualified electrodes.
Step S150, the position of the defective area is determined in the thumbnail.
And determining the position of the flaw area in the thumbnail based on the position of the flaw area in the image of the panel to be detected. The user interface may also include a second indicia. The second mark is used to mark the location of the defect area in the thumbnail. When a defective area is detected, the defective area may be marked in the thumbnail and the second mark may be displayed in the second display area 220. Illustratively, the defective area may be boxed using a rectangular box, an oval box, or the like. Alternatively, the normal region in the defect region and the region of interest may be displayed with different colors.
According to the technical scheme, when the image of the panel to be detected is too large, a user can directly find the defective area in the image of the panel to be detected by using the position of the defective area determined in the thumbnail. Based on the thumbnail, the user can quickly find the flaw area, and a large amount of time is saved.
Illustratively, the method 100 may further include the following steps.
In step S160, in response to the user operating the second display area 220, the position of the current target region of interest in the thumbnail image determined by the user is acquired.
In a particular embodiment, the user may click on the second display area 220 with a mouse to select the current target region of interest on the thumbnail. The mouse is used for clicking more conveniently and quickly, and the operation of a user is facilitated. Alternatively, the user may also click or select a frame on the thumbnail by using an external device such as a touch screen or a touch pad to select the target region of interest. For another example, the user may also input the coordinates of the target region of interest to the system through an input device such as a keyboard to implement the above-mentioned operation of determining the current target region of interest. Through this operation, the user can quickly locate the current target region of interest using the thumbnail.
And S170, determining the position of the current target interest region in the image of the panel to be detected based on the position of the current target interest region in the thumbnail according to the position mapping relation between the image of the panel to be detected and the thumbnail.
As described previously, the positional relationship between the respective portions in the thumbnail images and the positional relationship of the corresponding portions in the image of the panel to be detected remain substantially the same. Namely, the image of the panel to be detected and the thumbnail have a unique position mapping relation. Each portion on the thumbnail has a unique corresponding portion in the image of the panel to be detected. The user selects the current target region of interest in the second display area 220 through the aforementioned step S160. After the target region of interest is selected, a rectangular frame can be generated in the thumbnail to mark the current target region of interest, and the position coordinates of four vertexes of the rectangular frame are obtained at the same time, so as to determine the position of the target region of interest in the thumbnail. According to the established position mapping relation and the position of the target region of interest in the thumbnail, the position of the target region of interest in the image of the panel to be detected can be determined.
Step S180, displaying the current target region of interest in the first display area 210 according to the position of the current target region of interest in the image of the panel to be detected.
After the position of the current target region of interest in the image of the panel to be detected is determined, the current target region of interest may be immediately displayed in the first display area 210, that is, the content of the first display area 210 is refreshed by using the current target region of interest. It will be appreciated that the content displayed in the first display area 210 thus corresponds to the same target region of interest of the panel to be inspected as the aforementioned user-defined region in the thumbnail. The first display area 210 may display different images in real time in response to a user's determination of a target region of interest for the second display area 220.
Therefore, the user can quickly position the target region of interest in the image of the panel to be detected only by selecting the target region of interest in the second display area 220 without other complicated operations, and the algorithm of the scheme is simple and easy to implement.
Exemplarily, the operation for the second display area 220 in the above step S160 may include a drag operation for the first marker 221. For example, the user may drag the first mark 221 by clicking the first mark 221 with a mouse and long pressing the left button of the mouse to change the position of the first mark 221 in the second display area 220, so that the target region of interest may be reselected.
Therefore, the user can freely drag the first mark 221 to realize the user-defined setting of the position of the target region of interest, the operation is simple, and the workload of the user cannot be increased while different requirements of the user are met.
Fig. 3 shows a schematic flow chart of the step of generating a thumbnail of the image of the panel to be detected at step S120 according to one embodiment of the present invention. As shown in fig. 3, step S120 may include the following steps.
Step S121, performing compression and extraction on all regions of interest in the image of the panel to be detected to obtain a region compressed image.
As mentioned above, taking an image of a panel to be detected as an example, the region of interest thereon may be thousands or even tens of thousands of electrodes. And as can be seen with reference to fig. 2, it is desirable to display the entire thumbnail on the user interface, whereby the length of the thumbnail is limited. Therefore, all the electrodes in the image of the panel to be detected can be compressed and extracted, for example, the number of the electrodes in the image of the panel to be detected is reduced by ten times, that is, ten electrodes in the image are represented by a specific graph after being compressed. By performing the above operation for all the electrodes in the image of the panel to be detected, a region compressed image can be obtained. Wherein, each specific pattern in the area compressed image can sequentially represent all electrodes on the image of the panel to be detected, and the area compressed image has a significantly reduced image data amount relative to the panel to be detected.
Step S122, performs distance projection transformation on the area compressed image to generate a thumbnail.
After the compressed region image is obtained in step S121, the compressed region image may be subjected to distance projection transformation according to the relative positions of the electrodes in the image of the panel to be detected, so that the specific patterns representing the regions of interest in the compressed region image maintain the same relative position relationship with the regions of interest in the original image of the panel to be detected, and a thumbnail is generated. The distance projection transformation scale can be reasonably set according to the occupied area of all interested areas in the image of the panel to be detected, the length of the thumbnail and the like.
Therefore, the image data in the thumbnail can be effectively reduced, and meanwhile, the reasonable reservation of the image data in the image of the panel to be detected is guaranteed.
Fig. 4 shows a schematic flowchart of step S121 of performing compression extraction on all regions of interest in the image of the panel to be detected to obtain a region compressed image according to an embodiment of the present invention. As shown in fig. 4, step S121 may include the following steps.
Step S121a, starting from the first region of interest of the image of the panel to be detected until the last region of interest ends, dividing each adjacent n regions of interest into a group.
Illustratively, taking an example that one region of interest is one electrode region, every adjacent n regions of interest in all regions of interest are divided into one group, that is, every adjacent n electrodes are divided into one group. For example, there are 4000 regions of interest on the image of the panel to be detected, and each adjacent 20 of them may be divided into one group, resulting in 200 groups of regions of interest. At this time, n is 20, and in practice, n may be set reasonably according to the user requirement or the number of the regions of interest in the image of the panel to be detected.
In step S121b, each group of regions of interest is replaced with a line segment to generate a region compressed image.
The 200 sets of regions of interest may be represented by 200 line segments, respectively, and the 200 line segments are arranged according to the arrangement order of the regions of interest to generate the region compressed image.
According to the technical scheme, the number of all the interested areas is equally divided, so that each line segment in the area compressed image can correspond to the same number of interested areas in the image of the panel to be detected, the image of the panel to be detected is effectively and reasonably compressed, the integrity and continuity of subsequently acquired image data of the thumbnail are ensured, and the algorithm is simple and easy to realize.
In a specific embodiment, the number n of regions of interest in each group can be calculated according to the following formula. n is Floor ((max (W)orig/Wthum,Horig/Hthum) Wherein W isorigWidth, W, of the image representing the panel to be inspectedthumDenotes the width of the thumbnail, obviously Worig/WthumRepresenting the ratio of the width of the image and the thumbnail of the panel to be inspected. HorigHeight of the image representing the panel to be inspected, HthumHeight of thumbnail, Horig/HthumRepresenting the ratio of the height of the image and the thumbnail of the panel to be inspected. max () denotes taking the larger of the two parameters in parentheses, i.e. at Worig/WthumAnd Horig/HthumTake a relatively large value. Floor () means rounding up the value in parentheses, i.e., rounding up the larger value obtained as described above. It is understood that rounding up means adding 1 to the previous integer as long as there is a decimal after the value.
Therefore, in the scheme, a larger numerical value is selected from the ratio of the width to the height of the image of the panel to be detected and the thumbnail, and the selected numerical value is rounded up. The method can ensure that the image data in the image of the panel to be detected is compressed and reserved in the thumbnail to the maximum extent, and greatly avoid the data loss in the image of the panel to be detected, so that a more accurate thumbnail can be obtained; in addition, the thumbnail can be completely displayed on the user interface, and the user can conveniently check the thumbnail.
Fig. 5 shows a schematic flowchart of step S122 of performing distance projection transformation on the area compressed image to generate a thumbnail according to one embodiment of the present invention. As shown in fig. 5, step S122 may include the following steps.
Step S122a, an average width W of the intervals between the regions of interest in each set of regions of interest is calculated.
In the foregoing embodiment, each group of regions of interest includes 20 regions of interest. In the image of the panel to be detected, every two adjacent interested areasWith a space therebetween. In this embodiment, there are 19 intervals in each set of regions of interest for the image of the panel to be detected. The average width W of the 19 intervals was calculated. Namely, it is
Figure BDA0003416151580000091
Where wi represents the width of the ith space. In the above embodiment, n is equal to 20.
Step S122b, compressing the average width W of the interval between the regions of interest in each group of regions of interest by n times to obtain the width I of the interval between two linescur
Each group of the interested regions comprises n interested regions. In the above embodiment, n is 20. The average width of the 19 intervals is compressed by n times to obtain the width I of the interval between two line segments in the area compressed imagecur. I.e. the width I of the space between every two adjacent line segmentscur=wi/n。
Step S122c, for the width I of the space between two segmentscurIf the number of pixels is less than the threshold value of the specific pixel number, the width I of the interval between the two line segments is determinedcurRounding up after expanding by a factor of m to obtain the width of the expanded space between the two line segments, where m is min (W)thum/(Bl+Br),T/Icur) Min () represents the smaller of the two parameters in parentheses, WthumIndicates the width of the thumbnail, BlAnd BrThe distance of the leftmost line segment in the area compressed image from the left side of the thumbnail and the distance of the rightmost line segment in the area compressed image from the right side of the thumbnail are respectively indicated.
When the width of the space between two line segments is IcurLess than a threshold value T for a particular number of pixels, e.g. the width I of the space between two line segmentscurOccupying less than 3 pixels, the spacing between the two segments is too small, which may cause the segments displayed in the thumbnail to appear to the user's eye to be connected and indistinguishable. Therefore, in order to avoid the above-described problem, the interval between the two segments can be increased. The magnification factor can be calculated by the formula: m is min (W)thum/(Bl+Br),T/Icur). Wherein, WthumRepresents the width of the thumbnail, e.g., the distance between the left and right sides of the thumbnail. B islRepresenting the distance of the leftmost line segment in the area-compressed image from the left side of the thumbnail, BrThe distance of the rightmost line segment in the area compressed image from the right side of the thumbnail is represented. B islAnd BrThe boundaries of the area compressed image may be limited. Wthum/(Bl+Br) A ratio of the width occupied by the area compressed image in the thumbnail image may be reflected, and it is understood that the larger the ratio, the wider the area compressed image occupies in the thumbnail image, i.e., the closer the leftmost line segment in the area compressed image is to the left side of the thumbnail image and/or the closer the rightmost line segment in the area compressed image is to the right side of the thumbnail image. Otherwise, the opposite is true. When the leftmost line segment in the area-compressed image coincides with the left side of the thumbnail and the rightmost line segment in the area-compressed image coincides with the right side of the thumbnail, the numerical value of the ratio is 1 at the minimum. It can be understood that when IcurT < T, T/IcurIs greater than 1. min () means taking the smaller of the two parameters in parentheses, Wthum/(Bl+Br) And T/IcurThe smaller value in between is taken as m. The width of the space between two segments can be expanded by a factor of m and the result rounded up to obtain an expanded space.
Therefore, the distance between each line segment can be reasonably set, the generated thumbnail can be ideally displayed, accurate mapping of the thumbnail and the image of the panel to be detected is ensured, and reliability of image data of the thumbnail is ensured.
According to another aspect of the present invention, there is also provided an image display device of a panel to be detected. Fig. 6 shows a schematic block diagram of an image display apparatus 600 according to an embodiment of the present invention. As shown in fig. 6, the apparatus 600 includes an image acquisition module 610, a thumbnail generation module 620, and a display module 630.
The image obtaining module 610 is used for obtaining an image of a panel to be detected.
The thumbnail generation module 620 is used for generating thumbnails of the images of the panels to be detected.
The display module 630 is used for displaying a user interface. The user interface comprises a first display area and a second display area, the first display area is used for displaying at least part of an interested area in an image of a panel to be detected, the second display area is used for displaying a thumbnail and a first mark, and the first mark is used for marking the position of the interested area displayed by the first display area in the thumbnail.
According to another aspect of the invention, an electronic device is also provided. FIG. 7 shows a schematic block diagram of an electronic device according to an embodiment of the invention. As shown in fig. 7, the electronic device 700 includes a display 710, a processor 720, and a memory 730. The display 710 is used to display a user interface. The memory 730 stores therein computer program instructions for executing the image display method 100 of the panel to be inspected as described above when the computer program instructions are executed by the processor 720.
According to still another aspect of the present invention, there is also provided a storage medium. On the storage medium are stored program instructions which, when executed, are adapted to carry out the image display method 100 of the panel to be inspected as described above. The storage medium may include, for example, a storage component of a tablet computer, a hard disk of a personal computer, Read Only Memory (ROM), Erasable Programmable Read Only Memory (EPROM), portable compact disk read only memory (CD-ROM), USB memory, or any combination of the above storage media. The computer-readable storage medium may be any combination of one or more computer-readable storage media.
A person skilled in the art can understand specific implementation schemes of the image display device, the electronic device, and the storage medium of the panel to be detected by reading the above description related to the image display method of the panel to be detected, and details are not described herein for brevity.
Although the illustrative embodiments have been described herein with reference to the accompanying drawings, it is to be understood that the foregoing illustrative embodiments are merely exemplary and are not intended to limit the scope of the invention thereto. Various changes and modifications may be effected therein by one of ordinary skill in the pertinent art without departing from the scope or spirit of the present invention. All such changes and modifications are intended to be included within the scope of the present invention as set forth in the appended claims.
Those of ordinary skill in the art will appreciate that the various illustrative elements and algorithm steps described in connection with the embodiments disclosed herein may be implemented as electronic hardware or combinations of computer software and electronic hardware. Whether such functionality is implemented as hardware or software depends upon the particular application and design constraints imposed on the implementation. Skilled artisans may implement the described functionality in varying ways for each particular application, but such implementation decisions should not be interpreted as causing a departure from the scope of the present invention.
In the several embodiments provided in the present application, it should be understood that the disclosed apparatus and method may be implemented in other ways. For example, the above-described device embodiments are merely illustrative, and for example, the division of the units is only one logical functional division, and other divisions may be realized in practice, for example, a plurality of units or components may be combined or integrated into another device, or some features may be omitted, or not executed.
In the description provided herein, numerous specific details are set forth. It is understood, however, that embodiments of the invention may be practiced without these specific details. In some instances, well-known methods, structures and techniques have not been shown in detail in order not to obscure an understanding of this description.
Similarly, it should be appreciated that in the description of exemplary embodiments of the invention, various features of the invention are sometimes grouped together in a single embodiment, figure, or description thereof for the purpose of streamlining the invention and aiding in the understanding of one or more of the various inventive aspects. However, the method of the present invention should not be construed to reflect the intent: that the invention as claimed requires more features than are expressly recited in each claim. Rather, as the following claims reflect, inventive aspects lie in less than all features of a single disclosed embodiment. Thus, the claims following the detailed description are hereby expressly incorporated into this detailed description, with each claim standing on its own as a separate embodiment of this invention.
It will be understood by those skilled in the art that all of the features disclosed in this specification (including any accompanying claims, abstract and drawings), and all of the processes or elements of any method or apparatus so disclosed, may be combined in any combination, except combinations where such features are mutually exclusive. Each feature disclosed in this specification (including any accompanying claims, abstract and drawings) may be replaced by alternative features serving the same, equivalent or similar purpose, unless expressly stated otherwise.
Furthermore, those skilled in the art will appreciate that while some embodiments described herein include some features included in other embodiments, rather than other features, combinations of features of different embodiments are meant to be within the scope of the invention and form different embodiments. For example, in the claims, any of the claimed embodiments may be used in any combination.
The various component embodiments of the invention may be implemented in hardware, or in software modules running on one or more processors, or in a combination thereof. It will be understood by those skilled in the art that a microprocessor or Digital Signal Processor (DSP) may be used in practice to implement some or all of the functions of some of the blocks in an image display device for panels to be detected according to embodiments of the present invention. The present invention may also be embodied as apparatus programs (e.g., computer programs and computer program products) for performing a portion or all of the methods described herein. Such programs implementing the present invention may be stored on computer-readable media or may be in the form of one or more signals. Such a signal may be downloaded from an internet website or provided on a carrier signal or in any other form.
It should be noted that the above-mentioned embodiments illustrate rather than limit the invention, and that those skilled in the art will be able to design alternative embodiments without departing from the scope of the appended claims. In the claims, any reference signs placed between parentheses shall not be construed as limiting the claim. The word "comprising" does not exclude the presence of elements or steps not listed in a claim. The word "a" or "an" preceding an element does not exclude the presence of a plurality of such elements. The invention may be implemented by means of hardware comprising several distinct elements, and by means of a suitably programmed computer. In the unit claims enumerating several means, several of these means may be embodied by one and the same item of hardware. The usage of the words first, second and third, etcetera do not indicate any ordering. These words may be interpreted as names.
The above description is only for the specific embodiment of the present invention or the description thereof, and the protection scope of the present invention is not limited thereto, and any person skilled in the art can easily conceive of the changes or substitutions within the technical scope of the present invention, and the changes or substitutions should be covered within the protection scope of the present invention. The protection scope of the present invention shall be subject to the protection scope of the claims.

Claims (10)

1. An image display method of a panel to be detected, the method comprising:
acquiring an image of a panel to be detected;
generating a thumbnail of the image of the panel to be detected; and
displaying a user interface, wherein the user interface comprises a first display area and a second display area, the first display area is used for displaying at least part of the region of interest in the image of the panel to be detected, the second display area is used for displaying the thumbnail and a first mark, and the first mark is used for marking the position of the region of interest displayed in the first display area in the thumbnail.
2. The method of claim 1, wherein,
the method further comprises the following steps:
detecting the panel to be detected to obtain a flaw area of the panel to be detected;
determining a location of the defect region in the thumbnail;
the user interface also includes a second marker for marking a location of the defect area in the thumbnail.
3. The method of claim 1, wherein the generating a thumbnail of the image of the panel to be detected comprises:
compressing and extracting all interested areas in the image of the panel to be detected to obtain an area compressed image;
and performing distance projection transformation on the region compressed image to generate the thumbnail.
4. The method according to claim 3, wherein the compression extraction of all the regions of interest in the image of the panel to be detected comprises:
starting from a first interested region of the image of the panel to be detected until the end of a last interested region, and dividing each adjacent n interested regions into a group;
replacing each set of regions of interest with a line segment to generate a compressed image of said regions.
5. The method of claim 4, wherein the method further comprises:
n is calculated according to the following formula,
n=Floor((max(Worig/Wthum,Horig/Hthum) Floor () represents rounding up the value in parentheses, max () represents rounding up the larger of the two parameters in parentheses, WorigWidth, W, of the image representing the panel to be inspectedthumRepresents the width of the thumbnail, HorigHeight of the image representing the panel to be inspected, HthumRepresenting the height of the thumbnail.
6. The method of claim 4, wherein the distance projective transforming the region compressed image to generate the thumbnail comprises:
calculating an average width of the intervals between the regions of interest in each group of regions of interest;
compressing the average width of the interval between the interested regions in each group of interested regions by n times to obtain the width I of the interval between two line segmentscur
Width I for the space between the two line segmentscurIf the number of pixels is less than the threshold value T, the width I of the interval between the two line segments is determinedcurRounding up after expanding by a factor of m to obtain the width of the expanded space between the two line segments, where m is min (W)thum/(Bl+Br),T/Icur) Min () represents the smaller of the two parameters in parentheses, WthumRepresenting the width of the thumbnail, BlAnd BrRespectively represent the distance of the leftmost line segment in the area compressed image from the left side of the thumbnail and the distance of the rightmost line segment in the area compressed image from the right side of the thumbnail.
7. The method of claim 1, wherein the method further comprises:
responding to the operation of the user on the second display area, and acquiring the position of the current target region of interest determined by the user in the thumbnail;
determining the position of the current target region of interest in the image of the panel to be detected based on the position of the current target region of interest in the thumbnail according to the position mapping relation between the image of the panel to be detected and the thumbnail;
and displaying the current target region of interest in the first display area according to the position of the current target region of interest in the image of the panel to be detected.
8. An image display apparatus of a panel to be inspected, the apparatus comprising:
the image acquisition module is used for acquiring an image of the panel to be detected;
the thumbnail generation module is used for generating a thumbnail of the image of the panel to be detected; and
the display module is used for displaying a user interface, wherein the user interface comprises a first display area and a second display area, the first display area is used for displaying at least part of an interested area in the image of the panel to be detected, the second display area is used for displaying the thumbnail and a first mark, and the first mark is used for marking the position of the interested area displayed by the first display area in the thumbnail.
9. An electronic device comprising a display, a processor and a memory, wherein the display is configured to display the user interface, and the memory stores computer program instructions that, when executed by the processor, are configured to perform the image display method of a panel to be inspected according to any one of claims 1 to 7.
10. A storage medium on which are stored program instructions for performing, when running, the image display method of a panel to be inspected according to any one of claims 1 to 7.
CN202111547491.8A 2021-12-16 2021-12-16 Image display method and device for panel to be detected, electronic equipment and storage medium Pending CN114359177A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202111547491.8A CN114359177A (en) 2021-12-16 2021-12-16 Image display method and device for panel to be detected, electronic equipment and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202111547491.8A CN114359177A (en) 2021-12-16 2021-12-16 Image display method and device for panel to be detected, electronic equipment and storage medium

Publications (1)

Publication Number Publication Date
CN114359177A true CN114359177A (en) 2022-04-15

Family

ID=81099590

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202111547491.8A Pending CN114359177A (en) 2021-12-16 2021-12-16 Image display method and device for panel to be detected, electronic equipment and storage medium

Country Status (1)

Country Link
CN (1) CN114359177A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
TWI803393B (en) * 2022-07-19 2023-05-21 神通資訊科技股份有限公司 Defect detection system based on unsupervised learning and method thereof

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
TWI803393B (en) * 2022-07-19 2023-05-21 神通資訊科技股份有限公司 Defect detection system based on unsupervised learning and method thereof

Similar Documents

Publication Publication Date Title
US20100171757A1 (en) Referencing a map to the coordinate space of a positioning system
CN109754389B (en) Image processing method, device and equipment
JP2018040649A (en) Image inspection device, image inspection method, image inspection program, computer-readable recording medium and recording apparatus
CN107408518B (en) Substrate inspection method and system
TW201346216A (en) Virtual ruler
JP6379410B1 (en) Inspection device, inspection system, inspection method, and program
US20190325593A1 (en) Image processing apparatus, system, method of manufacturing article, image processing method, and non-transitory computer-readable storage medium
US8170784B2 (en) Method and apparatus for moving content to mobile devices
JPWO2013179560A1 (en) Image processing apparatus and image processing method
CN104021565A (en) PCB (Printed Circuit Board) layer quantity and lead wire thickness measurement method based on straight-line detection
CN114359177A (en) Image display method and device for panel to be detected, electronic equipment and storage medium
JP6926486B2 (en) Information processing equipment, information processing methods and programs
CN108416759A (en) Show detection method, device and equipment, the readable medium of failure
CN112967279A (en) Method, device, storage medium and electronic equipment for detecting pulmonary nodules
WO2023109446A1 (en) Conductive particle identification method and apparatus, electronic device, and storage medium
US20220187215A1 (en) Information processing apparatus, information processing method, and recording medium
JP2015206654A (en) Information processing apparatus, information processing method, and program
JP7505635B2 (en) Segmentation of Continuous Dynamic Scans
US8194089B1 (en) On screen measurement tool
CN114119762A (en) Element positioning method, device, equipment and storage medium in alternating bright field and dark field
KR101447570B1 (en) Board inspection method and board inspection apparatus using the same
WO2024090054A1 (en) Image processing method, program, and image processing device
US11748960B1 (en) Printed circuit board (PCB) virtual x-ray visualization
JP2016217872A (en) Inspection device, inspection method, program, and storage media
CN110647826A (en) Method and device for acquiring commodity training picture, computer equipment and storage medium

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination