CN109727190B - Curved surface correction method and system based on media server control system - Google Patents
Curved surface correction method and system based on media server control system Download PDFInfo
- Publication number
- CN109727190B CN109727190B CN201811596539.2A CN201811596539A CN109727190B CN 109727190 B CN109727190 B CN 109727190B CN 201811596539 A CN201811596539 A CN 201811596539A CN 109727190 B CN109727190 B CN 109727190B
- Authority
- CN
- China
- Prior art keywords
- picture
- correction
- projected
- point
- curved
- 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.)
- Active
Links
Classifications
-
- Y—GENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
- Y02—TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
- Y02P—CLIMATE CHANGE MITIGATION TECHNOLOGIES IN THE PRODUCTION OR PROCESSING OF GOODS
- Y02P90/00—Enabling technologies with a potential contribution to greenhouse gas [GHG] emissions mitigation
- Y02P90/02—Total factory control, e.g. smart factories, flexible manufacturing systems [FMS] or integrated manufacturing systems [IMS]
Landscapes
- Processing Or Creating Images (AREA)
- Projection Apparatus (AREA)
Abstract
The embodiment of the invention discloses a curved surface correction method and a curved surface correction system based on a media server control system. The method comprises the following steps: determining a target correction mode selected by a user from a plurality of preset correction modes of a media server control system, mapping a curved coordinate point corresponding to a correction point parameter on a picture to be projected according to the correction point parameter of the target correction mode, and carrying out curved surface transformation on the picture to be projected according to an adjustment operation of the curved coordinate point when the adjustment operation is detected to obtain a corrected projection picture. By implementing the embodiment of the invention, the flexible correction of the picture to be projected can be realized.
Description
Technical Field
The invention relates to the technical field of projection, in particular to a curved surface correction method and system based on a media server control system.
Background
At present, projection based on a special-shaped surface (such as a curved surface) is more and more common, and because geometric distortion usually occurs when a picture to be projected is projected onto the curved surface, the picture to be projected is usually preprocessed when projected based on the curved surface to counteract the distortion caused by the curved surface. At present, a preprocessing method for a picture to be projected generally adjusts the picture to be projected based on projection correction software, but in practice, it is found that the existing projection correction software can generally only provide one type of correction point, and the correction mode is relatively single and has poor flexibility.
Disclosure of Invention
The embodiment of the invention discloses a curved surface correction method and a curved surface correction system based on a media server control system, which can realize flexible correction of a picture to be projected.
The first aspect of the embodiment of the invention discloses a curved surface correction method based on a media server control system, which comprises the following steps:
determining a target correction mode selected by a user from a plurality of preset correction modes of the media server control system;
mapping curved coordinate points corresponding to the correction point parameters on a picture to be projected according to the correction point parameters of the target correction mode;
when the adjustment operation for the curved coordinate point is detected, performing curved transformation on the picture to be projected according to the adjustment operation to obtain a corrected projection picture.
In a first aspect of the embodiment of the present invention, the mapping, on the image to be projected, the curved coordinate point corresponding to the correction point parameter according to the correction point parameter of the target correction mode includes:
acquiring control point parameters;
mapping control points corresponding to the control point parameters on the picture to be projected, and taking the control points as curved surface coordinate points.
As an optional implementation manner, in the first aspect of the embodiment of the present invention, after the obtaining the control point parameter and before the mapping, on the image to be projected, the control point corresponding to the control point parameter, and taking the control point as the curved coordinate point, the method further includes:
obtaining vertex parameters;
mapping the control points corresponding to the control point parameters on the picture to be projected, and taking the control points as curved surface coordinate points, wherein the method comprises the following steps:
mapping control points corresponding to the control point parameters on a picture to be projected;
mapping the vertex corresponding to each control point according to the vertex parameters;
and taking the control point and the vertex as curved surface coordinate points.
In an optional implementation manner, in a first aspect of the embodiment of the present invention, when an adjustment operation for the curved coordinate point is detected, after performing curved transformation on the image to be projected according to the adjustment operation to obtain a corrected projection image, the method further includes:
performing interpolation processing on the corrected projection picture according to a preset interpolation algorithm;
performing perspective conversion on the corrected projection picture after interpolation processing to obtain a target projection picture;
and controlling the projection of the target projection picture to a projection surface.
In an optional implementation manner, in a first aspect of the embodiment of the present invention, when an adjustment operation for the curved coordinate point is detected, after performing curved transformation on the image to be projected according to the adjustment operation to obtain a corrected projection image, the method further includes:
detecting whether a reset instruction aiming at a certain curved surface coordinate point is received or not;
and when the reset instruction is received, restoring a certain curved coordinate point from the current position to the initial position.
A second aspect of an embodiment of the present invention discloses a media server control system, including:
a determining unit, configured to determine a target correction mode selected by a user from a plurality of preset correction modes of the media server control system;
the mapping unit is used for mapping curved coordinate points corresponding to the correction point parameters on the picture to be projected according to the correction point parameters of the target correction mode;
and the correction unit is used for carrying out curved surface transformation on the picture to be projected according to the adjustment operation when the adjustment operation for the curved surface coordinate point is detected, so as to obtain a corrected projection picture.
As an optional implementation manner, in the second aspect of the embodiment of the present invention, the mapping unit includes:
an acquisition subunit, configured to acquire a control point parameter;
and the mapping subunit is used for mapping the control points corresponding to the control point parameters on the picture to be projected, and taking the control points as curved surface coordinate points.
In a second aspect of the embodiment of the present invention, the obtaining subunit is further configured to obtain, after the obtaining a control point parameter, and before the mapping subunit maps a control point corresponding to the control point parameter on the image to be projected, and takes the control point as a curved surface coordinate point, obtain a vertex parameter;
the mapping subunit is configured to map, on a picture to be projected, a control point corresponding to the control point parameter, and specifically, a mode of using the control point as a curved surface coordinate point is:
the mapping subunit is configured to map control points corresponding to the control point parameters on a to-be-projected image, map vertices corresponding to each control point according to the vertex parameters, and use the control points and the vertices as curved coordinate points.
As an optional implementation manner, in the second aspect of the embodiment of the present invention, the system further includes:
the processing unit is used for performing surface transformation on the picture to be projected according to the adjustment operation to obtain a corrected projection picture when the adjustment operation for the curved coordinate point is detected by the correction unit, performing interpolation processing on the corrected projection picture according to a preset interpolation algorithm, and performing perspective conversion on the corrected projection picture after the interpolation processing to obtain a target projection picture;
and the projection unit is used for controlling the projection of the target projection picture to the projection surface.
As an optional implementation manner, in the second aspect of the embodiment of the present invention, the system further includes:
the detection unit is used for detecting whether a reset instruction for a certain curved coordinate point is received or not after the correction unit performs curved transformation on the picture to be projected according to the adjustment operation to obtain a corrected projection picture when the adjustment operation for the curved coordinate point is detected;
and the resetting unit is used for restoring a certain curved coordinate point from the current position to the initial position when the resetting instruction is received.
A third aspect of the embodiments of the present invention discloses a computer-readable storage medium storing a computer program comprising instructions for performing part or all of the steps of any one of the methods of the first aspect of the present invention.
A fourth aspect of embodiments of the invention discloses a computer program product which, when run on a computer, causes the computer to perform part or all of the steps of any one of the methods of the first aspect.
A fifth aspect of the embodiments of the present invention discloses an application publishing system for publishing a computer program product, wherein the computer program product, when run on a computer, causes the computer to perform some or all of the steps of any one of the methods of the first aspect.
Compared with the prior art, the embodiment of the invention has the following beneficial effects:
in the embodiment of the invention, a target correction mode selected by a user from a plurality of preset correction modes of a media server control system is determined, a curved coordinate point corresponding to the correction point parameter is mapped on a picture to be projected according to the correction point parameter of the target correction mode, and when an adjustment operation for the curved coordinate point is detected, the picture to be projected is subjected to curved transformation according to the adjustment operation to obtain a corrected projection picture. By implementing the embodiment of the invention, a plurality of preset correction modes are provided for users to select, so that the users can correct the picture to be projected based on the target correction mode meeting the own requirements, and the technical problems of single correction mode and poor flexibility of the traditional projection correction software are solved.
Drawings
In order to more clearly illustrate the technical solutions of the embodiments of the present invention, the drawings that are needed in the embodiments will be briefly described below, and it is obvious that the drawings in the following description are only some embodiments of the present invention, and other drawings may be obtained according to these drawings without the need of creative efforts for a person of ordinary skill in the art.
Fig. 1 is a schematic flow chart of a curved surface correction method based on a media server control system according to an embodiment of the present invention;
FIG. 2 is a flow chart of another method for surface correction based on a media server control system according to an embodiment of the present invention;
FIG. 3 is a flow chart of another method for surface correction based on a media server control system according to an embodiment of the present invention;
FIG. 4 is a schematic diagram of a media server control system according to an embodiment of the present invention;
FIG. 5 is a schematic diagram of another media server control system according to an embodiment of the present invention;
fig. 6 is a schematic structural diagram of a control system of a further media server according to an embodiment of the present invention.
Detailed Description
The following description of the embodiments of the present invention will be made clearly and completely with reference to the accompanying drawings, in which it is apparent that the embodiments described are only some embodiments of the present invention, but not all embodiments. All other embodiments, which can be made by those skilled in the art based on the embodiments of the invention without making any inventive effort, are intended to be within the scope of the invention.
It should be noted that the terms "comprising," "having," and any variations thereof in the embodiments of the present invention and the accompanying drawings are intended to cover a non-exclusive inclusion. For example, a process, method, system, article, or apparatus that comprises a list of steps or elements is not limited to only those listed steps or elements but may include other steps or elements not listed or inherent to such process, method, article, or apparatus.
The embodiment of the invention discloses a curved surface correction method and a curved surface correction system based on a media server control system, which can realize flexible correction of a picture to be projected. The following will describe in detail.
Example 1
Referring to fig. 1, fig. 1 is a flow chart of a curved surface correction method based on a media server control system according to an embodiment of the invention. The curved surface correction method based on the media server control system shown in fig. 1 specifically includes the following steps:
101. a target correction mode selected by a user from a plurality of preset correction modes of the media server control system is determined.
102. And mapping a curved coordinate point corresponding to the correction point parameter on the picture to be projected according to the correction point parameter of the target correction mode.
In the embodiment of the present invention, various preset correction modes of the media server control system may be control point correction and vertex correction, wherein the control point correction is coarse adjustment for a picture to be projected, and the vertex correction is fine adjustment for each control point. The control point correction and the vertex correction will be described in detail in the second embodiment and the third embodiment. Based on the above description, the correction point parameters mentioned in step 102 may include a control point parameter and a vertex parameter, specifically, the user needs to input the control point parameter when performing control point correction on the picture to be projected, where the format of the control point parameter may be a×b, a may represent the number of transverse control points of the picture to be projected, and b may represent the number of longitudinal control points of the picture to be projected; when the user performs vertex correction on the picture to be projected, the control point parameter and the vertex parameter need to be input, the formats of the control point parameter and the vertex parameter are the same as those of the control point parameter during the control point correction, if a×b is used for describing the control point parameter and c×d is used for describing the vertex parameter, then the description of the control point parameter refers to the description of the control point parameter in the control point correction, which is not repeated herein, the vertex parameter may be specific to a certain control point, it is assumed that one control point m exists in a×b control points, c×d is a matrix lattice centered on m, where c may represent the number of transverse vertices (the number of transverse points of the matrix lattice), d may represent the number of longitudinal vertices (the number of longitudinal points of the matrix lattice), and c may represent the number of transverse vertices of the picture to be projected, and d may represent the number of longitudinal vertices of the picture to be projected.
Optionally, the correction point parameter of the target correction mode may be selected by the user from a preset correction point parameter list (a control point parameter list and a vertex parameter list), or may be input by user definition, which is not limited in the embodiment of the present invention. By implementing the method, the correction flexibility of the picture to be projected can be further improved based on various input modes of the correction point parameters.
103. When the adjustment operation for the curved coordinate point is detected, the curved transformation is carried out on the picture to be projected according to the adjustment operation to obtain a corrected projection picture.
It should be noted that, each position on the screen to be projected is related to the positions of all the curved coordinate points of the screen to be projected, for a certain position of the selected screen to be projected, the closer the curved coordinate point is, the higher the weight is given to the curved coordinate point, the deformation of the screen to be projected can be realized by adjusting the positions of the curved coordinate points, and the deformation of the screen to be projected is smooth. The adjustment operation for the curved surface coordinate point mentioned in step 103 is to change the position of the curved surface coordinate point.
Preferably, in an embodiment of the present invention, when an adjustment operation for a curved coordinate point is detected, performing curved transformation on a to-be-projected picture according to the adjustment operation to obtain a corrected projection picture may include: when the adjustment operation for the curved surface coordinate point is detected, performing Bessel curved surface transformation on the picture to be projected for three times according to the adjustment operation to obtain a corrected projection picture. In the embodiment of the present invention, according to the detected adjustment operation for the curved coordinate point, the method for performing curved transformation on the image to be projected may use a traditional curved geometric correction method, such as a multiple polynomial method or a similar algorithm based on a neural network, and a derivative method thereof, and the method adopted by the curved transformation on the image to be projected is not particularly limited.
In an alternative implementation manner, after the execution of step 103 in the embodiment of the present invention, interpolation processing may be further performed on the corrected projection image according to a preset interpolation algorithm, perspective conversion may be performed on the corrected projection image after the interpolation processing to obtain the target projection image, and the target projection image may be controlled to be projected onto the projection surface. The preset interpolation algorithm in the optional embodiment may be nearest neighbor interpolation, bilinear interpolation, cubic interpolation, or the like, which is not limited in the embodiment of the present invention, and perspective conversion of the corrected projection image after interpolation processing may be implemented by a perspective matrix. By implementing this alternative embodiment, interpolation and perspective conversion of the corrected projection screen can ensure the screen quality of the projection screen.
By implementing the method, a plurality of preset correction modes are provided for users to select, so that the users can correct the picture to be projected based on the target correction mode meeting the self requirements, the correction flexibility of the picture to be projected can be improved, the correction flexibility can be further improved based on a plurality of input modes of correction point parameters, and the picture quality of the projected picture can be ensured.
Example two
Referring to fig. 2, fig. 2 is a flowchart of another curved surface correction method based on a media server control system according to an embodiment of the present invention. The curved surface correction method based on the media server control system shown in fig. 2 specifically includes the following steps:
201. a target correction mode selected by a user from a plurality of preset correction modes of the media server control system is determined.
202. And acquiring control point parameters.
203. Mapping control points corresponding to the control point parameters on the picture to be projected, and taking the mapped control points as curved surface coordinate points.
Optionally, after the execution of step 203 is completed, the curved coordinate point may be marked and displayed on the image to be projected, where the method for marking and displaying the curved coordinate point on the image to be projected may include determining a target marking color selected by the user, and displaying the curved coordinate point on the image to be projected in the target marking color. By implementing the alternative implementation method, the user can autonomously select the display color of the curved surface coordinate point, so that the use experience of the user is improved.
204. When the adjustment operation for the curved coordinate point is detected, the curved transformation is carried out on the picture to be projected according to the adjustment operation to obtain a corrected projection picture.
When the curved surface correction is implemented by using the media server control system, the system interface of the media server control system may be divided into an operation area and a parameter setting area, where the operation area is used for outputting a picture to be projected, and the parameter setting area is used for setting correction related parameters (control point parameters, vertex parameters, and output ratio) and selecting a correction mode. The following describes the control point correction in detail: detecting the output proportion set by a user in a setting area of a system interface, and outputting a picture to be projected in an operation area according to the output proportion; when the picture to be projected is output in the operation area, a correction grid is displayed on the picture to be projected, the control point marks on the correction grid are displayed according to the control point parameters set in the parameter setting area, and the correction projection picture corresponding to the picture to be projected is obtained according to the position adjustment operation of the user on the control points in the operation area. In addition, the system interface may further include a color selection area for a user to set a background color of the operation area and a correction grid color.
It should be noted that, in the embodiment of the present invention, for the descriptions of step 201 and step 204, please refer to the descriptions of step 101 and step 103 in the first embodiment, and the description of the embodiment of the present invention is not repeated.
The target correction method described in the embodiment of the present invention is control point correction, wherein for the specific description of the control point parameter, please refer to the description in the first embodiment, and the description of the embodiment of the present invention is omitted.
By implementing the method, the corrected projection picture of the picture to be projected can be obtained by utilizing the control point correction, the correction flexibility of the picture to be projected can be improved based on various input modes of the correction point parameters, and the picture quality of the projection picture can be ensured.
Example III
Referring to fig. 3, fig. 3 is a flowchart of another curved surface correction method based on a media server control system according to an embodiment of the present invention. The curved surface correction method based on the media server control system shown in fig. 3 specifically includes the following steps:
301. a target correction mode selected by a user from a plurality of preset correction modes of the media server control system is determined.
302. And acquiring control point parameters.
303. And obtaining vertex parameters.
304. Mapping control points corresponding to the control point parameters on the picture to be projected.
305. Mapping the vertex corresponding to each control point according to the vertex parameters.
306. And taking the control point and the vertex as curved surface coordinate points.
307. When the adjustment operation for the curved coordinate point is detected, the curved transformation is carried out on the picture to be projected according to the adjustment operation to obtain a corrected projection picture.
It should be noted that, in the embodiment of the present invention, for the detailed description of step 301 and step 307, please refer to the description of step 101 to step 103 in the first embodiment, and the detailed description of the embodiment of the present invention is omitted.
The target correction method described in the embodiment of the present invention is vertex correction, wherein for the specific description of the control point parameter and the vertex parameter, please refer to the description in the first embodiment, and the description of the embodiment of the present invention is omitted.
The description of the vertex correction on the system interface of the media server control system may refer to the following description of step 204 in the second embodiment, which is not repeated herein. The two differ in that the correction grid mark display includes vertices in addition to the control points located thereon at the time of vertex correction.
308. Detecting whether a reset instruction for a certain curved surface coordinate point is received, if yes, executing step 309; if not, the process is ended.
309. And restoring the coordinate point of the certain curved surface from the current position to the initial position.
As can be seen from the descriptions of steps 308 to 309, the initial position of the curved surface coordinate point may be saved when the adjustment operation for the curved surface coordinate point is detected.
By implementing the method, the corrected projection picture of the picture to be projected can be obtained by utilizing vertex correction, the correction flexibility of the picture to be projected can be improved based on various input modes of correction point parameters, the picture quality of the projection picture can be ensured, and the quick restoration of the curved surface coordinate point position can be realized by utilizing a reset instruction.
Example IV
Referring to fig. 4, fig. 4 is a schematic structural diagram of a media server control system according to an embodiment of the invention. As shown in fig. 4, the media server control system may include:
a determining unit 401 for determining a target correction mode selected by a user from a plurality of preset correction modes of the media server control system.
The mapping unit 402 is configured to map, on the image to be projected, a curved coordinate point corresponding to the correction point parameter according to the correction point parameter of the target correction mode.
And a correction unit 403, configured to, when an adjustment operation for the curved coordinate point is detected, perform curved transformation on the screen to be projected according to the adjustment operation to obtain a corrected projection screen.
For detailed descriptions of the target correction mode and the correction point parameters, please refer to the description in the first embodiment, and the embodiments of the present invention are not repeated.
As an alternative implementation manner, in an embodiment of the present invention, the media server control system shown in fig. 4 may further include:
and a processing unit 404, configured to, when the correction unit 403 detects an adjustment operation for the curved coordinate point, perform curved transformation on the image to be projected according to the adjustment operation to obtain a corrected projection image, perform interpolation processing on the corrected projection image according to a preset interpolation algorithm, and perform perspective conversion on the corrected projection image after the interpolation processing to obtain a target projection image.
And a projection unit 405 for controlling the projection of the target projection screen onto the projection surface.
The preset interpolation algorithm adopted by the processing unit 404 may be nearest neighbor interpolation, bilinear interpolation, or cubic interpolation, which is not limited in the embodiment of the present invention, and the perspective conversion of the corrected projection image after the interpolation processing by the processing unit 404 may be implemented by a perspective matrix. By implementing this alternative embodiment, the processing unit 404 interpolates and perspective converts the corrected projection picture to ensure the picture quality of the projection picture.
By implementing the media server control system, a plurality of preset correction modes are provided for users to select, so that the users can correct the picture to be projected based on the target correction mode meeting the own requirements, the correction flexibility of the picture to be projected can be improved, the correction flexibility can be further improved based on a plurality of input modes of correction point parameters, and the picture quality of the projected picture can be ensured.
Example five
Referring to fig. 5, fig. 5 is a schematic diagram illustrating a structure of another media server control system according to an embodiment of the invention. The media server control system shown in fig. 5 is optimized by the media server control system shown in fig. 4, and as shown in fig. 5, the mapping unit 402 of the media server control system may include:
the obtaining subunit 4021 is configured to obtain the control point parameter.
The mapping subunit 4022 is configured to map a control point corresponding to the control point parameter on the image to be projected, and take the control point as a curved surface coordinate point.
Optionally, the mapping subunit 4022 may be further configured to map a control point corresponding to the control point parameter on the image to be projected, and after using the control point as the curved surface coordinate point, display the curved surface coordinate point on the image to be projected. The mapping subunit 4022 may be configured to display the curved coordinate point on the image to be projected in a specific manner by: the mapping subunit 4022 is configured to determine a target mark color selected by the user, and display the curved coordinate point on the image to be projected with the target mark color. By implementing the alternative embodiment, the user can autonomously select the display color of the curved surface coordinate point, so that the use experience of the user is improved.
By implementing the media server control system, the corrected projection picture of the picture to be projected can be obtained by utilizing the control point correction, the correction flexibility of the picture to be projected can be improved based on various input modes of the correction point parameters, and the picture quality of the projection picture can be ensured.
Example six
Referring to fig. 6, fig. 6 is a schematic diagram illustrating a structure of another media server control system according to an embodiment of the invention. In the media server control system shown in fig. 6, as shown in fig. 6, the media server control system shown in fig. 5 is optimized, where after the obtaining subunit 4021 is further configured to obtain a control point parameter, and before the mapping subunit 4022 maps a control point corresponding to the control point parameter on the image to be projected, and takes the control point as a curved coordinate point, a vertex parameter is obtained;
the mapping subunit 4022 is configured to map a control point corresponding to a control point parameter on a picture to be projected, and take the control point as a curved coordinate point, where the method specifically may be: the mapping subunit 4022 is configured to map control points corresponding to the control point parameters on the image to be projected, map vertices corresponding to each control point according to the vertex parameters, and use the control points and the vertices as curved coordinate points.
As an alternative implementation manner, in an embodiment of the present invention, the media server control system shown in fig. 6 may further include:
a detecting unit 406, configured to detect whether a reset instruction for a curved coordinate point is received after the correcting unit 403 performs curved transformation on the image to be projected according to an adjustment operation when the adjustment operation for the curved coordinate point is detected to obtain a corrected projection image;
the resetting unit 407 is configured to restore the certain curved coordinate point from the current position to the initial position when receiving the resetting instruction.
By implementing the media server control system, the corrected projection picture of the picture to be projected can be obtained by utilizing vertex correction, the correction flexibility of the picture to be projected can be improved based on various input modes of correction point parameters, the picture quality of the projection picture can be ensured, and the quick restoration of the curved surface coordinate point position can be realized by utilizing a reset instruction.
The embodiment of the invention discloses a computer readable storage medium which stores a computer program, wherein the computer program enables a computer to execute any one of the curved surface correction methods based on a media server control system shown in fig. 1-3.
The embodiment of the invention discloses a computer program product which, when run on a computer, causes the computer to execute any one of the curved surface correction methods based on a media server control system shown in fig. 1-3.
The embodiment of the invention discloses an application release system which is used for releasing a computer program product, wherein when the computer program product runs on a computer, the computer is enabled to execute any one of the curved surface correction methods based on a media server control system in the figures 1-3.
Those of ordinary skill in the art will appreciate that all or part of the steps of the various methods of the above embodiments may be implemented by a program that instructs associated hardware, the program may be stored in a computer readable storage medium including Read-Only Memory (ROM), random access Memory (Random Access Memory, RAM), programmable Read-Only Memory (Programmable Read-Only Memory, PROM), erasable programmable Read-Only Memory (Erasable Programmable Read Only Memory, EPROM), one-time programmable Read-Only Memory (OTPROM), electrically erasable programmable Read-Only Memory (EEPROM), compact disc Read-Only Memory (Compact Disc Read-Only Memory, CD-ROM) or other optical disk Memory, magnetic disk Memory, tape Memory, or any other medium that can be used for carrying or storing data that is readable by a computer.
The above describes the curved surface correction method and system based on the media server control system in detail, and specific examples are applied to illustrate the principle and implementation of the present invention, and the size of the step sequence number in the specific examples does not mean that the execution sequence is necessarily sequential, and the execution sequence of each process should be determined by its function and internal logic, but should not limit the implementation process of the embodiment of the present invention. The units described above as separate components may or may not be physically separate, and some or all of the units may be selected according to actual needs to achieve the purpose of the embodiment.
The character "/" herein generally indicates that the associated object is an "or" relationship. In the embodiments provided herein, it should be understood that "B corresponding to a" means that B is associated with a from which B may be determined. It should also be understood that determining B from a does not mean determining B from a alone, but may also determine B from a and/or other information. In addition, each functional unit in the embodiments of the present invention may be integrated in one processing unit, or each unit may exist alone physically, or two or more units may be integrated in one unit. The integrated units may be implemented in hardware or in software functional units. If the integrated unit is implemented in the form of a software functional unit and sold or used as a stand-alone product, it may be stored in a computer-accessible memory. Based on this understanding, the technical solution of the present invention, or a part contributing to the prior art or all or part of the technical solution, may be embodied in the form of a software product stored in a memory, comprising several requests for a computer device (which may be a personal computer, a server or a network device, etc., in particular may be a processor in a computer device) to execute some or all of the steps of the above-mentioned method of the various embodiments of the present invention.
The above description of embodiments is only for aiding in the understanding of the method of the present invention and its core ideas; meanwhile, as those skilled in the art will have variations in the specific embodiments and application scope in accordance with the ideas of the present invention, the present description should not be construed as limiting the present invention in view of the above.
Claims (6)
1. A method for correcting a curved surface based on a media server control system, comprising:
determining a target correction mode selected by a user from a plurality of preset correction modes of the media server control system, wherein the plurality of preset correction modes comprise control point correction and vertex correction;
mapping curved coordinate points corresponding to the correction point parameters on a picture to be projected according to the correction point parameters of the target correction mode, wherein the correction point parameters comprise control point parameters and vertex parameters, the format of the control point parameters is a multiplied by b, a represents the number of transverse control points of the picture to be projected, b represents the number of longitudinal control points of the picture to be projected, the format of the vertex parameters is c multiplied by d, c represents the number of transverse vertexes, and b represents the number of longitudinal vertexes;
when the adjustment operation for the curved coordinate point is detected, performing curved transformation on the picture to be projected according to the adjustment operation to obtain a corrected projection picture; wherein, the mapping the curved coordinate point corresponding to the correction point parameter on the image to be projected according to the correction point parameter of the target correction mode includes: acquiring control point parameters; mapping control points corresponding to the control point parameters on a picture to be projected, and taking the control points as curved surface coordinate points;
after the control point parameters are obtained and before the control points corresponding to the control point parameters are mapped on the image to be projected and the control points are used as curved surface coordinate points, the method further comprises:
obtaining vertex parameters;
mapping the control points corresponding to the control point parameters on the picture to be projected, and taking the control points as curved surface coordinate points, wherein the method comprises the following steps:
mapping control points corresponding to the control point parameters on a picture to be projected;
mapping the vertex corresponding to each control point according to the vertex parameters;
and taking the control point and the vertex as curved surface coordinate points.
2. The method according to claim 1, wherein when the adjustment operation for the curved coordinate point is detected, after performing the curved transformation on the screen to be projected according to the adjustment operation to obtain a corrected projection screen, the method further comprises:
performing interpolation processing on the corrected projection picture according to a preset interpolation algorithm;
performing perspective conversion on the corrected projection picture after interpolation processing to obtain a target projection picture;
and controlling the projection of the target projection picture to a projection surface.
3. The method according to claim 1, wherein when the adjustment operation for the curved coordinate point is detected, after performing the curved transformation on the screen to be projected according to the adjustment operation to obtain a corrected projection screen, the method further comprises:
detecting whether a reset instruction aiming at a certain curved surface coordinate point is received or not;
and when the reset instruction is received, restoring a certain curved coordinate point from the current position to the initial position.
4. A media server control system, comprising:
the determining unit is used for determining a target correction mode selected by a user from a plurality of preset correction modes of the media server control system, wherein the plurality of preset correction modes comprise control point correction and vertex correction;
the mapping unit is used for mapping curved coordinate points corresponding to the correction point parameters on a picture to be projected according to the correction point parameters of the target correction mode, wherein the correction point parameters comprise control point parameters and vertex parameters, the format of the control point parameters is a multiplied by b, a represents the number of transverse control points of the picture to be projected, b represents the number of longitudinal control points of the picture to be projected, the format of the vertex parameters is c multiplied by d, c represents the number of transverse vertexes, and b represents the number of longitudinal vertexes;
the correction unit is used for carrying out curved surface transformation on the picture to be projected according to the adjustment operation when the adjustment operation for the curved surface coordinate point is detected, so as to obtain a corrected projection picture;
wherein the mapping unit includes: an acquisition subunit, configured to acquire a control point parameter; the mapping subunit is used for mapping the control points corresponding to the control point parameters on the picture to be projected, and taking the control points as curved surface coordinate points;
the image projection device comprises an acquisition subunit, a mapping subunit and a vertex parameter acquisition subunit, wherein the acquisition subunit is also used for acquiring the control point parameter and then mapping a control point corresponding to the control point parameter on a picture to be projected, and taking the control point as a curved surface coordinate point;
the mapping subunit is configured to map, on a picture to be projected, a control point corresponding to the control point parameter, and specifically, a mode of using the control point as a curved surface coordinate point is:
the mapping subunit is configured to map control points corresponding to the control point parameters on a to-be-projected image, map vertices corresponding to each control point according to the vertex parameters, and use the control points and the vertices as curved coordinate points.
5. The system of claim 4, wherein the system further comprises:
the processing unit is used for performing surface transformation on the picture to be projected according to the adjustment operation to obtain a corrected projection picture when the adjustment operation for the curved coordinate point is detected by the correction unit, performing interpolation processing on the corrected projection picture according to a preset interpolation algorithm, and performing perspective conversion on the corrected projection picture after the interpolation processing to obtain a target projection picture;
and the projection unit is used for controlling the projection of the target projection picture to the projection surface.
6. The system of claim 4, wherein the system further comprises:
the detection unit is used for detecting whether a reset instruction for a certain curved coordinate point is received or not after the correction unit performs curved transformation on the picture to be projected according to the adjustment operation to obtain a corrected projection picture when the adjustment operation for the curved coordinate point is detected;
and the resetting unit is used for restoring a certain curved coordinate point from the current position to the initial position when the resetting instruction is received.
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN201811596539.2A CN109727190B (en) | 2018-12-25 | 2018-12-25 | Curved surface correction method and system based on media server control system |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN201811596539.2A CN109727190B (en) | 2018-12-25 | 2018-12-25 | Curved surface correction method and system based on media server control system |
Publications (2)
| Publication Number | Publication Date |
|---|---|
| CN109727190A CN109727190A (en) | 2019-05-07 |
| CN109727190B true CN109727190B (en) | 2023-07-25 |
Family
ID=66296473
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| CN201811596539.2A Active CN109727190B (en) | 2018-12-25 | 2018-12-25 | Curved surface correction method and system based on media server control system |
Country Status (1)
| Country | Link |
|---|---|
| CN (1) | CN109727190B (en) |
Families Citing this family (4)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN113052777B (en) * | 2021-04-15 | 2025-04-25 | 环旭电子股份有限公司 | Material tray calibration method and calibration system |
| CN114567763B (en) * | 2022-02-22 | 2023-03-24 | 湖南泊湾科技有限公司 | Bilinear geometric correction method and system capable of adding points randomly |
| CN115225874B (en) * | 2022-06-14 | 2025-11-28 | 广州智在云天文化科技有限公司 | Intelligent distortion correction method and system for fusion projection system |
| CN116684560A (en) * | 2023-06-28 | 2023-09-01 | 武汉卡比特信息有限公司 | A general adaptation method and adaptation system for non-flat screen instrument projection screen |
Citations (2)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN105704466A (en) * | 2016-01-29 | 2016-06-22 | 北京小鸟科技发展有限责任公司 | A DLP projection method, a DLP projection apparatus and a DLP projector |
| CN108924521A (en) * | 2018-05-31 | 2018-11-30 | 晨星半导体股份有限公司 | Trapezoidal correction method and equipment for projection system |
Family Cites Families (5)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| WO2013024540A1 (en) * | 2011-08-18 | 2013-02-21 | Necディスプレイソリューションズ株式会社 | Image processing apparatus and image processing method |
| TW201438469A (en) * | 2013-03-21 | 2014-10-01 | Chung-Chiu Wu | Image processing method for curved surface projection and its system |
| CN103716602B (en) * | 2013-12-24 | 2015-11-18 | 北京淳中视讯科技有限公司 | The geometric correction method of projected image, Apparatus and system |
| KR102317820B1 (en) * | 2015-08-12 | 2021-10-26 | 삼성전자주식회사 | Method for processing image and electronic device supporting the same |
| CN109002219B (en) * | 2018-08-03 | 2021-09-03 | 合肥联宝信息技术有限公司 | Interactive projection positioning correction method and device |
-
2018
- 2018-12-25 CN CN201811596539.2A patent/CN109727190B/en active Active
Patent Citations (2)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN105704466A (en) * | 2016-01-29 | 2016-06-22 | 北京小鸟科技发展有限责任公司 | A DLP projection method, a DLP projection apparatus and a DLP projector |
| CN108924521A (en) * | 2018-05-31 | 2018-11-30 | 晨星半导体股份有限公司 | Trapezoidal correction method and equipment for projection system |
Also Published As
| Publication number | Publication date |
|---|---|
| CN109727190A (en) | 2019-05-07 |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| CN109727190B (en) | Curved surface correction method and system based on media server control system | |
| JP6264972B2 (en) | Display device, display control program, and display control method | |
| US9253457B2 (en) | Image processing apparatus, projection apparatus, and computer readable medium | |
| JP6417797B2 (en) | Information terminal device, information processing method, system, and program | |
| US10169891B2 (en) | Producing three-dimensional representation based on images of a person | |
| JP5644461B2 (en) | Image processing apparatus and program | |
| JPWO2011108043A1 (en) | Image display device and image display method | |
| CN110766731A (en) | Method and device for automatically registering panoramic image and point cloud and storage medium | |
| WO2020129660A1 (en) | Three-dimensional model editing device, three-dimensional model editing method, and program | |
| CN107734207B (en) | Video object transformation processing method, device and computing device | |
| JP2011155412A (en) | Projection system and distortion correction method in the same | |
| JP2023540272A (en) | Picture processing method, apparatus, device and storage medium | |
| CN115641379B (en) | A method and apparatus for three-dimensional video fusion calibration and real-time rendering | |
| CN106485648B (en) | Image acquisition device with correction function and correction method of image acquisition device | |
| CN115731334A (en) | Model texture generation method and device, computer equipment and storage medium | |
| CN115150598A (en) | Method and device for determining target coordinates | |
| CN113674139A (en) | Face image processing method and device, electronic equipment and storage medium | |
| CN115880338B (en) | Labeling method, labeling device and computer readable storage medium | |
| CN107562886A (en) | A kind of method and device for generating photomap | |
| TW200404266A (en) | Method of analyzing and modifying a footprint | |
| JP5340021B2 (en) | Image processing apparatus, image processing method, and program | |
| CN107492068B (en) | Video object transformation real-time processing method, device and computing device | |
| CN110335205B (en) | Landform smoothing method and device, computer equipment and storage medium | |
| CN114219874A (en) | Image generation method and device, electronic equipment and storage medium | |
| CN112991221B (en) | Method and device for correcting UV expansion diagram of specially-shaped customized area |
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 |