Automatic calibration method of 3D parameters of naked eye 3D display screen and related equipment
By automatically detecting and adjusting the parameter information of the 3D film and using the camera to obtain mirror images, the problem of slow and cumbersome manual calibration in the prior art is solved, and the automatic calibration of naked-eye 3D display screen is realized, improving the 3D display effect and user experience.
Patent Information
- Application Number
- CN202111201824.1
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2021-10-15
- Publication Date
- 2024-11-26
- Estimated Expiration
- 2041-10-15
AI Technical Summary
The calibration of existing naked-eye 3D displays relies on manual adjustments, and the process is slow and cumbersome and difficult to achieve good viewing results, and the user experience is poor.
By determining the parameter information of all 3D films supported by the current device, displaying the 3D test map, and using the camera to obtain the mirror image to detect whether it complies with the preset rules. If it does not comply, re-select the parameter information for calibration until the mirror image complies with the preset rules. , realize automatic calibration.
Automatic parameter calibration of naked-eye 3D display screen is realized, which improves the 3D display effect, simplifies the calibration process, and improves the user experience.
Smart Images

Figure CN113873234B_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the field of 3D display, and in particular to a method for automatically calibrating 3D parameters of a naked-eye 3D display screen and related equipment. Background Art
[0002] The real world is a three-dimensional world. When the human eye looks at an object, the image it sees has a position difference. The deviation between the two images is called disparity (parallax). It is this parallax that allows people to distinguish the distance of objects and gain a sense of three-dimensionality. According to the different parallax values, parallax can be divided into positive parallax, negative parallax and zero parallax. When the audience is watching, positive parallax makes people feel that the object is deep into the screen; negative parallax makes people feel that the object is suspended outside the screen; zero parallax is the boundary between positive parallax and negative parallax, and the object is just projected onto the screen, which is what we often call the zero plane. The stars on a summer night are very far away from us, and our sight lines when viewing the stars are almost parallel. At this time, the parallax is close to zero, and it is difficult for the human eye to distinguish the distance of the stars, so we feel that the stars are equally far away from us, and the stars seem to be on a plane without a sense of three-dimensionality. The human brain is an extremely complex nervous system. It can produce a three-dimensional sense of stereoscopic perception by combining the two images with parallax reflected by the optic nerve center and the visual psychological reaction. Using this principle, two left and right images with parallax are displayed on the monitor and sent to the left and right eyes respectively, so as to obtain a 3D sense. The principle of naked-eye 3D display is generally to split the image displayed on the monitor through a grating or lens, so that the human eye receives different images, thus realizing 3D display. The slit grating display blocks the displayed content by placing a slit with appropriate parameters in front of the display panel. After a certain distance, the light reaching the human eye can be separated, and the two eyes receive two images with parallax. The cylindrical lens type adopts the same principle, but the implementation method is replaced by a lens instead of a slit. The lens refracts different display contents to different places in space through the refraction of light. When reaching the human eye, the displayed content is separated, and the human eye receives two images with parallax, thus producing a three-dimensional effect.
[0003] Naked-eye 3D display technology is becoming more and more popular among users because it does not require users to wear 3D glasses to achieve 3D viewing. The implementation principle of naked-eye 3D display technology is: a special 3D glass film is covered on the display screen of the electronic device, and the display content is rearranged according to the 3D display requirements, so that the user's left and right eyes can respectively view the left eye image and the right eye image through the 3D glass film to achieve a 3D display effect. After pasting the 3D glass film on the display screen of the electronic device, it is necessary to calibrate the layout of the display screen so that the layout of the display screen matches the pasting position of the 3D glass film to achieve the best viewing effect. The existing display screen layout calibration relies on manual operation. During the calibration process, the user needs to manually adjust the layout parameters little by little according to the viewed effect. The adjustment process is slow and cumbersome, and it is difficult to achieve a good viewing effect, and the user experience is not good. Summary of the invention
[0004] The purpose of the present application is to provide a method and a related device for automatically calibrating 3D parameters of a naked-eye 3D display screen, which can automatically adjust the display of 3D images to improve the 3D display effect.
[0005] A first aspect of an embodiment of the present application provides a method for automatic calibration of 3D parameters of a naked-eye 3D display screen, comprising: determining parameter information of all models of 3D films supported by a current device; displaying a first 3D test pattern according to the parameter information of the first model of the 3D film, and obtaining a mirror image of the first 3D test pattern in a plane mirror through a camera according to the viewing distance, wherein the first model is any one of all 3D film models supported by the current device, and the plane mirror is arranged parallel to the display screen; detecting whether the mirror image conforms to a preset rule; and if so, determining that the automatic calibration is successful.
[0006] In one possible design, the method further includes: if the mirror image does not conform to a preset rule, reselecting parameter information of a second model of 3D film for detection and calibration until the corresponding mirror image conforms to the preset rule.
[0007] In a possible design, the method further includes: if the mirror images corresponding to the parameter information of all models of 3D films do not conform to the preset rule, a prompt message is sent to the user, and the prompt message is used to prompt the user to perform manual calibration.
[0008] In a possible design, the preset rule is that the mirror image has a plurality of parallel oblique light stripes with uniform width or the mirror image has no oblique stripes.
[0009] In a possible design, before displaying the first 3D test image at a preset viewing distance, the method further includes: acquiring an eye image of the user through the camera; acquiring an interpupillary distance of the user's pupils in the eye image; and obtaining the preset viewing distance from the interpupillary distance and the read off-screen distance ratio, wherein the off-screen distance ratio is a ratio of the preset off-screen distance to the standard off-screen distance.
[0010] In a possible design, the calculation formula of the preset distance from the screen L0 is: L0=d*(Q0+Wp0) / Wp0, where d is the distance from the 3D film to the display screen, Q0 is the preset standard pupil distance, and Wp0 is the preset standard pixel intercept.
[0011] In one possible design, the first 3D test image is parallel light strips composed of a two-color image. When the spacing and slope of the parallel light strips contained in the image captured by the camera both meet the preset value range, the detection calibration is successful; wherein the parameter information of the 3D film includes but is not limited to the following information: device model information, parameters of the 3D test image corresponding to the model, and the preset 3D test image parameters are the starting value, value range and step accuracy of the spacing and slope; wherein, in the detection calibration process, the spacing and slope of the light strips are adjusted for synchronous detection, the spacing increases while the slope decreases, or the spacing increases while the slope increases. If one of the spacing or the slope meets the preset value, the increase or decrease is stopped, and the remaining parameter is adjusted alone.
[0012] A second aspect of an embodiment of the present application provides a naked-eye 3D display screen, which is covered with a 3D film and is characterized in that it includes: a determination unit, used to determine parameter information of all models of 3D films supported by the current device; a display unit, used to display a first 3D test image according to the parameter information of the 3D film of the first model at a preset viewing distance; obtaining a mirror image of the first 3D test image in a plane mirror through a camera, the first model being any model of all models supported by the current device, and the plane mirror being arranged parallel to the display screen; a detection unit, used to detect whether the mirror image conforms to a preset rule; if so, the determination unit determines that the automatic calibration is successful.
[0013] A third aspect of an embodiment of the present application provides a computer device, which includes at least one connected processor, memory and transceiver, wherein the memory is used to store program code, and the processor is used to call the program code in the memory to execute the steps of the method for determining the viewpoint width described in the above aspects.
[0014] A fourth aspect of the embodiments of the present application provides a computer storage medium, which includes instructions, which, when executed on a computer, enable the computer to execute the steps of the method for determining the viewpoint width described in the above aspects. BRIEF DESCRIPTION OF THE DRAWINGS
[0015] In order to more clearly illustrate the technical solutions in the embodiments of the present invention, the following briefly introduces the drawings required for describing the embodiments. The drawings described below are only some embodiments of the present invention. For those skilled in the art, other drawings can be obtained based on these drawings without creative work, among which:
[0016] Figure 1 A flowchart of a method for automatically calibrating 3D parameters of a 3D display screen provided in an embodiment of the present application;
[0017] Figure 2a A mirror image that complies with a preset rule provided in an embodiment of the present application;
[0018] Figure 2b A mirror image that does not conform to a preset rule provided in an embodiment of the present application;
[0019] Figure 3 A framework diagram of a naked-eye 3D display screen provided in an embodiment of the present application;
[0020] Figure 4 A framework diagram of a calibration device provided in an embodiment of the present application. DETAILED DESCRIPTION
[0021] The technical solutions in the embodiments of the present invention are described clearly and completely below. Obviously, the described embodiments are only part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of the present invention.
[0022] The terms "first", "second", etc. in the specification and claims of the present application and the above-mentioned drawings are used to distinguish similar objects, and need not be used to describe a specific order or sequential order. It should be understood that the terms used in this way can be interchangeable under appropriate circumstances, which is only to describe the distinction mode adopted by the objects of the same attributes when describing in the embodiments of the present application. In addition, the terms "including" and "having" and any of their variations are intended to cover non-exclusive inclusions, so that the process, method, system, product or equipment comprising a series of units need not be limited to those units, but may include other units that are not clearly listed or inherent to these processes, methods, products or equipment.
[0023] See also Figure 1, a method for automatically calibrating 3D parameters of a naked-eye 3D display screen provided in an embodiment of the present application, comprising the following steps:
[0024] 101. Determine parameter information of all models of 3D films supported by the current device;
[0025] By obtaining the model of the current device, and then determining the supported model corresponding to the model of the current device in the preset device model-3D film model table, the parameter information of all supported 3D film models can be determined, wherein the parameter information includes the grating angle, etc.
[0026] 102. Display a first 3D test pattern according to parameter information of a first model of a 3D film, and obtain a mirror image of the first 3D test pattern in a plane mirror through a camera at a preset viewing distance, wherein the first model is any one of all 3D film models supported by the current device, and the plane mirror is arranged parallel to the display screen;
[0027] After determining the parameter information of all models of 3D films supported by the current device, a first side view is displayed at a preset viewing distance according to the parameter information of the first model of the 3D film, and a mirror image of the first 3D test image in the plane mirror is obtained through a camera, wherein the first model is any model of all models supported by the current device, and the plane mirror is arranged parallel to the display screen.
[0028] Before displaying the first 3D test image at the preset viewing distance, the method further includes: obtaining the user's eye image through the camera; obtaining the interpupillary distance of the user's pupil in the eye image; obtaining the preset viewing distance from the interpupillary distance and the read off-screen distance ratio, wherein the off-screen distance ratio is the ratio of the preset off-screen distance to the standard off-screen distance. The off-screen distance ratio is Q0*(W / q0) / L0. Q0 is the preset standard interpupillary distance, W is the camera screen width, q0 is the interpupillary distance of the user's pupil in the eye image, and L0 is the preset standard off-screen distance. The calculation formula of the preset off-screen distance L0 is: L0=d*(Q0+Wp0) / Wp0, wherein d is the distance from the 3D film to the display screen, Q0 is the preset standard interpupillary distance, and Wp0 is the preset standard pixel intercept.
[0029] It should be noted that, in actual applications, the first 3D test image is parallel light strips composed of a two-color image. When the spacing and slope of the parallel light strips contained in the image captured by the camera both meet the preset value range, the detection calibration is successful; wherein, the parameter information of the 3D film includes but is not limited to the following information: device model information, parameters of the 3D test image corresponding to the model, and the preset 3D test image parameters are the starting value, value range and step accuracy of the spacing and slope; wherein, in the detection calibration process, the spacing and slope of the light strips are adjusted for synchronous detection, the spacing increases while the slope decreases, or the spacing increases while the slope increases. If one of the spacing or the slope meets the preset value, the increase or decrease is stopped, and the remaining parameter is adjusted alone.
[0030] 103. Detect whether the mirror image conforms to a preset rule;
[0031] 104. If so, it is determined that the automatic calibration is successful.
[0032] After obtaining the mirror image, it is detected whether the mirror image conforms to a preset rule. In the embodiment of the present application, the preset rule may be that the mirror image has multiple parallel oblique light stripes with uniform width or the mirror image has no oblique stripes. Then, it is determined that the automatic calibration is successful and the current display rotation angle is saved. Figure 2a As shown, it is a mirror image that complies with a preset rule provided by an embodiment of the present application. Figure 2b As shown, it is a mirror image provided by the embodiment of the present application that does not conform to the preset rule. It can be seen that Figure 2b There is no pattern in the displayed images.
[0033] It should be noted that if the mirror image does not conform to the preset rule, the parameter information of the second model of the 3D film is reselected for detection and calibration until the corresponding mirror image conforms to the preset rule.
[0034] In addition, if the mirror images corresponding to the parameter information of all models of 3D films do not conform to the preset rule, a prompt message is sent to the user, and the prompt message is used to prompt the user to perform manual calibration.
[0035] See also Figure 3, is a framework diagram of a naked-eye 3D display screen provided in an embodiment of the present application, wherein the naked-eye 3D display screen is covered with a 3D film, and comprises: a determination unit 301, used to determine parameter information of all models of 3D films supported by the current device; a display unit 302, used to display a first 3D test chart according to the parameter information of the 3D film of a first model; a mirror image of the first 3D test chart in a plane mirror is obtained through a camera according to a preset viewing distance, the first model is any one of all models supported by the current device, and the plane mirror is arranged parallel to the display screen;
[0036] A detection unit 303 is used to detect whether the mirror image conforms to a preset rule;
[0037] If yes, the determining unit 301 determines that the automatic calibration is successful.
[0038] Next, a calibration device provided in an embodiment of the present application is introduced. The calibration device can be a terminal device. Figure 4 As shown, the terminal device 400 includes:
[0039] Receiver 401, transmitter 402, processor 403 and memory 404 (wherein the number of processor 403 in terminal device 400 can be one or more, Figure 4 In some embodiments of the present application, the receiver 401, the transmitter 402, the processor 403 and the memory 404 may be connected via a bus or other means, wherein: Figure 4 The example of connecting through bus is taken in the following.
[0040] The memory 404 may include a read-only memory and a random access memory, and provides instructions and data to the processor 403. A portion of the memory 404 may also include an NVRAM. The memory 404 stores an operating system and operating instructions, executable modules or data structures, or a subset thereof, or an extended set thereof, wherein the operating instructions may include various operating instructions for implementing various operations. The operating system may include various system programs for implementing various basic services and processing hardware-based tasks.
[0041] The processor 403 controls the operation of the terminal device, and the processor 403 can also be called a CPU. In a specific application, the various components of the terminal device are coupled together through a bus system, wherein the bus system includes not only a data bus, but also a power bus, a control bus, and a status signal bus, etc. However, for the sake of clarity, various buses are referred to as bus systems in the figure.
[0042] The method disclosed in the above embodiment of the present application can be applied to the processor 403, or implemented by the processor 403. The processor 403 can be an integrated circuit chip with signal processing capabilities. In the implementation process, each step of the above method can be completed by the hardware integrated logic circuit or software instructions in the processor 403. The above processor 403 can be a general-purpose processor, DSP, ASIC, FPGA or other programmable logic device, discrete gate or transistor logic device, discrete hardware component. The methods, steps and logic block diagrams disclosed in the embodiments of the present application can be implemented or executed. The general-purpose processor can be a microprocessor or the processor can also be any conventional processor, etc. The steps of the method disclosed in the embodiment of the present application can be directly embodied as a hardware decoding processor to execute, or the hardware and software modules in the decoding processor are combined and executed. The software module can be located in a mature storage medium in the field such as a random access memory, a flash memory, a read-only memory, a programmable read-only memory or an electrically erasable programmable memory, a register, etc. The storage medium is located in the memory 404, and the processor 403 reads the information in the memory 404 and completes the steps of the above method in combination with its hardware.
[0043] In the embodiment of the present application, the processor 403 is used to execute the operations performed by the first device and the second device.
[0044] The embodiment of the present application also provides a computer-readable medium, comprising computer-executable instructions, which enable the server to execute the method for determining the viewpoint width described in the above embodiment. The implementation principle and technical effect are similar and will not be repeated here.
[0045] It should also be noted that the device embodiments described above are merely schematic, wherein the units described as separate components may or may not be physically separated, and the components displayed as units may or may not be physical units, that is, they may be located in one place, or they may be distributed over multiple network units. Some or all of the modules may be selected according to actual needs to achieve the purpose of the scheme of this embodiment. In addition, in the drawings of the device embodiments provided by the present application, the connection relationship between the modules indicates that there is a communication connection between them, which may be specifically implemented as one or more communication buses or signal lines.
[0046] Through the description of the above implementation mode, the technicians in the field can clearly understand that the present application can be implemented by means of software plus necessary general hardware, and of course, it can also be implemented by special hardware including special integrated circuits, special CPUs, special memories, special components, etc. In general, all functions completed by computer programs can be easily implemented by corresponding hardware, and the specific hardware structure used to implement the same function can also be various, such as analog circuits, digital circuits or special circuits. However, for the present application, software program implementation is a better implementation mode in more cases. Based on such an understanding, the technical solution of the present application is essentially or the part that contributes to the prior art can be embodied in the form of a software product, which is stored in a readable storage medium, such as a computer floppy disk, a U disk, a mobile hard disk, a read-only memory (ROM, Read-Only Memory), a random access memory (RAM, Random Access Memory), a disk or an optical disk, etc., including a number of instructions to enable a computer device (which can be a personal computer, a server, or a network device, etc.) to execute the methods described in each embodiment of the present application.
[0047] In the above embodiments, all or part of the embodiments may be implemented by software, hardware, firmware or any combination thereof. When implemented by software, all or part of the embodiments may be implemented in the form of a computer program product.
[0048] The computer program product includes one or more computer instructions. When the computer program instructions are loaded and executed on a computer, the process or function described in the embodiment of the present application is generated in whole or in part. The computer may be a general-purpose computer, a special-purpose computer, a computer network, or other programmable devices. The computer instructions may be stored in a computer-readable storage medium, or transmitted from one computer-readable storage medium to another computer-readable storage medium, for example, the computer instructions may be transmitted from a website site, a computer, a server, or a data center by wired (e.g., coaxial cable, optical fiber, digital subscriber line (DSL)) or wireless (e.g., infrared, wireless, microwave, etc.) mode to another website site, computer, server, or data center. The computer-readable storage medium may be any available medium that a computer can store or a data storage device such as a server or a data center that includes one or more available media integrations. The available medium may be a magnetic medium, (e.g., a floppy disk, a hard disk, a tape), an optical medium (e.g., a DVD), or a semiconductor medium (e.g., a solid-state hard disk Solid State Disk (SSD)), etc.
[0049] Finally, it should be noted that the above embodiments are only used to illustrate the technical solutions of the present application, rather than to limit it. Although the present application has been described in detail with reference to the aforementioned embodiments, those skilled in the art should understand that they can still modify the technical solutions described in the aforementioned embodiments, or replace some or all of the technical features therein with equivalents. However, these modifications or replacements do not cause the essence of the corresponding technical solutions to deviate from the scope of the technical solutions of the embodiments of the present application.
Claims
1. A method for automatically calibrating 3D parameters of a naked-eye 3D display screen, wherein the naked-eye 3D display screen is covered with a 3D film, characterized in that: include: Determine the parameter information of all models of 3D films supported by the current device; The parameter information of the 3D film includes: device model information, parameters of a 3D test chart corresponding to the model, the 3D test chart is a parallel light strip composed of a two-color chart, and the parameters of the 3D test chart are the starting value, value range and step accuracy of the spacing and slope of the parallel light strips; According to parameter information of a first model of a 3D film, a first 3D test pattern is displayed, and a mirror image of the first 3D test pattern in a plane mirror is acquired through a camera at a preset viewing distance, wherein the first model is any one of all 3D film models supported by the current device, and the plane mirror is arranged parallel to the display screen; Detecting whether the mirror image conforms to a preset rule; If so, it is determined that the automatic calibration is successful; During the detection and calibration process, the spacing and slope of the light bar are adjusted and detected simultaneously. The spacing increases while the slope decreases, or the spacing increases while the slope increases. If one of the spacing or the slope meets the preset value, the increase or decrease stops, and the remaining parameter is adjusted alone. When the spacing and slope of the parallel light strips contained in the image captured by the camera both meet the preset value range, the automatic calibration is successful.
2. The automatic calibration method according to claim 1, characterized in that: The method further comprises: If the mirror image does not conform to the preset rule, the parameter information of the second model of the 3D film is reselected for detection and calibration until the corresponding mirror image conforms to the preset rule.
3. The automatic calibration method according to claim 2, characterized in that: The method further comprises: If the mirror images corresponding to the parameter information of all models of 3D films do not conform to the preset rule, a prompt message is sent to the user, and the prompt message is used to prompt the user to perform manual calibration.
4. The automatic calibration method according to claim 1, characterized in that: The preset rule is that the mirror image has a plurality of parallel oblique light stripes with uniform width or the mirror image has no oblique stripes.
5. The automatic calibration method according to claim 1, characterized in that: Before displaying the first 3D test image, the method further includes: Acquire an eye image of the user through the camera; Obtaining the pupil distance of the user's pupil in the eye image; The preset viewing distance is obtained from the interpupillary distance and the read off-screen distance ratio, wherein the off-screen distance ratio is a ratio of the preset off-screen distance to the standard off-screen distance.
6. The automatic calibration method according to claim 5, characterized in that: The calculation formula of the preset distance L0 from the screen is: L0=d*(Q0+Wp0) / Wp0, wherein d is the distance from the 3D film to the display screen, Q0 is the preset standard pupil distance, and Wp0 is the preset standard pixel intercept.
7. A naked-eye 3D display screen, the naked-eye 3D display screen being covered with a 3D film, characterized in that: include: A determination unit, used to determine parameter information of all models of 3D films supported by the current device, wherein the parameter information of the 3D film includes: device model information, parameters of a 3D test chart corresponding to the model, the 3D test chart is a parallel light strip composed of a two-color chart, and the 3D test chart parameters are a starting value, a value range, and a step accuracy of a spacing and a slope of the parallel light strips; A display unit, configured to display a first 3D test image according to parameter information of a first model of a 3D film; Acquire a mirror image of the first 3D test pattern in a plane mirror through a camera according to a preset viewing distance, wherein the first model is any one of all 3D film models supported by the current device, and the plane mirror is arranged parallel to the display screen; A detection unit, used to detect whether the mirror image conforms to a preset rule; If yes, the determining unit determines that the automatic calibration is successful; During the detection and calibration process, the spacing and slope of the light bar are adjusted and detected simultaneously. The spacing increases while the slope decreases, or the spacing increases while the slope increases. If one of the spacing or slope meets the preset value, the increase or decrease stops, and only the remaining parameter is adjusted. When the spacing and the slope of the parallel light strips contained in the image captured by the camera both meet the preset value range, the automatic calibration is successful.
8. A computer-readable storage medium, wherein instructions are stored in the computer-readable storage medium, and when the computer-readable storage medium is executed on a computer, the computer is enabled to execute the method according to any one of claims 1 to 6.
9. A computer program product comprising instructions, which, when executed on a computer, enables the computer to execute the method according to any one of claims 1 to 6.
