CN110636273A - Method and device for adjusting projection picture, readable storage medium and projector - Google Patents

Method and device for adjusting projection picture, readable storage medium and projector Download PDF

Info

Publication number
CN110636273A
CN110636273A CN201910986730.6A CN201910986730A CN110636273A CN 110636273 A CN110636273 A CN 110636273A CN 201910986730 A CN201910986730 A CN 201910986730A CN 110636273 A CN110636273 A CN 110636273A
Authority
CN
China
Prior art keywords
projection
adjusting
coordinates
target position
picture
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN201910986730.6A
Other languages
Chinese (zh)
Inventor
王倩
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Goertek Optical Technology Co Ltd
Original Assignee
Goertek Inc
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 Goertek Inc filed Critical Goertek Inc
Priority to CN201910986730.6A priority Critical patent/CN110636273A/en
Publication of CN110636273A publication Critical patent/CN110636273A/en
Pending legal-status Critical Current

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/3179Video signal processing therefor
    • H04N9/3185Geometric adjustment, e.g. keystone or convergence
    • 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/3188Scale or resolution adjustment

Landscapes

  • Engineering & Computer Science (AREA)
  • Multimedia (AREA)
  • Signal Processing (AREA)
  • Physics & Mathematics (AREA)
  • Geometry (AREA)
  • Projection Apparatus (AREA)
  • Transforming Electric Information Into Light Information (AREA)

Abstract

The invention discloses a method and a device for adjusting a projection picture, a readable storage medium and a projector, wherein the method comprises the following steps: acquiring a target position of the projection picture to be adjusted and calibration coordinates of an angular point corresponding to the target position; acquiring the projection position of the projection picture and the projection coordinates of the corner points corresponding to the projection position; carrying out perspective transformation on the calibration coordinates and the projection coordinates to obtain conversion information; and adjusting the projection picture according to the conversion information. The invention can effectively reduce the time spent on adjusting the projection picture and improve the overall detection efficiency.

Description

Method and device for adjusting projection picture, readable storage medium and projector
Technical Field
The invention relates to the technical field of projection picture calibration, in particular to a method and a device for adjusting a projection picture, a readable storage medium and a projector.
Background
The projection module is an instrument for displaying an image through amplification and projection, and after the projection module is assembled, a picture displayed by projection needs to be detected, so that the projection picture needs to be projected to a size meeting the detection standard, and the detection requirement of the next step is met.
At present, the process of adjusting the projection picture to be detected is manually completed, the specific action of judging the adjustment is also the adjustment action executed according to the observation result after manual observation, and the adjustment action has subjective judgment, so that the manual adjustment takes more time, and the overall detection efficiency is lower.
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
Therefore, in order to solve the problems of long adjustment time and low overall detection efficiency caused by the manual observation and adjustment of the projection picture, it is necessary to provide a method and an apparatus for adjusting the projection picture, a readable storage medium, and a projector, which can effectively reduce the time taken to adjust the projection picture and improve the overall detection efficiency.
In order to achieve the above object, the present invention provides a method for adjusting a projection picture, the method comprising:
acquiring a target position of the projection picture to be adjusted and calibration coordinates of an angular point corresponding to the target position;
acquiring the projection position of the projection picture and the projection coordinates of the corner points corresponding to the projection position;
carrying out perspective transformation on the calibration coordinates and the projection coordinates to obtain conversion information;
and adjusting the projection picture according to the conversion information.
Optionally, the step of acquiring the target position of the projection screen that needs to be adjusted includes:
controlling a projection device to project on the surface of the curtain to generate a distortionless white image;
acquiring the position of the white image, and taking the position of the white image as a target position of the projection picture to be adjusted;
and acquiring calibration coordinates of the corner points of the target position according to the target position.
Optionally, the step of obtaining calibration coordinates of the corner points of the target position according to the target position includes:
establishing a coordinate system on the plane of the projection picture;
and acquiring the calibration coordinates of the four corners of the white image according to the position of the white image, wherein the white image is a rectangular image.
Optionally, the step of performing perspective transformation on the calibration coordinates and the projection coordinates to obtain conversion information includes:
and combining the calibration coordinates and the projection coordinates, and performing perspective transformation through an open-source computer vision library to generate a transformation matrix.
Optionally, the transformation matrix is obtained and modified to eliminate perspective transformation of the projection picture.
Optionally, the step of adjusting the projection picture according to the conversion information includes:
generating an adjusting instruction for adjusting the projection picture according to the corrected conversion matrix;
and controlling the auxiliary optical machine to execute an adjusting action according to the adjusting instruction, so as to realize the adjustment of the projection picture.
In order to achieve the above object, the present invention also provides an apparatus for adjusting a projection screen, the apparatus comprising:
the acquisition module is used for acquiring the target position of the projection picture to be adjusted and the calibration coordinates of the corner points corresponding to the target position;
the computing module is used for acquiring the projection position of the projection picture and the projection coordinates of the corner points corresponding to the projection position;
the conversion module is used for carrying out perspective transformation on the calibration coordinates and the projection coordinates to obtain conversion information;
and the adjusting module is used for adjusting the projection picture according to the conversion information.
Optionally, the obtaining module is further configured to control the projection device to project a generated undistorted white image on the surface of the curtain; acquiring the position of the white image, and taking the position of the white image as a target position of the projection picture to be adjusted; and acquiring calibration coordinates of the corner points of the target position according to the target position.
Further, in order to achieve the above object, the present invention also provides a projector for generating a projection screen adjusted by the method of adjusting a projection screen as described above.
In addition, in order to achieve the above object, the present invention further provides a readable storage medium, on which a program for adjusting a projection screen is stored, which when executed by a processor implements the steps of the method for adjusting a projection screen as described above.
According to the technical scheme provided by the invention, a target position to be adjusted of a projection picture is obtained, the general target position has a picture shape, calibration coordinates of corner points of the target position are determined according to the picture of the target position, and the projection position of the projection picture is obtained, wherein the projection picture is the picture to be detected, the projection coordinates of the corner points of the projection position are determined according to the projection position of the projection picture at the moment, perspective transformation is carried out according to the calibration coordinates and the projection coordinates, and conversion information is obtained, and the conversion information comprises an adjustment command for adjusting the projection picture, so that the projection picture can be effectively adjusted according to the conversion information. The invention can effectively reduce the time spent on adjusting the projection picture and improve the overall detection efficiency.
Drawings
In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings used in the description of the embodiments or the prior art will be briefly described below, it is obvious that the drawings in the following description are only some embodiments of the present invention, and for those skilled in the art, other drawings can be obtained according to the structures shown in the drawings without creative efforts.
FIG. 1 is a flowchart illustrating a method for adjusting a projection image according to a first embodiment of the present invention;
FIG. 2 is a flowchart illustrating a second embodiment of a method for adjusting a projection image according to the present invention;
FIG. 3 is a flowchart illustrating a method for adjusting a projection frame according to a third embodiment of the present invention;
FIG. 4 is a flowchart illustrating a fourth embodiment of a method for adjusting a projection screen according to the present invention;
FIG. 5 is a flowchart illustrating a fifth embodiment of a method for adjusting a projection screen according to the present invention;
FIG. 6 is a flowchart illustrating a method for adjusting a projection frame according to a sixth embodiment of the present invention;
FIG. 7 is a schematic structural diagram of an apparatus for adjusting a projection image according to the present invention;
FIG. 8 is a schematic of a color image of the present invention;
FIG. 9 is a diagram illustrating a projection screen according to the present invention.
The reference numbers illustrate:
reference numerals Name (R) Reference numerals Name (R)
100 Acquisition module 500 Projection background
200 Computing module 510 Curtain
300 Conversion module 520 White image
400 Adjusting module 530 Projection picture
The implementation, functional features and advantages of the objects of the present invention will be further explained with reference to the accompanying drawings.
Detailed Description
The technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the drawings in the embodiments of the present invention, and it is obvious that the described embodiments are only a part of the embodiments of the present invention, 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 invention.
It should be noted that all the directional indicators (such as up, down, left, right, front, and rear … …) in the embodiment of the present invention are only used to explain the relative position relationship between the components, the movement situation, etc. in a specific posture (as shown in the drawing), and if the specific posture is changed, the directional indicator is changed accordingly.
In addition, the descriptions related to "first", "second", etc. in the present invention are only for descriptive purposes and are not to be construed as indicating or implying relative importance or implicitly indicating 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 the description of the present invention, "a plurality" means at least two, e.g., two, three, etc., unless specifically limited otherwise.
In the present invention, unless otherwise expressly stated or limited, 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 meanings of the above terms in the present invention can be understood by those skilled in the art according to specific situations.
In addition, the technical solutions in the embodiments of the present invention may be combined with each other, but it must be based on the realization of those skilled in the art, and when the technical solutions are contradictory or cannot be realized, such a combination of technical solutions should not be considered to exist, and is not within the protection scope of the present invention.
Referring to fig. 1, a first embodiment of the present invention provides a method for adjusting a projection image, the method comprising:
step S10, acquiring the target position of the projection picture to be adjusted and the calibration coordinates of the corner points corresponding to the target position;
specifically, a curtain is arranged on the projection background surface, the projection picture is generated by a projection instrument device, such as a DLP (Digital Light processing) projector, generally, each time the projection picture is adjusted, the target position to be adjusted is the same, for example, a fixing frame is arranged, and when the projection picture is detected, the projector is fixed on the fixing frame, so that the projection picture can be adjusted according to the same target position, and the overall projection detection efficiency is improved. In addition, before the projection picture is adjusted each time, the target position of the projection picture can be determined again, that is, before the projection picture is adjusted, the projection area with the normal size is recorded, and the projection area with the normal size is the target position of the projection picture needing to be adjusted. The target position can be changed according to the requirements of the user.
The target position can be a region formed by a graph with corners, a coordinate system is established on the surface of the projection picture, calibration coordinates of each corner point of the target position are obtained, the calibration coordinates are connected, the graph region formed in the way is the target position, the projection picture is controlled to be adjusted according to the target position, the boundary of the projection picture and the boundary of the target position are adjusted to be overlapped, and the adjustment of the projection picture is completed. Besides, the pattern of the target positions is not limited to having a corner pattern.
Step S20, acquiring the projection position of the projection picture and the projection coordinates of the corner points corresponding to the projection position;
after the adjustment target position of the projection picture is determined, the projector to be detected is controlled to project to generate the projection picture, generally, the projection picture generated by the projector to be detected needs to be adjusted, namely, the shape of the projection picture is distorted and deformed, and is a deformed picture, the deformed picture is not beneficial to detection, the projection picture needs to be adjusted, the position needs to determine the shape of the projection picture in a deformed state at the moment, namely, the projection position of the projection picture at the moment, and the projection picture is adjusted on the basis of the deformed shape.
It is also understood that the projection image forms a figure with corners, coordinates corresponding to the corners, i.e., projection coordinates, are obtained, and the projection coordinates are connected to generate the area, i.e., the projection image.
Step S30, carrying out perspective transformation on the calibration coordinates and the projection coordinates to obtain conversion information;
after the calibration coordinates and the projection coordinates are obtained, the calibration coordinates and the projection coordinates are saved, the calibration coordinates and the projection coordinates are extracted, conversion information is obtained through calculation according to a Perspective Transformation (Perspective Transformation) principle, the conversion information comprises information of how to adjust a projection picture to a target position, the conversion information is saved, and the Perspective Transformation is also called projection Mapping (projection Mapping), projection Transformation and the like.
In step S40, the projection image is adjusted according to the conversion information.
Specifically, an adjustment command is generated according to the conversion information, and after receiving the adjustment command, the controller controls the auxiliary optical machine to perform corresponding adjustment actions, such as up-down adjustment, left-right adjustment, up-down rotation angle, left-right rotation angle, front-back distance adjustment, and also may include oblique adjustment, and the projection picture is adjusted to the target position through the adjustment actions.
In the technical scheme of this embodiment, a target position of a projection picture to be adjusted is obtained, the target position generally has a graphic shape, calibration coordinates of corner points of the target position are determined according to a graphic of the target position, and a projection position of the projection picture is obtained, wherein the projection picture is a picture to be detected, the projection coordinates of the corner points of the projection position are determined according to the projection position of the projection picture at this time, perspective transformation is performed according to the calibration coordinates and the projection coordinates, and conversion information is obtained, and the conversion information includes an adjustment command for adjusting the projection picture, so that the projection picture can be effectively adjusted according to the conversion information. The invention can effectively reduce the time spent on adjusting the projection picture and improve the overall detection efficiency.
Referring to fig. 2, based on the first embodiment of the present invention, a second embodiment of the present invention is provided, and the step S10 of acquiring the target position of the projection image to be adjusted and the calibration coordinates of the corner point thereof includes:
and step S11, controlling the projection device to project and generate a white image without distortion on the surface of the curtain.
The screen is generally dark on the surface, the projection generated white image is easy to distinguish the target position, meanwhile, the white image is a normal image without optical distortion, generally, the white image is a rectangular image, of course, besides the white image, the white image can also be an image of other colors, and it is within the protection scope of the invention as long as the projection generated image can be distinguished from the screen color.
Step S12, acquiring a position of the white image, and taking the position of the white image as a target position of the projection screen to be adjusted;
the position of the white image is the position where the projection picture needs to be covered and overlapped after being adjusted, so that the position of the white image can be understood as the target position of the projection picture needing to be adjusted, the white image is generally rectangular, most of display equipment at present displays the white image in a rectangular mode, and the rectangular design meets the use and observation habits of users.
And step S13, acquiring calibration coordinates of the corner points of the target position according to the target position.
The white image is easier to distinguish boundaries compared with the curtain, and the coordinates of the corners of the white image, namely the calibration coordinates, are further calculated by determining the position of the white image, namely the target position, so that the perspective transformation can be conveniently carried out according to the calibration coordinates.
Referring to fig. 3, based on the second embodiment of the present invention, a third embodiment of the present invention is proposed, and the step S13 of obtaining the calibration coordinates of the corner point of the target position according to the target position includes:
step S130, establishing a coordinate system on a plane of the projection picture;
the plane coordinate system is established, the corner point position of the target position can be reflected through the calibration coordinates, the target position can be conveniently and visually expressed in a digital mode, and the subsequent operation processing of the calibration coordinates is facilitated.
And 131, acquiring calibration coordinates of four corners of the white image according to the position of the white image, wherein the white image is a rectangular image.
The white image is a rectangular image, namely the white image has four corner points, the positions of the four corner points in a plane coordinate system, namely the calibration coordinates of the four corners of the white image, are determined, the calibration coordinate positions of the four corners are sequentially connected, the formed image area is a target position, and the established target position is convenient for projection of the image and is used as a reference for adjustment.
Referring to fig. 4, based on any one of the first to third embodiments of the present invention, a fourth embodiment of the present invention is proposed, and the step S30 of performing perspective transformation on the calibration coordinates and the projection coordinates to obtain the conversion information includes:
and step S31, combining the calibration coordinates and the projection coordinates, and performing perspective transformation through an open-source computer vision library to generate a transformation matrix.
The open-Source Computer Vision library is abbreviated as OpenCV (open Source Computer Vision library), and the calibration coordinates and the projection coordinates are substituted into OpenCV, and are converted into a conversion matrix a according to perspective conversion
Figure BDA0002234683220000071
Wherein
Figure BDA0002234683220000072
Representing a linear transformation, e.g. scaling or rotation, [ a ]31 a32]A translation transformation is represented that is a translation transformation,
Figure BDA0002234683220000073
the representation is perspective transformed.
Referring to fig. 5, based on the fourth embodiment of the present invention, a fifth embodiment of the present invention is proposed, wherein the step S30 of performing perspective transformation on the calibration coordinates and the projection coordinates to obtain the conversion information includes:
step S50, obtaining the transformation matrix and modifying the transformation matrix to eliminate perspective transformation of the projection picture.
Specifically, control [ a ]31 a32]The value in (1) is 0, which represents the translation transformation, i.e. according to a31And a32Is transformed to adjust a31And a32A digital process.
The conversion of the target location into the transformation matrix is illustrated as follows
Figure BDA0002234683220000081
Wherein, a is known31And a32Are all equal to 0, a331, in general a33The values were unchanged.
If the projected picture is converted into a transformation matrix of
Figure BDA0002234683220000082
Description of a13=X,a23Y, the projection plane and the projection plane of the projection light are adjusted to be in horizontal movement, i.e., X and Y are eliminated to 0.
If the projected picture is converted into a transformation matrix of
Description of the invention
Figure BDA0002234683220000084
Then, the projection image needs to be zoomed, horizontally zoomed by a distance W, and vertically zoomed by a distance H, wherein if the distance is greater than 1, the zooming is performed, and if the distance is less than 1, the zooming is performed.
If the projected picture is converted into a transformation matrix of
Figure BDA0002234683220000085
Description of the invention
Figure BDA0002234683220000086
The projection image needs to be rotated, and the rotation direction is performed according to the positive and negative values, so that how to adjust the projection image can be accurately determined through the transformation matrix.
Referring to fig. 6, based on the fifth embodiment of the present invention, the sixth embodiment of the present invention is proposed, and the step S40 of adjusting the projection picture according to the conversion information includes:
step S41, generating an adjusting instruction for adjusting the projection picture according to the corrected conversion matrix;
specifically, the process of converting the conversion matrix generated from the conversion matrix toward the target position is a process of generating an adjustment command for adjusting the projection screen, for example, converting the projection screen into the conversion matrix
Description of a31=E,a32If E and F are not 0, the transformation matrix needs to be modified, that is, the transformation matrix is eliminated, so that E is 0 and F is 0, and the command generated by the process of adjusting E and F to 0 is the adjustment command for adjusting the projection screen.
Step S42, controlling the auxiliary optical engine to perform an adjustment action according to the adjustment instruction, so as to adjust the projection image.
The auxiliary optical machine is controlled to perform corresponding adjustment actions, such as up-down adjustment, left-right adjustment, up-down rotation angle, left-right rotation angle, front-back distance adjustment, oblique adjustment and the like.
In addition, the execution sequence of the adjustment commands can be adjusted according to the advanced correction conversion matrix, the perspective transformation of a projection picture is eliminated, the rotation operation is carried out, then the angle adjustment, the front-back distance adjustment, the up-down adjustment and the left-right adjustment are carried out, namely the complex adjustment is carried out firstly, then the simple adjustment is carried out, thus the simple adjustment is avoided after the complex adjustment is carried out firstly, and the adjustment detection efficiency is improved. In addition, simple adjustment can be performed first, then complex adjustment can be performed, and sometimes the projection picture can be adjusted to the target position through the simple adjustment, so that the complex adjustment is avoided, and the adjustment detection efficiency can also be improved.
Referring to fig. 7, the present invention further provides an apparatus for adjusting a projection image, the apparatus comprising: an acquisition module 100, a calculation module 200, a conversion module 300 and an adjustment module 400.
An obtaining module 100, configured to obtain a target position of the projection image to be adjusted and calibration coordinates of a corner point corresponding to the target position; specifically, referring to fig. 8 and 9, a curtain 510 is disposed on the surface of the projection background 500, and the projection picture 530 is generated by a projection apparatus device, such as a DLP projector, generally, each time the projection picture 530 is adjusted, the target position to be adjusted is the same, for example, a fixing frame is disposed, and when the projection picture 530 is detected, the projector is fixed on the fixing frame, so that the projection picture 530 can be adjusted according to the same target position, and the overall projection detection efficiency is improved. In addition, before adjusting the projection screen 530 each time, the target position of the projection screen 530 may be determined again, that is, before adjusting the projection screen 530, a projection area with a normal size is recorded, where the projection area with the normal size is the target position of the projection screen 530 that needs to be adjusted. The target position can be changed according to the requirements of the user.
After the calculation module 200 determines the adjusted target position of the projection screen 530, the projection screen 530 is generated by projecting the projector to be detected, generally, the projection screen 530 generated by the projector to be detected needs to be adjusted, that is, the shape of the projection screen 530 is distorted and deformed, and is a deformed image, which is not beneficial to detection, the projection screen 530 needs to be adjusted, and the position needs to determine the shape of the projection screen 530 in a deformed state at this time, that is, the projection position of the projection screen 530 at this time is determined, so that the projection screen 530 is adjusted based on this.
The target position may be a region formed by a graph having corners, a coordinate system is established on the surface of the projection picture 530, calibration coordinates of each corner point of the target position are obtained, the calibration coordinates are connected with each other, the thus formed graph region is the target position, the projection picture 530 is controlled to be adjusted according to the target position, the boundary of the projection picture 530 and the boundary of the target position are adjusted to be overlapped, and the adjustment of the projection picture 530 is completed. Besides, the pattern of the target positions is not limited to having a corner pattern. Similarly, it is understood that the projection screen 530 forms a graph having corners, coordinates corresponding to the corners, i.e., projection coordinates, are obtained, and the projection coordinates are connected to generate the projection screen 530.
The conversion module 300 is configured to perform perspective transformation on the calibration coordinates and the projection coordinates to obtain conversion information; after the calibration coordinates and the projection coordinates are obtained, the calibration coordinates and the projection coordinates are stored, the calibration coordinates and the projection coordinates are extracted, and conversion information is obtained through calculation according to a perspective transformation principle, wherein the conversion information includes information on how to adjust the projection picture 530 to a target position, and the conversion information is stored, and the perspective transformation is also called projection mapping, projection transformation and the like.
The adjusting module 400 is configured to adjust the projection frame 530 according to the conversion information. Specifically, an adjustment command is generated according to the conversion information, and after receiving the adjustment command, the controller controls the auxiliary optical machine to perform corresponding adjustment actions, such as up-down adjustment, left-right adjustment, up-down rotation angle, left-right rotation angle, front-back distance adjustment, and may further include oblique adjustment, and the projection screen 530 is adjusted to the target position through the adjustment actions.
In the technical solution of this embodiment, a target position of the projection picture 530 to be adjusted is obtained, the target position generally has a graphic shape, calibration coordinates of corner points of the target position are determined according to a graphic of the target position, and a projection position of the projection picture 530 is obtained, where the projection picture 530 is a picture to be detected, the projection coordinates of the corner points of the projection position are determined according to the projection position of the projection picture 530 at this time, perspective transformation is performed according to the calibration coordinates and the projection coordinates, and conversion information is obtained, where the conversion information includes an adjustment command for adjusting the projection picture 530, and thus it is known that the projection picture 530 can be effectively adjusted according to the conversion information. The invention can effectively reduce the time spent on adjusting the projection picture 530 and improve the overall detection efficiency.
Further, the obtaining module 100 is further configured to control the projection device to project a distortion-free white image 520 on the surface of the curtain 510. The surface of the curtain 510 is generally dark, the white image 520 generated by projection is easy to distinguish the target position, meanwhile, the white image 520 is a normal image without optical distortion, generally, the white image 520 is a rectangular image, and of course, besides the white image 520, images of other colors may be used, so long as the image generated by projection can be distinguished from the color of the curtain 510, which is within the protection scope of the present invention.
The obtaining module 100 is further configured to obtain a position of the white image 520, and use the position of the white image 520 as a target position of the projection screen 530 to be adjusted; the position of the white image 520 is the position where the projection screen 530 needs to be adjusted to complete the overlay, so that it can be understood that the position of the white image 520 is the target position of the projection screen 530, which needs to be adjusted, and the white image 520 is generally rectangular, but most of the display devices currently display in a rectangular shape, and the rectangular design conforms to the use and observation habits of users.
The obtaining module 100 is further configured to obtain calibration coordinates of corner points of the target position according to the target position. The white image 520 is more easily distinguished from the curtain 510, and by determining the position of the white image 520, the coordinates of the corners of the white image 520 can be calculated.
Further, the obtaining module 100 is further configured to establish a coordinate system on the plane of the projection screen 530; the plane coordinate system is established, the corner point position of the target position can be reflected through the calibration coordinates, the target position can be conveniently and visually expressed in a digital mode, and the subsequent operation processing of the calibration coordinates is facilitated.
The obtaining module 100 is further configured to obtain calibration coordinates of four corners of the white image 520 according to the position of the white image 520, where the white image 520 is a rectangular image. The white image 520 is a rectangular image, that is, the white image 520 has four corner points in total, the positions of the four corner points in a plane coordinate system, namely the calibration coordinates of the four corners of the white image 520, are determined, the calibration coordinate positions of the four corners are sequentially connected, the formed image area is the target position, and the projection image 530 is adjusted by taking the target position as a reference.
Further, the conversion module 300 is further configured to perform perspective transformation through an open-source computer vision library by combining the calibration coordinates and the projection coordinates to generate a conversion matrix; the open-source computer vision library is abbreviated as OpenCV, namely, calibration coordinates and projection coordinates are substituted into OpenCV, and the calibration coordinates and the projection coordinates are converted into a conversion matrix A according to perspective conversion
Figure BDA0002234683220000111
Wherein
Figure BDA0002234683220000112
Representing a linear transformation, e.g. scaling or rotation, [ a ]31 a32]A translation transformation is represented that is a translation transformation,the representation is perspective transformed.
The adjustment module 400 is further configured to modify the transformation matrix to eliminate the perspective transformation of the projection screen 530.
Specifically, control [ a ]31 a32]The value in (1) is 0, which represents the translation transformation, i.e. according to a31And a32The value of (1) is converted to adjust a31And a32A digital process.
The conversion of the target location into the transformation matrix is illustrated as follows
Figure BDA0002234683220000122
Wherein, a is known31And a32Are all equal to 0, a331, in general a33The values were unchanged.
If the projected picture 530 is converted to a transformation matrix of
Figure BDA0002234683220000123
Description of a13=X,a23Y, the projection plane and the projection plane of the projection light are adjusted to be in horizontal movement, i.e., X and Y are eliminated to 0.
If the projected picture 530 is converted to a transformation matrix of
Figure BDA0002234683220000124
Description of the invention
Figure BDA0002234683220000125
Then, the projection screen 530 needs to be scaled horizontally by the distance W and vertically by the distance H, and if the distance is greater than 1, the scaling is performed, and if the distance is less than 1, the scaling is performed.
If the projected picture 530 is converted to a transformation matrix of
Figure BDA0002234683220000126
Description of the inventionThen, the projection screen 530 needs to be rotated, and the rotation direction is performed according to the positive or negative value, so that how to adjust the projection screen 530 can be accurately determined by the transformation matrix.
Further, the adjusting module 400 is further configured to generate an adjusting instruction for adjusting the projection image 530 according to the modified transformation matrix; specifically, the process of converting the conversion matrix generated at the conversion matrix toward the target position is the process of generating the adjustment command for adjusting the projection screen 530, for example
The projected picture 530 is converted into a transformation matrix of
Figure BDA0002234683220000131
Description of a31=E,a32If E and F are not 0, the transformation matrix needs to be modified, that is, the transformation matrix is eliminated, so that E is 0, F is 0, and the command generated by the process of adjusting E and F to 0 is the adjustment command for adjusting the projection screen 530.
The adjusting module 400 is further configured to control the auxiliary optical machine to perform an adjusting action according to the adjusting instruction, so as to adjust the projection image 530. The auxiliary optical machine is controlled to perform corresponding adjustment actions, such as up-down adjustment, left-right adjustment, up-down rotation angle, left-right rotation angle, front-back distance adjustment, oblique adjustment and the like.
In addition, the execution sequence of the adjustment commands can be adjusted according to the advanced correction conversion matrix, the perspective transformation of the projection picture 530 is eliminated, the rotation operation is performed, then the angle adjustment, the front-back distance adjustment, the up-down adjustment and the left-right adjustment are performed, namely, the complex adjustment is performed first, and then the simple adjustment is performed, so that the simple adjustment is avoided, the simple adjustment is performed after the complex adjustment is performed, and the adjustment detection efficiency is improved. In addition, the projection screen 530 may be adjusted to the target position by first performing simple adjustment and then performing complex adjustment, so that complex adjustment is avoided, and the adjustment detection efficiency can also be improved.
The invention also provides a projector for generating a projected picture, the projected picture being adjusted by the method of adjusting a projected picture as described above.
The detailed implementation of the projector according to the present invention may refer to the embodiments of the method for adjusting the projection picture, and will not be described herein again.
The present invention also provides a readable storage medium, on which a program for adjusting a projection picture is stored, which when executed by a processor implements the steps of the method for adjusting a projection picture as described above.
The detailed implementation of the readable storage medium of the present invention may refer to the embodiments of the method for adjusting a projection picture, which are not described herein again.
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 system 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 system. Without further limitation, an element defined by the phrase "comprising an … …" does not exclude the presence of other like elements in a process, method, article, or system that comprises the element.
The above-mentioned serial numbers of the embodiments of the present invention 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 solution of the present invention may be embodied in the form of a software product, which is stored in a storage medium (e.g., ROM/RAM, magnetic disk, optical disk) as described above and includes instructions for enabling a terminal device (e.g., a mobile phone, a computer, a server, or a network device) to execute the method according to the embodiments of the present invention.
The above description is only a preferred embodiment of the present invention, and not intended to limit the scope of the present invention, and all modifications and equivalents of the present invention, which are made by the contents of the present specification and the accompanying drawings, or directly/indirectly applied to other related technical fields, are included in the scope of the present invention.

Claims (10)

1. A method for adjusting a projection picture, the method comprising:
acquiring a target position of the projection picture to be adjusted and calibration coordinates of an angular point corresponding to the target position;
acquiring the projection position of the projection picture and the projection coordinates of the corner points corresponding to the projection position;
carrying out perspective transformation on the calibration coordinates and the projection coordinates to obtain conversion information;
and adjusting the projection picture according to the conversion information.
2. The method for adjusting the projection image according to claim 1, wherein the step of obtaining the target position to be adjusted of the projection image and the calibration coordinates of the corner points corresponding to the target position comprises:
controlling a projection device to project on the surface of the curtain to generate a distortionless white image;
acquiring the position of the white image, and taking the position of the white image as a target position of the projection picture to be adjusted;
and acquiring calibration coordinates of the corner points of the target position according to the target position.
3. The method for adjusting a projection picture according to claim 2, wherein the step of obtaining the calibration coordinates of the corner points of the target position according to the target position comprises:
establishing a coordinate system on the plane of the projection picture;
and acquiring the calibration coordinates of the four corners of the white image according to the position of the white image, wherein the white image is a rectangular image.
4. The method for adjusting a projection screen according to any one of claims 1-3, wherein the step of performing perspective transformation on the calibration coordinates and the projection coordinates to obtain transformation information comprises:
and combining the calibration coordinates and the projection coordinates, and performing perspective transformation through an open-source computer vision library to generate a transformation matrix.
5. The method for adjusting a projection screen according to claim 4, wherein the step of performing a perspective transformation on the calibration coordinates and the projection coordinates to obtain transformation information is followed by:
and acquiring the conversion matrix, and correcting the conversion matrix to eliminate perspective transformation of the projection picture.
6. The method of adjusting a projection picture according to claim 5, wherein the step of adjusting the projection picture according to the conversion information comprises:
generating an adjusting instruction for adjusting the projection picture according to the corrected conversion matrix;
and controlling the auxiliary optical machine to execute an adjusting action according to the adjusting instruction, so as to realize the adjustment of the projection picture.
7. An apparatus for adjusting a projection picture, the apparatus comprising:
the acquisition module is used for acquiring the target position of the projection picture to be adjusted and the calibration coordinates of the corner points corresponding to the target position;
the computing module is used for acquiring the projection position of the projection picture and the projection coordinates of the corner points corresponding to the projection position;
the conversion module is used for carrying out perspective transformation on the calibration coordinates and the projection coordinates to obtain conversion information;
and the adjusting module is used for adjusting the projection picture according to the conversion information.
8. The apparatus for adjusting a projection picture according to claim 7, wherein the obtaining module is further configured to control a projection device to project a white image without distortion on the surface of the curtain; acquiring the position of the white image, and taking the position of the white image as a target position of the projection picture to be adjusted; and acquiring calibration coordinates of the corner points of the target position according to the target position.
9. A projector for generating a projection, wherein the projection is adjusted by the method for adjusting a projection according to any one of claims 1 to 6.
10. A readable storage medium, wherein the readable storage medium has a program for adjusting a projection screen stored thereon, and the program for adjusting a projection screen realizes the steps of the method for adjusting a projection screen according to any one of claims 1 to 6 when executed by a processor.
CN201910986730.6A 2019-10-15 2019-10-15 Method and device for adjusting projection picture, readable storage medium and projector Pending CN110636273A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201910986730.6A CN110636273A (en) 2019-10-15 2019-10-15 Method and device for adjusting projection picture, readable storage medium and projector

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201910986730.6A CN110636273A (en) 2019-10-15 2019-10-15 Method and device for adjusting projection picture, readable storage medium and projector

Publications (1)

Publication Number Publication Date
CN110636273A true CN110636273A (en) 2019-12-31

Family

ID=68975401

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201910986730.6A Pending CN110636273A (en) 2019-10-15 2019-10-15 Method and device for adjusting projection picture, readable storage medium and projector

Country Status (1)

Country Link
CN (1) CN110636273A (en)

Cited By (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111292363A (en) * 2020-02-13 2020-06-16 张逸凌 Joint image processing method and device and computing equipment
CN112272292A (en) * 2020-11-06 2021-01-26 深圳市火乐科技发展有限公司 Projection correction method, apparatus and storage medium
CN112804509A (en) * 2021-03-26 2021-05-14 歌尔股份有限公司 Assembling method of projector, assembling apparatus of projector, and readable storage medium
CN112927731A (en) * 2021-01-27 2021-06-08 深圳冠兰达电子科技有限公司 Laser player convenient for adjusting direction
CN113709431A (en) * 2021-07-26 2021-11-26 深圳市金研微科技有限公司 Apparatus and method for automatically correcting projection picture
CN114520895A (en) * 2020-11-18 2022-05-20 成都极米科技股份有限公司 Projection control method, projection control device, projection optical machine and readable storage medium
CN114520897A (en) * 2020-11-19 2022-05-20 成都极米科技股份有限公司 Method and device for adjusting position of projection picture, projection equipment and storage medium
CN114827563A (en) * 2021-11-16 2022-07-29 海信视像科技股份有限公司 Projection apparatus and projection region correction method
CN114827562A (en) * 2022-03-11 2022-07-29 深圳海翼智新科技有限公司 Projection method, projection device, projection equipment and computer storage medium
WO2023011471A1 (en) * 2021-08-06 2023-02-09 深圳市道通科技股份有限公司 Pattern projection correction apparatus and method, and computer-readable storage medium
WO2023029277A1 (en) * 2021-09-01 2023-03-09 广景视睿科技(深圳)有限公司 Projection method, apparatus and device, and storage medium

Citations (15)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101489146A (en) * 2009-01-08 2009-07-22 上海交通大学 Adaptive imperceptible structured light technique implementing method
CN102611822A (en) * 2012-03-14 2012-07-25 海信集团有限公司 Projector and projection image rectifying method thereof
CN104361580A (en) * 2014-10-22 2015-02-18 山东大学 Projected image real-time correction method based on planar screen
CN106507077A (en) * 2016-11-28 2017-03-15 江苏鸿信系统集成有限公司 Projecting apparatus picture based on graphical analysis is corrected and blocks preventing collision method
CN106803233A (en) * 2017-01-16 2017-06-06 西安电子科技大学 The optimization method of perspective image conversion
CN107046636A (en) * 2017-02-22 2017-08-15 青岛海信宽带多媒体技术有限公司 The image correction method and device of projector equipment
US20170294009A1 (en) * 2016-04-11 2017-10-12 Hewlett-Packard Development Company, L.P. Calibration based on intrinsic parameter selection and a projected calibration target
CN107547879A (en) * 2016-06-24 2018-01-05 上海顺久电子科技有限公司 A kind of bearing calibration of projection imaging, device and laser television
CN109089093A (en) * 2018-08-29 2018-12-25 歌尔股份有限公司 Image processing method, device and equipment
WO2019001410A1 (en) * 2017-06-30 2019-01-03 杭州海康威视数字技术股份有限公司 Camera parameter calibration method, device, apparatus, and system
CN109257582A (en) * 2018-09-26 2019-01-22 上海顺久电子科技有限公司 A kind of bearing calibration of projection device and device
CN109451290A (en) * 2018-12-25 2019-03-08 广州励丰文化科技股份有限公司 Auto-correction method and system based on special-shaped projected picture
CN109495729A (en) * 2018-11-26 2019-03-19 青岛海信激光显示股份有限公司 Projected picture correcting method and system
CN110060200A (en) * 2019-03-18 2019-07-26 阿里巴巴集团控股有限公司 Perspective image transform method, device and equipment
CN110099266A (en) * 2019-05-14 2019-08-06 峰米(北京)科技有限公司 Projector's frame correction method, device and projector

Patent Citations (15)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101489146A (en) * 2009-01-08 2009-07-22 上海交通大学 Adaptive imperceptible structured light technique implementing method
CN102611822A (en) * 2012-03-14 2012-07-25 海信集团有限公司 Projector and projection image rectifying method thereof
CN104361580A (en) * 2014-10-22 2015-02-18 山东大学 Projected image real-time correction method based on planar screen
US20170294009A1 (en) * 2016-04-11 2017-10-12 Hewlett-Packard Development Company, L.P. Calibration based on intrinsic parameter selection and a projected calibration target
CN107547879A (en) * 2016-06-24 2018-01-05 上海顺久电子科技有限公司 A kind of bearing calibration of projection imaging, device and laser television
CN106507077A (en) * 2016-11-28 2017-03-15 江苏鸿信系统集成有限公司 Projecting apparatus picture based on graphical analysis is corrected and blocks preventing collision method
CN106803233A (en) * 2017-01-16 2017-06-06 西安电子科技大学 The optimization method of perspective image conversion
CN107046636A (en) * 2017-02-22 2017-08-15 青岛海信宽带多媒体技术有限公司 The image correction method and device of projector equipment
WO2019001410A1 (en) * 2017-06-30 2019-01-03 杭州海康威视数字技术股份有限公司 Camera parameter calibration method, device, apparatus, and system
CN109089093A (en) * 2018-08-29 2018-12-25 歌尔股份有限公司 Image processing method, device and equipment
CN109257582A (en) * 2018-09-26 2019-01-22 上海顺久电子科技有限公司 A kind of bearing calibration of projection device and device
CN109495729A (en) * 2018-11-26 2019-03-19 青岛海信激光显示股份有限公司 Projected picture correcting method and system
CN109451290A (en) * 2018-12-25 2019-03-08 广州励丰文化科技股份有限公司 Auto-correction method and system based on special-shaped projected picture
CN110060200A (en) * 2019-03-18 2019-07-26 阿里巴巴集团控股有限公司 Perspective image transform method, device and equipment
CN110099266A (en) * 2019-05-14 2019-08-06 峰米(北京)科技有限公司 Projector's frame correction method, device and projector

Cited By (14)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111292363B (en) * 2020-02-13 2022-02-22 张逸凌 Joint image processing method and device and computing equipment
CN111292363A (en) * 2020-02-13 2020-06-16 张逸凌 Joint image processing method and device and computing equipment
CN112272292A (en) * 2020-11-06 2021-01-26 深圳市火乐科技发展有限公司 Projection correction method, apparatus and storage medium
WO2022105277A1 (en) * 2020-11-18 2022-05-27 成都极米科技股份有限公司 Projection control method and apparatus, projection optical machine, and readable storage medium
CN114520895A (en) * 2020-11-18 2022-05-20 成都极米科技股份有限公司 Projection control method, projection control device, projection optical machine and readable storage medium
CN114520897A (en) * 2020-11-19 2022-05-20 成都极米科技股份有限公司 Method and device for adjusting position of projection picture, projection equipment and storage medium
CN112927731B (en) * 2021-01-27 2021-12-07 深圳冠兰达电子科技有限公司 Laser player convenient for adjusting direction
CN112927731A (en) * 2021-01-27 2021-06-08 深圳冠兰达电子科技有限公司 Laser player convenient for adjusting direction
CN112804509A (en) * 2021-03-26 2021-05-14 歌尔股份有限公司 Assembling method of projector, assembling apparatus of projector, and readable storage medium
CN113709431A (en) * 2021-07-26 2021-11-26 深圳市金研微科技有限公司 Apparatus and method for automatically correcting projection picture
WO2023011471A1 (en) * 2021-08-06 2023-02-09 深圳市道通科技股份有限公司 Pattern projection correction apparatus and method, and computer-readable storage medium
WO2023029277A1 (en) * 2021-09-01 2023-03-09 广景视睿科技(深圳)有限公司 Projection method, apparatus and device, and storage medium
CN114827563A (en) * 2021-11-16 2022-07-29 海信视像科技股份有限公司 Projection apparatus and projection region correction method
CN114827562A (en) * 2022-03-11 2022-07-29 深圳海翼智新科技有限公司 Projection method, projection device, projection equipment and computer storage medium

Similar Documents

Publication Publication Date Title
CN110636273A (en) Method and device for adjusting projection picture, readable storage medium and projector
US7909470B2 (en) Image projection method and projector
CN110099266B (en) Projector picture correction method and device and projector
WO2022179109A1 (en) Projection correction method and apparatus, storage medium and electronic device
JP2022528659A (en) Projector keystone correction methods, devices, systems and readable storage media
JP2019008286A (en) Projection system and display image correction method
CN111083456B (en) Projection correction method, apparatus, projector, and readable storage medium
JP5644461B2 (en) Image processing apparatus and program
CN104365086B (en) Pattern extraction equipment, image projecting equipment and pattern extracting method
US9747664B2 (en) Image processing apparatus
WO2019041650A1 (en) Method, apparatus and device for correcting calibration parameters of video camera, and storage medium
CN114727081B (en) Projector projection correction method and device and projector
JP3845386B2 (en) Correction method for off-screen area in geometric correction interface using auxiliary lines
CN112734860A (en) Arc-screen prior information-based pixel-by-pixel mapping projection geometric correction method
US11503261B2 (en) Image generation method, image generation system, and non-transitory computer-readable storage medium storing program
US8031971B2 (en) Image processing content determining apparatus, computer readable medium storing thereon image processing content determining program and image processing content determining method
JP6752052B2 (en) Video processing equipment and video processing methods, programs
JP2010146328A (en) Projector, and method and program for controlling the same
CN111669557B (en) Projected image correction method and correction device
TW202004323A (en) Keystone correction method and device
US20220292652A1 (en) Image generation method and information processing device
CN116109681A (en) Image fusion method, device, electronic equipment and readable storage medium
CN111739090B (en) Method and device for determining position of field of view and computer readable storage medium
JP2020014075A (en) Image projection system, image projection method, and program
JP2018182539A (en) Video processing apparatus, video processing method, and program

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
TA01 Transfer of patent application right

Effective date of registration: 20201010

Address after: 261031, north of Jade East Street, Dongming Road, Weifang hi tech Zone, Shandong province (GoerTek electronic office building, Room 502)

Applicant after: GoerTek Optical Technology Co.,Ltd.

Address before: 261031 Dongfang Road, Weifang high tech Industrial Development Zone, Shandong, China, No. 268

Applicant before: GOERTEK Inc.

TA01 Transfer of patent application right
RJ01 Rejection of invention patent application after publication

Application publication date: 20191231

RJ01 Rejection of invention patent application after publication