CN112770102A - Method, computer readable medium and system for detecting joint angle of 3D grating film - Google Patents
Method, computer readable medium and system for detecting joint angle of 3D grating film Download PDFInfo
- Publication number
- CN112770102A CN112770102A CN202110036483.0A CN202110036483A CN112770102A CN 112770102 A CN112770102 A CN 112770102A CN 202110036483 A CN202110036483 A CN 202110036483A CN 112770102 A CN112770102 A CN 112770102A
- Authority
- CN
- China
- Prior art keywords
- angle
- sample image
- stripe
- image
- grating film
- 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
Links
- 238000000034 method Methods 0.000 title claims abstract description 54
- 238000010030 laminating Methods 0.000 claims description 21
- 230000009466 transformation Effects 0.000 claims description 21
- 238000004590 computer program Methods 0.000 claims description 14
- 238000004364 calculation method Methods 0.000 claims description 11
- 238000001514 detection method Methods 0.000 claims description 7
- 238000003475 lamination Methods 0.000 claims 1
- 230000000694 effects Effects 0.000 abstract description 9
- 238000005516 engineering process Methods 0.000 abstract description 8
- 230000003287 optical effect Effects 0.000 description 6
- 238000004422 calculation algorithm Methods 0.000 description 5
- 238000012937 correction Methods 0.000 description 5
- 238000010586 diagram Methods 0.000 description 3
- 238000012545 processing Methods 0.000 description 3
- 230000009286 beneficial effect Effects 0.000 description 2
- 238000003708 edge detection Methods 0.000 description 2
- 230000006870 function Effects 0.000 description 2
- 230000000644 propagated effect Effects 0.000 description 2
- 229910052704 radon Inorganic materials 0.000 description 2
- SYUHGPGVQRZVTB-UHFFFAOYSA-N radon atom Chemical compound [Rn] SYUHGPGVQRZVTB-UHFFFAOYSA-N 0.000 description 2
- 239000004065 semiconductor Substances 0.000 description 2
- 230000015572 biosynthetic process Effects 0.000 description 1
- 230000008859 change Effects 0.000 description 1
- 238000004891 communication Methods 0.000 description 1
- 238000011161 development Methods 0.000 description 1
- 239000000835 fiber Substances 0.000 description 1
- 239000011521 glass Substances 0.000 description 1
- 230000006872 improvement Effects 0.000 description 1
- 238000004519 manufacturing process Methods 0.000 description 1
- 239000011159 matrix material Substances 0.000 description 1
- 230000004048 modification Effects 0.000 description 1
- 238000012986 modification Methods 0.000 description 1
- 235000001968 nicotinic acid Nutrition 0.000 description 1
- 239000013307 optical fiber Substances 0.000 description 1
- 230000008569 process Effects 0.000 description 1
- 230000008707 rearrangement Effects 0.000 description 1
- 238000011426 transformation method Methods 0.000 description 1
Images
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N13/00—Stereoscopic video systems; Multi-view video systems; Details thereof
- H04N13/30—Image reproducers
- H04N13/302—Image reproducers for viewing without the aid of special glasses, i.e. using autostereoscopic displays
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N17/00—Diagnosis, testing or measuring for television systems or their details
Landscapes
- Engineering & Computer Science (AREA)
- Multimedia (AREA)
- Signal Processing (AREA)
- Health & Medical Sciences (AREA)
- Biomedical Technology (AREA)
- General Health & Medical Sciences (AREA)
- Length Measuring Devices By Optical Means (AREA)
Abstract
The invention relates to the technical field of 3D display, in particular to a method, a computer readable medium and a system for detecting the joint angle of a 3D grating film. In addition, the method of the invention also reduces the requirement on the attaching technology of an operator, can detect the actual attaching angle as long as the attaching can be carried out, and does not influence the 3D effect.
Description
[ technical field ] A method for producing a semiconductor device
The invention relates to the technical field of 3D display, in particular to a method, a computer readable medium and a system for detecting a 3D grating film bonding angle.
[ background of the invention ]
With the rapid development of 3D (three-dimensional) technology, the naked eye stereoscopic display technology is a very attractive frontier technology direction at present, and by using the naked eye stereoscopic display device, a viewer can directly view a stereoscopic image like a stereoscopic movie without wearing 3D glasses, which will become the most promising direction for flat panel display.
Naked eye stereoscopic display equipment that appears on the market at present, the mode through laminating 3D grating film on display device's screen is realized more, before the laminating, 3D grating film has a laminating angle that predetermines in advance with the screen that corresponds to laminate, only laminate 3D grating film on the screen according to predetermined laminating angle completely, just can realize showing the best 3D effect, but in actual operation, there is great error in actual laminating angle after the laminating of 3D grating film and predetermined laminating angle, only can show the 3D effect of preferred after correcting according to actual laminating angle, but prior art is difficult to detect actual laminating angle, display device pixel can't be according to actual laminating angle correction formation one-to-one relation, lead to 3D's display effect relatively poor.
[ summary of the invention ]
In order to solve the problem that the actual joint angle is difficult to detect in the prior art, the invention provides a method, a computer readable medium and a system for detecting the joint angle of a 3D grating film.
The invention provides a method for detecting the joint angle of a 3D grating film, wherein the 3D grating film is jointed on a terminal screen, and the method comprises the following steps: step S10: acquiring a sample image; step S20: identifying a fringe tilt angle in the sample image; step S30: and obtaining an actual laminating angle according to the strip inclination angle and a preset laminating angle.
Preferably, step S10 specifically includes the following steps: step S11: displaying at least two stripes on a terminal screen; step S12: shooting a terminal screen through shooting equipment to obtain an initial image; step S13: and carrying out image transformation on the initial image to obtain a sample image.
Preferably, in step S13, the initial image is converted into an image captured when the photographing apparatus is directed toward the terminal screen to obtain a sample image.
Preferably, step S20 specifically includes the following steps: step S21: identifying a reference origin, a reference edge and a reference stripe in the sample image; step S22: acquiring an included angle between each reference stripe and each reference edge; step S23: carrying out weighted average on the angle of each included angle to obtain a fringe inclination angle; the sample image is rectangular, the reference origin is the vertex of the sample image pointed in the oblique upward direction of the stripe, the reference edge is an edge of the sample image passing through the reference origin and being vertical, and the reference stripe is a stripe intersected with the reference edge.
Preferably, between step S21 and step S22, further comprising: step S211: judging whether the length of the reference stripe is smaller than a preset length or not; if yes, go to step S22; step S212: and excluding reference stripes with length less than the preset length.
Preferably, the actual bonding angle is obtained in step S30 by the formula θ ═ a- α)/k + a, where θ is the actual bonding angle, a is the preset bonding angle, α is the stripe inclination angle, and k is a constant coefficient.
Preferably, the preset fitting angle is any one of 0-360 degrees.
The present invention further provides a computer-readable medium, in which a computer program is stored, where the computer program is configured to execute the method for detecting the bonding angle of the 3D grating film described in any one of the above embodiments when the computer program runs.
The present invention further provides a system for detecting a bonding angle of a 3D grating film, in order to solve the above technical problems, wherein the 3D grating film is bonded on a terminal screen, and the system includes: the image acquisition module is used for acquiring a sample image; the angle identification module is used for identifying the inclination angle of the stripes in the sample image; and the angle calculation module is used for combining the preset fitting angle according to the inclination angle of the stripes to obtain an actual fitting angle.
Compared with the prior art, the method, the computer readable medium and the system for detecting the bonding angle of the 3D grating film have the following advantages:
1. according to the method for detecting the joint angle of the 3D grating film, the sample image is firstly obtained according to the terminal screen jointed with the 3D grating film, the stripe inclination angle of the sample image is identified, and the actual joint angle is obtained according to the stripe inclination angle and the preset joint angle. In addition, the method of the invention also reduces the requirement on the attaching technology of an operator, can detect the actual attaching angle as long as the attaching can be carried out, and does not influence the 3D effect.
2. According to the method for detecting the joint angle of the 3D grating film, the initial image is obtained by shooting the terminal screen through the shooting equipment, and then the sample image is obtained by carrying out image transformation on the initial image, so that the problem that the optimal sample image is difficult to obtain due to the fact that the shooting equipment is difficult to shoot at the center of the screen is solved, and the technical difficulty in obtaining the sample image is reduced.
3. The method for detecting the bonding angle of the 3D grating film obtains the included angle between each reference stripe and the reference edge, then carries out weighted average to obtain the stripe inclination angle, and the stripe inclination angle is more accurate through the step, so that the finally obtained actual bonding angle is more accurate.
4. According to the method for detecting the bonding angle of the 3D grating film, the reference stripes with the length smaller than the preset length are excluded in advance by setting the preset length, and the excessively short reference stripes with included angles difficult to identify are excluded in advance, so that factors influencing calculation errors can be efficiently excluded, and the effectiveness of the finally obtained actual bonding angle is improved.
5. The method for detecting the laminating angle of the 3D grating film is suitable for any preset laminating angle of 0-360 degrees, has wide application scene and increases the practicability of the method.
6. The invention also provides a detection system for the joint angle between the computer readable medium and the 3D grating film, which has the same beneficial effects as the detection method for the joint angle of the 3D grating film, and the detailed description is omitted here.
[ description of the drawings ]
In order to more clearly illustrate the technical solutions in the embodiments of the present invention, the drawings needed to be used in the embodiments or the prior art descriptions will be briefly described below, and it is obvious that the drawings in the following description are only some embodiments of the present invention, and it is obvious for those skilled in the art to obtain other drawings based on these drawings without inventive exercise.
Fig. 1 is a flowchart illustrating steps of a method for detecting a bonding angle of a 3D grating film according to a first embodiment of the present invention.
Fig. 2 is a flowchart of step S10 in the method for detecting a bonding angle of a 3D grating film according to the first embodiment of the present invention.
Fig. 3 is an exemplary diagram of initial image transformation of a method for detecting a bonding angle of a 3D grating film according to a first embodiment of the present invention.
Fig. 4 is a first flowchart of the step S20 in the method for detecting a bonding angle of a 3D grating film according to the first embodiment of the present invention.
Fig. 5 is a flowchart illustrating a second step in step S20 of the method for detecting a bonding angle of a 3D grating film according to the first embodiment of the present invention.
Fig. 6 is an exemplary diagram of identifying a reference included angle of a stripe in a method for detecting a bonding angle of a 3D grating film according to a second embodiment of the present invention.
Fig. 7 is a schematic structural diagram of a system for detecting a bonding angle of a 3D grating film according to a third embodiment of the present invention.
The attached drawings indicate the following:
10. a camera; 20. a terminal screen; 30. a sample image; 40. a system; 41. an image acquisition module; 42. an angle identification module; 43. and an angle calculation module.
[ detailed description ] embodiments
In order to make the objects, technical solutions and advantages of the present invention more apparent, the present invention will be described in further detail below with reference to the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are merely illustrative of the invention and are not intended to limit the invention.
The terms "vertical," "horizontal," "left," "right," "up," "down," "left up," "right up," "left down," "right down," and the like as used herein are for illustrative purposes only.
Referring to fig. 1, a first embodiment of the present invention provides a method for detecting a bonding angle of a 3D grating film, where the 3D grating film is bonded on a terminal screen, and the method includes the following steps:
step S10: acquiring a sample image;
step S20: identifying a fringe inclination angle in the sample image;
step S30: and obtaining an actual laminating angle according to the inclination angle of the stripes and the preset laminating angle.
The sample image can be acquired according to a terminal screen attached with the 3D grating film, for example, the sample image can be a naked eye 3D mobile phone screen, a naked eye 3D television screen, a naked eye 3D notebook screen, and the like.
It can be understood that, the terminal screen may preset a fitting angle as a fitting basis before fitting the 3D grating film, the preset fitting angle is set according to the human bionics principle and the size and shape of the screen, the preset fitting angle is a known angle, and the known preset fitting angle may be any angle from 0 to 360 degrees, preferably from 0 to 45 degrees, excluding 0 degree. The angle range basically comprises the set range of the existing 3D terminal screen, and the practicability of the method is improved.
It can be understood that, in practical applications, the preset attachment angles of different types of terminal screens and different batches of terminal screens of the same type may be different, and the preset attachment angle of the terminal screen should be re-determined before each detection.
Understandably, the inclination angle of the stripes can be larger than a preset bonding angle according to the change of external conditions and the uncertainty of manual or mechanical operation errors when the 3D grating film is bonded manually or mechanically; or, may be smaller than the preset fitting angle; alternatively, it may be equal to the preset fitting angle, but with a very small probability. The method can effectively detect under three conditions, solves the problem that the actual attaching angle is difficult to detect by the technology, and the terminal screen can rearrange and adjust the pixels according to the actual attaching angle so as to display the optimal 3D effect. In addition, the method of the invention also reduces the requirement on the attaching technology of an operator, can detect the actual attaching angle as long as the attaching can be carried out, and does not influence the 3D effect.
Referring to fig. 2, further, step S10 specifically includes the following steps:
step S11: displaying at least two stripes on a terminal screen;
step S12: shooting a terminal screen through shooting equipment to obtain an initial image;
step S13: and carrying out image transformation on the initial image to obtain a sample image.
It can be understood that, after the 3D grating film is attached to the terminal screen, the corresponding terminal screen pixel has a pixel width value, and according to the optical characteristics of the grating, an actual width value can be set for arranging the image, and when the set actual width is slightly larger or smaller than the pixel width value of the terminal screen, effective arrangement can be achieved, and the stripe intervals obtained by the arrangement are equal. In step S11, according to the optical characteristics of the grating, the width value in the predetermined arrangement algorithm is the set actual width and is smaller than the pixel width value of the terminal screen, and at least two stripes appear on the terminal screen through the arrangement algorithm.
It can be understood that the stripes appearing on the terminal screen have a certain width, and there are intervals between the stripes, and when the number of the stripes is more than 2, the stripes can be regularly arranged.
It can be understood that the shooting device for shooting the terminal device may be a camera, an industrial camera, or an electronic device such as a mobile phone with a shooting function, a tablet computer, and specifically, in the embodiment of the present invention, the shooting device employs a camera.
Referring to fig. 3, an example is given in the embodiment of the present invention, it can be understood that when the camera 10 shoots towards the terminal screen 20, a certain angle β (as shown in fig. 3A) often exists between the optical axis of the camera 10 and the direction perpendicular to the center O of the terminal screen 20, and the existence of the angle β may cause the stripes on the terminal screen 20 to be deformed to a certain extent after being shot, so that the tilt angles of the stripes are deviated, and in step S13, the problem is solved through image transformation, that is, after the image transformation, the initial image is transformed into the image shot when the camera 10 is facing the terminal screen 20 (as shown in fig. 3B), and at this time, the image after the image transformation is the sample image. The camera 10 of the shooting device firstly shoots the terminal screen 20 to obtain an initial image, and then performs image transformation on the initial image to obtain a sample image, so that the problem that the shooting device is difficult to shoot at the center of the screen and is difficult to obtain the optimal sample image is solved, and the technical difficulty in obtaining the sample image is reduced.
It is understood that the image Transformation may adopt a Perspective Transformation (Perspective Transformation) method, and the initial image is corrected by a Perspective Transformation matrix; or, the image transformation may adopt an image tilt correction algorithm based on Hough transformation, that is, firstly reading an initial image, converting the initial image into a gray image, removing discrete noise points, then performing enhancement processing on horizontal lines in the initial image by using edge detection, then detecting a frame of a screen region part in the initial image based on Hough transformation to obtain a tilt angle, and performing tilt correction on the initial image according to the tilt angle to obtain a sample image; or, the image transformation may adopt an image tilt correction algorithm based on Radon transformation, that is, an initial image is read first, the initial image is converted into a grayscale image, discrete noise points are removed, then horizontal lines in the initial image are subjected to enhancement processing by using edge detection, then Radon transformation of a screen region part in the initial image is calculated to obtain a tilt angle, and tilt correction is performed on the initial image according to the tilt angle to obtain a sample image. Specifically, in the embodiment of the present invention, the image transformation is performed by using a perspective transformation method.
Referring to fig. 4, step S20 specifically includes the following steps:
step S21: identifying a reference origin, a reference edge and a reference stripe in the sample image;
step S22: acquiring an included angle between each reference stripe and each reference edge;
step S23: carrying out weighted average on the angle of each included angle to obtain a fringe inclination angle;
the sample image is rectangular, the reference origin is the vertex of the sample image pointed in the oblique upward direction of the stripe, the reference edge is one edge of the sample image passing through the reference origin and being vertical, and the reference stripe is a stripe intersected with the reference edge.
It can be understood that the shape of the sample image is determined according to the shape of the actual terminal screen, and is generally a rectangle, including a horizontal rectangle, that is, a rectangle whose length of the horizontal side is greater than that of the vertical side, and a vertical rectangle, that is, a rectangle whose length of the horizontal side is greater than that of the vertical side, and the stripe in the sample image is defined in the rectangle, has a certain width, and has two ends respectively intersecting with two sides of the sample image. According to a preset identification algorithm, the reference origin may be any point on the sample image, including points on the edge of the sample image and points inside the sample image, the reference edge is a line segment passing through the reference origin and having an intersection point with the edge of the sample image as two end points, and the reference stripe is a stripe intersecting with the reference edge. Specifically, in the embodiment of the present invention, the sample image is a horizontal rectangle, the reference origin is a vertex of the sample image pointed diagonally upward by the stripe, and the reference edge is an edge of the sample image that passes through the reference origin and is vertical.
Referring to fig. 5, further, between step S21 and step S22, the method further includes:
step S211: judging whether the length of the reference stripe is smaller than a preset length or not; if yes, go to step S212;
step S212: and excluding reference stripes with length less than the preset length.
It can be understood that the stripes are regularly arranged and limited in the rectangle of the sample image, when a certain stripe is arranged to the vertex pointed by the non-stripe, the width of the stripe is not completely located in the rectangle of the sample image, which makes it difficult to identify the included angle between the stripe and the reference edge, and the reference stripe can be screened by adopting a set threshold, or the stripe pointed to the vertex by the non-stripe in the reference stripe is identified to be excluded. Specifically, in the embodiment of the present invention, the reference stripes are screened by setting a preset length, and the preset length is set to be slightly greater than a product value of the stripe width and the inverse sine value and the inverse cosine value of the preset bonding angle. By excluding too short reference stripes with difficult-to-recognize included angles in advance, factors influencing calculation errors can be efficiently excluded, and the effectiveness of the finally obtained actual attaching angle is increased.
Referring to fig. 6, a second embodiment of the present invention is shown, where a sample image 30 in a rectangular shape is identified, A, B, C, D four points are four vertices of the sample image, and a plurality of parallel stripes with the same width and different lengths are displayed in the sample image, where a vertex B pointed obliquely upward is a reference origin, and a vertical side BC passing through the reference origin B (i.e., the vertex B) in the sample image 30 is a reference side, and it can be understood that the reference side BC is a line segment with an end point of B, C, and stripes K0 to Kn intersecting the reference side BC are reference stripes, where K0 passes through the vertex C and has a length smaller than a preset length, so that the reference stripe K0 is excluded and an included angle between the reference stripe K0 and the reference side BC is not identified; identifying included angles alpha 1-alpha n between the reference stripes K1-Kn and the reference edge BC, carrying out weighted average on the included angles alpha 1-alpha n to obtain a stripe inclination angle alpha, wherein the calculation formula is as follows:
α=(α1+α2+…+αn)/n
through the steps, the uncertain risk caused by single identification is eliminated, the inclination angle alpha of the stripe is more accurate, and the finally obtained actual attaching angle is more accurate.
It should be understood that if the preset bonding angle is a, the actual bonding angle is θ, and the preset bonding angle a is different from the actual bonding angle θ by a difference t, then the constant coefficient k is (a- α)/t, and therefore the difference t is (a- α)/k, and therefore the actual bonding angle θ is (a- α)/k + a, that is, the calculation formula for obtaining the actual bonding angle θ is:
θ=(a-α)/k+a
it can be understood that a constant exists between the terminal screen and the 3D grating film in a matching manner, the constant coefficient k is determined according to the specific constant, the preset bonding angle a and the constant coefficient k are known values, the actual bonding angle θ can be obtained only by obtaining the fringe inclination angle α, and the method for obtaining the fringe inclination angle α is the method provided by the embodiment of the present invention.
It can be understood that the detected terminal screen will exhibit the best 3D effect after the rearrangement operation according to the actual fitting angle θ given by the embodiment of the present invention.
A second embodiment of the present invention provides a computer-readable medium, in which a computer program is stored, where the computer program is configured to execute the method for detecting the bonding angle of the 3D grating film when the computer program runs.
It will be appreciated that the processes described above with reference to the flowcharts may be implemented as computer software programs, in accordance with the disclosed embodiments of the invention. For example, embodiments of the present disclosure include a computer program product comprising a computer program embodied on a computer readable medium, the computer program comprising program code for performing the method illustrated in the flow chart. In such an embodiment, the computer program may be downloaded and installed from a network via the communication section, and/or installed from a removable medium. The computer program, when executed by a Central Processing Unit (CPU), performs the above-described functions defined in the method of the present application. It should be noted that the computer readable medium described herein can be a computer readable signal medium or a computer readable storage medium or any combination of the two. A computer readable storage medium may include, for example, but not limited to, an electronic, magnetic, optical, electromagnetic, infrared, or semiconductor system, apparatus, or device, or any combination of the foregoing. More specific examples of the computer readable storage medium may include, but are not limited to: an electrical connection having one or more wires, a portable computer diskette, a hard disk, a Random Access Memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disc read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the foregoing. In the present application, a computer readable storage medium may be any tangible medium that can contain, or store a program for use by or in connection with an instruction execution system, apparatus, or device. In this application, however, a computer readable signal medium may include a propagated data signal with computer readable program code embodied therein, for example, in baseband or as part of a carrier wave. Such a propagated data signal may take many forms, including, but not limited to, electro-magnetic, optical, or any suitable combination thereof. A computer readable signal medium may also be any computer readable medium that is not a computer readable storage medium and that can communicate, propagate, or transport a program for use by or in connection with an instruction execution system, apparatus, or device. Program code embodied on a computer readable medium may be transmitted using any appropriate medium, including but not limited to: wireless, wire, fiber optic cable, RF, etc., or any suitable combination of the foregoing.
Computer program code for carrying out operations for aspects of the present application may be written in any combination of one or more programming languages, including an object oriented programming language such as Java, Smalltalk, C + +, and conventional procedural programming languages, such as the "C" programming language or similar programming languages. The program code may execute entirely on the user's computer, partly on the user's computer, as a stand-alone software package, partly on the user's computer and partly on a remote computer or entirely on the remote computer or server. In the case of a remote computer, the remote computer may be connected to the user's computer through any type of network, including a Local Area Network (LAN) or a Wide Area Network (WAN), or the connection may be made to an external computer (for example, through the Internet using an Internet service provider).
Referring to fig. 7, a third embodiment of the present invention provides a system 40 for detecting a bonding angle of a 3D grating film, where the 3D grating film is bonded on a terminal screen, and the system 40 includes:
an image acquisition module 41 for acquiring a sample image;
an angle identification module 42, configured to identify a stripe inclination angle in the sample image;
and the angle calculation module 43 is used for obtaining an actual bonding angle according to the inclination angle of the stripe and the preset bonding angle.
It is understood that the angle recognition module 42 is in signal connection with the image acquisition module 41, the angle recognition module 42 can retrieve the sample image data in the image acquisition module 41, the angle calculation module 43 is in signal connection with the angle recognition module 42, and the angle calculation module 43 can retrieve the stripe inclination angle data in the angle recognition module 42.
Compared with the prior art, the method, the computer readable medium and the system for detecting the bonding angle of the 3D grating film have the following advantages:
1. according to the method for detecting the joint angle of the 3D grating film, the sample image is firstly obtained according to the terminal screen jointed with the 3D grating film, the stripe inclination angle of the sample image is identified, and the actual joint angle is obtained according to the stripe inclination angle and the preset joint angle. In addition, the method of the invention also reduces the requirement on the attaching technology of an operator, can detect the actual attaching angle as long as the attaching can be carried out, and does not influence the 3D effect.
2. According to the method for detecting the joint angle of the 3D grating film, the initial image is obtained by shooting the terminal screen through the shooting equipment, and then the sample image is obtained by carrying out image transformation on the initial image, so that the problem that the optimal sample image is difficult to obtain due to the fact that the shooting equipment is difficult to shoot at the center of the screen is solved, and the technical difficulty in obtaining the sample image is reduced.
3. The method for detecting the bonding angle of the 3D grating film obtains the included angle between each reference stripe and the reference edge, then carries out weighted average to obtain the stripe inclination angle, and the stripe inclination angle is more accurate through the step, so that the finally obtained actual bonding angle is more accurate.
4. According to the method for detecting the bonding angle of the 3D grating film, the reference stripes with the length smaller than the preset length are excluded in advance by setting the preset length, and the excessively short reference stripes with included angles difficult to identify are excluded in advance, so that factors influencing calculation errors can be efficiently excluded, and the effectiveness of the finally obtained actual bonding angle is improved.
5. The method for detecting the laminating angle of the 3D grating film is suitable for any preset laminating angle of 0-360 degrees, has wide application scene and increases the practicability of the method.
6. The invention also provides a detection system for the joint angle between the computer readable medium and the 3D grating film, which has the same beneficial effects as the detection method for the joint angle of the 3D grating film, and the detailed description is omitted here.
The method, the computer-readable medium and the system for detecting the bonding angle of the 3D grating film disclosed by the embodiments of the present invention are described in detail, and the principles and the embodiments of the present invention are explained in the present document by applying three specific examples, and the descriptions of the above embodiments are only used to help understanding the method and the core ideas of the present invention; meanwhile, for the persons skilled in the art, according to the idea of the present invention, there may be variations in the specific embodiments and the application scope, and in summary, the content of the present description should not be construed as a limitation to the present invention, and any modification, equivalent replacement, and improvement made within the principle of the present invention should be included in the protection scope of the present invention.
Claims (9)
1. A detection method for a 3D grating film lamination angle is characterized by comprising the following steps: the 3D grating film is attached to a terminal screen, and the method comprises the following steps:
step S10: acquiring a sample image;
step S20: identifying a fringe tilt angle in the sample image;
step S30: and obtaining an actual laminating angle according to the strip inclination angle and a preset laminating angle.
2. The method of claim 1, wherein: step S10 specifically includes the following steps:
step S11: displaying at least two stripes on a terminal screen;
step S12: shooting a terminal screen through shooting equipment to obtain an initial image;
step S13: and carrying out image transformation on the initial image to obtain a sample image.
3. The method of claim 2, wherein: in step S13, the initial image is converted into an image captured when the photographing device is directed toward the terminal screen to obtain a sample image.
4. The method of claim 2, wherein: step S20 specifically includes the following steps:
step S21: identifying a reference origin, a reference edge and a reference stripe in the sample image;
step S22: acquiring an included angle between each reference stripe and each reference edge;
step S23: carrying out weighted average on the angle of each included angle to obtain a fringe inclination angle;
the sample image is rectangular, the reference origin is the vertex of the sample image pointed in the oblique upward direction of the stripe, the reference edge is an edge of the sample image passing through the reference origin and being vertical, and the reference stripe is a stripe intersected with the reference edge.
5. The method of claim 4, wherein: further included between step S21 and step S22 is:
step S211: judging whether the length of the reference stripe is smaller than a preset length or not; if yes, go to step S212;
step S212: and excluding reference stripes with length less than the preset length.
6. The method of claim 1, wherein: in step S30, an actual bonding angle is obtained by the formula θ ═ a- α)/k + a, where θ is the actual bonding angle, a is the preset bonding angle, α is the stripe inclination angle, and k is a constant coefficient.
7. The method of claim 1, wherein: the preset fitting angle is any one of 0-360 degrees.
8. A computer-readable medium, characterized in that: the computer-readable medium stores a computer program, wherein the computer program is configured to execute the method for detecting the 3D grating film attachment angle according to any one of claims 1 to 7.
9. The utility model provides a detection system of 3D grating film laminating angle which characterized in that: the 3D grating film is attached to a terminal screen, and the system comprises:
the image acquisition module is used for acquiring a sample image;
the angle identification module is used for identifying the inclination angle of the stripes in the sample image;
and the angle calculation module is used for combining the preset fitting angle according to the inclination angle of the stripes to obtain an actual fitting angle.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202110036483.0A CN112770102A (en) | 2021-01-12 | 2021-01-12 | Method, computer readable medium and system for detecting joint angle of 3D grating film |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202110036483.0A CN112770102A (en) | 2021-01-12 | 2021-01-12 | Method, computer readable medium and system for detecting joint angle of 3D grating film |
Publications (1)
Publication Number | Publication Date |
---|---|
CN112770102A true CN112770102A (en) | 2021-05-07 |
Family
ID=75701618
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202110036483.0A Pending CN112770102A (en) | 2021-01-12 | 2021-01-12 | Method, computer readable medium and system for detecting joint angle of 3D grating film |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN112770102A (en) |
Citations (13)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101298981A (en) * | 2008-05-15 | 2008-11-05 | 天津理工大学 | Method for measuring flat inclination grating diffraction fringe |
CN102401631A (en) * | 2010-08-25 | 2012-04-04 | Ntl科技股份有限公司 | Mounting accuracy inspection method and inspection apparatus using the same |
CN102801999A (en) * | 2012-07-19 | 2012-11-28 | 天津大学 | Synthetizing algorithm based on naked eye three-dimensional displaying technology |
CN104363441A (en) * | 2014-11-18 | 2015-02-18 | 深圳市华星光电技术有限公司 | Method and device for alignment laminating of optical grating and display panel |
CN204305233U (en) * | 2014-10-11 | 2015-04-29 | 深圳超多维光电子有限公司 | 3 d display device calibration equipment |
CN106488220A (en) * | 2015-08-28 | 2017-03-08 | 深圳创锐思科技有限公司 | The correction system of stereoscopic display device |
CN106501954A (en) * | 2017-01-06 | 2017-03-15 | 宁波维真显示科技股份有限公司 | 3D gratings applying method and its device |
CN107179613A (en) * | 2017-06-23 | 2017-09-19 | 深圳超多维科技有限公司 | A kind of display bearing calibration, device and the electronic equipment of bore hole stereoscopic display equipment |
CN107347152A (en) * | 2016-05-06 | 2017-11-14 | 深圳超多维光电子有限公司 | The determination method, apparatus and electronic equipment at the grating inclination angle of bore hole 3D display equipment |
CN107346040A (en) * | 2016-05-06 | 2017-11-14 | 深圳超多维光电子有限公司 | The determination method, apparatus and electronic equipment of the grating parameter of bore hole 3D display equipment |
CN109005400A (en) * | 2018-07-02 | 2018-12-14 | 深圳超多维科技有限公司 | A kind of method, system and the storage medium of the fitting offset of detection grating |
CN109429056A (en) * | 2017-07-05 | 2019-03-05 | 张艳红 | A kind of 3D Grating Film is bonded method, apparatus and the mobile terminal of correction |
CN112102292A (en) * | 2020-09-16 | 2020-12-18 | 深圳超多维科技有限公司 | Method, device and equipment for detecting laminating precision of 3D image |
-
2021
- 2021-01-12 CN CN202110036483.0A patent/CN112770102A/en active Pending
Patent Citations (13)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101298981A (en) * | 2008-05-15 | 2008-11-05 | 天津理工大学 | Method for measuring flat inclination grating diffraction fringe |
CN102401631A (en) * | 2010-08-25 | 2012-04-04 | Ntl科技股份有限公司 | Mounting accuracy inspection method and inspection apparatus using the same |
CN102801999A (en) * | 2012-07-19 | 2012-11-28 | 天津大学 | Synthetizing algorithm based on naked eye three-dimensional displaying technology |
CN204305233U (en) * | 2014-10-11 | 2015-04-29 | 深圳超多维光电子有限公司 | 3 d display device calibration equipment |
CN104363441A (en) * | 2014-11-18 | 2015-02-18 | 深圳市华星光电技术有限公司 | Method and device for alignment laminating of optical grating and display panel |
CN106488220A (en) * | 2015-08-28 | 2017-03-08 | 深圳创锐思科技有限公司 | The correction system of stereoscopic display device |
CN107346040A (en) * | 2016-05-06 | 2017-11-14 | 深圳超多维光电子有限公司 | The determination method, apparatus and electronic equipment of the grating parameter of bore hole 3D display equipment |
CN107347152A (en) * | 2016-05-06 | 2017-11-14 | 深圳超多维光电子有限公司 | The determination method, apparatus and electronic equipment at the grating inclination angle of bore hole 3D display equipment |
CN106501954A (en) * | 2017-01-06 | 2017-03-15 | 宁波维真显示科技股份有限公司 | 3D gratings applying method and its device |
CN107179613A (en) * | 2017-06-23 | 2017-09-19 | 深圳超多维科技有限公司 | A kind of display bearing calibration, device and the electronic equipment of bore hole stereoscopic display equipment |
CN109429056A (en) * | 2017-07-05 | 2019-03-05 | 张艳红 | A kind of 3D Grating Film is bonded method, apparatus and the mobile terminal of correction |
CN109005400A (en) * | 2018-07-02 | 2018-12-14 | 深圳超多维科技有限公司 | A kind of method, system and the storage medium of the fitting offset of detection grating |
CN112102292A (en) * | 2020-09-16 | 2020-12-18 | 深圳超多维科技有限公司 | Method, device and equipment for detecting laminating precision of 3D image |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US10872439B2 (en) | Method and device for verification | |
US20120320152A1 (en) | Stereoscopic image generation apparatus and method | |
US20200356800A1 (en) | Polygonal region detection | |
US20190378294A1 (en) | Stereo camera and height acquisition method thereof and height acquisition system | |
US8396285B2 (en) | Estimating vanishing points in images | |
US20200293793A1 (en) | Methods and systems for video surveillance | |
US9277148B2 (en) | Maximizing perceptual quality and naturalness of captured images | |
US20160253824A1 (en) | Xslit camera | |
CN111899270A (en) | Card frame detection method, device and equipment and readable storage medium | |
CN113689578A (en) | Human body data set generation method and device | |
CN114037992A (en) | Instrument reading identification method and device, electronic equipment and storage medium | |
CN112733641A (en) | Object size measuring method, device, equipment and storage medium | |
CN113724391A (en) | Three-dimensional model construction method and device, electronic equipment and computer readable medium | |
CN112153269B (en) | Picture display method, device and medium applied to electronic equipment and electronic equipment | |
US8218823B2 (en) | Determining main objects using range information | |
US20200388017A1 (en) | System, apparatus and method for facilitating inspection of a target object | |
CN112770102A (en) | Method, computer readable medium and system for detecting joint angle of 3D grating film | |
US11734948B2 (en) | Device and method for contactless fingerprint acquisition | |
US10339702B2 (en) | Method for improving occluded edge quality in augmented reality based on depth camera | |
CN112183526B (en) | Visible light positioning method, device, equipment and medium | |
CN115937311A (en) | Camera offset detection method and related device thereof | |
CN117115274B (en) | Method, device, equipment and storage medium for determining three-dimensional information | |
CN115527074B (en) | Vehicle detection frame generation method and device and computer equipment | |
KR102105365B1 (en) | Method for mapping plural displays in a virtual space | |
CN114066763A (en) | Image processing method and related device |
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 | ||
RJ01 | Rejection of invention patent application after publication |
Application publication date: 20210507 |