CN110996083A - Trapezoidal correction method and device, electronic equipment and readable storage medium - Google Patents

Trapezoidal correction method and device, electronic equipment and readable storage medium Download PDF

Info

Publication number
CN110996083A
CN110996083A CN201911320123.2A CN201911320123A CN110996083A CN 110996083 A CN110996083 A CN 110996083A CN 201911320123 A CN201911320123 A CN 201911320123A CN 110996083 A CN110996083 A CN 110996083A
Authority
CN
China
Prior art keywords
projection
projection picture
picture
target area
feature
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN201911320123.2A
Other languages
Chinese (zh)
Inventor
钟波
肖适
王鑫
张立造
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Chengdu Jimi Technology Co Ltd
Original Assignee
Chengdu Jimi Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Chengdu Jimi Technology Co Ltd filed Critical Chengdu Jimi Technology Co Ltd
Priority to CN201911320123.2A priority Critical patent/CN110996083A/en
Priority to PCT/CN2020/079191 priority patent/WO2021120422A1/en
Publication of CN110996083A publication Critical patent/CN110996083A/en
Pending legal-status Critical Current

Links

Images

Classifications

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

Landscapes

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

Abstract

The application provides a trapezoidal correction method, which comprises the following steps: after the first projection picture is projected, adjusting the first projection picture to a target area to obtain an initially adjusted projection picture; acquiring a second projection image of a second projection image based on a projection area corresponding to the projection image after the initial adjustment, wherein the second projection image comprises a plurality of feature maps corresponding to the boundary of the target area; carrying out feature map identification on the second projection image to obtain feature points corresponding to the feature map; and adjusting the second projection picture based on the characteristic points in sequence so that the boundary of the adjusted projection picture is overlapped with the boundary of the target area. The method and the device greatly reduce the position deviation of the projection area and the target area by combining two times of adjustment, and solve the problem of low trapezoidal correction accuracy caused by projection distortion. The application also provides a trapezoidal correction device, an electronic device and a computer readable storage medium, which all have the beneficial effects.

Description

Trapezoidal correction method and device, electronic equipment and readable storage medium
Technical Field
The present disclosure relates to the field of projector technologies, and in particular, to a keystone correction method, a keystone correction apparatus, an electronic device, and a computer-readable storage medium.
Background
When trapezoidal correction is performed on a projection picture, two important steps are mainly adopted, namely determining the initial position of the projection picture, and determining the position of the projection picture to be adjusted. The precision of each step can affect the final trapezoidal correction effect, and the projector has the problems of image distortion and low trapezoidal correction precision due to the problems of optical-mechanical system design integration errors, process assembly errors and the like.
Therefore, how to provide a solution to the above technical problem is a problem that needs to be solved by those skilled in the art.
Disclosure of Invention
An object of the present application is to provide a trapezoidal correction method, a trapezoidal correction apparatus, an electronic device, and a computer-readable storage medium, which can improve the accuracy of trapezoidal correction. The specific scheme is as follows:
the application provides a trapezoidal correction method, which comprises the following steps:
after a first projection picture is projected, adjusting the first projection picture to a target area to obtain an initially adjusted projection picture;
acquiring a second projection image of a second projection image based on a projection area corresponding to the projection image after the initial adjustment, wherein the second projection image comprises a plurality of feature maps corresponding to the boundary of the target area;
carrying out feature map identification on the second projection image to obtain feature points corresponding to the feature map;
and adjusting the second projection picture based on the characteristic points in sequence so that the boundary of the adjusted projection picture is overlapped with the boundary of the target area.
Optionally, the sequentially adjusting the second projection picture based on the feature points to make the boundary of the adjusted projection picture coincide with the boundary of the target area includes:
s141, calculating the pixel deviation between the pixel value of the characteristic point corresponding to the target characteristic diagram and the pixel value of the reference point of the corresponding target area;
s142, adjusting the feature points of the second projection picture to the reference points based on the pixel deviation to obtain a third projection picture;
and S143, taking the next feature map as a new target feature map, taking the third projection picture as a new second projection picture, and executing S141 until all the feature points are adjusted, so that the boundary of the adjusted projection picture is overlapped with the boundary of the target area.
Optionally, after the first projection picture is projected, adjusting the first projection picture to a target area to obtain an initially adjusted projection picture, including:
after the first projection picture is projected, acquiring a first projection picture of the first projection picture, wherein the first projection picture comprises at least one feature map, and the feature map of the first projection picture is projected in the target area;
carrying out image recognition on the first projection image to obtain a target feature point of a feature map of the first projection image;
determining the corner position of the projection area of the first projection picture according to the target feature point;
and adjusting the first projection picture according to the corner position so as to enable the corner position of the first projection picture to coincide with the target corner position of the target area, thereby obtaining the projection picture after initial adjustment.
Optionally, the adjusting the first projection picture according to the corner position to make the corner position of the first projection picture coincide with the target corner position of the target area, so as to obtain the initially adjusted projection picture, includes:
adjusting the first projection picture according to the corner position to obtain an adjusted corner position of the adjusted first projection picture;
judging whether the difference value between the position of the adjusting corner point and the position of the target corner point meets a preset difference value range or not;
if so, determining that the position of the adjusting angle point is superposed with the target position to obtain the projection picture after initial adjustment.
Optionally, the second projection picture includes 4 feature maps, and the feature maps are respectively located at four corner points of the second projection picture.
Optionally, the second projection screen includes 8 feature maps, where each boundary of the second projection screen includes 3 feature maps.
The application provides a trapezoidal correcting unit, includes:
the initial adjustment module is used for adjusting a first projection picture to a target area after the first projection picture is projected to obtain an initially adjusted projection picture;
a projection image acquisition module, configured to acquire a second projection image of a second projection image based on a projection area corresponding to the initially adjusted projection image, where the second projection image includes a plurality of feature maps corresponding to a boundary of a target area;
a feature point obtaining module, configured to perform feature map identification on the second projection image to obtain feature points corresponding to the feature map;
and the adjusting module is used for adjusting the second projection picture in sequence based on the characteristic points so as to enable the boundary of the adjusted projection picture to coincide with the boundary of the target area.
The application provides an electronic device, including:
a memory for storing a computer program;
a processor for implementing the steps of the trapezoidal correction method as described above when executing the computer program.
The present application provides a computer-readable storage medium having stored thereon a computer program which, when executed by a processor, implements the steps of the method for keystone correction as described above.
The application provides a trapezoidal correction method, which comprises the following steps: after the first projection picture is projected, adjusting the first projection picture to a target area to obtain an initially adjusted projection picture; acquiring a second projection image of a second projection image based on a projection area corresponding to the projection image after the initial adjustment, wherein the second projection image comprises a plurality of feature maps corresponding to the boundary of the target area; carrying out feature map identification on the second projection image to obtain feature points corresponding to the feature map; and adjusting the second projection picture based on the characteristic points in sequence so that the boundary of the adjusted projection picture is overlapped with the boundary of the target area.
Therefore, the first projection picture is adjusted to the target area, the first projection picture is roughly adjusted to the position near the target area, a second projection picture comprising a plurality of feature maps corresponding to the boundary of the target area is further obtained, the second projection picture is adjusted based on all feature points after the feature maps are identified, the boundary of the adjusted projection picture is overlapped with the boundary of the target area, the boundary of the second projection picture is finely adjusted to be overlapped with the boundary of the target area, the position deviation between the projection area and the target area is greatly reduced through a mode of combining fine adjustment and rough adjustment, and the problem of low trapezoidal correction accuracy caused by projection distortion is solved.
The application also provides a trapezoidal correction device, an electronic device and a computer readable storage medium, which all have the beneficial effects and are not repeated herein.
Drawings
In order to more clearly illustrate the embodiments of the present application or the technical solutions in the prior art, the drawings needed to be used in the description of the embodiments or the prior art will be briefly introduced below, it is obvious that the drawings in the following description are only embodiments of the present application, and for those skilled in the art, other drawings can be obtained according to the provided drawings without creative efforts.
FIG. 1 is a flowchart illustrating a trapezoidal correction method according to an embodiment of the present disclosure;
fig. 2 is a schematic flowchart illustrating a process of obtaining a projection image after initial adjustment according to an embodiment of the present disclosure;
fig. 3 is a schematic flow chart illustrating adjustment of a second projection image according to an embodiment of the present disclosure;
fig. 4 is a schematic flowchart of a specific trapezoidal correction method according to an embodiment of the present application;
fig. 5 is a schematic diagram of projecting a first projection picture according to an embodiment of the present disclosure;
fig. 6 is a schematic diagram of a projection screen after initial adjustment according to an embodiment of the present disclosure;
fig. 7 is a schematic view of a second projection image according to an embodiment of the present disclosure;
fig. 8 is a schematic view of an adjusted projection screen according to an embodiment of the present disclosure;
fig. 9 is a schematic structural diagram of a trapezoidal correction device according to an embodiment of the present application;
fig. 10 is a schematic view of a second projection image according to an embodiment of the present disclosure;
fig. 11 is a schematic view of a second projection image according to an embodiment of the present disclosure;
fig. 12 is a schematic view of a projection screen according to an embodiment of the present disclosure;
fig. 13 is a schematic view of another projection screen provided in the embodiment of the present application;
fig. 14 is a schematic view of another projection screen provided in the embodiment of the present application;
fig. 15 is a schematic adjustment diagram provided in the embodiment of the present application.
Detailed Description
In order to make the objects, technical solutions and advantages of the embodiments of the present application clearer, the technical solutions in the embodiments of the present application will be clearly and completely described below with reference to the drawings in the embodiments of the present application, and it is obvious that the described embodiments are some embodiments of the present application, but not all embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present application.
When trapezoidal correction is performed on a projection picture, two important steps are mainly adopted, namely determining the initial position of the projection picture, and determining the position of the projection picture to be adjusted. The precision of each step can affect the final trapezoidal correction effect, and the projector has the problems of image distortion and low trapezoidal correction precision due to the problems of optical-mechanical system design integration errors, process assembly errors and the like. Based on the above technical problem, the present embodiment provides a trapezoidal correction method, specifically referring to fig. 1, where fig. 1 is a flowchart of a trapezoidal correction method provided in the present embodiment, and specifically includes:
s110, after the first projection picture is projected, the first projection picture is adjusted to a target area, and the projection picture after initial adjustment is obtained.
The execution main body of the embodiment is a processor, and after the projection device projects the first projection picture, the processor adjusts the first projection picture to the target area according to a preset rule to obtain an initially adjusted projection picture, where the initially adjusted projection picture corresponds to one initially adjusted projection area, and it can be understood that, under the condition that the current device parameters are not changed, the initially adjusted projection area of the initially adjusted projection picture is the same as the projection area for projecting other projection pictures again. The purpose of this step is to coarsely adjust the first projection screen so that the first projection screen is adjusted near the target area.
In this embodiment, the first projection picture is not limited, and a user can set the first projection picture according to actual requirements. The target area is the area where the final projection picture is projected completely. The target area is a quadrilateral, e.g., a rectangle, a square, a rhombus, etc. The carrier set in the target area is not limited in this embodiment either, and may be on a curtain, a television wall, or glass.
In an implementation manner, please refer to fig. 2, where fig. 2 is a schematic flowchart of a process for obtaining a projection screen after initial adjustment according to an embodiment of the present application, including:
s111, after the first projection picture is projected, a first projection picture of the first projection picture is obtained, wherein the first projection picture comprises at least one feature map, and the feature map of the first projection picture is projected in the target area.
In this step, the first projection picture is a projection picture including a feature map, the feature map projected in this embodiment is required to be within the target area, and correspondingly, in the whole projection picture, the feature map is located in the middle area, so that the edge is prevented from being divided by different planes. The size of the feature map may be 1/2, 1/3, 1/4 or 2/3 of the first projection screen, or may be other values as long as the object of the present embodiment can be achieved. Referring to fig. 12, fig. 12 is a schematic view of a projection image according to an embodiment of the present application, where m is a first projection image, and n is a feature diagram.
When the first projection picture includes more than 1 feature map, please refer to fig. 13, fig. 13 is a schematic view of another projection picture provided in the embodiment of the present application, where the number of feature maps is 4, m is the first projection picture, and n1-n4 are feature maps; FIG. 14 is a schematic view of another projection screen provided in the embodiment of the present application, where the number of feature maps is 3, m is the first projection screen, and n1-n3 are feature maps.
In this embodiment, the feature diagram is not limited, and may be a two-dimensional code, a checkerboard, a rectangle, or other graphics, and the user may customize the setting.
And S112, carrying out image recognition on the first projection image to obtain a target feature point of the feature map of the first projection image.
The purpose of this step is to obtain target feature points, which are preferably four corner points of the first projection image.
S113, determining the corner position of the projection area of the first projection picture according to the target feature point.
Therefore, after the target feature points of the feature map of the first projection picture are obtained, calculation is performed according to the conversion relation, and the corner positions of the projection area of the first projection picture can be obtained. Specifically, a target feature point corresponding to a first projection picture in a first projection image is obtained by performing image recognition on the first projection image; and calculating the corner position of the projection area according to the target characteristic point and a preset scaling.
S114, adjusting the first projection picture according to the corner position so that the corner position of the first projection picture is superposed with the target corner position of the target area, and obtaining an initially adjusted projection picture.
In this embodiment, after four target corner positions of the target area are determined, the corner position of the first projection picture is moved to the target corner position, at this time, the coarse adjustment process is completed, and the projection picture after initial adjustment is obtained. For example, referring to fig. 15, fig. 15 is an adjustment schematic diagram provided in the embodiment of the present application, where four target corner positions of a target area are A, B, C, D, and the calculated corner positions of a first projection picture are a, B, C, and D, then move a to a, then move B to B, then move C to C, then move D to D, and then complete a coarse adjustment process; in this embodiment, the adjustment sequence of each corner position is not limited, and may be a, b, c, and d, or may be a, c, b, and d.
Therefore, the method is simple and has high accuracy in the coarse adjustment process by the mode of obtaining the projection picture after the initial adjustment, and the accuracy of the trapezoidal correction is further improved.
Wherein, step S114 includes: adjusting the first projection picture according to the position of the angular point to obtain the position of the adjusted angular point of the adjusted first projection picture; judging whether the difference between the position of the adjusting corner point and the position of the target corner point meets a preset difference range or not; if so, determining that the position of the adjusting angle point is superposed with the target position to obtain an initially adjusted projection picture.
Whether the coarse adjustment stage is finished or not is determined by judging whether the difference value between the position of the adjusting angular point and the position of the target angular point is within a preset difference value range or not, so that the accuracy of coarse adjustment is improved.
And S120, acquiring a second projection image of a second projection image based on the projection area corresponding to the projection image after the initial adjustment, wherein the second projection image comprises a plurality of feature maps corresponding to the boundary of the target area.
It can be understood that, after the initial adjustment, four corner points of the projection area corresponding to the projection picture are substantially coincident with the target area, but because the projection picture has distortion, four sides of the obtained quadrangle are not necessarily straight lines, so that the fine adjustment is realized through the steps S120 to S140, the distortion of the projection picture is reduced, and the accuracy of the trapezoidal correction is improved. In the embodiment, the number of the feature maps in the second projection picture is not limited, the user can customize the setting, and each feature map corresponds to the target boundary. In an implementation manner, the second projection picture includes 4 feature maps, and the feature maps are respectively located at four corner points of the second projection picture, please refer to fig. 10, and fig. 10 is a schematic diagram of the second projection picture provided in the embodiment of the present application. In another implementation, the second projection screen includes 8 feature maps, where each boundary of the second projection screen includes 3 feature maps, please refer to fig. 11, and fig. 11 is a schematic diagram of a second projection screen provided in this embodiment of the present application.
And S130, carrying out feature map identification on the second projection image to obtain feature points corresponding to the feature maps.
And S140, sequentially adjusting the second projection picture based on the feature points so that the boundary of the adjusted projection picture is overlapped with the boundary of the target area.
And after the characteristic points corresponding to the characteristic graph are obtained, sequentially adjusting the second projection picture according to the characteristic points. After the coarse adjustment, the second projected image is substantially within the target area, and theoretically each boundary of the second projected image should coincide with the boundary of the target area, but each curved edge needs to be adjusted because the projection has distortion. And each feature map corresponds to one or more feature points, the reference feature points of the target area corresponding to the feature points are determined according to the characteristics, the feature points are adjusted to the corresponding reference feature points in sequence, and fine adjustment is completed. The above boundary is taken as an example, a new second projection image is projected, the boundary of the projection image is repositioned, under the condition that the image has distortion, the closer the feature map and the position of the target point to be estimated are, the smaller the estimation error is, and the fine adjustment is performed, and the other three edges can also project a new feature map by using the thought to perform the fine adjustment. In this embodiment, the number of feature points corresponding to each feature map includes, but is not limited to, 1, 2, 3, and 4.
In an implementation manner, please refer to fig. 3, where fig. 3 is a schematic flow chart of a second projection image adjustment provided in the embodiment of the present application, including:
and S141, calculating the pixel deviation between the pixel value of the characteristic point corresponding to the target characteristic diagram and the pixel value of the reference point of the corresponding target area.
And S142, adjusting the characteristic points of the second projection picture to the reference points based on the pixel deviation to obtain a third projection picture.
And S143, taking the next feature map as a new target feature map, taking the third projection picture as a new second projection picture, and executing S141 until all feature points are adjusted, so that the boundaries of the adjusted projection pictures are overlapped with the boundaries of the target area.
It is understood that when the number of feature points corresponding to each feature map is 3 when the number of feature maps is 4, each feature point is a point located on the boundary. Taking the first feature map as a target feature map, calculating the pixel deviation of the pixel value of the first feature point and the corresponding reference point of the target area, moving the first feature point to the reference point based on the pixel deviation, then sequentially executing the second feature point and the third feature point of the first feature map, finally completing the features of the three feature points, and obtaining a third projection picture adjusted according to the first feature map; and then, adjusting the feature points of the second feature map, the third feature map and the fourth feature map in sequence according to the steps so as to enable the boundary of the adjusted projection picture to be overlapped with the boundary of the target area.
Based on the above technical solution, in this embodiment, the first projection picture is adjusted to the target area, the first projection picture is coarsely adjusted to the vicinity of the target area, and then the second projection picture including a plurality of feature maps corresponding to the boundary of the target area is obtained, the second projection picture is adjusted based on all feature points after the feature maps are identified, so that the boundary of the adjusted projection picture coincides with the boundary of the target area, the boundary of the second projection picture is finely adjusted to coincide with the boundary of the target area, the position deviation between the projection area and the target area is greatly reduced by a combination of fine adjustment and coarse adjustment, and the problem of low trapezoidal correction accuracy due to projection distortion is overcome.
Based on the foregoing embodiments, the present embodiment provides a specific trapezoidal correction method, please refer to fig. 4, where fig. 4 is a schematic flow chart of the specific trapezoidal correction method provided in the present embodiment, and the method includes:
s1, after the first projection picture is projected, acquiring a first projection picture of the first projection picture, wherein the first projection picture comprises at least one feature map, and the feature map of the first projection picture is projected in the target area;
referring to fig. 5, fig. 5 is a schematic diagram of projecting a first projection picture according to an embodiment of the present application, where 10 is the first projection picture, 20-1 is a feature diagram, 30 is a target area, and C1 is a camera.
S2, carrying out image recognition on the first projection image to obtain a target feature point of a feature map of the first projection image;
in this step, four corner points of the feature map are obtained as target feature points.
S3, determining the corner position of the projection area of the first projection picture according to the target feature points;
s4, adjusting the first projection picture according to the corner position so that the corner position of the first projection picture coincides with the target corner position of the target area to obtain an initially adjusted projection picture;
referring to fig. 6, fig. 6 is a schematic diagram of an initially adjusted projection screen according to an embodiment of the present application, where 10 is a first projection image, 30 is a target area, C1 is a camera, and 40 is a projection area corresponding to the initially adjusted projection screen.
S5, acquiring a second projection image of a second projection image based on the projection area corresponding to the projection image after initial adjustment, wherein the second projection image comprises a plurality of feature maps corresponding to the boundary of the target area;
wherein the second projection picture comprises 8 feature maps, wherein each boundary of the second projection picture comprises 3 feature maps. Referring to fig. 7, fig. 7 is a schematic diagram of a second projection picture provided in the present embodiment, where 10 is a first projection image, 30 is a target area, C1 is a camera, 50 is a second projection picture, and 50-1 is a feature diagram.
S6, carrying out feature map identification on the second projection image to obtain feature points corresponding to the feature maps;
s7, calculating the pixel deviation between the pixel value of the characteristic point corresponding to the target characteristic diagram and the pixel value of the reference point of the corresponding target area;
s8, adjusting the feature points of the second projection picture to reference points based on the pixel deviation to obtain a third projection picture;
and S9, taking the next feature map as a new target feature map, taking the third projection picture as a new second projection picture, and executing S7 until the adjustment of all feature points is completed, so that the boundary of the projection picture after adjustment is overlapped with the boundary of the target area.
Referring to fig. 8, fig. 8 is a schematic diagram of an adjusted projection screen according to an embodiment of the present application, where 10 is a first projection image, 30 is a target area, C1 is a camera, and 60 is the adjusted projection screen.
Referring to fig. 9, fig. 9 is a schematic structural diagram of a trapezoidal correction device provided in an embodiment of the present application, which includes:
the initial adjustment module 100 is configured to adjust the first projection picture to a target area after the first projection picture is projected, so as to obtain an initially adjusted projection picture;
a projection image obtaining module 200, configured to obtain a second projection image of a second projection image based on a projection area corresponding to the projection image after the initial adjustment, where the second projection image includes a plurality of feature maps corresponding to a boundary of the target area;
a feature point obtaining module 300, configured to perform feature map identification on the second projection image to obtain feature points corresponding to the feature map;
and an adjusting module 400, configured to sequentially adjust the second projection picture based on the feature points, so that the boundary of the adjusted projection picture coincides with the boundary of the target area.
The present application is directed to keystone correction of images projected by a projector, including but not limited to a short-focus projector or a long-focus projector, wherein the short-focus projector may be a laser television.
In some specific embodiments, the adjusting module 400 includes:
a calculating unit, configured to perform S141, calculate a pixel deviation between a pixel value of a feature point corresponding to the target feature map and a pixel value of a reference point of the corresponding target region;
a third projection image obtaining unit, configured to execute S142, and adjust the feature point of the second projection image to the reference point based on the pixel deviation, to obtain a third projection image;
and an adjusting unit, configured to execute S143, where the next feature map is used as a new target feature map, the third projection screen is used as a new second projection screen, and execute S141 until all feature points are adjusted, so that the boundary of the adjusted projection screen coincides with the boundary of the target area.
In some specific embodiments, the initial adjustment module 100 includes:
the first projection picture acquiring unit is used for acquiring a first projection picture of the first projection picture after the first projection picture is projected, wherein the first projection picture comprises at least one feature map, and the feature map of the first projection picture is projected in the target area;
the target characteristic point acquisition unit is used for carrying out image recognition on the first projection image to obtain target characteristic points of a characteristic image of the first projection image;
the corner position determining unit is used for determining the corner position of the projection area of the first projection picture according to the target feature point;
and the initial adjustment unit is used for adjusting the first projection picture according to the corner position so as to enable the corner position of the first projection picture to coincide with the target corner position of the target area, and obtaining the projection picture after initial adjustment.
In some specific embodiments, the initial adjustment unit includes:
an adjusting corner point position obtaining unit, configured to adjust the first projection picture according to the corner point position to obtain an adjusting corner point position of the adjusted first projection picture;
the judging unit is used for judging whether the difference value between the position of the adjusting angular point and the position of the target angular point meets a preset difference value range or not;
and the initial adjustment rear projection picture obtaining unit is used for determining that the position of the adjustment angle point is superposed with the target position if the position of the adjustment angle point is coincident with the target position to obtain an initial adjustment rear projection picture.
In some specific embodiments, the second projection screen includes 4 feature maps, and the feature maps are respectively located at four corner points of the second projection screen.
In some specific embodiments, the second projection screen includes 8 feature maps, wherein each boundary of the second projection screen includes 3 feature maps.
Since the embodiment of the trapezoidal correction apparatus portion corresponds to the embodiment of the trapezoidal correction method portion, please refer to the description of the embodiment of the trapezoidal correction method portion, which is not repeated here.
In the following, an electronic device provided by an embodiment of the present application is introduced, and the electronic device described below and the keystone correction method described above may be referred to correspondingly.
The present embodiment provides an electronic device, including:
a memory for storing a computer program;
and a processor for implementing the steps of the trapezoidal correction method when executing the computer program.
Since the embodiment of the electronic device portion corresponds to the embodiment of the trapezoidal correction method portion, please refer to the description of the embodiment of the trapezoidal correction method portion for the embodiment of the electronic device portion, which is not repeated here.
In the following, a computer-readable storage medium provided by an embodiment of the present application is described, and the computer-readable storage medium described below and the keystone correction method described above may be referred to correspondingly.
The present embodiment provides a computer-readable storage medium, on which a computer program is stored, which, when being executed by a processor, implements the steps of the above-mentioned keystone correction method.
Since the embodiment of the computer-readable storage medium portion corresponds to the embodiment of the trapezoidal correction method portion, please refer to the description of the embodiment of the trapezoidal correction method portion for the embodiment of the computer-readable storage medium portion, which is not repeated here.
The embodiments are described in a progressive manner in the specification, each embodiment focuses on differences from other embodiments, and the same and similar parts among the embodiments are referred to each other. The device disclosed by the embodiment corresponds to the method disclosed by the embodiment, so that the description is simple, and the relevant points can be referred to the method part for description.
Those of skill would further appreciate that the various illustrative elements and algorithm steps described in connection with the embodiments disclosed herein may be implemented as electronic hardware, computer software, or combinations of both, the various illustrative components and steps having been described above generally in terms of their functionality in order to clearly illustrate this interchangeability of hardware and software. Whether such functionality is implemented as hardware or software depends upon the particular application and design constraints imposed on the implementation. Skilled artisans may implement the described functionality in varying ways for each particular application, but such implementation decisions should not be interpreted as causing a departure from the scope of the present application.
The steps of a method or algorithm described in connection with the embodiments disclosed herein may be embodied directly in hardware, in a software module executed by a processor, or in a combination of the two. A software module may reside in Random Access Memory (RAM), memory, Read Only Memory (ROM), electrically programmable ROM, electrically erasable programmable ROM, registers, hard disk, a removable disk, a CD-ROM, or any other form of storage medium known in the art.
The foregoing describes a trapezoidal correction method, a trapezoidal correction device, an electronic apparatus, and a computer-readable storage medium provided by the present application in detail. The principles and embodiments of the present application are explained herein using specific examples, which are provided only to help understand the method and the core idea of the present application. It should be noted that, for those skilled in the art, it is possible to make several improvements and modifications to the present application without departing from the principle of the present application, and such improvements and modifications also fall within the scope of the claims of the present application.

Claims (9)

1. A keystone correction method, comprising:
after a first projection picture is projected, adjusting the first projection picture to a target area to obtain an initially adjusted projection picture;
acquiring a second projection image of a second projection image based on a projection area corresponding to the projection image after the initial adjustment, wherein the second projection image comprises a plurality of feature maps corresponding to the boundary of the target area;
carrying out feature map identification on the second projection image to obtain feature points corresponding to the feature map;
and adjusting the second projection picture based on the characteristic points in sequence so that the boundary of the adjusted projection picture is overlapped with the boundary of the target area.
2. The keystone correction method of claim 1, wherein the adjusting the second projection picture based on the feature points in order to make the boundary of the adjusted projection picture coincide with the boundary of the target area comprises:
s141, calculating the pixel deviation between the pixel value of the characteristic point corresponding to the target characteristic diagram and the pixel value of the reference point of the corresponding target area;
s142, adjusting the feature points of the second projection picture to the reference points based on the pixel deviation to obtain a third projection picture;
and S143, taking the next feature map as a new target feature map, taking the third projection picture as a new second projection picture, and executing S141 until all the feature points are adjusted, so that the boundary of the adjusted projection picture is overlapped with the boundary of the target area.
3. The keystone correction method of claim 1, wherein adjusting the first projection frame to a target area after projecting the first projection frame to obtain an initially adjusted projection frame comprises:
after the first projection picture is projected, acquiring a first projection picture of the first projection picture, wherein the first projection picture comprises at least one feature map, and the feature map of the first projection picture is projected in the target area;
carrying out image recognition on the first projection image to obtain a target feature point of a feature map of the first projection image;
determining the corner position of the projection area of the first projection picture according to the target feature point;
and adjusting the first projection picture according to the corner position so as to enable the corner position of the first projection picture to coincide with the target corner position of the target area, thereby obtaining the projection picture after initial adjustment.
4. The keystone correction method of claim 3, wherein the adjusting the first projection picture according to the corner position to make the corner position of the first projection picture coincide with a target corner position of the target area to obtain the initially adjusted projection picture comprises:
adjusting the first projection picture according to the corner position to obtain an adjusted corner position of the adjusted first projection picture;
judging whether the difference value between the position of the adjusting corner point and the position of the target corner point meets a preset difference value range or not;
if so, determining that the position of the adjusting angle point is superposed with the target position to obtain the projection picture after initial adjustment.
5. The keystone correction method of claim 2, wherein the second projection screen comprises 4 feature maps, and the feature maps are respectively located at four corner points of the second projection screen.
6. The keystone correction method of claim 2 wherein the second projection screen comprises 8 of the feature maps, wherein each boundary of the second projection screen comprises 3 of the feature maps.
7. A keystone correction apparatus, comprising:
the initial adjustment module is used for adjusting a first projection picture to a target area after the first projection picture is projected to obtain an initially adjusted projection picture;
a projection image acquisition module, configured to acquire a second projection image of a second projection image based on a projection area corresponding to the initially adjusted projection image, where the second projection image includes a plurality of feature maps corresponding to a boundary of a target area;
a feature point obtaining module, configured to perform feature map identification on the second projection image to obtain feature points corresponding to the feature map;
and the adjusting module is used for adjusting the second projection picture in sequence based on the characteristic points so as to enable the boundary of the adjusted projection picture to coincide with the boundary of the target area.
8. An electronic device, comprising:
a memory for storing a computer program;
a processor for implementing the steps of the keystone correction method of any one of claims 1 to 6 when executing the computer program.
9. A computer-readable storage medium, characterized in that a computer program is stored on the computer-readable storage medium, which computer program, when being executed by a processor, carries out the steps of the keystone correction method as set forth in any one of claims 1 to 6.
CN201911320123.2A 2019-12-19 2019-12-19 Trapezoidal correction method and device, electronic equipment and readable storage medium Pending CN110996083A (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
CN201911320123.2A CN110996083A (en) 2019-12-19 2019-12-19 Trapezoidal correction method and device, electronic equipment and readable storage medium
PCT/CN2020/079191 WO2021120422A1 (en) 2019-12-19 2020-03-13 Keystone correction method and apparatus, electronic device and readable storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201911320123.2A CN110996083A (en) 2019-12-19 2019-12-19 Trapezoidal correction method and device, electronic equipment and readable storage medium

Publications (1)

Publication Number Publication Date
CN110996083A true CN110996083A (en) 2020-04-10

Family

ID=70065390

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201911320123.2A Pending CN110996083A (en) 2019-12-19 2019-12-19 Trapezoidal correction method and device, electronic equipment and readable storage medium

Country Status (2)

Country Link
CN (1) CN110996083A (en)
WO (1) WO2021120422A1 (en)

Cited By (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111698488A (en) * 2020-06-17 2020-09-22 深圳市康帕斯科技发展有限公司 Projection geometry adjusting method, system, equipment and storage medium
CN111768396A (en) * 2020-07-03 2020-10-13 深圳惠牛科技有限公司 Distortion measurement method and device of virtual display equipment
CN112584116A (en) * 2021-02-24 2021-03-30 深圳市火乐科技发展有限公司 Projection correction method, projection correction device, storage medium and electronic equipment
CN113766201A (en) * 2021-09-29 2021-12-07 深圳市火乐科技发展有限公司 Projection image rotating device and projection equipment
CN113824939A (en) * 2021-09-29 2021-12-21 深圳市火乐科技发展有限公司 Projection image adjusting method and device, projection equipment and storage medium
CN114125411A (en) * 2021-12-01 2022-03-01 深圳市火乐科技发展有限公司 Projection equipment correction method and device, storage medium and projection equipment
CN115150598A (en) * 2021-03-31 2022-10-04 成都极米科技股份有限公司 Method and device for determining target coordinates

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20090174868A1 (en) * 2004-03-29 2009-07-09 Seiko Epson Corporation Image processing system, projector, computer-readable storage medium, and image processing method
CN104410804A (en) * 2014-11-10 2015-03-11 苏州佳世达光电有限公司 A keystone correction method and a projecting device
CN107396075A (en) * 2017-08-08 2017-11-24 海信集团有限公司 A kind of generation method and generating means of projection image correction information
CN108012129A (en) * 2017-05-09 2018-05-08 上海纬而视科技股份有限公司 A kind of method of adjustment of abnormity image
CN109151415A (en) * 2018-08-21 2019-01-04 神画科技(深圳)有限公司 A kind of method of optical projection system automatic adaptation projection target
CN110300294A (en) * 2018-03-22 2019-10-01 卡西欧计算机株式会社 Projection control, method for controlling projection and storage medium

Family Cites Families (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2010096030A1 (en) * 2009-02-18 2010-08-26 Thomson Licensing Method and apparatus for preparing subtitles for display
CN109873997A (en) * 2019-04-03 2019-06-11 贵安新区新特电动汽车工业有限公司 Projected picture correcting method and device
CN110099267B (en) * 2019-05-27 2021-08-24 广州市讯码通讯科技有限公司 Trapezoidal correction system, method and projector

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20090174868A1 (en) * 2004-03-29 2009-07-09 Seiko Epson Corporation Image processing system, projector, computer-readable storage medium, and image processing method
CN104410804A (en) * 2014-11-10 2015-03-11 苏州佳世达光电有限公司 A keystone correction method and a projecting device
CN108012129A (en) * 2017-05-09 2018-05-08 上海纬而视科技股份有限公司 A kind of method of adjustment of abnormity image
CN107396075A (en) * 2017-08-08 2017-11-24 海信集团有限公司 A kind of generation method and generating means of projection image correction information
CN110300294A (en) * 2018-03-22 2019-10-01 卡西欧计算机株式会社 Projection control, method for controlling projection and storage medium
CN109151415A (en) * 2018-08-21 2019-01-04 神画科技(深圳)有限公司 A kind of method of optical projection system automatic adaptation projection target

Cited By (13)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111698488B (en) * 2020-06-17 2022-07-22 深圳市康帕斯科技发展有限公司 Projection geometry adjusting method, system, equipment and storage medium
CN111698488A (en) * 2020-06-17 2020-09-22 深圳市康帕斯科技发展有限公司 Projection geometry adjusting method, system, equipment and storage medium
CN111768396A (en) * 2020-07-03 2020-10-13 深圳惠牛科技有限公司 Distortion measurement method and device of virtual display equipment
CN111768396B (en) * 2020-07-03 2024-02-09 深圳惠牛科技有限公司 Distortion measurement method and device for virtual display equipment
CN112584116A (en) * 2021-02-24 2021-03-30 深圳市火乐科技发展有限公司 Projection correction method, projection correction device, storage medium and electronic equipment
CN112584116B (en) * 2021-02-24 2021-06-29 深圳市火乐科技发展有限公司 Projection correction method, projection correction device, storage medium and electronic equipment
CN115150598B (en) * 2021-03-31 2023-05-12 成都极米科技股份有限公司 Method and device for determining target coordinates
CN115150598A (en) * 2021-03-31 2022-10-04 成都极米科技股份有限公司 Method and device for determining target coordinates
CN113824939A (en) * 2021-09-29 2021-12-21 深圳市火乐科技发展有限公司 Projection image adjusting method and device, projection equipment and storage medium
CN113766201A (en) * 2021-09-29 2021-12-07 深圳市火乐科技发展有限公司 Projection image rotating device and projection equipment
CN113824939B (en) * 2021-09-29 2024-05-28 深圳市火乐科技发展有限公司 Projection image adjusting method, device, projection equipment and storage medium
CN114125411A (en) * 2021-12-01 2022-03-01 深圳市火乐科技发展有限公司 Projection equipment correction method and device, storage medium and projection equipment
CN114125411B (en) * 2021-12-01 2024-05-28 深圳市火乐科技发展有限公司 Projection device correction method, projection device correction device, storage medium and projection device

Also Published As

Publication number Publication date
WO2021120422A1 (en) 2021-06-24

Similar Documents

Publication Publication Date Title
CN110996083A (en) Trapezoidal correction method and device, electronic equipment and readable storage medium
CN110336987B (en) Projector distortion correction method and device and projector
EP3937486A1 (en) Projector keystone correction method, apparatus, and system, and readable storage medium
CN112689135B (en) Projection correction method, projection correction device, storage medium and electronic equipment
CN108289208B (en) Automatic correction method and device for projection picture
CN107547879B (en) Projection imaging correction method and device and laser television
KR102110701B1 (en) Perspective correction for curved display screens
CN111083457B (en) Method and device for correcting projection images of multiple light machines and projection instrument of multiple light machines
US9774837B2 (en) System for performing distortion correction and calibration using pattern projection, and method using the same
CN110191326B (en) Projection system resolution expansion method and device and projection system
US20140267593A1 (en) Method for processing image and electronic device thereof
EP3934243A1 (en) Ultra-short-focus alignment method and apparatus for picture and screen, ultra-short-focus projector, and storage medium
CN112272292B (en) Projection correction method, apparatus and storage medium
KR20130054868A (en) Geometric correction apparatus and method based on recursive bezier patch sub-division
US20220262287A1 (en) Ultra-short-throw Picture and Screen alignment Method and Apparatus, Ultra-short-throw Projection Device, and Medium
CN114727081B (en) Projector projection correction method and device and projector
KR101842141B1 (en) 3 dimensional scanning apparatus and method therefor
CN106570907A (en) Camera calibrating method and device
CN114125411B (en) Projection device correction method, projection device correction device, storage medium and projection device
US9654749B2 (en) Projection methods and projection devices
US11284052B2 (en) Method for automatically restoring a calibrated state of a projection system
US9581439B1 (en) Image capture device with a calibration function and calibration method of an image capture device
CN111832558A (en) Character image correction method, device, storage medium and electronic equipment
US20190370944A1 (en) Keystone correction method and device
CN110913191A (en) Trapezoidal correction system and trapezoidal correction method

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
RJ01 Rejection of invention patent application after publication
RJ01 Rejection of invention patent application after publication

Application publication date: 20200410