CN114339169A - Projected image correction method, device and equipment - Google Patents

Projected image correction method, device and equipment Download PDF

Info

Publication number
CN114339169A
CN114339169A CN202011061804.4A CN202011061804A CN114339169A CN 114339169 A CN114339169 A CN 114339169A CN 202011061804 A CN202011061804 A CN 202011061804A CN 114339169 A CN114339169 A CN 114339169A
Authority
CN
China
Prior art keywords
offset
mark point
target
projection
image
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
CN202011061804.4A
Other languages
Chinese (zh)
Other versions
CN114339169B (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.)
Qingdao Hisense Laser Display Co Ltd
Original Assignee
Qingdao Hisense Laser Display 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 Qingdao Hisense Laser Display Co Ltd filed Critical Qingdao Hisense Laser Display Co Ltd
Priority to CN202011061804.4A priority Critical patent/CN114339169B/en
Publication of CN114339169A publication Critical patent/CN114339169A/en
Application granted granted Critical
Publication of CN114339169B publication Critical patent/CN114339169B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Transforming Electric Information Into Light Information (AREA)
  • Projection Apparatus (AREA)

Abstract

The application discloses a method, a device and equipment for correcting a projected image, and belongs to the field of projection display. The laser projection equipment can determine the position offset parameter of the target mark point according to the initial position of the target mark point in the correction image displayed on the projection screen and the adjustment position of the target mark point. And the laser projection equipment can correct the projection position of the projection image according to the position offset parameter, so that the projection position of the projection image is prevented from exceeding a projection screen, and the display effect of the projection image is ensured.

Description

Projected image correction method, device and equipment
Technical Field
The present disclosure relates to the field of projection display, and in particular, to a method, an apparatus, and a device for correcting a projection image.
Background
Currently, laser projection devices can display a projected image to a projection screen. However, if the projection image projected and displayed by the laser projection device exceeds the projection screen, the display effect of the displayed projection image is poor.
Disclosure of Invention
The embodiment of the disclosure provides a method, a device and equipment for correcting a projected image, which can solve the problem of poor display effect of the projected image in the related art. The technical scheme is as follows:
in one aspect, a method for correcting a projected image is provided, and is applied to a laser projection device, and the method includes:
in response to a correction instruction, projecting a correction image to a projection screen, the correction image comprising a plurality of marker points;
adjusting a target mark point in the plurality of mark points to an adjustment position in response to a position adjustment instruction for the target mark point;
determining a position offset parameter of the target mark point according to the initial position and the adjustment position of the target mark point;
correcting the projection position of the projection image according to the position offset parameter;
wherein the projected image and the corrected image are the same in shape and size.
In another aspect, there is provided a correction apparatus for a projected image, the apparatus including:
the projection module is used for responding to a correction instruction and projecting a correction image to a projection screen, and the correction image comprises a plurality of mark points;
the adjusting module is used for responding to a position adjusting instruction aiming at a target mark point in the plurality of mark points and adjusting the target mark point to an adjusting position;
the determining module is used for determining a position offset parameter of the target marking point according to the initial position and the adjusting position of the target marking point;
the correction module is used for correcting the projection position of the projection image according to the position offset parameter;
wherein the projected image and the corrected image are the same in shape and size.
In still another aspect, there is provided a laser projection apparatus including the correction device for a projected image according to the above aspect.
In still another aspect, there is provided a correction apparatus for a projected image, the correction apparatus including: a memory, a processor and a computer program stored on the memory, the processor implementing the method of correcting a projected image as described in the above aspect when executing the computer program.
In yet another aspect, a computer-readable storage medium is provided, having stored therein instructions that, when executed by a processor, implement the method of correcting a projected image as described in the above aspect.
In a further aspect, there is provided a computer program product containing instructions which, when run on the computer, cause the computer to perform the method of correcting a projected image of the above aspect.
The beneficial effects brought by the technical scheme provided by the embodiment of the disclosure at least comprise:
the embodiment of the disclosure provides a method, a device and equipment for correcting a projected image, and the laser projection equipment can determine a position offset parameter of a target mark point according to an initial position of the target mark point in a corrected image displayed on a projection screen and an adjustment position of the target mark point. And the laser projection equipment can correct the projection position of the projection image according to the position offset parameter, so that the projection position of the projection image is prevented from exceeding a projection screen, and the display effect of the projection image is ensured.
Drawings
In order to more clearly illustrate the technical solutions in the embodiments of the present disclosure, the drawings needed to be used in the description of the embodiments are briefly introduced below, and it is obvious that the drawings in the following description are only some embodiments of the present disclosure, and it is obvious for those skilled in the art to obtain other drawings based on the drawings without creative efforts.
Fig. 1 is a flowchart of a method for correcting a projected image according to an embodiment of the present disclosure;
FIG. 2 is a flow chart of another method for correcting a projected image provided by an embodiment of the present disclosure;
FIG. 3 is a schematic diagram of a corrected image provided by an embodiment of the present disclosure;
FIG. 4 is a schematic diagram of a method for dividing a projection image into a plurality of grids provided by an embodiment of the present disclosure;
FIG. 5 is a schematic diagram of an image coordinate system established based on a center point of a corrected image according to an embodiment of the disclosure;
FIG. 6 is a diagram illustrating the effect of correcting the shift of a plurality of marker points in an image when the midpoint shift on a first side of the image is corrected according to an embodiment of the disclosure;
FIG. 7 is a diagram illustrating the effect of correcting the offset of a plurality of mark points in an image when the midpoint offset on the second side of the image is corrected according to an embodiment of the disclosure;
FIG. 8 is a diagram illustrating the effect of correcting the offset of a plurality of mark points in an image when the midpoint on the third side of the image is offset according to an embodiment of the disclosure;
FIG. 9 is a diagram illustrating the effect of correcting the shift of a plurality of marker points in an image when the midpoint shift on the fourth side of the image is corrected according to an embodiment of the disclosure;
FIG. 10 is a flowchart of yet another method for correcting a projected image provided by an embodiment of the present disclosure;
FIG. 11 is a diagram illustrating the effect of correcting the offset of a plurality of marker points in an image when the offset of a midpoint on the third side and a midpoint on the fourth side of the image is provided by an embodiment of the disclosure;
fig. 12 is a schematic structural diagram of a laser projection apparatus provided in an embodiment of the present disclosure;
fig. 13 is a block diagram of a correction apparatus for a projected image according to an embodiment of the present disclosure;
fig. 14 is a block diagram of another correction apparatus for a projected image according to an embodiment of the present disclosure.
Detailed Description
To make the objects, technical solutions and advantages of the present disclosure more apparent, embodiments of the present disclosure will be described in detail with reference to the accompanying drawings.
Fig. 1 is a flowchart of a correction method for a projected image according to an embodiment of the present disclosure, where the correction method may be applied to a laser projection apparatus. As shown in fig. 1, the method may include:
step 101, in response to a correction instruction, projecting a corrected image to a projection screen.
Wherein the corrected image may include a plurality of marker points. In the embodiment of the disclosure, the correction instruction may be triggered by a user through a remote controller, and the laser projection device may project the correction image to the projection screen in response to the correction instruction after receiving the correction instruction sent by the remote controller. Alternatively, the laser projection device may be provided with a correction button, and the laser projection device may generate a correction instruction after detecting a click operation of a user on the correction button, and may further project a correction image to the projection screen in response to the correction instruction. Still alternatively, the laser projection device may periodically generate a correction instruction, and may project a correction image to the projection screen in response to the correction instruction.
And 102, responding to a position adjusting instruction aiming at a target mark point in the plurality of mark points, and adjusting the target mark point to an adjusting position.
Alternatively, the position adjustment command may be triggered by the user via a remote control. The laser projection device may adjust the target mark point to an adjustment position in response to a position adjustment instruction for the target mark point among the plurality of mark points after projecting the correction image to the projection screen.
And 103, determining a position offset parameter of the target mark point according to the initial position and the adjustment position of the target mark point.
In the embodiment of the present disclosure, the initial position of each marking point may be stored in the laser projection apparatus in advance. After the laser projection equipment adjusts the target marking point to the adjusting position, the position offset parameter of the target marking point can be determined according to the initial position and the adjusting position of the target marking point.
And 104, correcting the projection position of the projection image according to the position offset parameter.
Wherein the projected image and the corrected image have the same shape and the same size. Alternatively, the projected image and the corrected image may each be in the shape of a quadrangle, such as a rectangle. The resolution of the corrected image and the projected image may both be M × N.
After determining the position offset parameter of the target mark point, the laser projection device may correct the projection position of the projected image according to the position offset parameter.
In summary, the embodiments of the present disclosure provide a method for correcting a projected image, where a laser projection device may determine a position offset parameter of a target mark point according to an initial position of the target mark point in a corrected image displayed on a projection screen and an adjusted position of the target mark point. And the laser projection equipment can correct the projection position of the projection image according to the position offset parameter, so that the projection position of the projection image is prevented from exceeding a projection screen, and the display effect of the projection image is ensured.
In the embodiment of the disclosure, the corrected image may include a plurality of mark points, and a user may select a target mark point of the plurality of mark points through a remote controller and control the target mark point to move along a pixel row direction and a pixel column direction through the remote controller. Optionally, the target marker may include one marker or a plurality of markers, for example, the target marker may include a first target marker and a second target marker. If the target mark point includes one mark point, as shown in fig. 2, the method may include:
step 201, in response to the correction instruction, projecting the corrected image to the projection screen.
In the embodiment of the disclosure, the correction instruction may be triggered by a user through a remote controller, and the laser projection device may project the correction image to the projection screen in response to the correction instruction after receiving the correction instruction sent by the remote controller. Alternatively, the laser projection device may be provided with a correction button, and the laser projection device may generate a correction instruction after detecting a click operation of a user on the correction button, and may further project a correction image to the projection screen in response to the correction instruction. Still alternatively, the laser projection device may periodically generate a correction instruction, and may project a correction image to the projection screen in response to the correction instruction.
Alternatively, the resolution of the corrected image may be M × N. Where M is the number of pixels in each column of the corrected image (i.e., M is the number of pixel rows), N is the number of pixels in each row of the corrected image (i.e., N is the number of pixel columns), and both M and N are positive integers greater than 1. Illustratively, the M may be 2160 and the N may be 3840.
Optionally, the corrected image includes a plurality of mark points, for example, the corrected image may include m × n mark points, where m is the number of rows of mark points in the corrected image, and n is the number of columns of mark points in the corrected image. And M and N are positive integers, M is less than or equal to M, and N is less than or equal to N. For example, m may be 32, n may be 62, and the corrected image may include 1984 marker points of 32 × 62. Fig. 3 is a schematic diagram of a corrected image according to an embodiment of the disclosure. As shown in fig. 3, m and n may both be 3, and the corrected image 00 may include 9 marker points a to I.
Step 202, in response to the position adjustment instruction for the target mark point in the plurality of mark points, adjusting the target mark point to an adjustment position.
The position adjustment instruction may be sent by the user through a remote controller. Optionally, the remote controller may be provided with a selection button, a plurality of movement buttons, and a confirmation button. Each moving button is used for controlling the mark point to move towards one direction. The remote controller can select the target mark point after receiving a selection instruction of a user for the target mark point in the plurality of mark points. And then the remote controller sends a position adjusting instruction to the laser projection equipment after sequentially receiving the pressing instruction aiming at any moving button and the selected instruction aiming at the determined button of the user. The position adjustment instruction carries the pressing times of the user for any one of the moving buttons and the moving direction of the target mark point.
After receiving the position adjustment instruction, the laser projection device may determine, in response to the position adjustment instruction, a target distance that the target mark point needs to move in the moving direction according to the number of times of pressing and the fixed distance, and determine an adjustment position of the target mark point according to the target distance and the moving direction. And adjusting the target mark point to an adjusting position according to the adjusting position.
Wherein the fixed distance is a distance pre-stored in the laser projection apparatus. The fixed distance is the distance that the laser projection device needs to move the target mark point on the projection screen every time the moving button is pressed. The target distance is equal to the product of the number of presses and the fixed distance.
And 203, determining a position offset parameter of the target mark point according to the initial position and the adjustment position of the target mark point.
The initial position of each marking point may be stored in the laser projection apparatus in advance. After the laser projection equipment adjusts the target marking point to the adjusting position, the position offset parameter of the target marking point can be determined according to the initial position and the adjusting position of the target marking point.
The position offset parameter may include a position offset amount and an offset direction. The displacement shift amount may include a first shift amount in a pixel column direction and a second shift amount in a pixel row direction. Referring to fig. 3, the shift directions may include a first shift direction s1 and a second shift direction s2 parallel to the pixel row direction, and a third shift direction s3 and a fourth shift direction s4 parallel to the pixel column direction. The first shift direction s1 and the third shift direction s3 are both directions away from the origin of the image coordinate system XY, and the second shift direction s2 and the fourth shift direction s4 are both directions close to the origin of the image coordinate system XY. The first shift direction s1 is opposite to the second shift direction s2, and the third shift direction s3 is opposite to the fourth shift direction s 4.
Referring to fig. 3, the image coordinate system XY may be a two-dimensional coordinate system XY, a horizontal axis X of the image coordinate system XY is parallel to the pixel row direction, a vertical axis Y of the image coordinate system is parallel to the pixel row direction, and an origin of the image coordinate system XY may be a left vertex a of the corrected image 00.
Alternatively, the initial position and the adjusted position of each marking point may be represented by coordinates in the image coordinate system XY. Accordingly, the initial position and the adjusted position may each include an abscissa and an ordinate.
In the embodiment of the present disclosure, each of the mark points corresponds to one pixel region in the projection image, and the pixel regions corresponding to the mark points are different from each other. The projection image 01 may be divided into m × n grids, where each grid includes a plurality ofPixels, i.e. each grid is a pixel area. Each of the pixel regions may include
Figure BDA0002712589480000061
And (4) a pixel. Also, one pixel in each pixel region may be determined as one marker corresponding to the pixel region. Thus, it can be determined that the corrected image 00 includes m × n marker points. The pixel corresponding to the mark point in each pixel region may be a vertex of the pixel region, for example, an upper left vertex.
For example, referring to FIG. 4, m may be 9, n may be 10, and each pixel region may include pixels in the projection image
Figure BDA0002712589480000062
And (4) a pixel.
As can be seen from fig. 3, the distances between two adjacent marks in the m × n marks in the pixel row direction are the same, and the distances between two adjacent marks in the pixel column direction are also the same. The distance between two adjacent marks in the pixel row direction may be the same as or different from the distance between two adjacent marks in the pixel column direction. Therefore, the marker located on the y-th row and x-th column among the m × n markers has the ordinate of the initial position in the image coordinate system XY
Figure BDA0002712589480000071
Abscissa of the circle
Figure BDA0002712589480000072
Y is an integer greater than or equal to 0 and less than m, and x is an integer greater than or equal to 0 and less than n.
For example, if M is 2160, N is 3840, M is 32, N is 62, x is 0, and y is 0, the ordinate i and the abscissa j of the marker point located in the 0 th row and the 0 th column (i.e., the left vertex a) of the M × N marker points in the initial position of the image coordinate system XY are 0 and 0, respectively. If x is 61 and y is 0, the ordinate i of the marker point located on the 61 st row in the 0 th row among the m × n marker points in the initial position of the image coordinate system XY is 0Abscissa of the tube
Figure BDA0002712589480000073
After the laser projection device adjusts the target mark point to the adjustment position, a first difference value of an abscissa of the adjustment position and an abscissa of the initial position and a second difference value of an ordinate of the adjustment position and an ordinate of the initial position may be determined, respectively. Thus, the laser projection apparatus can determine that the first shift amount of the positional shift amount is the absolute value of the first difference, and can determine that the second shift amount of the positional shift amount is the absolute value of the second difference.
The laser projection device may then compare whether the first difference is greater than 0 and whether the second difference is greater than 0, respectively. If the first difference and the second difference are both equal to 0, the laser projection device may determine that the target mark point is not shifted. If the first difference is greater than 0, the laser projection apparatus may determine that the target mark point has moved in the pixel column direction by the first difference in a direction away from the XY origin of the image coordinate system. The laser projection device may thus determine the offset direction of the target marking point as the first offset direction s 1.
If the first difference is less than 0, the laser projection apparatus may determine that the target mark point has moved in the pixel column direction toward a direction close to the XY origin of the image coordinate system by the first difference. The laser projection device may thus determine the shift direction of the target mark point as the second shift direction s 2.
If the second difference is greater than 0, the laser projection apparatus may determine that the target mark point has moved in the pixel row direction in a direction away from the XY origin of the image coordinate system by the second difference. The laser projection device can thus determine the shift direction of the target mark point as the third shift direction s 3.
If the second difference is less than 0, the laser projection apparatus may determine that the target mark point has moved in the pixel row direction toward a direction close to the XY origin of the image coordinate system by the second difference. The laser projection device may thus determine the shift direction of the target mark point as the fourth shift direction s 4.
And step 204, detecting whether the position offset is larger than an offset threshold value.
After determining the position offset of the target mark point, the laser projection device may detect whether the position offset is greater than an offset threshold. If the position offset is detected to be less than or equal to the offset threshold, step 205 is executed. If the detected position offset is greater than the offset threshold, step 207 may be performed.
Wherein the offset threshold may comprise a first offset threshold in the pixel row direction and a second offset threshold in the pixel column direction. The first offset threshold and the second offset threshold may be fixed values pre-stored in the laser projection device. Optionally, the first offset threshold may be
Figure BDA0002712589480000081
The second offset threshold may be
Figure BDA0002712589480000082
Optionally, after determining the first offset and the second offset in the position offsets, the laser projection device may compare whether the first offset in the position offsets is greater than a first offset threshold, and whether the second offset in the position offsets is greater than a second offset threshold. If a first offset in the position offsets is larger than a first offset threshold; and/or if a second offset amount of the position offset amounts is greater than a second offset amount threshold, step 207 is executed.
And step 205, determining the projection offset of each mark point except the target mark point in the corrected image on the projection screen relative to the initial position of the mark point according to the position offset.
After determining the position offset of the target mark point, the laser projection device may determine, according to the position offset, a projection offset of each mark point except the target mark point in the corrected image with respect to an initial position of the mark point on the projection screen.
And the projection offset of the target mark point is equal to the position offset. The projection offset of each mark point except the target mark point is smaller than the position offset, and the projection offset is negatively related to the spacing distance, wherein the spacing distance is the distance between the mark point and the target mark point. That is, the farther the distance between the mark point and the target mark point is, the smaller the projection offset of the mark point is. The closer the spacing distance between the mark point and the target mark point is, the larger the projection offset of the mark point is. Therefore, the projection offset of the plurality of mark points is gradually reduced along the offset direction, so that adjacent pixel areas in the projection image can be smoothly transited, and the display effect of the image is ensured.
Alternatively, the projection shift amount may also include a first shift amount in the pixel column direction and a second shift amount in the pixel row direction. Referring to fig. 3, the shift directions of the projection shift amount may also include a first shift direction s1 and a second shift direction s2 parallel to the pixel row direction, and a third shift direction s3 and a fourth shift direction s4 parallel to the pixel column direction.
In the embodiment of the present disclosure, the laser projection apparatus may determine the first offset amount of the projection offset amount of each marker point other than the target marker point in the corrected image 00 according to the first offset amount of the position offset amounts. The first offset amount of the projection offset amounts of the marker points located at the ith row and the jth column in the image coordinate system XY can be expressed as Δ x0(i,j)
Similarly, the laser projection apparatus may determine a second offset amount that corrects the projection offset amount of each marker point other than the target marker point in the image 00, according to the second offset amount of the position offset amounts. The second offset of the projected offsets of the marker points located at the ith row and the jth column in the image coordinate system XY can be expressed as Δ y0(i,j)
Optionally, if the first offset in the position offsets is equal to 0, the laser projection apparatus may determine that the first offset of the projection offset of each mark point in the corrected image 00 is 0. If the second offset in the position offsets is equal to 0, the laser projection apparatus may determine that the second offset of the projection offset of each mark point in the corrected image 00 is 0.
Referring to fig. 5, the target mark point may be a middle point on any one side of the corrected image 00. For example, the target mark point may be a middle point G on a first side K1 of the corrected image 00, the first side K1 being parallel to the pixel column direction, and the first side K1 being located in the second and third quadrants of the image coordinate system X0Y 0. The origin of the image coordinate system X0Y0 may be the center point of the corrected image 00, the horizontal axis of the image coordinate system X0Y0 is parallel to the pixel row direction, and the vertical axis of the image coordinate system X0Y0 is parallel to the pixel column direction.
For example, referring to fig. 6, it is assumed that the target mark point is a middle point G on the first side K1 of the corrected image 00, a first offset amount of the position offset amounts of the target mark point G is X1(X1 is not 0), and a second offset amount of the position offset amounts is 0. The laser projection apparatus can determine a first offset amount that corrects the projection offset amount of each of the marker points in the image 00 except for the midpoint G, based on the first offset amount X1. Since the second offset amount of the position offset amount is 0, the laser projection apparatus may determine that the second offset amount of the projection offset amount of each mark point in the corrected image 00 is 0.
In the embodiment of the disclosure, the user can control the target mark point to move along the direction perpendicular to the edge of the target mark point through the remote controller without controlling the target mark point to move along the direction parallel to the edge of the target mark point. That is, if the edge of the target mark point is parallel to the pixel row direction, the second offset of the position offsets of the target mark point is 0. If the edge of the target mark point is parallel to the pixel row direction, the first offset in the position offsets of the target mark point is 0.
As an alternative implementation manner, the target mark point is a middle point G on the first side K1 of the corrected image 00, and the first offset Δ X0 of the projection offsets of the mark points located on the u-th row and v-th column of the image coordinate system X0Y0 is the first offset Δ X0(i,j)Comprises the following steps:
Figure BDA0002712589480000091
second offset amount deltay 0(i,j)Is 0, and the first offset amount Deltax 0(i,j)Is the first offset direction s 1. The
Figure BDA0002712589480000092
The
Figure BDA0002712589480000093
The marker located on the u-th row and v-th column of the image coordinate system X0Y0 is the marker located on the i-th row and j-th column of the image coordinate system XY. Wherein the X1 is a first offset of the position offsets.
Illustratively, if M is 2160, N is 3840, X2 and Y2 are both 100px, u is 0, and v is 1919, i is 1079, j is 3839, and the first offset Δ X0 among the projected offsets of the marker points located at row 0, column 1919 in the image coordinate system X0Y0 (i.e., the midpoint H on the second side K2 of the corrected image 00)(1079,3839)Was 0.03 px. The second edge K2 is parallel to the first edge K1, and the second edge K2 is located in the first and fourth quadrants of the image coordinate system X0Y 0.
If u is 0 and v is 0, then the first shift amount Δ X0 of the projected shift amounts of the 0 th row and 0 th column marker point (i.e., the center point O of the corrected image 00) in the image coordinate system X0Y0(1079,1919)Is 50 px.
Referring to fig. 5, it can be seen that the separation distance between the center point O of the corrected image 00 and the center point G is smaller than the separation distance between the center point H and the center point G, and the first offset 50px of the projected offsets of the center point O of the corrected image 00 is larger than the first offset 0.03px of the projected offsets of the center point H.
Referring to fig. 6, if the shift direction is the first shift direction s1, the first shift amount of the projected shift amounts of the markers gradually decreases along the first shift direction s1, the trajectory of the movement of the markers along the first shift direction s1 is an arc, and the opening of the arc is larger. The first offsets of the projection offsets of the mark point B, the mark point H and the mark point D on the second side K2 in the corrected image 00 are smaller, and the mark point B, the mark point H and the mark point D on the second side K2 are basically invisible to human eyes.
As another alternativeIn the implementation of (1), the target mark point is the middle point H on the second side K2 of the corrected image 00, and the first offset Δ X0 of the projected offsets of the mark points located on the u-th row and v-th column of the image coordinate system X0Y0 is the middle point H(i,j)Comprises the following steps:
Figure BDA0002712589480000101
second offset amount deltay 0(i,j)Is 0, and the first offset amount Deltax 0(i,j)Is the second offset direction s 2.
Illustratively, if M is 2160, N is 3840, u is 0, v is 0, X2 and Y2 are both 100px, i is 1079, j is 1919, and the first offset amount Δ X0 is the projection offset amount of the marker point located at line 1079 and column 0 in the image coordinate system X0Y0 (i.e., the center point O of the corrected image 00)(1079,1919)Is 50 px. If u is 0 and v is-1919, i equals 1079, j equals 0, and the first offset Δ X0 among the projected offsets of the marker points located at row 0, column 1919 in the image coordinate system X0Y0 (i.e., the midpoint G located on the first side K1 of the corrected image 00)(1079,0)Was 0.02 px.
Referring to fig. 5, it can be seen that the separation distance between the center point O of the corrected image 00 and the center point H is smaller than the separation distance between the center point G and the center point H, and the first offset 50px of the projected offsets of the center point O of the corrected image 00 is larger than the first offset 0.02px of the projected offsets of the center point G.
Referring to fig. 7, if the shift direction is the second shift direction s2, the first shift amount of the projected shift amounts of the markers gradually decreases along the second shift direction s2, the trajectory of the movement of the markers along the second shift direction s2 is an arc, and the opening of the arc is larger. And the first offset of the projection offsets of the mark point a, the mark point G and the mark point C on the first edge K1 in the corrected image 00 is smaller, so that the mark point a, the mark point G and the mark point C on the first edge K1 can not be seen by human eyes to be offset.
As still another alternative implementation, the target mark point is the middle point E on the third side K3 of the corrected image 00, and the mark point located on the u-th row and v-th column of the image coordinate system X0Y0A first offset Δ x0 of the projected offsets(i,j)Is 0, and the second offset amount deltay 0(i,j)Comprises the following steps:
Figure BDA0002712589480000111
Figure BDA0002712589480000112
and the second offset amount deltay 0(i,j)Is the third offset direction s 3. The third side K3 is parallel to the pixel column direction, and the third side K3 is located in the first quadrant and the second quadrant of the image coordinate system X0Y 0.
Illustratively, if M is 2160, N is 3840, X2 and Y2 are both 100px, u is-1079, and v is 0, i is 2160, j is 1919, and the second offset Δ Y0 is the second offset Δ Y0 among the projected offsets of the marker point located in line 0 of line-1079 in the image coordinate system X0Y0 (i.e., the midpoint F on the fourth side K4 of the corrected image 00)(2160,1919)Was 0.05 px. The fourth side K4 is parallel to the third side K3, and the fourth side K4 is located in the third and fourth quadrants of the image coordinate system X0Y 0. The Y2 is a second offset amount of the positional offset amounts.
If u is 0 and v is 0, i equals 1079, j equals 1919, the second offset 50px of the projected offsets of the marker point located at row 0 and column 0 in the image coordinate system X0Y0 (i.e., the center point O of the corrected image 00).
Referring to fig. 5, it can be seen that the separation distance between the center point O of the corrected image 00 and the center point E is smaller than the separation distance between the center point F and the center point E, and the second offset 50px of the projected offsets of the center point O of the corrected image 00 is larger than the second offset 0.05px of the projected offsets of the center point F.
Referring to fig. 8, if the shift direction is the third shift direction s3, the second shift amount of the projected shift amounts of the markers gradually decreases along the third shift direction s3, the trajectory of the movement of the markers along the third shift direction s3 is an arc, and the opening of the arc is larger. And the second offset of the projection offsets of the mark point C, the mark point F and the mark point D on the fourth side K4 in the corrected image 00 is smaller, so that the mark point C, the mark point F and the mark point D on the fourth side K4 can not be seen by human eyes to be offset.
As still another alternative implementation manner, the target mark point is the middle point F on the fourth side K4 of the corrected image 00, and the first offset Δ X0 of the projection offsets of the mark points located on the u-th row and v-th column of the image coordinate system X0Y0 is the first offset Δ X0(i,j)Is 0, and the second offset amount deltay 0(i,j)Comprises the following steps:
Figure BDA0002712589480000113
Figure BDA0002712589480000121
and the second offset amount deltay 0(i,j)Is the fourth offset direction s 4.
Illustratively, if M is 2160, N is 3840, X2 and Y2 are both 100px, u is 1079, and v is 0, i is equal to 0, j is equal to 1919, and the second shift amount is 0.05px in the projection shift amounts of the marker point located at line 1079, column 0 in the image coordinate system X0Y0 (i.e., the midpoint E on the third side K3 of the corrected image 00). If u is 0 and v is 0, i equals 1079, j equals 1919, the second offset 50px of the projected offsets of the marker point located at row 0 and column 0 in the image coordinate system X0Y0 (i.e., the center point O of the corrected image 00).
Referring to fig. 5, it can be seen that the separation distance between the center point O of the corrected image 00 and the center point F is smaller than the separation distance between the center point E and the center point F, and the second offset 50px of the projected offsets of the center point O of the corrected image 00 is larger than the second offset 0.05px of the projected offsets of the center point E.
Referring to fig. 9, if the shift direction is the fourth shift direction s4, the second shift amount of the projected shift amounts of the markers gradually decreases along the fourth shift direction s4, the trajectory of the movement of the markers along the fourth shift direction s4 is an arc, and the opening of the arc is larger. As can be seen from fig. 8, the second offset amounts of the projection offset amounts of the marker point a, the marker point E and the marker point B on the third side K3 in the corrected image 00 are all small, and the marker point a, the marker point E and the marker point B on the third side K3 are not substantially visible to human eyes.
And step 206, correcting the projection position of the pixel area corresponding to the mark point in the projection image according to the projection offset and the offset direction of each mark point.
In the disclosed embodiment, the projected image and the corrected image are the same shape and the same size. For example, the resolution of the projection image may be M × N.
Because each marking point corresponds to one pixel area in the projection image, and the pixel areas corresponding to the marking points are different from each other. Therefore, the laser projection equipment can correct the projection position of the pixel area corresponding to each mark point in the projection image according to the first offset and the offset direction of the projection offset of the mark point, so that the projection position of the pixel area corresponding to the mark point in the projection image is moved by the first offset of the projection offset along the offset direction. And correcting the projection position of the pixel area corresponding to each mark point in the projection image according to the second offset and the offset direction of the projection offset of each mark point, so that the projection position of the pixel area corresponding to each mark point in the projection image is moved by the second offset of the projection offset along the offset direction.
For example, referring to fig. 5, assuming that the laser projection apparatus determines that the offset direction of the point G in the target mark point is s1, and determines a first offset amount of the projection offset amounts of each mark point according to the first offset amount of the position offset amounts of the target mark point G being X1, the laser projection apparatus may correct the projection position of the pixel region corresponding to the mark point in the projection image according to the first offset amount and the first offset direction of the projection offset amount of each mark point.
And step 207, displaying prompt information on the projection screen.
If the laser projection equipment detects that the position offset is larger than the offset threshold, prompt information can be displayed on the projection screen, and the prompt information is used for prompting that the position offset of the target mark point reaches the offset threshold.
Illustratively, if N is 3840, the first offset threshold valueCan be that
Figure BDA0002712589480000131
The target mark point is a midpoint G of the corrected image on the first side K1, and the first shift amount of the positional shift amounts is 2000. Due to the 2000>1920, the laser projection device may display a prompt on the projection screen, which may be "the position offset of the midpoint G has reached the maximum".
It should be noted that, the order of the steps of the correction method for a projected image provided in the embodiment of the present application may be appropriately adjusted, and the steps may also be deleted according to the situation. For example, steps 204 and 207 may be deleted as appropriate. Or step 205 and step 206 may be deleted as appropriate. Any method that can be easily conceived by a person skilled in the art within the technical scope disclosed in the present application is covered by the protection scope of the present application, and thus the detailed description thereof is omitted.
In summary, the embodiments of the present disclosure provide a method for correcting a projected image, where the laser projection device may determine a position offset parameter of a target mark point according to an initial position of the target mark point in a corrected image displayed on a projection screen and an adjusted position of the target mark point. And the laser projection equipment can correct the projection position of the projection image according to the position offset parameter, so that the projection position of the projection image is prevented from exceeding a projection screen, and the display effect of the projection image is ensured.
In this embodiment of the disclosure, if the target mark points include a first target mark point and a second target mark point, referring to fig. 10, the method may include:
step 1001, in response to the correction instruction, projects the corrected image to the projection screen.
In the embodiment of the present disclosure, reference may be made to the related description in step 201 in this step 1001, and details of the embodiment of the present disclosure are not repeated herein.
Step 1002, in response to a position adjustment instruction for a first target mark point and a second target mark point in the plurality of mark points, adjusting the first target mark point to an adjustment position of the first target mark point, and adjusting the second target mark point to an adjustment position of the second target mark point.
In this embodiment of the present disclosure, in step 1002, reference may be made to the related description of step 202 for one target mark point, which is not described herein again in this embodiment of the present disclosure.
Step 1003, determining the position offset and the offset direction of the first target mark point according to the initial position and the adjustment position of the first target mark point, and determining the position offset and the offset direction of the second target mark point according to the initial position and the adjustment position of the second target mark point.
In this embodiment of the present disclosure, in the step 1003, reference may be made to the related description of the step 203 for one target mark point, and details of this embodiment of the present disclosure are not repeated herein.
Step 1004, respectively detecting whether the position offset of the first target mark point is larger than an offset threshold value, and whether the position offset of the second target mark point is larger than the offset threshold value.
If the laser projection device detects that the position offset of the first target mark point and the position offset of the second target mark point are both smaller than or equal to the offset threshold, step 1005 is executed. If the position offset of the first target mark point is greater than the offset threshold, and/or the position offset of the second target mark point is greater than the offset threshold, step 1011 is executed.
In the embodiment of the present disclosure, reference may be made to the description of step 1004 above with respect to step 204, and the embodiment of the present disclosure is not described herein again.
Step 1005, determining a first target offset of each mark point except the first target mark point on the projection screen relative to the initial position of the mark point in the corrected image according to the position offset of the first target mark point.
The first target offset of each mark point except the first target mark point is smaller than the position offset of the first target mark point, the first target offset is in negative correlation with an interval distance, and the interval distance is the distance between the mark point and the first target mark point. That is, the farther the spacing distance between the mark point and the first target mark point is, the smaller the first target offset of the mark point is. The closer the distance between the mark point and the first target mark point is, the larger the first target offset of the mark point is. The first target offset of the first target mark point is the position offset of the first target mark point.
In the embodiment of the present disclosure, the laser projection apparatus may determine, according to a first offset amount of the position offset amounts of the first target mark point, a first offset amount of the first target offset amounts of each mark point other than the first target mark point in the corrected image 00. The first offset amount of the first target offset amounts of the marker points located at the ith row and the jth column in the image coordinate system XY can be expressed as Δ x1ij. And determining the second offset in the first target offset of each mark point except the target mark point in the corrected image 00 according to the second offset in the position offsets of the first target mark point. The second offset amount of the first target offset amounts of the marker points located at the ith row and the jth column in the image coordinate system XY can be expressed as Δ y1ij. The process for determining the first offset and the second offset in the first target offset of the first target mark point may refer to the related description of step 205.
And step 1006, determining a second target offset of each marker point except the second target marker point on the projection screen relative to the initial position of the marker point according to the position offset of the second target marker point.
The second target offset of each mark point except the second target mark point is smaller than the position offset of the second target mark point, the second target offset is in negative correlation with an interval distance, and the interval distance is the distance between the mark point and the second target mark point. That is, the farther the spacing distance between the mark point and the second target mark point is, the smaller the second target offset of the mark point is. The closer the spacing distance between the mark point and the first target mark point is, the larger the second target offset of the mark point is. The second target offset of the second target mark point is the position offset of the second target mark point.
The laser projection apparatus may determine a first offset amount Δ x1 of the second target offset amounts for each of the mark points other than the target mark point in the corrected image 00 according to the first offset amount of the position offset amounts of the second target mark pointij. The first offset amount of the second target offset amounts of the marker points located at the ith row and the jth column in the image coordinate system XY is Δ x2ij. And determining the second offset of each mark point except the target mark point in the corrected image 00 according to the second offset in the position offsets of the second target mark point. A second offset amount of the second target offset amounts of the marker points located at the ith row and the jth column in the image coordinate system XY is Δ y2ij. The process for determining the first offset and the second offset in the second target offsets of the second target mark point may refer to the related description of step 205.
Step 1007, detecting whether the offset directions of the first target mark point and the second target mark point are opposite.
In this disclosure, the laser projection apparatus may detect whether the offset directions of the first target mark point and the second target mark point are opposite, and if it is detected that the offset directions of the first target mark point and the second target mark point are not opposite, step 1008 may be performed. If the offset directions of the first target mark point and the second target mark point are opposite, step 1009 may be executed.
The opposite offset directions of the first target mark point and the second target mark point mean that the offset direction of the first target mark point is the first offset direction s1, and the offset direction of the second target mark point is the second offset direction s 2. Alternatively, the offset direction of the first target mark point is the second offset direction s2, and the offset direction of the second target mark point is the first offset direction s 1. Alternatively, the offset direction of the first target mark point is a third offset direction s3, and the offset direction of the second target mark point is a fourth offset direction s 4. Alternatively, the offset direction of the first target mark point is a fourth offset direction s4, and the offset direction of the second target mark point is a third offset direction s 3. The fact that the offset directions of the first target mark point and the second target mark point are not opposite refers to other situations except that the offset directions of the first target mark point and the second target mark point are opposite. For example, the offset direction of the first target mark point is a first offset direction, and the offset direction of the second target mark point is a third offset direction.
And step 1008, determining the projection offset of each mark point in the corrected image as the sum of the first target offset of the mark point and the second target offset of the mark point.
When the laser projection equipment detects that the offset directions of the first target mark point and the second target mark point are not opposite, the second offset in the projection offset of each mark point in the correction image can be determined to be the sum of the second offset in the first target offset of the mark point and the second offset in the second target offset of the mark point.
Wherein, the first offset amount Deltax 0 in the projection offset amount of the marking point positioned at the ith row and the jth column in the image coordinate system XYij=Δx1ij+Δx2ij. A second shift amount Deltay 0 of the projected shift amounts of the marker points located at the ith row and the jth column in the image coordinate system XYij=Δy1ij+Δy2ij
And step 1009, determining the projection offset of each mark point in the corrected image as the absolute value of the difference between the first target offset of the mark point and the second target offset of the mark point.
When the laser projection equipment determines that the offset directions of the first target mark point and the second target mark point are opposite, the first offset in the projection offset of each mark point can be determined to be the difference value between the first offset in the first target offset of the mark point and the first offset in the second target offset of the mark point. And may determine a second offset in the projection offsets of each marker in the corrected image 00 as an absolute value of a difference between a second offset in the first target offsets of the marker and a second offset in the second target offsets of the marker.
Wherein the image is located in an image coordinate system XYFirst offset Deltax 0 in projection offsets of marker points of ith row and jth columnij=|Δx1ij-Δx2ijL. A second shift amount Deltay 0 of the projected shift amounts of the marker points located at the ith row and the jth column in the image coordinate system XYij=|Δy1ij-Δy2ij|。
For example, referring to fig. 11, if the first target mark point is the middle point E on the third side, the second target mark point is the middle point F on the fourth side, the offset direction of the first target mark point is the third offset direction s3, the offset direction of the second target mark point is the fourth offset direction s4, the first offset amount in the position offset amount of the first target mark point is equal to 0, the second offset amount is Y2, the first offset amount in the position offset amount of the second target mark point is equal to 0, and the second offset amount is Y3.
Since the offset direction of the first target mark point is the third offset direction s3 and the offset direction of the second target mark point is the fourth offset direction s4, the laser projection apparatus may determine that the offset directions of the first target mark point and the second target mark point are opposite. Since the first offset amount of the position offset amounts of the first target mark point is equal to 0, and the first offset amount of the position offset amounts of the second target mark point is equal to 0. Therefore, the laser projection equipment can determine that the first offset in the first target offsets of each marking point is 0, and the first offset in the second target offsets of each marking point is 0. The laser projection device can determine the projection offset of the marking point positioned on the ith row and the jth column in the image coordinate system XY as the first offset Deltax 0ij=0。
The laser projection apparatus may determine a second offset amount of the first target offset amounts for each of the mark points other than the first target mark point, according to a second offset amount of the position offset amounts of the first target mark point being Y2. And according to Y3 as the second offset amount of the position offset amounts of the second target mark point, the second offset amount of the second target offset amounts of each mark point other than the second target mark point can be determined. The laser projection device can determine the marking point at the ith row and the jth column in the image coordinate system XYOf the projected offsets of (a) is Δ y0ij=|Δy1ij-Δy2ij|。
In the embodiment of the present disclosure, if the second shift amount Y2 of the position shift amounts of the first target mark point is equal to the second shift amount Y3 of the position shift amounts of the second target mark point, then referring to fig. 11, the second shift amount of the projection shift amounts of the mark points on the midpoint line (i.e., the connecting line of the midpoint G and the midpoint H) in the corrected image 00 is smaller, and the mark points on the midpoint line are not substantially seen by the human eye to be shifted.
If the second offset Y2 of the position offsets of the first target mark point is greater than the second offset Y3 of the position offsets of the second target mark point, the second offset of the mark point projection offsets on a certain line of the lower half of the middle point line of the corrected image 00 is smaller, and the mark point on the certain line is basically not seen to be offset by human eyes.
If the second offset Y2 of the position offsets of the first target mark point is smaller than the second offset Y3 of the position offsets of the second target mark point, the second offset of the mark point projection offsets on a certain line of the upper half of the middle point line of the corrected image 00 is smaller, and the mark point on the certain line cannot be basically seen by human eyes to be offset.
Step 1010, correcting the projection position of the pixel area corresponding to the mark point in the projection image according to the projection offset and the offset direction of each mark point.
Each marking point corresponds to one pixel area in the projection image, and the pixel areas corresponding to the marking points are different from each other.
In the embodiment of the present disclosure, reference may be made to the description of step 206 in step 1010, and the embodiment of the present disclosure is not described herein again.
It should be noted that, for any mark point, if a first offset in the first target offsets of the mark point is greater than a first offset in the second target offsets of the mark point, or a second offset in the first target offsets of the mark point is greater than a second offset in the second target offsets of the mark point, the offset direction of the mark point is the same as the offset direction of the first target mark point. And if the first offset in the first target offsets of the mark points is smaller than the first offset in the second target offsets of the mark points, or the second offset in the first target offsets of the mark points is smaller than the second offset in the second target offsets of the mark points, the offset direction of the mark points is the same as the offset direction of the second target mark points.
And step 1011, displaying prompt information on the projection screen.
In the embodiment of the present disclosure, reference may be made to the related description of step 207 for step 1011, and the embodiment of the present disclosure is not described herein again.
It should be noted that, the order of the steps of the correction method for a projected image provided in the embodiment of the present application may be appropriately adjusted, and the steps may also be deleted according to the situation. For example, step 1011 may be deleted as appropriate. Or steps 1005 to 1010 may be deleted as appropriate. Or step 1009 may be deleted as appropriate. Or step 1008 may be deleted as appropriate. Any method that can be easily conceived by a person skilled in the art within the technical scope disclosed in the present application is covered by the protection scope of the present application, and thus the detailed description thereof is omitted.
In summary, the embodiments of the present disclosure provide a method for correcting a projected image, where the laser projection device may determine a position offset parameter of a target mark point according to an initial position of the target mark point in a corrected image displayed on a projection screen and an adjusted position of the target mark point. And the laser projection equipment can correct the projection position of the projection image according to the position offset parameter, so that the projection position of the projection image is prevented from exceeding a projection screen, and the display effect of the projection image is ensured.
Fig. 12 is a schematic structural diagram of a laser projection apparatus provided in an embodiment of the present application, and as shown in fig. 12, the laser projection apparatus may include a correction circuit 10, a main control circuit 20, a light valve 30, and a projection lens 40.
The calibration circuit 10 may be configured to perform the methods shown in step 201, step 203, step 207, and the method for adjusting the target mark point to the adjustment position in step 202. The main control circuit 20 may be configured to execute the method of determining the adjusted position of the target mark point in step 202, and sending the adjusted position of the target mark point to the correction circuit 10.
The calibration circuit 10 can also be used to perform the methods shown in step 1001, step 1003 to step 1011, and the method of adjusting the target mark point to the adjusted position in step 1002. The main control circuit 20 is configured to execute the method of determining the adjusted position of the target mark point in step 1002, and sending the adjusted position of the target mark point to the correction circuit 10.
In the above steps 201 and 1001, the calibration circuit 10 may be configured to respond to the calibration instruction, control the light valve 30 to modulate the light beam irradiated onto the surface thereof into the image light beam according to the light valve control signal, and transmit the image light beam to the projection lens 40. The projection lens 40 is used for transmitting the image beam to the projection screen 50, so as to implement projection display of a corrected image on the projection screen 50. Alternatively, the light valve control signal may be generated by the correction circuit 10 based on the pixel values of the corrected image.
Fig. 13 is a block diagram of a correction apparatus 130 for a projected image according to an embodiment of the present disclosure. As shown in fig. 13, the correcting device 130 may include: a projection module 1301, an adjustment module 1302, a determination module 1303, and a correction module 1304. The projection module 1301, the adjustment module 1302, the determination module 1303, and the correction module 1304 may all be located in the correction circuit 10 shown in fig. 10.
The projection module 1301 is configured to project the corrected image to a projection screen in response to the correction instruction. The corrected image includes a plurality of marker points.
An adjusting module 1302, configured to adjust a target mark point to an adjustment position in response to a position adjustment instruction for the target mark point in the multiple mark points.
And the determining module 1303 is configured to determine a position offset parameter of the target mark point according to the initial position and the adjusted position of the target mark point.
And a correcting module 1304, configured to correct the projection position of the projection image according to the position offset parameter.
Wherein the projected image and the corrected image have the same shape and the same size.
In summary, the present disclosure provides a correction apparatus for a projection image, in which a determining module may determine a position offset parameter of a target mark point according to an initial position of the target mark point in a correction image displayed on a projection screen and an adjusted position of the target mark point. And the correction module can correct the projection position of the projection image according to the position offset parameter, so that the projection position of the projection image is prevented from exceeding a projection screen, and the display effect of the projection image is ensured.
Referring to fig. 13, the corrected image is a quadrangle, and the target mark point is a middle point on any one side of the corrected image. Each marking point corresponds to one pixel area in the projection image, and the pixel areas corresponding to the marking points are different from each other. The positional offset parameters include a positional offset amount and an offset direction. The correction module 1304 is configured to:
and determining the projection offset of each mark point except the target mark point in the corrected image on the projection screen relative to the initial position of the mark point according to the position offset.
And correcting the projection position of the pixel area corresponding to the mark point in the projection image according to the projection offset and the offset direction of each mark point.
The projection offset of each mark point except the target mark point is smaller than the position offset, the projection offset is in negative correlation with the spacing distance, and the spacing distance is the distance between the mark point and the target mark point.
Optionally, each of the position offset and the projection offset includes: a first offset amount in a pixel row direction and a second offset amount in a pixel column direction; the shift directions include a first shift direction and a second shift direction parallel to the pixel row direction, and a third shift direction and a fourth shift direction parallel to the pixel column direction.
If the target mark point is a middle point on the first side of the corrected image, the first offset amount in the projection offset amounts of the mark points positioned on the u-th row and the v-th column of the image coordinate system is as follows:
Figure BDA0002712589480000201
Figure BDA0002712589480000202
the second offset is 0, and the offset direction of the first offset is the first offset direction.
If the target mark point is the middle point on the second side of the corrected image, the first offset in the projection offsets of the mark points located in the u-th row and the v-th column of the image coordinate system is as follows:
Figure BDA0002712589480000203
Figure BDA0002712589480000204
the second offset amount is 0, and the offset direction of the first offset amount is the second offset direction.
If the target mark point is the middle point on the third edge of the corrected image, the first offset in the projection offsets of the mark points located in the u-th row and the v-th column of the image coordinate system is 0, and the second offset is:
Figure BDA0002712589480000205
Figure BDA0002712589480000206
and the offset direction of the second offset amount is a third offset direction.
If the target mark point is the middle point on the fourth side of the corrected image, the first offset in the projection offsets of the mark points located in the u-th row and the v-th column of the image coordinate system is 0, and the second offset is:
Figure BDA0002712589480000207
Figure BDA0002712589480000208
and the offset direction of the second offset amount is a fourth offset direction.
The original point of the image coordinate system is a central point of the corrected image, the first side and the second side are parallel to the pixel row direction, the third side and the fourth side are parallel to the pixel row direction, the first side is located in the second quadrant and the third quadrant of the image coordinate system, the second side is located in the first quadrant and the fourth quadrant of the image coordinate system, the third side is located in the first quadrant and the second quadrant of the image coordinate system, and the fourth side is located in the third quadrant and the fourth quadrant of the image coordinate system; x1 is a first offset amount of the position offset amounts, Y1 is a second offset amount of the position offset amounts, M is a pixel row number of pixels in the correction image, N is a pixel column number of pixels in the correction image, and u is less than
Figure BDA0002712589480000209
V is an integer of less than
Figure BDA0002712589480000211
The first shift direction and the third shift direction are both directions away from the top left vertex of the corrected image, and the second shift direction and the fourth shift direction are both directions close to the top left vertex.
Referring to fig. 14, the correction apparatus may further include a detection module 1305 and a display module 1306. The detection module 1305 and the display module 1306 may be located in the correction circuit 10 shown in fig. 10.
The detecting module 1305 is configured to detect that the position offset is greater than the offset threshold, and the displaying module 1306 is configured to display a prompt message on the projection screen, where the prompt message is used to prompt that the position offset of the target mark point has reached the offset threshold.
Optionally, the detecting module 1305 is configured to determine that a first offset in the pixel row direction in the position offsets is greater than a first offset threshold. And/or, if a second offset in the pixel column direction in the position offsets is greater than a second offset threshold, the display module 1306 is configured to display the prompt message on the projection screen.
Referring to fig. 13, the corrected image is a quadrangle, and the target mark point is a middle point on any one side of the corrected image. The target mark points comprise a first target mark point and a second target mark point. Each marking point corresponds to one pixel area in the projection image, and the pixel areas corresponding to the marking points are different from each other. The positional offset parameters include a positional offset amount and an offset direction. The correction module 1304 is configured to:
and determining a first target offset of each marker point except the first target marker point in the corrected image on the projection screen relative to the initial position of the marker point according to the position offset of the first target marker point.
And determining a second target offset of each marker point except the second target marker point on the projection screen relative to the initial position of the marker point according to the position offset of the second target marker point.
If the offset directions of the first target mark point and the second target mark point are not opposite, determining the projection offset of each mark point in the corrected image as the sum of the first target offset of the mark point and the second target offset of the mark point; and if the offset directions of the first target mark point and the second target mark point are opposite, determining the projection offset of each mark point in the corrected image as the absolute value of the difference value of the first target offset of the mark point and the second target offset of the mark point.
And correcting the projection position of the pixel area corresponding to the mark point in the projection image according to the projection offset and the offset direction of each mark point.
The first target offset of each mark point except the first target mark point is smaller than the position offset of the first target mark point, the first target offset is in negative correlation with the spacing distance, and the spacing distance is the distance between the mark point and the first target mark point. The second target offset of each mark point except the second target mark point is smaller than the position offset of the second target mark point, the second target offset is in negative correlation with the spacing distance, and the spacing distance is the distance between the mark point and the second target mark point.
In summary, the present disclosure provides a correction apparatus for a projection image, in which a determining module may determine a position offset parameter of a target mark point according to an initial position of the target mark point in a correction image displayed on a projection screen and an adjusted position of the target mark point. And the correction module can correct the projection position of the projection image according to the position offset parameter, so that the projection position of the projection image is prevented from exceeding a projection screen, and the display effect of the projection image is ensured.
The embodiment of the present disclosure provides a laser projection apparatus, which may include a light source, a light valve 30 shown in fig. 10, a projection lens 40, and a correction device of a projected image as shown in fig. 13 or fig. 14.
The disclosed embodiment provides a correction device for a projected image, which may include: a memory, a processor and a computer program stored on the memory, the processor implementing the method for correcting a projected image provided by the above method embodiments (e.g. the embodiments shown in fig. 1, fig. 2 or fig. 10) when executing the computer program.
The embodiment of the disclosure provides a computer-readable storage medium, and instructions are stored in the computer-readable storage medium, and when executed by a processor, the instructions implement the correction method of the projected image provided by the method embodiment (for example, the embodiment shown in fig. 1, fig. 2 or fig. 10).
The embodiment of the present disclosure provides a computer program product containing instructions, which when run on a computer, causes the computer to execute the method for correcting a projected image provided by the above method embodiment (for example, the embodiment shown in fig. 1, fig. 2 or fig. 10).
In the disclosed embodiments, the terms "first," "second," "third," and "fourth" are used for descriptive purposes only and are not to be construed as indicating or implying relative importance. The term "plurality" in the embodiments of the present disclosure means two or more. The term "and/or" in the embodiments of the present disclosure is only one kind of association relationship describing an associated object, and means that three relationships may exist, for example, a and/or B may mean: a exists alone, A and B exist simultaneously, and B exists alone.
The above description is intended to be exemplary only and not to limit the present disclosure, and any modification, equivalent replacement, or improvement made without departing from the spirit and scope of the present disclosure is to be considered as the same as the present disclosure.

Claims (10)

1. A method of correcting a projected image, applied to a laser projection apparatus, the method comprising:
in response to a correction instruction, projecting a correction image to a projection screen, the correction image comprising a plurality of marker points;
adjusting a target mark point in the plurality of mark points to an adjustment position in response to a position adjustment instruction for the target mark point;
determining a position offset parameter of the target mark point according to the initial position and the adjustment position of the target mark point;
correcting the projection position of the projection image according to the position offset parameter;
wherein the projected image and the corrected image are the same in shape and size.
2. The method according to claim 1, wherein the corrected image is a quadrilateral, and the target mark point is a midpoint on any one edge of the corrected image; each marking point corresponds to one pixel region in the projection image, and the pixel regions corresponding to the marking points are different from each other; the position offset parameter comprises a position offset and an offset direction; the correcting the projection position of the projection image according to the position offset parameter includes:
determining the projection offset of each mark point except the target mark point in the corrected image on the projection screen relative to the initial position of the mark point according to the position offset;
correcting the projection position of a pixel area corresponding to the mark point in the projection image according to the projection offset and the offset direction of each mark point;
the projection offset of each mark point except the target mark point is smaller than the position offset, the projection offset is in negative correlation with a spacing distance, and the spacing distance is the distance between the mark point and the target mark point.
3. The method of claim 2, wherein each of the positional offset and the projection offset comprises: a first offset amount in a pixel row direction and a second offset amount in a pixel column direction; the shift directions include a first shift direction and a second shift direction parallel to the pixel row direction, and a third shift direction and a fourth shift direction parallel to the pixel column direction;
if the target mark point is a middle point on the first side of the corrected image, the first offset in the projection offsets of the mark point located in the u-th row and the v-th column of the image coordinate system is:
Figure FDA0002712589470000021
Figure FDA0002712589470000022
the second offset is 0, and the offset direction of the first offset is the first offset direction;
if the target mark point is the middle point on the second edge of the corrected image, the first offset in the projection offsets of the mark points located in the u-th row and the v-th column of the image coordinate system is as follows:
Figure FDA0002712589470000023
Figure FDA0002712589470000024
the second offset is 0, and the offset direction of the first offset is the second offset direction;
if the target mark point is a middle point on the third edge of the corrected image, a first offset in projection offsets of the mark points located in the u-th row and the v-th column of the image coordinate system is 0, and a second offset is:
Figure FDA0002712589470000025
and the offset direction of the second offset is the third offset direction;
if the target mark point is a middle point on the fourth side of the corrected image, a first offset in projection offsets of the mark points located in the u-th row and the v-th column of the image coordinate system is 0, and a second offset is:
Figure FDA0002712589470000026
and the offset direction of the second offset is the fourth offset direction;
wherein an origin of the image coordinate system is a central point of the corrected image, the first edge and the second edge are both parallel to the pixel row direction, the third edge and the fourth edge are both parallel to the pixel row direction, the first edge is located in a second quadrant and a third quadrant of the image coordinate system, the second edge is located in the first quadrant and a fourth quadrant of the image coordinate system, the third edge is located in the first quadrant and the second quadrant of the image coordinate system, and the fourth edge is located in the third quadrant and the fourth quadrant of the image coordinate system; the X1 is a first offset of the positional offsets, the Y1 is a second offset of the positional offsets, the M is a number of rows of pixels of a pixel in the corrected image, the N is a number of columns of pixels of the corrected image, and the u is less than
Figure FDA0002712589470000027
V is an integer of less than
Figure FDA0002712589470000028
The first offset direction and the third offsetThe shift directions are both directions away from the top left vertex of the corrected image, and the second shift direction and the fourth shift direction are both directions close to the top left vertex.
4. A method according to claim 2 or 3, characterized in that the method further comprises:
and if the position offset is detected to be larger than the offset threshold, displaying prompt information on the projection screen, wherein the prompt information is used for prompting that the position offset of the target mark point reaches the offset threshold.
5. The method of claim 4, wherein if it is detected that the position offset is greater than an offset threshold, displaying a prompt message on the projection screen, comprises:
if a first offset in the pixel row direction in the position offsets is larger than a first offset threshold; and/or displaying prompt information on the projection screen if a second offset in the pixel column direction in the position offsets is larger than a second offset threshold.
6. The method according to claim 1, wherein the corrected image is a quadrilateral, and the target mark point is a midpoint on any one edge of the corrected image; the target mark points comprise a first target mark point and a second target mark point; each marking point corresponds to one pixel region in the projection image, and the pixel regions corresponding to the marking points are different from each other; the position offset parameter comprises a position offset and an offset direction; the correcting the projection position of the projection image according to the position offset parameter includes:
determining a first target offset of each mark point except the first target mark point in the corrected image relative to the initial position of the mark point on the projection screen according to the position offset of the first target mark point;
determining a second target offset of each mark point except the second target mark point in the corrected image relative to the initial position of the mark point on the projection screen according to the position offset of the second target mark point;
if the offset directions of the first target mark point and the second target mark point are not opposite, determining the projection offset of each mark point in the corrected image as the sum of the first target offset of the mark point and the second target offset of the mark point; if the offset directions of the first target mark point and the second target mark point are opposite, determining the projection offset of each mark point in the corrected image as the absolute value of the difference value of the first target offset of the mark point and the second target offset of the mark point;
correcting the projection position of a pixel area corresponding to the mark point in the projection image according to the projection offset and the offset direction of each mark point;
the first target offset of each mark point except the first target mark point is smaller than the position offset of the first target mark point, and the first target offset is negatively related to an interval distance, wherein the interval distance is the distance between the mark point and the first target mark point; the second target offset of each mark point except the second target mark point is smaller than the position offset of the second target mark point, the second target offset is in negative correlation with a spacing distance, and the spacing distance is the distance between the mark point and the second target mark point.
7. A correction apparatus for a projected image, said apparatus comprising:
the projection module is used for responding to a correction instruction and projecting a correction image to a projection screen, and the correction image comprises a plurality of mark points;
the adjusting module is used for responding to a position adjusting instruction aiming at a target mark point in the plurality of mark points and adjusting the target mark point to an adjusting position;
the determining module is used for determining a position offset parameter of the target marking point according to the initial position and the adjusting position of the target marking point;
the correction module is used for correcting the projection position of the projection image according to the position offset parameter;
wherein the projected image and the corrected image are the same in shape and size.
8. The apparatus according to claim 7, wherein the corrected image is a quadrangle, and the target mark point is a middle point on any one side of the corrected image; each marking point corresponds to one pixel region in the projection image, and the pixel regions corresponding to the marking points are different from each other; the position offset parameter comprises a position offset and an offset direction; the correction module is configured to:
determining the projection offset of each mark point except the target mark point in the corrected image on the projection screen relative to the initial position of the mark point according to the position offset;
correcting the projection position of a pixel area corresponding to the mark point in the projection image according to the projection offset and the offset direction of each mark point;
the projection offset of each mark point except the target mark point is smaller than the position offset, the projection offset is in negative correlation with a spacing distance, and the spacing distance is the distance between the mark point and the target mark point.
9. The apparatus according to claim 7, wherein the corrected image is a quadrangle, and the target mark point is a middle point on any one side of the corrected image; the target mark points comprise a first target mark point and a second target mark point; each marking point corresponds to one pixel region in the projection image, and the pixel regions corresponding to the marking points are different from each other; the position offset parameter comprises a position offset and an offset direction; the correction module is configured to:
determining a first target offset of each mark point except the first target mark point in the corrected image relative to the initial position of the mark point on the projection screen according to the position offset of the first target mark point;
determining a second target offset of each mark point except the second target mark point in the corrected image relative to the initial position of the mark point on the projection screen according to the position offset of the second target mark point;
if the offset directions of the first target mark point and the second target mark point are not opposite, determining the projection offset of each mark point in the corrected image as the sum of the first target offset of the mark point and the second target offset of the mark point; if the offset directions of the first target mark point and the second target mark point are opposite, determining the projection offset of each mark point in the corrected image as the absolute value of the difference value of the first target offset of the mark point and the second target offset of the mark point;
correcting the projection position of a pixel area corresponding to the mark point in the projection image according to the projection offset and the offset direction of each mark point;
the first target offset of each mark point except the first target mark point is smaller than the position offset of the first target mark point, and the first target offset is negatively related to an interval distance, wherein the interval distance is the distance between the mark point and the first target mark point; the second target offset of each mark point except the second target mark point is smaller than the position offset of the second target mark point, the second target offset is in negative correlation with a spacing distance, and the spacing distance is the distance between the mark point and the second target mark point.
10. A laser projection device, characterized in that it comprises a correction device for the projected image according to any one of claims 7 to 9.
CN202011061804.4A 2020-09-30 2020-09-30 Correction method, device and equipment for projection image Active CN114339169B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202011061804.4A CN114339169B (en) 2020-09-30 2020-09-30 Correction method, device and equipment for projection image

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202011061804.4A CN114339169B (en) 2020-09-30 2020-09-30 Correction method, device and equipment for projection image

Publications (2)

Publication Number Publication Date
CN114339169A true CN114339169A (en) 2022-04-12
CN114339169B CN114339169B (en) 2023-10-27

Family

ID=81010726

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202011061804.4A Active CN114339169B (en) 2020-09-30 2020-09-30 Correction method, device and equipment for projection image

Country Status (1)

Country Link
CN (1) CN114339169B (en)

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102611822A (en) * 2012-03-14 2012-07-25 海信集团有限公司 Projector and projection image rectifying method thereof
CN105704466A (en) * 2016-01-29 2016-06-22 北京小鸟科技发展有限责任公司 A DLP projection method, a DLP projection apparatus and a DLP projector
CN105979234A (en) * 2016-06-13 2016-09-28 Tcl集团股份有限公司 Projection image correction method and projection device
CN107396075A (en) * 2017-08-08 2017-11-24 海信集团有限公司 A kind of generation method and generating means of projection image correction information
CN109151418A (en) * 2018-10-09 2019-01-04 四川长虹电器股份有限公司 A kind of system and method automatically correcting projected image geometric distortion
WO2020042568A1 (en) * 2018-08-31 2020-03-05 深圳光峰科技股份有限公司 Projection method, projection device, and computer readable storage medium

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102611822A (en) * 2012-03-14 2012-07-25 海信集团有限公司 Projector and projection image rectifying method thereof
CN105704466A (en) * 2016-01-29 2016-06-22 北京小鸟科技发展有限责任公司 A DLP projection method, a DLP projection apparatus and a DLP projector
CN105979234A (en) * 2016-06-13 2016-09-28 Tcl集团股份有限公司 Projection image correction method and projection device
CN107396075A (en) * 2017-08-08 2017-11-24 海信集团有限公司 A kind of generation method and generating means of projection image correction information
WO2020042568A1 (en) * 2018-08-31 2020-03-05 深圳光峰科技股份有限公司 Projection method, projection device, and computer readable storage medium
CN110876046A (en) * 2018-08-31 2020-03-10 深圳光峰科技股份有限公司 Projection method, projection apparatus, and computer-readable storage medium
CN109151418A (en) * 2018-10-09 2019-01-04 四川长虹电器股份有限公司 A kind of system and method automatically correcting projected image geometric distortion

Also Published As

Publication number Publication date
CN114339169B (en) 2023-10-27

Similar Documents

Publication Publication Date Title
CN100476572C (en) Image processing system, projector,and image processing method
US20240045518A1 (en) Method for correcting gap between pen coordinate and display position of pointer
CN100470358C (en) Image processing system, projector,and image processing method
JP5327468B2 (en) Projector, program, information storage medium, and trapezoidal distortion correction method
US7167645B2 (en) Image processing system, projector, information storage medium, and image processing method
EP1455528B1 (en) Image processing system and image processing method
US10506207B2 (en) Projection system, method for controlling projection system, and projector
US8251524B2 (en) Projection display apparatus and display method
CN113055663B (en) Projection image correction method and laser projection device
US8272746B2 (en) Projection display apparatus and display method
US20030142883A1 (en) Image correction data calculation method, image correction data calculation apparatus, and multi-projection system
JP5256899B2 (en) Image correction apparatus, image correction method, projector and projection system
CN113315959B (en) Laser projection apparatus and projected image correction method
JP7480882B2 (en) Information processing device, recognition assistance method, and computer program
JP2001325069A (en) Device and method for detecting position
US20220239876A1 (en) Information processing device, information processing method, program, projection device, and information processing system
US20090195500A1 (en) System and method for determining coordinates
CN114339169A (en) Projected image correction method, device and equipment
CN113014896B (en) Projection image correction method, projection device and system
CN114339170A (en) Laser projection equipment and correction method of projected image thereof
JP2000081950A (en) Image processor, image processing method, presentation medium, and presentation system
CN114554166A (en) Laser projection equipment and correction method of projected image thereof
JP2013254399A (en) Input system and electronic meeting system
JP3882927B2 (en) Image processing system, projector, and image processing method
JP2001005609A (en) Device and method for detecting pointing position, presentation system, and information storing medium

Legal Events

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