CN112584113A - Wide-screen projection method and system based on mapping correction and readable storage medium - Google Patents

Wide-screen projection method and system based on mapping correction and readable storage medium Download PDF

Info

Publication number
CN112584113A
CN112584113A CN202011406292.0A CN202011406292A CN112584113A CN 112584113 A CN112584113 A CN 112584113A CN 202011406292 A CN202011406292 A CN 202011406292A CN 112584113 A CN112584113 A CN 112584113A
Authority
CN
China
Prior art keywords
projection
image
optical
initial
coordinate set
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.)
Granted
Application number
CN202011406292.0A
Other languages
Chinese (zh)
Other versions
CN112584113B (en
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.)
Shenzhen Dangzhi Technology Co ltd
Original Assignee
Shenzhen Dangzhi 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 Shenzhen Dangzhi Technology Co ltd filed Critical Shenzhen Dangzhi Technology Co ltd
Priority to CN202011406292.0A priority Critical patent/CN112584113B/en
Publication of CN112584113A publication Critical patent/CN112584113A/en
Application granted granted Critical
Publication of CN112584113B publication Critical patent/CN112584113B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N9/00Details of colour television systems
    • H04N9/12Picture reproducers
    • H04N9/31Projection devices for colour picture display, e.g. using electronic spatial light modulators [ESLM]
    • H04N9/3141Constructional details thereof
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N9/00Details of colour television systems
    • H04N9/12Picture reproducers
    • H04N9/31Projection devices for colour picture display, e.g. using electronic spatial light modulators [ESLM]
    • H04N9/3179Video signal processing therefor
    • H04N9/3185Geometric adjustment, e.g. keystone or convergence

Landscapes

  • Engineering & Computer Science (AREA)
  • Multimedia (AREA)
  • Signal Processing (AREA)
  • Physics & Mathematics (AREA)
  • Geometry (AREA)
  • Projection Apparatus (AREA)
  • Controls And Circuits For Display Device (AREA)

Abstract

The application discloses a wide-screen projection method, a system and a computer readable storage medium based on mapping correction, wherein the method comprises the steps of controlling two optical machines to project focal length calibration and trapezoidal correction images to a projection surface, adjusting the focal lengths of the two optical machines and performing trapezoidal correction; controlling the two optical machines to project and splice the calibration image to the projection surface, and adjusting the projection angles of the two optical machines; then, performing trapezoid correction on the first initial image to obtain a first rectangular image, and acquiring a first vertex coordinate set of four vertexes of the first rectangular image; a third vertex coordinate set which takes the longitudinal rectangular side of the first rectangular image close to the center of the projection plane as a symmetry axis by referring to the first vertex coordinate set; and performing trapezoidal correction on the second initial image according to the third vertex coordinate set to obtain a second rectangular image spliced with the first rectangular image, and controlling the two optical machines to project respective images to be displayed to the projection plane in proportion. The application improves the overall effect of the effective projection picture of the wide-screen projection system.

Description

Wide-screen projection method and system based on mapping correction and readable storage medium
Technical Field
The present application relates to the field of projection display technologies, and in particular, to a method and a system for wide-screen projection based on mapping correction, and a computer-readable storage medium.
Background
With the development of science and technology, projection equipment is increasingly popularized in offices, multifunctional meeting rooms and home theaters, at present, projection equipment or a projection system generally uses a single optical machine to output a single optical path for projection, and in the projection direction, the projection area is limited by the projection distance, the physical imaging characteristics of the optical machine, trapezoidal correction of images and the like.
When the projection apparatus or the projection system is in side projection, the actually displayed projection image is scaled down and corrected due to the effect of the image trapezoidal correction factor, so that the appearance is impaired, and the larger the side projection angle is, the smaller the projection area of the actually displayed image is. Particularly, when the projection displays a large-width image, the actual display projection picture can only be scaled down under the condition of keeping a high width and a high proportion, which is reflected in that the upper black edge and the lower black edge of the projection are very large, the projection area of the actual display image is small, and the overall effect of the effective projection picture is poor.
The above is only for the purpose of assisting understanding of the technical solutions of the present application, and does not represent an admission that the above is prior art.
Disclosure of Invention
The embodiment of the application mainly aims to provide a wide-screen projection method and system based on mapping correction and a computer readable storage medium, and aims to solve the technical problems that the actual display image projection area of the conventional projection equipment or system is small, and the overall effect of an effective projection picture is poor.
In order to achieve the above object, an embodiment of the present application provides a wide-screen projection method based on mapping correction, where the wide-screen projection method based on mapping correction is applied to a wide-screen projection system, where the wide-screen projection system includes two optical machines and a camera, the two optical machines are arranged on a same base plane, the camera is arranged on a plane perpendicular to a connection line between the two optical machines and determined by a center of the connection line, and a projection plane is arranged in a shooting direction of the camera; the wide-screen projection method based on mapping correction comprises the following steps:
keeping the focal length unchanged, controlling the two optical machines to project trapezoidal correction images to the projection surface, and finishing trapezoidal correction of the projection surface based on the camera and an image algorithm;
keeping the trapezoidal correction effect, controlling the two optical machines to project a splicing calibration image to the projection plane, and adjusting the projection angles of the two optical machines to finish the splicing calibration of the two optical machines;
keeping a splicing state, controlling the two optical machines to project trapezoidal correction images to the projection surface, and finishing trapezoidal correction of the projection surface based on a camera and an image algorithm;
based on an image which is shot by a camera and synthesized by two optical machine projection surfaces, selecting one point on a splicing edge as a coordinate origin to establish a two-dimensional plane coordinate system and recording the two-dimensional plane coordinate system as a coordinate system A, and acquiring a projection surface with a smaller area as a first initial image and a projection surface with a larger area as a second initial image;
based on the coordinate system A, performing trapezoidal correction on the first initial image to obtain a first vertex coordinate set of four vertexes of the first rectangular image corresponding to the first initial image;
performing trapezoidal correction on the second initial image based on the coordinate system A to obtain a second vertex coordinate set of four vertexes of the second rectangular image corresponding to the second initial image;
according to the first vertex coordinate set, a third vertex coordinate set is mapped and calculated in a projection plane by taking a splicing edge as a symmetry axis, and a rectangle determined by the third vertex coordinate set is ensured to fall in a second vertex coordinate set;
after the third vertex coordinate set is determined, mapping the third vertex coordinate set back to the inside of the first vertex coordinate set region about the symmetry axis to form a new first vertex coordinate set;
performing trapezoid correction on the first initial image according to the new first vertex coordinate set to obtain a first rectangular image;
correcting the rectangular image of the second initial image according to the third vertex coordinate set to obtain a second rectangular image;
and controlling the two light machines to project respective images to be displayed to the projection surface according to the proportion of the first rectangular image and the second rectangular image.
Optionally, the step of performing trapezoidal correction on the first initial image based on the coordinate system a to obtain a first vertex coordinate set of four vertices of the first rectangular image corresponding to the first initial image includes:
performing focus calibration and trapezoidal correction on the two optical machines, then performing splicing correction, and after the splicing correction is completed, selecting one point based on a splicing edge to establish a two-dimensional plane coordinate system A;
acquiring a first initial vertex coordinate set of four vertexes of a first initial image based on an image acquired by a camera and a coordinate system A;
mapping a third initial vertex coordinate set of which the first initial vertex coordinate set is axisymmetric relative to the splicing edge on the basis of the splicing edge serving as a symmetry axis in a projection plane, so that a rectangle determined by the third initial vertex coordinate set falls inside a rectangle determined by the second initial vertex coordinate set, if one edge falls outside the rectangle determined by the second initial vertex coordinate set, translating the edge until the edge is overlapped with a corresponding edge determined by the second initial vertex coordinate set, and thus obtaining a new third initial vertex coordinate set; the second initial vertex coordinates are coordinates of four vertexes of the second initial image relative to a coordinate system A;
mapping the current third initial vertex coordinate set to the interior of the rectangle determined by the first initial vertex coordinate set about the symmetry axis to obtain a first vertex coordinate set, and obtaining a first vertex offset set of four vertexes of the first initial image by combining the first initial vertex coordinate set;
and adjusting virtual vertex coordinates of a chip projection image associated with a first initial image in an image processing chip of the wide-screen projection system according to the first vertex offset set until the first initial image is rectangular, so as to project the first rectangular image on a projection plane and obtain a first vertex coordinate set of four vertexes of the first rectangular image relative to a coordinate system A.
Optionally, the step of performing trapezoidal correction on the second initial image based on the coordinate system a to obtain a second vertex coordinate set of four vertices of the second rectangular image corresponding to the second initial image includes:
acquiring a second initial vertex coordinate set of four vertexes of a second initial image, and acquiring a second vertex offset set of the four vertexes of the second initial image according to the second initial vertex coordinate set and a third initial vertex coordinate set;
and adjusting the virtual vertex coordinates of the chip projection image associated with the second initial image in the image processing chip of the wide-screen projection system according to the second vertex offset set until the second initial image is rectangular, so as to project a second rectangular image on the projection plane and obtain a second vertex coordinate set of four vertexes of the second rectangular image relative to the coordinate system A. Specifically, according to the second vertex offset amount set, parameters of the output image vertex inside the wide-screen projection system are adjusted, so that the second initial image is rectangular, and the second rectangular image is projected on the projection surface. If the system uses a plug-in image correction chip, calculating according to the second vertex offset set to obtain relevant parameters of the plug-in image correction chip; if the system uses the software trapezoidal correction algorithm, the second vertex offset set needs to be converted into parameters identified by the software interface related to the software trapezoidal correction algorithm for setting.
Optionally, a distance sensor is respectively arranged on the optical machine and the camera,
controlling the two optical machines to project the spliced calibration image to the projection plane, and adjusting the projection angles of the two optical machines to complete the splicing calibration of the two optical machines, wherein the step comprises the following steps:
based on the distance sensor, acquiring a first distance from one optical machine to the projection surface, a third distance from the other optical machine to the projection surface and a second distance from the camera to the projection surface; controlling the two optical machines to project and splice the calibration images to the projection plane;
determining a first normal passing through the position of the camera and perpendicular to a vertical plane where the optical machine is located, acquiring a longitudinal straight line passing through a projection point of the first normal on a projection plane, and taking the longitudinal straight line as a splicing boundary reference line;
if the first distance and the second distance are not equal to the first calculation distance, prompting a user to manually adjust the projection surface or reset the projection angle of the optical machine, enabling the projection angle bisector of the reset optical machine to be parallel to the first normal line, and rotating the common base of the two optical machines in the left and right directions until the connection line of the two optical machines is parallel to the projection surface;
calculating and obtaining a target angle C to be adjusted of the projection angles of the two optical machines according to the connecting line distance of the two optical machines and the third distance from the camera to the projection plane, as shown in fig. 6,
the angle C is arctan (L/H) -angle B, the angle B is one half of the angle of the optical-mechanical projection range, H is a third distance plus the distance from the structural camera to the two optical-mechanical connecting lines, and L is a fourth distance from the optical-mechanical to the centers of the two optical-mechanical connecting lines;
and adjusting the projection angles of the two optical machines according to the target angle until the two spliced calibration images are seamlessly spliced at the spliced boundary reference line so as to finish the splicing calibration of the two optical machines.
Optionally, the step of adjusting the projection angles of the two optical machines according to the target angle includes:
and respectively controlling the two photomasks to rotate the projection angle in the same rotation direction and the opposite rotation direction, and stopping the rotation of the photomasks for coinciding the longitudinal boundary if the longitudinal boundary of any spliced calibration image is detected to coincide with the spliced boundary reference line.
Optionally, the wide-screen projection system further comprises a focusing motor, the focusing motor is disposed at the lens of the optical engine,
controlling the two ray machines to project focal length calibration images to the projection plane, and adjusting the focal lengths of the two ray machines to finish the focal length calibration of the two ray machines, wherein the step comprises the following steps:
controlling the two optical machines to project a focal length calibration image to the projection surface;
based on the definition of the focus calibration image dynamically acquired by the camera, the focus motor is controlled to adjust the focus of the two optical machines until the definition reaches a preset definition threshold value so as to complete the focus calibration of the two optical machines.
Optionally, the map correction-based widescreen projection method further includes:
after the splicing calibration images are detected to be overlapped relative to the two longitudinal boundaries, the camera collects the two spliced calibration images after being combined again, and then the number of transverse pixels and the number of longitudinal pixels of the overall image after the two spliced calibration images are seamlessly spliced are detected;
calculating and acquiring the approximate resolution of the overall image relative to the actual resolution according to the number of the transverse pixels and the number of the longitudinal pixels;
comparing the approximate resolution with a preset resolution of the two optical machine projection images;
if the difference between the approximate resolution and the preset resolution is within a threshold value, outputting a complete prompt of the wide-screen projection;
if the difference between the approximate resolution and the preset resolution exceeds a threshold value, prompting a user to adjust the position of the projector or the position of the projection surface through a voice or projection interface and then carrying out splicing calibration again until the difference between the approximate resolution and the preset resolution is within the threshold value.
Optionally, after the step of controlling the two optical machines to project the stitched calibration image to the projection plane, the method further includes:
if the instruction of canceling the wide-screen projection is detected, detecting the current projection brightness requirement of the wide-screen projection system;
if the current projection brightness requirement is larger than or equal to a preset brightness threshold value, controlling the two optical machines to project splicing calibration images to the area, perpendicular to the projection surface, in the shooting direction of the camera until the two splicing calibration images are completely overlapped; trapezoidal correction is carried out on the two optical machines, and the two optical machines are controlled to project the same image to be displayed to the projection surface
In order to achieve the above object, the present application further provides a wide-screen projection system, where the wide-screen projection system includes two optical machines and a camera arranged on the same plane, a memory, a processor, and a computer program stored in the memory and capable of running on the processor, the camera is arranged at a midpoint position of a connection line between the two optical machines, the optical machines and the camera are respectively provided with a distance sensor, a projection plane is arranged in a shooting direction of the camera, and the computer program is executed by the processor to implement the steps of the wide-screen projection method based on mapping correction.
To achieve the above object, the present application further provides a readable storage medium, on which a computer program is stored, and the computer program, when executed by a processor, implements the steps of the above-mentioned wide-screen projection method based on mapping correction.
In the embodiment of the application, wide screen projection is realized by arranging two optical machines, focal length calibration and splicing calibration are completed on the two optical machines, trapezoidal correction is sequentially performed on two projection surfaces, the projection surface with the smaller area is selected as a first initial image by comparing the area size, the projection surface with the larger area is a second initial image, the trapezoidal correction of the second initial image is based on a standard vertex coordinate set after the trapezoidal correction of the first initial image, the first rectangular image and the second rectangular image after the trapezoidal correction are equal in shape and area and seamlessly spliced, and finally the two optical machines are controlled to project respective images to be displayed to the projection surfaces, so that the images to be displayed projected by the two optical machines are two rectangular images which are high in definition, seamlessly spliced and have the same area, the two rectangular images form a wide screen projection picture effect, and compared with the conventional projection picture output by a single optical machine together by the two optical machines, the widths of the projection pictures respectively output by the two optical machines are shortened, even if the optical machines are in side projection, the projection pictures with the shortened single width are reduced through trapezoidal correction, or in wide-screen display, in order to keep the equal ratio of the high width proportion, the two kinds of reduction processing are jointly influenced by the equal ratio reduction of the projection pictures of the two optical machines, so that the actual projection pictures can be greatly reduced in the equal ratio reduction range, the problems that the upper black edge and the lower black edge of the projection are large and the projection area of the actual display image is small are solved, and the integral effect of the effective projection pictures of the wide-screen projection system is improved.
Drawings
FIG. 1 is a schematic view of a wide-screen projection system according to the present application;
FIG. 2 is a schematic view of another embodiment of a wide screen projection system according to the present invention;
FIG. 3 is a schematic view of the orientation and reference line layout of an embodiment of a projection screen in a widescreen projection system according to the present application;
FIG. 4 is a schematic flowchart illustrating an embodiment of a wide-screen projection method based on mapping correction according to the present application;
FIG. 5 is a schematic flowchart illustrating a wide-screen projection method based on mapping correction according to another embodiment of the present application;
FIG. 6 is a schematic diagram of an optical path of a projection plane in an oblique and parallel state in the present application of the wide-screen projection method based on mapping correction;
FIG. 7 is a geometric schematic of a first initial image and a maximum inscribed rectangle of the present application;
FIG. 8 is a geometric schematic diagram illustrating the first set of vertex coordinates and the second set of vertex coordinates of the present application in axial symmetry.
The reference numbers illustrate:
Figure BDA0002814346310000071
the implementation, functional features and advantages of the objectives of the present application will be further explained with reference to the accompanying drawings.
Detailed Description
It should be understood that the specific embodiments described herein are merely illustrative of the present application and are not intended to limit the present application.
The technical solutions in the embodiments of the present application will be described clearly and completely with reference to the drawings in the embodiments of the present application, and it is obvious that the described embodiments are only a part of the embodiments of the present application, and not all of the embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present application.
It should be noted that all the directional indications (such as up, down, left, right, front, and rear … …) in the embodiment of the present application are only used to explain the relative position relationship between the components, the movement situation, and the like in a specific posture (as shown in the drawing), and if the specific posture is changed, the directional indication is changed accordingly.
In this application, unless expressly stated or limited otherwise, the terms "connected," "secured," and the like are to be construed broadly, and for example, "secured" may be a fixed connection, a removable connection, or an integral part; can be mechanically or electrically connected; they may be directly connected or indirectly connected through intervening media, or they may be connected internally or in any other suitable relationship, unless expressly stated otherwise. The specific meaning of the above terms in the present application can be understood by those of ordinary skill in the art as appropriate.
In addition, descriptions in this application as to "first", "second", etc. are for descriptive purposes only and are not to be construed as indicating or implying relative importance or implicit to the number of technical features indicated. Thus, a feature defined as "first" or "second" may explicitly or implicitly include at least one such feature. In addition, technical solutions between various embodiments may be combined with each other, but must be realized by a person skilled in the art, and when the technical solutions are contradictory or cannot be realized, such a combination should not be considered to exist, and is not within the protection scope of the present application.
In an embodiment of the present application, referring to fig. 1 and 2, a wide-screen projection system includes: the optical-mechanical device comprises two optical-mechanical devices 1, a camera 2, a circuit board 3 and a base 4, wherein the optical-mechanical devices 1 are arranged on the base 4 at intervals, a driving assembly for driving the optical-mechanical devices 1 to rotate is arranged on the base 4, the camera 2 is arranged on the base 4 between the two optical-mechanical devices 1, the camera 2 is used for collecting various calibration images output by the optical-mechanical devices 1, and the calibration images comprise splicing calibration images and focal length calibration images; the models of the two optical machines 1 are generally the same, that is, the projection optical parameters of the two optical machines 1 are basically the same, the base 4 mainly plays a role in installation and support, the optical machines 1 are movably installed on the base 4 at intervals, the optical machines 1 are driven by the driving assembly to rotate on the plane where the base 4 is located, the light emitting direction of the optical machines 1 is adjusted, and therefore the projection area position of the optical machines 1 on the projection screen 8 is adjusted. The camera 2 is mainly used for collecting image content projected to the projection screen 8 by the optical machine 1, the image content can be a calibration image for projection calibration of the optical machine 1, and can also be a projection picture generated by cutting a to-be-displayed image projected by the optical machine 1, generally speaking, in order to facilitate the camera 2 to accurately collect the image content, the camera 2 is arranged on the base 4 between the two optical machines 1, thereby reducing horizontal offset of the image content projected by the optical machine 1 as much as possible, improving accuracy of the image content collected by the camera 2, and further improving accuracy of data analysis of the image processing chip 5 and the optical machine driving chip 6.
Referring to fig. 2, a processor is arranged on the circuit board 3, and the processor comprises an image processing chip 5 and an optical drive chip 6 which are in communication connection with each other; the image processing chip 5 is in communication connection with the optical machine 1, and controls the optical machine 1 to output splicing calibration images respectively by receiving image data and logic control signals of the image processing chip 5; the image processing chip 5 is respectively in communication connection with the optical machine driving chip 6, the driving assembly and the camera, so that the driving assembly is controlled to adjust an included angle P formed by the light emitting directions of the two optical machines 1 based on the splicing calibration images acquired by the camera 2, and the adjacent boundaries of the two splicing calibration images are connected; after the two splicing calibration images are connected, the optical-mechanical driving chip 6 informs the image processing chip 5 to control the optical-mechanical 1 to output respective projection images, wherein the projection images are obtained by proportionally splitting the images to be displayed by the image processing chip 5 according to the width proportion of the splicing calibration images.
The circuit board 3 is generally disposed on the base 4 and spaced from the optical machine 1, that is, the circuit board 3 is disposed above one side of the base 4 where the optical machine 1 is mounted, a bracket can be disposed between the circuit board 3 and the base 4, the circuit board 3 is fixedly connected with the bracket, and the height of the bracket is greater than that of the optical machine 1, so that the circuit board 3 and the optical machine 1 are disposed at intervals. Optionally, because ray apparatus 1 power is great, and the heat production is more, and the heat dissipation problem is outstanding, can set up the fin in circuit board 3 towards ray apparatus 1 one side, and the radiating fin one end is connected circuit board 3, one end and is connected ray apparatus 1 radiating piece or neighbouring ray apparatus 1 louvre to effectively utilize the region between circuit board 3 and the ray apparatus 1, increase heat radiating area improves the radiating efficiency of ray apparatus 1.
The image processing chip 5 and the optical engine driving chip 6 are both solid chips installed on the circuit board 3, and the image processing chip 5 is mainly used for controlling the optical engine 1 to output images, and splitting the images to be displayed and controlling the optical engine 1 to respectively display the split images if based on an external instruction. The optical machine driving chip 6 is mainly used for adjusting the light emitting direction of the optical machine 1, the inclination angle of the plane where the optical machine 1 is located and the focal length of the optical machine 1, and the optical machine driving chip 6 is in communication connection with the first motor 71, the second motor 91 and the focusing motor 10.
In this embodiment, referring to fig. 2 and 3, the image processing chip 5 controls the optical machines 1 to output the splicing calibration images to project onto the projection screen 8, the camera 2 continuously collects the projected splicing calibration images, the optical machine driving chip 6 analyzes the splicing calibration images collected by the camera 2, the driving module is controlled to adjust the included angle P formed by the light emitting directions of the two optical machines 1, the adjacent boundaries (two longitudinal boundaries perpendicular to and opposite to the transverse direction of the projection screen 8) of the two splicing calibration images, when the distance between the adjacent boundaries of the two splicing calibration images is too large, the driving module is controlled to decrease the included angle P formed by the light emitting directions of the two optical machines 1, when the distance between the adjacent boundaries of the two splicing calibration images is too small, the driving module is controlled to increase the included angle P formed by the light emitting directions of the two optical machines 1 until the adjacent boundaries of the two splicing calibration images are connected, at this time, the image processing chip 5 judges the relative positions of the two mosaic calibration images based on the two mosaic calibration images acquired by the camera 2 (if trapezoidal correction is completed before the mosaic calibration, the transverse width ratio obtained by analysis is 1:1, for example, the width ratio of the mosaic calibration images output by the two optical machines 1 is 1:1, namely, the two optical machines 1 output images with equal size, if the trapezoidal correction is performed after the mosaic calibration, the left and right projection screens project single-tone pictures with different whole screens, and the mosaic calibration is performed by detecting the colors of the adjacent areas of the two projection pictures), then the image processing chip 5 controls the optical machines 1 to output the projection pictures obtained by dividing and cutting the images to be displayed according to the width ratio, so that the two optical machines 1 output the projection pictures output by a single optical machine 1 in the conventional scheme together, and the amplitude of equal-scale reduction of actual projection pictures when a single optical machine system displays wide-screen, the problems that the upper black edge and the lower black edge are large and the actual projection area of the displayed image is small during full-screen projection are solved, and the overall effect of an effective projection picture of the wide-screen projection system is improved.
Further, in another embodiment of the wide screen projection system, the driving assembly includes a first motor 71, a first mounting stage 72 and a second mounting stage 73, the first motor 71 is in communication connection with the opto-mechanical driving chip 6, the first mounting stage 72 and the second mounting stage 73 are circular gears, the first mounting stage 72 and the second mounting stage 73 are axially and rotatably connected to the base 4 with the direction perpendicular to the base 4, two vertical rotating shafts are penetratingly arranged in the middle of the first mounting stage 72 and the second mounting stage 73, the first mounting stage 72 and the second mounting stage 73 rotate around the vertical rotating shafts, the two opto-mechanical devices 1 are respectively mounted on the sides of the first mounting stage 72 and the second mounting stage 73 away from the base 4, the opto-mechanical devices 1 can synchronously rotate along with the rotation of the first mounting stage 72 and the second mounting stage 73, the lateral outer edges of the first mounting stage 72 and the second mounting stage 73 are provided with interlocking gear teeth, that is, the first mounting stage 72 and the second mounting stage 73 are themselves circular gears, the first mounting table 72 and the second mounting table 73 are engaged with the driving gear 711 of the first motor 71, and when the light emitting direction of the optical machine 1 needs to be adjusted, the first motor 71 controls the driving gear 711 to drive the first mounting table 72 and the second mounting table 73 to rotate, so that the light emitting directions of the two optical machines 1 are adjusted, and adjacent boundaries of two spliced calibration images output by the optical machines 1 are controlled to be connected.
Preferably, the first mounting table 72 and the second mounting table 73 are gear members having the same size and are engaged with each other, and the driving gear 711 of the first motor 71 is engaged with the first mounting table 72 or the second mounting table 73. Namely, the gear teeth of the first mounting table 72 and the second mounting table 73 are meshed and linked, the driving gear 711 of the first motor 71 only needs to be meshed with any one of the first mounting table 72 or the second mounting table 73, so that the first motor 71 drives the first mounting table 72 and the second mounting table 73 to synchronously rotate, the rotating directions of the light emitting directions of the two optical machines 1 are opposite, and the rotating amplitudes of the two optical machines will be consistent, the problem that a single splicing calibration image moves too fast and too much is not easy to occur in the splicing calibration image splicing process, the width ratio of the two splicing calibration images is effectively kept unchanged, the method is particularly suitable for the splicing high-precision adjustment situation that the width ratio of the splicing calibration image of the two optical machines 1 is 1:1, and the splicing efficiency and the splicing precision of adjacent boundaries of the splicing calibration image are improved. Certainly, the number of the first motors 71 can be two according to needs, the two first motors 71 respectively and independently drive the first mounting table 72 and the second mounting table 73 (at this time, the two mounting tables are separated), that is, the projection angles of the two optical machines can be independently adjusted, for some high-precision projection scenes with special requirements, a user needs to independently adjust the projection angles of the two optical machines 1, and the multi-scene projection requirements of the wide-screen projection system are met.
Optionally, the camera 2 is disposed on an angular bisector of an included angle P formed between the light emitting directions of the two optical machines 1, the wide-screen projection system further includes a projection screen 8 (i.e., a projection plane or a projection plane curtain) located in the light emitting directions of the two optical machines 1, and the lighting direction of the camera 2 is perpendicular to the projection screen 8. Camera 2 sets up on the angular bisector, camera 2's daylighting direction can be parallel with the angular bisector or coincide, and wide screen projection system's projection screen 8 sets up the dead ahead at camera 2, does not shelter from between camera 2 and the projection screen 8, thereby camera 2's light-emitting direction is perpendicular with projection screen 8, the lateral deviation can reduce as far as possible to the projected image on camera 2 gathers projection screen 8, improve camera 2 and gather the precision of concatenation calibration image, further promote the concatenation efficiency and the concatenation precision on the adjacent border of concatenation calibration image. In addition, under the structure that the projection angles of the two optical machines 1 are independently adjusted, the camera 2 is disposed at the midpoint between the two optical machines 1.
Further, in another embodiment of the wide-screen projection system, referring to fig. 2, the wide-screen projection system further includes a physical horizontal angle calibration, which includes a second motor 91 and a horizontal rotating shaft 92, the second motor 91 is in communication connection with the optical engine driving chip 6, the horizontal rotating shaft 92 is fixedly connected with the horizontal adjusting surface 11 of the base 4, the second motor 91 drives the horizontal rotating shaft 92 to rotate so as to drive the horizontal adjusting surface 11 of the base 4 to rotate along with the horizontal rotating shaft 92, a portion of the horizontal rotating shaft 92 fixedly connected with the base 4 is the horizontal adjusting surface 11 of the plate-shaped member, the horizontal adjusting surface 11 can be fixedly connected with a side of the base 4 away from the optical engine 1, since there is no rotating space between the base 4 and the horizontal adjusting surface 11, the horizontal adjusting surface 11 and the base 4 do not move relatively, so that the second motor 91 drives the horizontal rotating shaft 92 to drive the base 4 to rotate more accurately, and the base 4 is placed on the inclined supporting surface when the base 4 where, Or the base 4 itself is not horizontal, or the base 4 is placed irregularly, resulting in the inclination of the base 4, and further resulting in the inclination of the light emitting direction of the optical machine 1 rather than the horizontal. Specifically, as shown in fig. 2, the base 4 includes a vertical horizontal adjustment base 12 and a horizontal adjustment surface 11, and the horizontal adjustment surface 11 is disposed on the vertical horizontal adjustment base 12. Therefore, after the adjacent boundaries of the calibration picture are connected, the second motor 91 drives the horizontal rotating shaft 92 to rotate so as to drive the base 4 to rotate, the image processing chip 5 controls the optical machine to output horizontal calibration images respectively, the optical machine driving chip 6 analyzes the horizontal calibration images acquired by the camera 2 synchronously, when the horizontal calibration image level is judged, namely, the plane included angle P of the planes where the two optical machines 1 are located is adjusted to be 0 degree, the planes where the two optical machines 1 are located are in a horizontal state, the second motor 91 is controlled to stop rotating, and therefore the projection of the optical machine 1 is ensured to meet the horizontal requirement. In addition, wide screen projection system still includes the gyroscope sensor that sets up on base 4, and ray apparatus drive chip 6 controls horizontal pivot 92 to rotate based on the data acquisition of gyroscope sensor to adjust two ray apparatus 1 place planes to the horizontality.
Optionally, horizontal rotating shaft 92 sets up in the one side that base 4 deviates from ray apparatus 1, the axial of horizontal rotating shaft 92 is parallel with the daylighting direction of camera 2, because the axial of horizontal rotating shaft 92 is unanimous in the daylighting direction of camera 2, then the axial perpendicular to projection screen 8 of horizontal rotating shaft 92, in the rotation process of horizontal rotating shaft 92, ensure that the turned angle of two ray apparatus 1 is unanimous, ensure that the light-emitting direction contained angle P of two ray apparatus 1 is unchangeable, when promoting wide-screen projection system's effective projection picture wholeness effect, avoid effective projection picture to appear the side to move. In addition, the preferred level of flattening of installation face of first mount table 72 and second mount table 73 is, and two ray apparatus 1 are in same horizontal plane to when horizontal rotating shaft 92 drove base 4 and rotates, two ray apparatus 1 are unanimous along with pivoted turned angle, have reduced the adjustment degree of difficulty that ray apparatus 1 adjusted to the horizontal plane, have further promoted the debugging efficiency before carrying out effective projection.
Further, referring to fig. 2 and 3, a reference mark is arranged on the side of the projection screen 8 facing the camera 2, the reference mark comprises a horizontal reference line, a vertical reference line and a splicing boundary reference line, the horizontal width extending direction of the horizontal calibration image should be parallel to the horizontal reference line, the longitudinal width extending direction of each type of calibration image (horizontal, splicing and focus calibration images) should be parallel to the vertical reference line, the splicing line when the adjacent boundaries of the two splicing calibration images are connected should coincide with the splicing boundary reference line, therefore, the reference mark can assist the optical-mechanical drive chip 6 in judging whether splicing of the spliced calibration images is completed or not and whether the plane where the optical-mechanical 1 is located (namely the horizontal calibration image) is located at the horizontal plane or not, and compared with the optical-mechanical drive chip 6 which is only analyzed according to the acquired image data of the camera 2, the calculation amount is less and the calculation efficiency is higher.
Optionally, the wide-screen projection system further includes a focusing motor 10, the focusing motor is in communication connection with the optical engine driving chip 6, and the focusing motor 10 is disposed at the lens of the optical engine 1 to adjust the focal length of the optical engine 1. Therefore, after the splicing calibration image is spliced and the plane of the optical machine 1 is horizontally calibrated (the horizontal calibration image is horizontal), the image processing chip 5 can control the optical machine 1 to respectively project two focal length calibration images, and control the respective focusing motors 10 of the two optical machines 1 to respectively adjust the focal lengths of the two optical machines 1, so that a clear projection effect is obtained. Finally, the image processing chip 5 cuts the image to be displayed in proportion according to the width proportion of the two projection areas after the trapezoidal correction, and then sends the image to the respective optical machines 1 for projection display.
The application also provides a wide-screen projection method based on mapping correction, which is applied to a wide-screen projection system, the wide-screen projection system comprises two optical machines and a camera which are arranged on the same base plane, the camera is arranged on a perpendicular bisector of a connecting middle point between the two optical machines (namely, a central point of the connecting line of the two optical machines in the figure 6), the arrangement positions of the camera and a distance sensor thereof can be referred to in figure 6, but the projection point of the camera on the projection plane is not on the connecting line of the two optical machines on the projection line of the projection plane, distance sensors are respectively arranged at the positions of the optical machines and the camera, for example, a distance sensor 13 at the camera and a distance sensor 15 at the optical machines in figures 1 and 2, a gyroscope sensor is arranged on a red light reference line emitter 14, and the camera, the gyroscope sensor and the gyroscope sensor are fixed on one base plane, with reference to fig. 4, a projection plane is set in the shooting direction of the camera, and the wide-screen projection method based on mapping correction includes:
step S10, controlling the two optical machines to project focal length calibration images to the projection plane, and adjusting the focal lengths of the two optical machines to finish the focal length calibration of the two optical machines;
step S20, keeping the focal length unchanged, controlling the two optical machines to project trapezoidal correction images to the projection surface, and finishing trapezoidal correction of the projection surface based on the camera and the image algorithm;
step S30, keeping the trapezoidal correction effect, controlling the two optical machines to project the splicing calibration image to the projection plane, and adjusting the projection angles of the two optical machines to complete the splicing calibration of the two optical machines;
step S40, keeping the splicing state, controlling the two optical machines to project trapezoidal correction images to the projection surface, and finishing trapezoidal correction of the projection surface based on the camera and the image algorithm;
step S50, based on the image which is shot by the camera and synthesized by the projection surfaces of the two optical machines, selecting one point on the splicing edge as a coordinate origin to establish a two-dimensional plane coordinate system and recording the coordinate system as a coordinate system A, and acquiring the projection surface with smaller area as a first initial image and the projection surface with larger area as a second initial image;
after finishing the focus calibration, the first trapezoid correction, the splicing calibration and the second trapezoid calibration of the two optical machines in the wide-screen projection system, selecting a point on the splicing edge as a coordinate origin to establish a two-dimensional plane coordinate system and recording the two-dimensional plane coordinate system as a coordinate system A based on an image which is shot by a camera and synthesized by projection surfaces of the two optical machines, and acquiring an initial image on the projection surface.
Optionally, the camera is used to obtain respective projected images of the two optical machines, and since the camera is fixed in position, errors of the two projected images are cancelled out, an image recognition algorithm is used to intercept the two projected images, and image pixels are used to superpose to obtain redundant pixels, if there are more pixels of one image than the other image, and a preset error threshold is checked, the projected image is selected as the first initial image, and the other projected image is the second initial image. If the difference of the number of the two projection pixel points does not meet the difference error threshold value, even if the difference of the number of the pixel points is 0, the trapezoidal size of the projection surface is corrected by adopting a method that the projection edge is not moved if the distance from the central reference line is short.
Specifically, after two ray machines accomplish the focus calibration, trapezoidal correction and projection image concatenation calibration, image processing chip control two ray machines to the whole trapezoidal calibration image of projection plane projection, the size of two left and right projections is not necessarily equal, wherein, the default chip projection image that stores in the image processing chip is the rectangle, the image processing chip sends default chip projection image to the ray machines for the ray machines to throw to the projection plane, thereby show trapezoidal calibration image on the projection plane, the chip projection image that the image processing chip stored is the theoretical display image that the ray machines projected, trapezoidal calibration image is the actual display image of chip projection image at the projection plane, thereby default chip projection image corresponds the initial trapezoidal calibration image of actual display.
Then, acquiring a trapezoidal correction image displayed on a projection surface through a camera arranged between two optical machines, obtaining outlines of the two trapezoidal correction images through a preset edge recognition algorithm, further calculating the areas of the two trapezoidal correction images, taking the trapezoidal correction image with a smaller area as a first initial image, and taking the trapezoidal correction image with a larger area as a second initial image. Further, if the two trapezoidal correction images have the same area, the trapezoidal size correction (size correction method) is performed on the projection surface by a method in which the projection edge does not move if the distance from the center reference line is short.
Step S60, performing trapezoidal correction on the first initial image based on the coordinate system A, and acquiring a first vertex coordinate set of the first initial image corresponding to four vertexes of the first rectangular image;
specifically, firstly, the projection surface is subjected to image analysis and segmentation through the camera, a coordinate system is arranged on the projection surface, or a red light reference line emitter is arranged at the installation position of the camera, and the red light reference line emitter projects a preset coordinate system onto the projection surface. Acquiring a distribution position of a first initial image in a coordinate system based on a camera, and acquiring a first initial vertex coordinate set of four vertexes of the first initial image; synchronously, as shown in fig. 7, with the splicing edge as a reference edge, two vertical lines are respectively made with two vertexes on the reference edge, which are denoted as vertex a and vertex B, and generate two intersection points with a longitudinal edge far away from the splicing edge, which are denoted as intersection point C1 and intersection point D1, an intersection point closer to the splicing edge is obtained, and assuming that intersection point C1 is closer to the splicing edge, a straight line parallel to the splicing edge is made through this intersection point C1, and the straight line generates a new intersection point D2 with another vertical line, so that ABC1D2 constitutes a new rectangle, thereby constructing a maximum inscribed rectangle (rectangle ABC1D2) in the first initial image (trapezoid ABCD), and further obtaining standard vertex coordinates of four vertexes of the maximum inscribed rectangle in a coordinate system.
And comparing the first initial vertex coordinate set with the standard vertex coordinate with the nearest position in pairs to obtain a first vertex offset set of four vertexes corresponding to the first initial image, and preferably, taking the difference value between the four groups of first initial vertex coordinate sets with the corresponding position and the standard vertex coordinate as the first vertex offset set of the four vertexes corresponding to the first initial image.
And then, inputting the first vertex offset sets of the four vertexes of the first initial image into a register of an image processing chip, and setting for first trapezoidal correction, namely adjusting the virtual vertex coordinates of a chip projection image associated with the first initial image in the image processing chip of the wide-screen projection system according to the first vertex offset sets, and further adjusting the chip projection image to be changed from a default rectangle to a trapezoid, so that after the offset of the chip projection image is superposed with a non-vertical projection surface, the display of the first initial image on the projection surface is adjusted once.
For example, the first vertex offset amount set for a vertex a of the first initial image is offset _ a _ x being 1 and offset _ a _ y being 0, so that the vertex a of the first initial image is offset by one unit in the x direction, which is the transverse direction and the y direction is the longitudinal direction as shown in fig. 3.
Then, the camera shoots the adjusted first initial image again to obtain four vertex coordinates again, a new first vertex offset set is obtained again, trapezoidal correction is carried out on the adjusted first initial image again based on the new first vertex offset set, the steps are repeated until the first initial image is rectangular, namely, a first rectangular image is correspondingly projected on a projection plane, and finally, a first vertex coordinate set of four vertices of the first rectangular image in a coordinate system is obtained.
Preferably, referring to fig. 5, step S60 includes:
step S61, acquiring a first initial vertex coordinate set of four vertexes of a first initial image based on the image acquired by the camera and a coordinate system A;
step S62, based on the splicing edge as a symmetry axis, mapping a third initial vertex coordinate set of which the first initial vertex coordinate set is axisymmetric relative to the splicing edge in a projection plane, so that a rectangle determined by the third initial vertex coordinate set falls inside a rectangle determined by the second initial vertex coordinate set, if one edge of the third initial vertex coordinate set falls outside the rectangle determined by the second initial vertex coordinate set, translating the edge until the edge is overlapped with a corresponding edge determined by the second initial vertex coordinate set, thereby obtaining a new third initial vertex coordinate set; the second initial vertex coordinates are coordinates of four vertexes of the second initial image relative to a coordinate system A;
step S63, mapping the current third initial vertex coordinate set to the interior of the rectangle determined by the first initial vertex coordinate set about the symmetry axis to obtain a first vertex coordinate set, and obtaining a first vertex offset set of four vertexes of the first initial image by combining the first initial vertex coordinate set;
step S64, according to the first vertex offset set, adjusting virtual vertex coordinates of a chip projection image associated with a first initial image in an image processing chip of the wide-screen projection system until the first initial image is rectangular, so as to project a first rectangular image on a projection plane, and acquiring a first vertex coordinate set of four vertexes of the first rectangular image relative to a coordinate system A.
Step S70, based on the coordinate system A, performing trapezoidal correction on the second initial image to obtain a second vertex coordinate set of the second initial image corresponding to four vertexes of the second rectangular image;
after determining the first vertex coordinate set of the four vertices of the first rectangular image, locating the longitudinal rectangular edge of the first rectangular image close to the center of the projection plane or the second initial image, and referring to fig. 8, obtaining a second vertex coordinate set (e.g., the coordinate of the point ABEF in fig. 8) of the first vertex coordinate set (e.g., the coordinate of the point ABC1D2 in fig. 8) with the longitudinal rectangular edge (edge AB) as the symmetry axis, where the second vertex coordinate set is the coordinate of the four vertices of the symmetric rectangle of the first rectangular image with the longitudinal rectangular edge as the symmetry axis.
Preferably, step S70 includes:
step S71, acquiring a second initial vertex coordinate set of four vertexes of a second initial image, and acquiring a second vertex offset set of four vertexes of the second initial image according to the second initial vertex coordinate set and a third initial vertex coordinate set;
and step S72, adjusting the virtual vertex coordinates of the chip projection image associated with the second initial image in the image processing chip of the wide-screen projection system according to the second vertex offset set until the second initial image is rectangular, so as to project a second rectangular image on the projection plane and obtain a second vertex coordinate set of four vertexes of the second rectangular image relative to the coordinate system A.
Acquiring a distribution position of a second initial image in a coordinate system based on a camera, and acquiring a second initial vertex coordinate set of four vertexes of the second initial image; and then comparing the second initial vertex coordinate set with the nearest position in pairs with the second vertex coordinate set obtained by symmetric mapping to obtain a second offset set of four vertexes corresponding to the second initial image, and preferably, taking the difference value between the four groups of second initial vertex coordinate sets corresponding to the positions and the second vertex coordinate set as the second offset set of four vertexes corresponding to the second initial image.
And inputting a second offset set of four vertexes of the second initial image into a register of the image processing chip, and performing first trapezoidal correction setting, namely adjusting the virtual vertex coordinates of a chip projection image associated with the second initial image in the image processing chip of the wide-screen projection system according to the second offset set, and further adjusting the chip projection image to be changed from a default rectangle to a trapezoid, so that after the offset of the chip projection image associated with the second initial image is superposed with a non-vertical projection surface, the display of the second initial image on the projection surface is adjusted once.
Then, the camera shoots the adjusted second initial image again to obtain four vertex coordinates again, a new second offset set is obtained again, trapezoidal correction is carried out on the adjusted second initial image again based on the new second offset set, the steps are repeated until the second initial image is rectangular, namely, a second rectangular image is correspondingly projected on a projection plane, and finally four vertexes of the second rectangular image are obtained to be overlapped with the second vertex coordinate set in the coordinate system.
Step S80, according to the first vertex coordinate set, with the splicing edge as a symmetry axis, a third vertex coordinate set is mapped and calculated in a projection plane, and a rectangle determined by the third vertex coordinate set is ensured to fall in the second vertex coordinate set;
step S90, after determining the third vertex coordinate set, mapping the third vertex coordinate set back to the inside of the first vertex coordinate set area about the symmetry axis to form a new first vertex coordinate set; performing trapezoid correction on the first initial image according to the new first vertex coordinate set to obtain a first rectangular image; correcting the rectangular image of the second initial image according to the third vertex coordinate set to obtain a second rectangular image; and controlling the two light machines to project respective images to be displayed to the projection surface according to the proportion of the first rectangular image and the second rectangular image.
After determining that the spliced calibration images projected by the two optical machines are spliced seamlessly, the optical machine driving chip can control the two optical machines to output at least one frame of picture frame (namely trapezoidal correction image) of the image to be displayed to the projection surface, and trapezoidal correction is respectively carried out on the two optical machines. Optionally, before the optical machine performs trapezoid correction, the image processing chip performs trapezoid correction on the optical machine a with a smaller projected frame to obtain a smaller trapezoid corrected image, the longitudinal boundary of the smaller trapezoid corrected image close to the other optical machine side is taken as a symmetry axis, a symmetric mapping region of the smaller trapezoid corrected image mapped by the symmetry axis is obtained, according to the rectangular vertex coordinates of the symmetric mapping region, the larger frame projected by the optical machine B is subjected to trapezoid correction to obtain another trapezoid corrected image with the same size as the smaller trapezoid corrected image, so that the areas of the two trapezoid corrected images (i.e. the first rectangular image and the second rectangular image) are equal, the problem that the areas of the projected images of the two optical machines are different due to respective trapezoid corrections is avoided, and the two trapezoid corrected images (i.e. the first rectangular image and the second rectangular image) are seamlessly spliced because the first two optical machines have already completed the splicing correction, and then controlling the two optical machines to gradually project all image frames of the image to be displayed to the projection surface. The image to be displayed is formal content projected by a wide-screen projection system required by a user, such as PPT, a movie, a television program and the like required by the user.
In this embodiment, the wide-screen projection is realized by setting two optical machines, after the two optical machines complete the focus calibration and the splicing calibration, the trapezoidal correction is sequentially performed on a first initial image with a smaller area and a second initial image with a larger area, the trapezoidal correction of the second initial image is based on the vertex coordinates of the first rectangular image after the trapezoidal correction of the first initial image, the first rectangular image and the second rectangular image after the trapezoidal correction are equal in area and seamlessly spliced, and finally the two optical machines are controlled to project respective images to be displayed to the projection plane, so that the images to be displayed projected by the two optical machines are two rectangular images with high definition, seamlessly spliced and the same area, the two rectangular images form the wide-screen projection picture effect, and the widths of the projection pictures respectively output by the two optical machines are shortened compared with the conventional projection picture output by a single optical machine jointly by the two optical machines, even if the optical machines are in side projection, the projection picture with the shortened single width is reduced through trapezoidal correction, or in wide-screen display, in order to keep the equal ratio of the high width and the high proportion to be reduced, the two reduction processes share the influence of the equal ratio reduction by the projection pictures of the two optical machines, so that the actual projection picture can be greatly reduced in the equal ratio reduction range, the problems that the upper and lower black edges of the projection are large and the projection area of the actual display image is small are solved, and the integral effect of the effective projection picture of the wide-screen projection system is improved.
Further, in another embodiment of the mapping correction-based wide-screen projection method according to the present application, the optical machines and the cameras are respectively provided with a distance sensor, and the step S30 controls the two optical machines to project the splicing calibration image onto the projection plane, and adjusts the projection angles of the two optical machines to complete the splicing calibration of the two optical machines includes:
step A1, based on the distance sensor, obtaining a first distance from one optical machine to the projection surface, a second distance from the other optical machine to the projection surface and a third distance from the camera to the projection surface; controlling the two optical machines to project and splice the calibration images to the projection plane;
the wide-screen projection system can comprise two optical machines, a camera, a circuit board and a base, wherein the two optical machines and the camera are arranged on the base and located on the same plane, the two optical machines are arranged on the base at intervals, a driving assembly for driving the optical machines to rotate to adjust the projection angle is arranged on the base, the camera is arranged on the base between the two optical machines to collect various calibration images output by the optical machines, and the shooting direction (namely the incident light direction of the camera) of the camera is perpendicular to the projection plane. The circuit board is provided with a processor, and the processor comprises an image processing chip and an optical machine driving chip which are in communication connection with each other.
Distance sensors typically measure distance based on the "time-of-flight" method, and the distance to an object is calculated by measuring the time interval by emitting a particularly short pulse of light and measuring the time from the emission of the light pulse to the reflection of the light pulse by the object. The distance sensor can be classified into an optical distance sensor, an infrared distance sensor, an ultrasonic distance sensor and the like according to different working principles. Therefore, based on the distance sensors arranged at the ray machines and the camera, the first distance from one ray machine to the projection surface, the second distance from the other ray machine to the projection surface and the third distance from the camera to the projection surface are detected and obtained, and the first calculation distance is obtained through calculation of the third distance. And synchronously, acquiring a first normal passing through the position of the camera and perpendicular to a vertical plane of a connecting line of the two optical machines, wherein the first normal is a vertical line of the plane where the optical machines are located and a vertical point at the camera.
If the first distance and the second distance are equal to the first calculation distance, determining a plane principle by three points, determining that a vertical plane of a connecting line of the two optical machines is parallel to the projection plane, acquiring a longitudinal straight line passing through a projection point of the first normal on the projection plane, and taking the longitudinal straight line as a splicing boundary reference line;
when the first distance, the second distance and the first calculation distance are equal, a vertical plane of a straight line formed by connecting the two optical machines is parallel to a plane where the projection plane is located, a projection point of the first normal line on the projection plane is obtained based on the position of the camera relative to the projection plane, and a longitudinal straight line passing through the projection point is used as a splicing boundary reference line for subsequent seamless splicing of the spliced calibration images. Wherein the first calculated distance is the sum of the third distance plus the distance from the structurally fixed camera to the perpendicular plane of the two-camera link.
When the wide-screen projection system is powered on and started or reset, the optical machine driving chip can firstly control the light emitting directions of the two optical machines to be restored to the preset initial direction, the image processing chip then controls the two optical machines to respectively shoot the projection surfaces in the direction towards the camera, the spliced calibration image is projected, and the color difference of the spliced calibration image relative to two longitudinal boundaries is large (the Euclidean distance is larger than the preset difference value) so as to be favorable for boundary identification.
Step A2, determining a first normal passing through the position of the camera and perpendicular to the plane where the two optical-mechanical connecting lines are located, acquiring a longitudinal straight line passing through the projection point of the first normal on the projection plane, and taking the longitudinal straight line as a splicing boundary reference line;
and acquiring a first normal passing through the position of the camera and parallel to the plane of the optical machine, wherein the first normal is perpendicular to the plane of the optical machine and the perpendicular line of the perpendicular point at the camera.
Step A3, if the first distance, the second distance and the first calculation distance are not equal, prompting a user to manually adjust the projection surface or reset the projection angle of the optical machine, wherein the projection angle bisector of the reset optical machine is parallel to the first normal line, and then the common base of the two optical machines is rotated in the left and right directions until the connection line of the two optical machines is parallel to the projection surface;
when one of the first distance, the second distance and the first calculated distance is not equal, it indicates that the plane where the projection screen is located is not parallel to the vertical plane of the connection line of the two optical machines, and a plane intersecting line is generated, as shown in fig. 6, closer to the projection plane of the optical machines. When the first distance, the second distance and the first calculation distance are unequal, a user is prompted to manually adjust the projection surface or reset the projection angle of the optical machine, the projection angle bisector of the reset optical machine is parallel to the first normal, and the common base of the two optical machines is rotated in the left and right directions until the connection line of the two optical machines is parallel to the projection surface.
Step A4, calculating and obtaining a target angle C to be adjusted of the projection angle of the two optical machines according to the connection line distance of the two optical machines and a first calculation distance obtained by calculating a third distance from the camera to the projection plane; wherein the content of the first and second substances,
the angle C is arctan (L/H) -angle B, the angle B is one half of the angle of the optical-mechanical projection range, H is a third distance plus the distance from the structural camera to the two optical-mechanical connecting lines, and L is a fourth distance from the optical-mechanical to the centers of the two optical-mechanical connecting lines;
referring to fig. 6, the four distances L from the optical machine to the centers of the two optical machine rotation centers and the camera and the distance sensor thereof at the projection point of the horizontal plane are already kept in the memory when the wide screen projection system leaves factory, after the projection screen is determined to be shifted as shown in fig. 6, the distance sensor at the camera is used for obtaining the third distance from the camera to the shifted projection plane and calculating to obtain the first calculated distance H, the angle enclosed by the thinner solid line (after adjustment of the optical machine projection angle boundary) in fig. 6 is the projection angle of the spliced calibration image projected by the two optical machines when the shifted projection plane is seamlessly spliced, the optical machine rotates from the initial position after reset to the adjusted state when the spliced calibration image is seamlessly spliced on the shifted projection plane, the target angle C needs to be rotated, namely, the state that the optical machine projection angle bisector is parallel to the normal at the optical machine is changed into the state that the optical machine projection angle bisector is at the target angle C with the normal (which is opposite to the state that the optical machine projection angle bisector is Simultaneous adjustment), in fig. 6, angle a is an included angle between a normal line at the optical machine and an adjusted optical machine projection angle boundary, and since the normal line at the optical machine is parallel to the normal line at the camera, angle a is an angle (L/H), and angle B is an included angle between the adjusted optical machine projection angle boundary and the adjusted optical machine projection angle bisector (i.e., half of the optical machine projection range angle), so that angle C is arc (L/H) -angle B, i.e., two optical machines rotate angle C from a post-reset state toward the camera direction at the same time.
Step A5, adjusting the projection angles of the two optical machines according to the target angle until the two spliced calibration images are spliced seamlessly at the reference line of the splicing boundary, so as to complete the splicing calibration of the two optical machines.
Specifically, the two photomechanical rotation opposite rotation projection angles are respectively controlled, and if the fact that the longitudinal boundary of any splicing calibration image is overlapped with the splicing boundary reference line is detected, the photomechanical rotation overlapped with the longitudinal boundary is stopped. Therefore, the synchronous adjustment of the projection angles of the two optical machines is realized, the coincidence of the longitudinal boundary of any splicing calibration image projected by a single optical machine and the splicing boundary reference line is independently judged, the rotation of the optical machine at the coincident longitudinal boundary is stopped when the coincidence of the longitudinal boundary of any splicing calibration image and the splicing boundary reference line is detected, and the seamless splicing of the two splicing calibration images at the splicing boundary reference line is quickly and accurately realized after the target angle is known.
After the target angle & lt C is determined, the two optical machines simultaneously rotate & lt C towards the direction of the camera from the reset state to complete adjustment of the projection angles of the two optical machines, after the projection angles are adjusted, the two spliced calibration images are seamlessly spliced at a spliced boundary reference line, and after the adjustment of the projection angles of the two optical machines, the projection angle boundaries of the two optical machines converge and coincide at the intersection point of the inclined projection plane and the normal line of the camera in fig. 6.
In addition, if the first distance is equal to the second distance, a longitudinal straight line passing through a projection point of the first normal on the projection plane is obtained, and the longitudinal straight line is used as a splicing boundary reference line; controlling projection surfaces of the two optical machines in the shooting direction of the camera to respectively project and splice the calibration images; shooting an acquired image of the spliced calibration image based on the camera, and determining the position relationship of the two spliced calibration images; and adjusting the projection angle of the optical machine according to the position relation until the two spliced calibration images are seamlessly spliced at the spliced boundary reference line.
The camera dynamically collects splicing calibration images projected by the optical machine in real time, the image processing chip carries out boundary identification and distance analysis on the splicing calibration images which are dynamically collected in real time, two opposite longitudinal boundaries of the two splicing calibration images can be identified firstly, and then the distance between the two longitudinal boundaries is analyzed and estimated, wherein the distance between the two longitudinal boundaries is larger than 0, and the backgrounds of the two splicing calibration images are not overlapped, so that the condition that the two splicing calibration images do not have an overlapped area is shown; the distance between the two longitudinal boundaries is less than 0 and the backgrounds of the two stitched calibration images coincide, indicating that there is an overlapping region between the two stitched calibration images. One point of a longitudinal edge of a projection plane can be used as a zero point of a transverse coordinate axis, the distance between two longitudinal boundaries is equal to the difference between the abscissas of the two longitudinal boundaries on the transverse coordinate axis, specifically, the difference is equal to the difference between the abscissa of the longitudinal boundary far away from the zero point (hereinafter referred to as far coordinate) and the abscissa of the longitudinal boundary near to the spliced calibration image (hereinafter referred to as near coordinate), wherein the distance is a negative value, which indicates that the far coordinate is closer to the zero point of the transverse coordinate axis relative to the near coordinate, and then the existence of an overlapping region in the two spliced calibration images is judged.
The spliced calibration images are analyzed in a mode that the distance between the two longitudinal boundaries is equal to the difference value between the abscissa of the two longitudinal boundaries and the abscissa of the transverse coordinate axis, whether overlapping areas exist in the two spliced calibration images or not can be judged conveniently, then the overlapping areas exist in the two spliced calibration images, the position relation is judged to be intersected, the overlapping areas do not exist in the two spliced calibration images, and the position relation is judged to be separated.
Generally speaking, the two stitching calibration images are mostly in a separated state, even if the two stitching calibration images are in an intersected state, the intersected state of the two stitching calibration images can be quickly judged through image analysis, generally, the colors of the two stitching calibration images are different, for example, one red color is different from the other blue color, when a fourth color except for the colors of red, blue and a projection plane is detected, the two stitching calibration images are judged to be in the intersected state, an included angle between light emitting directions of the two optical machines is increased, a projection angle of the two optical machines is adjusted until the fourth color is eliminated, the two longitudinal boundaries are overlapped at a stitching boundary reference line, and the two stitching calibration images are seamlessly stitched.
Therefore, when the two spliced calibration images are in a phase separation state, the larger the distance between the two spliced calibration images and two longitudinal boundaries is, the larger the included angle formed by the light emitting directions of the two optical machines is, the included angle needs to be reduced, and then when the judgment position relation is the phase separation, the included angle formed by the light emitting directions of the two optical machines is reduced, so that the projection angle of at least one optical machine is adjusted, wherein the distance is positively correlated with the adjustment speed of the projection angle of the optical machines, namely, when the distance is larger, the included angle formed by the light emitting directions of the two optical machines is larger, and the projection angle of the optical machines is adjusted at a larger rotation speed. In the process of continuously adjusting the projection angle of the optical machine, the processor continuously detects the distance between the two relative longitudinal boundaries of the two spliced calibration images based on the camera, and when the distance is 0, the processor indicates that the two relative longitudinal boundaries of the two spliced calibration images are overlapped at the reference line of the spliced boundaries, and the adjustment of the projection angle of the optical machine is finished. Of course, in the process of adjusting the included angle, if it is detected that the longitudinal boundary of any spliced calibration image is overlapped with the spliced boundary reference line, the rotation of the optical machine overlapping the longitudinal boundary is stopped.
Further, in another embodiment of the mapping correction-based wide-screen projection method according to the present application, the wide-screen projection system further includes a focusing motor disposed at a lens of the optical engine, and the step S10 of controlling the two optical engines to project the focal length calibration image onto the projection plane and adjusting the focal lengths of the two optical engines to complete the focal length calibration of the two optical engines includes:
b, controlling the two optical machines to project focal length calibration images to the projection plane; based on the definition of the focus calibration image dynamically acquired by the camera, the focus motor is controlled to adjust the focus of the two optical machines until the definition reaches a preset definition threshold value so as to complete the focus calibration of the two optical machines.
Before the ray apparatus carries out the concatenation calibration, set up ray apparatus focus calibration flow, two ray apparatus of image processing chip control this moment are to the projection plane projection focus calibration image, and the focus of two ray apparatus of control focusing motor adjustment, and carry out the comparison to the definition and the budget definition threshold of the focus calibration image of gathering in real time through the camera, the definition when focus calibration image reaches preset definition threshold, show that the focus adjustment of two ray apparatus finishes, the ray apparatus can project clear projection picture this moment, guarantee the concatenation calibration image of the follow-up projection of ray apparatus, the definition of trapezoidal correction image, be favorable to the camera to gather the calibration image of high definition, be favorable to the accurate analysis of concatenation calibration image and trapezoidal correction image, the accuracy and the efficiency of image calibration have been improved.
Optionally, the map correction-based widescreen projection method further includes:
after the splicing calibration images are detected to be overlapped relative to the two longitudinal boundaries, the camera collects the two spliced calibration images after being combined again, and then the number of transverse pixels and the number of longitudinal pixels of the overall image after the two spliced calibration images are seamlessly spliced are detected;
calculating and acquiring the approximate resolution of the overall image relative to the actual resolution according to the number of the transverse pixels and the number of the longitudinal pixels;
comparing the approximate resolution with a preset resolution of the two optical machine projection images;
if the difference between the approximate resolution and the preset resolution is within a threshold value, outputting a complete prompt of the wide-screen projection;
if the difference between the approximate resolution and the preset resolution exceeds a threshold value, prompting a user to adjust the position of the projector or the position of the projection surface through a voice or projection interface, and then performing splicing calibration again until the difference between the approximate resolution and the preset resolution is within the threshold value.
Further, after the step of controlling the two optical engines to project the stitched calibration image onto the projection plane in step S30, the method further includes:
d1, detecting the current projection brightness requirement of the wide-screen projection system if detecting the instruction of canceling the wide-screen projection;
when a wide-screen projection canceling instruction input by a user is detected, which indicates that the user does not need wide-screen projection currently, the current projection brightness requirement of the wide-screen projection system is further detected.
Step D2, if the current projection brightness requirement is larger than or equal to the preset brightness threshold, controlling the two optical machines to project the spliced calibration images to the area of the vertical projection plane in the shooting direction of the camera until the two spliced calibration images are completely overlapped; and performing trapezoidal correction on the two optical machines, and controlling the two optical machines to project the same image to be displayed to the projection surface.
If the current projection brightness requirement is larger than or equal to the preset brightness threshold value, it is indicated that the current ambient light of the user is bright, and brightness display needs to be enhanced, the two optical machines are controlled to project the spliced calibration images to the area where the shooting direction of the camera is perpendicular to the projection surface until the two spliced calibration images are completely overlapped, and the brightness of the projection images of the two optical machines is mutually enhanced to highlight the image to be displayed.
In addition, if the current projection brightness requirement is smaller than the preset brightness threshold, one optical machine is closed, and only one optical machine is used for projection, so that the brightness requirement of a user for projecting an image to be displayed is met, and the electric energy consumed by one optical machine is saved. The trapezoidal correction process may be substantially the same as step S40 described above, and will not be described in more detail again.
In addition, after detecting that the optical machine projects an image to be displayed on the projection surface, the wide-screen projection method based on mapping correction further includes: detecting the similarity between images to be displayed projected by the optical machine, counting the duration of which the similarity is greater than or equal to a preset similarity threshold, if the duration is greater than the preset unit duration, outputting a prompt of whether the optical machine is turned off by the wide-screen projection system, wherein the prompt can be a voice prompt or an optical machine projection character prompt, and if the preset waiting duration after outputting the prompt of whether the optical machine is turned off is not responded, automatically turning off the optical machine; and if a shutdown instruction determined by a user or a shutdown instruction determined not to be performed is received, executing according to the user instruction. And if the similarity is smaller than the preset similarity threshold, clearing the duration of which the statistical similarity is greater than or equal to the preset similarity threshold so as to carry out statistics again. Therefore, when the optical machine projects the images which are basically the same for a long time, the duration of projecting the images which are basically the same starts to be counted, when the duration is longer than the duration of the preset unit, the fact that the user possibly sleeps in the projection process of the optical machine or the user is busy in other affairs indicates that the user possibly watches the optical machine, at the moment, in order to save electric energy and prolong the service life of the optical machine, at the moment, the wide-screen projection system outputs a prompt of whether to shut down, and a shutdown instruction or automatic shutdown can be further executed.
In order to achieve the above object, the present application further provides a wide-screen projection system, where the wide-screen projection system includes two optical machines and a camera arranged on a same plane, a memory, a processor, and a computer program stored in the memory and capable of running on the processor, the wide-screen projection system includes two optical machines and a camera arranged on a same base plane, the camera is arranged on a plane which is perpendicular to a connection line between the two optical machines and is determined by a center of the connection line, and a projection plane is arranged in a shooting direction of the camera; the computer program realizes the steps of the above-mentioned map correction based widescreen projection method when executed by the processor.
In order to achieve the above object, the present application further provides a readable storage medium, on which a computer program is stored, and the computer program, when executed by a processor, implements the steps of the above-mentioned wide-screen projection method based on mapping correction.
It should be noted that, in this document, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or apparatus. Without further limitation, the recitation of an element by the phrase "comprising an … …" does not exclude the presence of additional like elements in the process, method, article, or apparatus that comprises the element, and further, where similarly-named elements, features, or elements in different embodiments of the disclosure may have the same meaning, or may have different meanings, that particular meaning should be determined by their interpretation in the embodiment or further by context with the embodiment.
The above-mentioned serial numbers of the embodiments of the present application are merely for description and do not represent the merits of the embodiments.
Through the above description of the embodiments, those skilled in the art will clearly understand that the method of the above embodiments can be implemented by software plus a necessary general hardware platform, and certainly can also be implemented by hardware, but in many cases, the former is a better implementation manner. Based on such understanding, the technical solutions of the present application may be embodied in the form of a software product, which is stored in a storage medium (such as ROM/RAM, magnetic disk, optical disk) and includes instructions for enabling a terminal (such as a mobile phone, a computer, a server, an air conditioner, or a network device) to execute the method according to the embodiments of the present application.
While the present embodiments have been described with reference to the accompanying drawings, it is to be understood that the invention is not limited to the precise embodiments described above, which are meant to be illustrative and not restrictive, and that various changes may be made therein by those skilled in the art without departing from the spirit and scope of the invention as defined by the appended claims.

Claims (10)

1. A wide-screen projection method based on mapping correction is characterized in that the wide-screen projection method based on mapping correction is applied to a wide-screen projection system, the wide-screen projection system comprises two optical machines and a camera which are arranged on the same base plane, the camera is arranged on a plane which is vertical to a connecting line between the two optical machines and is determined by the center of the connecting line, and a projection plane is arranged in the shooting direction of the camera; the wide-screen projection method based on mapping correction comprises the following steps:
controlling the two optical machines to project focal length calibration images to the projection plane, and adjusting the focal lengths of the two optical machines to finish the focal length calibration of the two optical machines;
keeping the focal length unchanged, controlling the two optical machines to project trapezoidal correction images to the projection surface, and finishing trapezoidal correction of the projection surface based on the camera and an image algorithm;
keeping the trapezoidal correction effect, controlling the two optical machines to project a splicing calibration image to the projection plane, and adjusting the projection angles of the two optical machines to finish the splicing calibration of the two optical machines;
keeping a splicing state, controlling the two optical machines to project trapezoidal correction images to the projection surface, and finishing trapezoidal correction of the projection surface based on a camera and an image algorithm;
based on an image which is shot by a camera and synthesized by two optical machine projection surfaces, selecting one point on a splicing edge as a coordinate origin to establish a two-dimensional plane coordinate system and recording the two-dimensional plane coordinate system as a coordinate system A, and acquiring a projection surface with a smaller area as a first initial image and a projection surface with a larger area as a second initial image;
based on the coordinate system A, performing trapezoidal correction on the first initial image to obtain a first vertex coordinate set of four vertexes of the first rectangular image corresponding to the first initial image;
performing trapezoidal correction on the second initial image based on the coordinate system A to obtain a second vertex coordinate set of four vertexes of the second rectangular image corresponding to the second initial image;
according to the first vertex coordinate set, a third vertex coordinate set is mapped and calculated in a projection plane by taking a splicing edge as a symmetry axis, and a rectangle determined by the third vertex coordinate set is ensured to fall in a second vertex coordinate set;
after the third vertex coordinate set is determined, mapping the third vertex coordinate set back to the inside of the first vertex coordinate set region about the symmetry axis to form a new first vertex coordinate set;
performing trapezoid correction on the first initial image according to the new first vertex coordinate set to obtain a first rectangular image;
correcting the rectangular image of the second initial image according to the third vertex coordinate set to obtain a second rectangular image;
and controlling the two light machines to project respective images to be displayed to the projection surface according to the proportion of the first rectangular image and the second rectangular image.
2. The wide-screen projection method based on mapping correction according to claim 1, wherein the step of performing trapezoidal correction on the first initial image based on the coordinate system a to obtain a first vertex coordinate set of four vertices of the first initial image corresponding to the first rectangular image comprises:
acquiring a first initial vertex coordinate set of four vertexes of a first initial image based on an image acquired by a camera and a coordinate system A;
mapping a third initial vertex coordinate set of which the first initial vertex coordinate set is axisymmetric relative to the splicing edge on the basis of the splicing edge serving as a symmetry axis in a projection plane, so that a rectangle determined by the third initial vertex coordinate set falls inside a rectangle determined by the second initial vertex coordinate set, if one edge falls outside the rectangle determined by the second initial vertex coordinate set, translating the edge until the edge is overlapped with a corresponding edge determined by the second initial vertex coordinate set, and thus obtaining a new third initial vertex coordinate set; the second initial vertex coordinates are coordinates of four vertexes of the second initial image relative to a coordinate system A;
mapping the current third initial vertex coordinate set to the interior of the rectangle determined by the first initial vertex coordinate set about the symmetry axis to obtain a first vertex coordinate set, and obtaining a first vertex offset set of four vertexes of the first initial image by combining the first initial vertex coordinate set;
and adjusting virtual vertex coordinates of a chip projection image associated with a first initial image in an image processing chip of the wide-screen projection system according to the first vertex offset set until the first initial image is rectangular, so as to project the first rectangular image on a projection plane and obtain a first vertex coordinate set of four vertexes of the first rectangular image relative to a coordinate system A.
3. The wide-screen projection method based on mapping correction according to claim 2, wherein the step of performing trapezoidal correction on the second initial image based on the coordinate system a to obtain a second vertex coordinate set of the second initial image corresponding to four vertices of the second rectangular image comprises:
acquiring a second initial vertex coordinate set of four vertexes of a second initial image, and acquiring a second vertex offset set of the four vertexes of the second initial image according to the second initial vertex coordinate set and a third initial vertex coordinate set;
and adjusting the virtual vertex coordinates of the chip projection image associated with the second initial image in the image processing chip of the wide-screen projection system according to the second vertex offset set until the second initial image is rectangular, so as to project a second rectangular image on the projection plane and obtain a second vertex coordinate set of four vertexes of the second rectangular image relative to the coordinate system A.
4. The wide-screen projection method based on mapping correction of claim 3, wherein distance sensors are respectively arranged on the optical machine and the camera,
controlling the two optical machines to project the spliced calibration image to the projection plane, and adjusting the projection angles of the two optical machines to complete the splicing calibration of the two optical machines, wherein the step comprises the following steps:
based on the distance sensor, acquiring a first distance from one optical machine to the projection surface, a second distance from the other optical machine to the projection surface and a third distance from the camera to the projection surface; controlling the two optical machines to project and splice the calibration images to the projection plane;
determining a first normal passing through the position of a camera and perpendicular to a plane where two optical-mechanical connecting lines are located, acquiring a longitudinal straight line passing through a projection point of the first normal on a projection plane, and taking the longitudinal straight line as a splicing boundary reference line;
if the first distance, the second distance and the first calculation distance are not equal, prompting a user to manually adjust the projection surface or reset the projection angle of the optical machine, enabling the projection angle bisector of the reset optical machine to be parallel to the first normal line, and rotating the common base of the two optical machines in the left and right directions until the connection line of the two optical machines is parallel to the projection surface;
calculating to obtain a target angle C to be adjusted of the projection angles of the two optical machines according to the connection line distance of the two optical machines and a first calculated distance obtained by calculating a third distance from the camera to the projection plane; wherein the content of the first and second substances,
the angle C is arctan (L/H) -angle B, the angle B is one half of the angle of the optical-mechanical projection range, H is a third distance plus the distance from the structural camera to the two optical-mechanical connecting lines, and L is a fourth distance from the optical-mechanical to the centers of the two optical-mechanical connecting lines;
and adjusting the projection angles of the two optical machines according to the target angle until the two spliced calibration images are seamlessly spliced at the spliced boundary reference line so as to finish the splicing calibration of the two optical machines.
5. The wide-screen projection method based on mapping correction of claim 4, wherein the step of adjusting the projection angles of the two optical machines according to the target angle comprises:
and respectively controlling the two photomasks to rotate the projection angle in the same rotation direction and the opposite rotation direction, and stopping the rotation of the photomasks for coinciding the longitudinal boundary if the longitudinal boundary of any spliced calibration image is detected to coincide with the spliced boundary reference line.
6. The wide-screen projection method based on mapping correction of claim 4, wherein the wide-screen projection system further comprises a focus motor disposed at the lens of the optical engine,
controlling the two ray machines to project focal length calibration images to the projection plane, and adjusting the focal lengths of the two ray machines to finish the focal length calibration of the two ray machines, wherein the step comprises the following steps:
controlling the two optical machines to project a focal length calibration image to the projection surface;
based on the definition of the focus calibration image dynamically acquired by the camera, the focus motor is controlled to adjust the focus of the two optical machines until the definition reaches a preset definition threshold value so as to complete the focus calibration of the two optical machines.
7. The map correction-based widescreen projection method of claim 6, wherein the map correction-based widescreen projection method further comprises:
after the splicing calibration images are detected to be overlapped relative to the two longitudinal boundaries, the camera collects the two spliced calibration images after being combined again, and then the number of transverse pixels and the number of longitudinal pixels of the overall image after the two spliced calibration images are seamlessly spliced are detected;
calculating and acquiring the approximate resolution of the overall image relative to the actual resolution according to the number of the transverse pixels and the number of the longitudinal pixels;
comparing the approximate resolution with a preset resolution of the two optical machine projection images;
if the difference between the approximate resolution and the preset resolution is within a threshold value, outputting a complete prompt of the wide-screen projection;
if the difference between the approximate resolution and the preset resolution exceeds a threshold value, prompting a user to adjust the position of the projector or the position of the projection surface through a voice or projection interface, and then performing splicing calibration again until the difference between the approximate resolution and the preset resolution is within the threshold value.
8. The map correction-based widescreen projection method of claim 7, wherein after the step of controlling the two optical machines to project the stitched calibration image onto the projection surface, further comprising:
if the instruction of canceling the wide-screen projection is detected, detecting the current projection brightness requirement of the wide-screen projection system;
if the current projection brightness requirement is larger than or equal to a preset brightness threshold value, controlling the two optical machines to project splicing calibration images to the area, perpendicular to the projection surface, in the shooting direction of the camera until the two splicing calibration images are completely overlapped; and performing trapezoidal correction on the two optical machines, and controlling the two optical machines to project the same image to be displayed to the projection surface.
9. A wide-screen projection system, characterized in that, the wide-screen projection system includes two optical machines and a camera arranged on the same plane, a memory, a processor and a computer program stored in the memory and capable of running on the processor, the camera is arranged at the midpoint of the connecting line between the two optical machines, the optical machines and the camera are respectively provided with a distance sensor, a projection plane is arranged in the shooting direction of the camera, the computer program is executed by the processor to implement the steps of the wide-screen projection method based on mapping correction according to any one of the claims 1 to 8.
10. A readable storage medium, characterized in that the readable storage medium has stored thereon a computer program which, when being executed by a processor, carries out the steps of the map correction based widescreen projection method according to any one of claims 1 to 8.
CN202011406292.0A 2020-12-02 2020-12-02 Wide-screen projection method and system based on mapping correction and readable storage medium Active CN112584113B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202011406292.0A CN112584113B (en) 2020-12-02 2020-12-02 Wide-screen projection method and system based on mapping correction and readable storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202011406292.0A CN112584113B (en) 2020-12-02 2020-12-02 Wide-screen projection method and system based on mapping correction and readable storage medium

Publications (2)

Publication Number Publication Date
CN112584113A true CN112584113A (en) 2021-03-30
CN112584113B CN112584113B (en) 2022-08-30

Family

ID=75127216

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202011406292.0A Active CN112584113B (en) 2020-12-02 2020-12-02 Wide-screen projection method and system based on mapping correction and readable storage medium

Country Status (1)

Country Link
CN (1) CN112584113B (en)

Cited By (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113099203A (en) * 2021-05-10 2021-07-09 青岛小鸟看看科技有限公司 Display system calibration method and system
CN114339184A (en) * 2022-03-07 2022-04-12 南京睿辰欣创网络科技股份有限公司 Multifunctional projection and identification equipment
CN114466143A (en) * 2022-03-18 2022-05-10 广东小天才科技有限公司 Shooting angle calibration method and device, terminal equipment and storage medium
CN114615478A (en) * 2022-02-28 2022-06-10 青岛信芯微电子科技股份有限公司 Projection picture correction method, projection picture correction system, projection device, and storage medium
CN114760451A (en) * 2022-04-25 2022-07-15 深圳市火乐科技发展有限公司 Projection image correction prompting method and device, projection equipment and storage medium
CN115035356A (en) * 2022-08-11 2022-09-09 深圳新智联软件有限公司 Method, device and equipment for changing feature points in embedded system
CN115150596A (en) * 2021-03-31 2022-10-04 成都极米科技股份有限公司 Projection display method and device and projection equipment
WO2022205812A1 (en) * 2021-03-31 2022-10-06 成都极米科技股份有限公司 Projection display method and apparatus, and projection device
WO2022267595A1 (en) * 2021-06-25 2022-12-29 成都极米科技股份有限公司 Projection correction method and apparatus, device, and storage medium
WO2023088304A1 (en) * 2021-11-16 2023-05-25 海信视像科技股份有限公司 Projection device and projection area correction method
WO2023087951A1 (en) * 2021-11-16 2023-05-25 海信视像科技股份有限公司 Projection device, and display control method for projected image

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101266193A (en) * 2007-03-13 2008-09-17 立景光电股份有限公司 Image detection device for head-mounted display and the method thereof
US20110164226A1 (en) * 2010-01-04 2011-07-07 Industrial Technology Research Institute System and method for projection correction
CN108200417A (en) * 2017-12-30 2018-06-22 神画科技(深圳)有限公司 A kind of method that maximum rectangular projection image is obtained in projecting cell keystone
CN110677634A (en) * 2019-11-27 2020-01-10 成都极米科技股份有限公司 Trapezoidal correction method, device and system for projector and readable storage medium

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101266193A (en) * 2007-03-13 2008-09-17 立景光电股份有限公司 Image detection device for head-mounted display and the method thereof
US20110164226A1 (en) * 2010-01-04 2011-07-07 Industrial Technology Research Institute System and method for projection correction
CN108200417A (en) * 2017-12-30 2018-06-22 神画科技(深圳)有限公司 A kind of method that maximum rectangular projection image is obtained in projecting cell keystone
CN110677634A (en) * 2019-11-27 2020-01-10 成都极米科技股份有限公司 Trapezoidal correction method, device and system for projector and readable storage medium

Cited By (17)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN115150596A (en) * 2021-03-31 2022-10-04 成都极米科技股份有限公司 Projection display method and device and projection equipment
CN115150596B (en) * 2021-03-31 2023-05-02 成都极米科技股份有限公司 Projection display method and device and projection equipment
WO2022205812A1 (en) * 2021-03-31 2022-10-06 成都极米科技股份有限公司 Projection display method and apparatus, and projection device
CN113099203B (en) * 2021-05-10 2023-08-22 青岛小鸟看看科技有限公司 Display system calibration method and system
CN113099203A (en) * 2021-05-10 2021-07-09 青岛小鸟看看科技有限公司 Display system calibration method and system
WO2022267595A1 (en) * 2021-06-25 2022-12-29 成都极米科技股份有限公司 Projection correction method and apparatus, device, and storage medium
WO2023088304A1 (en) * 2021-11-16 2023-05-25 海信视像科技股份有限公司 Projection device and projection area correction method
WO2023087951A1 (en) * 2021-11-16 2023-05-25 海信视像科技股份有限公司 Projection device, and display control method for projected image
CN114615478A (en) * 2022-02-28 2022-06-10 青岛信芯微电子科技股份有限公司 Projection picture correction method, projection picture correction system, projection device, and storage medium
CN114615478B (en) * 2022-02-28 2023-12-01 青岛信芯微电子科技股份有限公司 Projection screen correction method, projection screen correction system, projection apparatus, and storage medium
CN114339184B (en) * 2022-03-07 2022-06-24 南京睿辰欣创网络科技股份有限公司 Multifunctional projection and identification equipment
CN114339184A (en) * 2022-03-07 2022-04-12 南京睿辰欣创网络科技股份有限公司 Multifunctional projection and identification equipment
CN114466143A (en) * 2022-03-18 2022-05-10 广东小天才科技有限公司 Shooting angle calibration method and device, terminal equipment and storage medium
CN114466143B (en) * 2022-03-18 2024-04-12 广东小天才科技有限公司 Shooting angle calibration method and device, terminal equipment and storage medium
CN114760451A (en) * 2022-04-25 2022-07-15 深圳市火乐科技发展有限公司 Projection image correction prompting method and device, projection equipment and storage medium
CN115035356A (en) * 2022-08-11 2022-09-09 深圳新智联软件有限公司 Method, device and equipment for changing feature points in embedded system
CN115035356B (en) * 2022-08-11 2022-12-06 深圳新智联软件有限公司 Method, device and equipment for changing feature points in embedded system

Also Published As

Publication number Publication date
CN112584113B (en) 2022-08-30

Similar Documents

Publication Publication Date Title
CN112584113B (en) Wide-screen projection method and system based on mapping correction and readable storage medium
CN113163186B (en) Projection method, system and storage medium based on horizontal correction of distance sensor
US20220286654A1 (en) Projector Keystone Correction Method, Apparatus And System, And Readable Storage Medium
CN108289208B (en) Automatic correction method and device for projection picture
CN1204754C (en) Multi-projector mosaic with automatic registration
CN110099266B (en) Projector picture correction method and device and projector
US20190384056A1 (en) Method for correcting an image, storage medium and projection device
JP2008533501A (en) Computer-implemented method for adjusting the attitude of a projector and apparatus for adjusting the attitude of a projector
JP2006094558A (en) Projection system
CN114727081B (en) Projector projection correction method and device and projector
CN113141492B (en) Wide-screen projection method and system based on camera and readable storage medium
CN112203070B (en) Projection method and system based on monochromatic light emitter and readable storage medium
CN111988591A (en) Projection picture translation method and device and projection equipment
CN112738491B (en) Correction method of projection reflection picture
WO2013124901A1 (en) Optical-projection-type display apparatus, portable terminal, and program
JP2011176629A (en) Controller and projection type video display device
CN115002429B (en) Projector capable of automatically calibrating projection position based on camera calculation
CN108718404B (en) Image correction method and image correction system
CN112584112B (en) Projection method, system and readable storage medium based on size correction
CN112040210B (en) Wide screen projection system, method, apparatus and readable storage medium
CN112104852B (en) Operation guiding method and system based on wide screen splicing and readable storage medium
US20220301466A1 (en) Projection system and stitching method of multiple projection images
CN111426453A (en) Detection device of display panel
WO2023066331A1 (en) Automatic calibration method, and device, system and computer-readable storage medium
CN211784211U (en) Detection device of display panel

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
GR01 Patent grant
GR01 Patent grant