WO2023029458A1 - Correction method and apparatus, device and storage medium - Google Patents

Correction method and apparatus, device and storage medium Download PDF

Info

Publication number
WO2023029458A1
WO2023029458A1 PCT/CN2022/083346 CN2022083346W WO2023029458A1 WO 2023029458 A1 WO2023029458 A1 WO 2023029458A1 CN 2022083346 W CN2022083346 W CN 2022083346W WO 2023029458 A1 WO2023029458 A1 WO 2023029458A1
Authority
WO
WIPO (PCT)
Prior art keywords
correction
projection
current user
parameter
angle
Prior art date
Application number
PCT/CN2022/083346
Other languages
French (fr)
Chinese (zh)
Inventor
余金清
王鑫
Original Assignee
成都极米科技股份有限公司
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 成都极米科技股份有限公司 filed Critical 成都极米科技股份有限公司
Publication of WO2023029458A1 publication Critical patent/WO2023029458A1/en

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N5/00Details of television systems
    • H04N5/74Projection arrangements for image reproduction, e.g. using eidophor
    • 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]

Definitions

  • the embodiments of the present application relate to the field of optical technologies, and in particular, to a calibration method, device, equipment, and storage medium.
  • the projected picture becomes a non-rectangular shape such as a trapezoid, which affects the user's viewing effect.
  • the projection screen is mainly corrected by means of structured light.
  • This method has high requirements on the structural state of the projection equipment. If the projection equipment is impacted by falling during transportation or use, its structural state will change. , will affect the correction effect of the projected screen.
  • Embodiments of the present application provide a correction method, device, device, and storage medium, which can improve the correction effect of a projected picture.
  • an embodiment of the present application provides a calibration method applied to a projection device, the method comprising:
  • an embodiment of the present application provides a calibration device, which is set on a projection device, and the device includes a display module, an acquisition module, an optimization module, and a calibration module;
  • a display module configured to display the first projected image
  • An obtaining module configured to obtain the first correction parameter corresponding to the current user when a trigger operation for the automatic keystone correction function is detected
  • An optimization module configured to optimize an angle parameter obtained based on three-dimensional reconstruction according to the first correction parameter, where the angle parameter is an angle parameter of the projection device relative to the carrier carrying the projection screen;
  • the correction module is used for performing automatic keystone correction on the first projected image according to the optimized angle parameters.
  • an embodiment of the present application provides a projection device, including an automatic projection correction system and a memory;
  • the automatic projection correction system includes a camera module, a projection light engine, and a processor;
  • the camera module is used to shoot the projection screen
  • an embodiment of the present application provides a computer-readable storage medium, on which computer program instructions are stored.
  • the computer program instructions are executed by a processor, the method described in the first aspect is implemented.
  • the calibration method, device, equipment, and storage medium provided in the embodiments of the present application acquire the first calibration parameter corresponding to the current user when a trigger operation for the automatic keystone calibration function is detected, and then optimize the calibration based on the first calibration parameter according to the first calibration parameter.
  • the angle parameters obtained from the three-dimensional reconstruction are used to perform automatic trapezoidal correction on the first projected picture according to the optimized angle parameters. That is, in the embodiment of the present application, after the automatic trapezoidal correction function of the projection device is triggered, the correction parameters corresponding to the current user can be used to optimize the angle parameters obtained from the 3D reconstruction, which improves the accuracy of the included angle of the projection device relative to the carrier. In this way, the correction effect of the first projected image is improved, and the needs of users are met.
  • FIG. 1 is a schematic diagram of a scene of a correction method provided by an embodiment of the present application
  • Fig. 2 is a flow chart of a correction method provided by the embodiment of the present application.
  • Fig. 3 is a flowchart of another correction method provided by the embodiment of the present application.
  • FIG. 4 is a schematic diagram of an adjustment interface provided by an embodiment of the present application.
  • FIG. 5 is a schematic diagram of a prompt message provided by an embodiment of the present application.
  • FIG. 6 is a flow chart of another correction method provided by the embodiment of the present application.
  • FIG. 7 is a structural diagram of a calibration device provided in an embodiment of the present application.
  • FIG. 8 is a structural diagram of a projection device provided by an embodiment of the present application.
  • the shape of the projection screen on the carrier will be distorted due to factors such as the tilt of the projection device, the projection direction of the projection device and the carrier carrying the projection screen, etc., which will affect users. viewing effect. For this reason, it is necessary to correct the projection screen so that its shape meets the needs of the user.
  • the structured light system is mainly constructed by using the camera module and the projection light machine, and the three-dimensional reconstruction of the projection scene is carried out by the structured light system, and the angle between the projection equipment and the projection screen is obtained, and the projection screen is corrected according to the angle; Adjust the placement position of the projection equipment to realize the correction of the projection screen.
  • the former has higher requirements on the structural state of the projection equipment. If the projection equipment is impacted during transportation or use, resulting in changes in its structural state, it will affect the relative positional relationship between the camera module and the projection light machine and the projection light machine. Optical performance, etc., lead to a deviation in the included angle of the projection device relative to the projection screen, and the correction effect of the projection screen becomes poor. The latter has higher requirements on users and is more difficult to operate, and the projection screen cannot be effectively corrected only by adjusting the placement position of the projection device.
  • the embodiment of the present application provides a correction method, which can improve the correction effect of the projected picture and meet the needs of users.
  • the correction method provided by the embodiment of the present application can be applied to the scene shown in FIG. 1, the scene can include a projection device 10 and a carrier 11, and the projection device 10 can be a device capable of projecting an image or video onto the carrier 11, For example a projector.
  • the projection device 10 can be applied to homes, offices, schools, entertainment venues, and the like.
  • the carrier 11 may be a tool capable of displaying images or videos, for example, in this embodiment of the present application, it may be used to display a projection screen projected by the projection device 10 .
  • the carrier 11 may be, for example, a projection screen or a wall.
  • the projection device 10 can optimize the angle parameters obtained based on the three-dimensional reconstruction according to the correction parameters corresponding to the current user, so as to improve the correction effect of the projected picture and meet the needs of the user.
  • the method can be executed by the projection device shown in FIG. 1 .
  • FIG. 2 is a flow chart of a calibration method provided by an embodiment of the present application.
  • the correction method may include the following steps:
  • the angle parameter is an angle parameter of the projection device relative to the carrier carrying the projection picture.
  • the first correction parameter corresponding to the current user is obtained, and then the angle parameter obtained based on the three-dimensional reconstruction is optimized according to the first correction parameter, and then the angle parameter obtained based on the optimized angle parameter to perform automatic keystone correction on the first projected image. That is, in the embodiment of the present application, after the automatic trapezoidal correction function of the projection device is triggered, the correction parameters corresponding to the current user can be used to optimize the angle parameters obtained from the 3D reconstruction, which improves the accuracy of the included angle of the projection device relative to the carrier. In this way, the correction effect of the first projected image is improved, and the needs of users are met.
  • the first projected picture may be an uncorrected original projected picture projected by the projection device to the carrier.
  • the projection device when the projection device is turned on, it can project a first projection picture onto the carrier for display.
  • the triggering operation here may be an operation for triggering the automatic keystone correction function, that is, an operation for enabling the automatic keystone correction function.
  • the automatic keystone correction function can be triggered by clicking or touching the automatic keystone correction function control.
  • other operations that can enable the automatic keystone correction function can also be used.
  • the embodiment of the present application does not limit the specific form of the automatic keystone correction function control, for example, it may be in the form of a physical switch, a button, or a text box.
  • the above-mentioned triggering operation may also be a voice operation for triggering the automatic keystone correction function, for example, it may be a voice operation with a semantic meaning of "automatic keystone correction”.
  • the projection device can perform automatic keystone correction on the first projected picture, which can reduce requirements on users, simplify user operations, and improve correction efficiency.
  • the first correction parameter may be a correction parameter corresponding to the current user, and different users may correspond to different correction parameters.
  • the first correction parameter corresponding to the current user may be acquired, so that correction requirements of different users may be met.
  • 3D reconstruction is a technology for reconstructing 3D information of the projection scene.
  • the structured light system (automatic projection correction system) in the projection device can be used to reconstruct the 3D information of the projection scene.
  • the angle parameter of the projection device relative to the carrier can be determined by reconstructing the three-dimensional information.
  • the angle parameter here may include the size and direction of the included angle.
  • the automatic projection correction system may include a projection light engine, a camera module and a processor.
  • the projection light engine can be used to project the projection picture to the carrier
  • the camera module can be used to capture the projection picture or other images on the carrier
  • the processor can be used to correct the shape of the projection picture on the carrier.
  • the projection light machine can project specific light information onto the surface and background of the object, which is collected by the camera module, and the processor calculates the position and depth of the object according to the change of the light signal caused by the object, and then restores the entire three-dimensional space.
  • the restored three-dimensional space calculates the included angle between the projection device and the carrier.
  • the automatic projection correction system may also adopt other structures than the above, as long as the included angle of the projection device relative to the carrier can be determined.
  • the projection device may be impacted, causing the angle between it and the projection screen to change, which in turn causes the shape of the projection screen to be distorted, for example, the shape of the projection screen changes from rectangular to non-rectangular, which affects the user's viewing effect.
  • the embodiment of the present application can use the first correction parameter to optimize the angle parameter obtained based on the three-dimensional reconstruction, improve the accuracy of the angle between the projection device and the carrier, and further improve the correction effect of the projected picture.
  • the first correction parameter and the angle parameter may be superimposed to obtain an optimized angle parameter.
  • the angle parameter may be divided along the horizontal direction and the vertical direction to obtain the components of the angle parameter in the horizontal direction and the vertical direction.
  • the first correction parameter can also be divided to obtain its components in the horizontal direction and the vertical direction.
  • the component of the first correction parameter in the horizontal direction can be added to the component of the angle parameter in the horizontal direction; when the first correction parameter When the direction of the horizontal component is opposite to that of the angle parameter in the horizontal direction, the component of the first correction parameter in the horizontal direction can be subtracted from the horizontal component of the angle parameter, so that the optimized angle parameter in the horizontal direction can be obtained.
  • the component of the direction is consistent with the direction of the angle parameter in the horizontal direction.
  • the component of the optimized angle parameter in the vertical direction can be obtained, and then the optimized angle parameter can be obtained.
  • the correction method provided in this embodiment of the present application may include the following steps:
  • the first adjustment interface includes the second projection image after automatic keystone correction and at least one guide control
  • the guide control includes guide information for adjusting the projection image of a non-preset shape to a projection image of a preset shape.
  • At least one guide control includes a target guide control, and the target guide control corresponds to the shape of the first projected image.
  • the first adjustment interface may be an interface for correcting the first projected image.
  • the second projected picture that is, the projected picture obtained by correcting the first projected picture by using the angle parameter obtained by three-dimensional reconstruction, can also be understood as the projected picture obtained after the first automatic correction of the first projected picture.
  • the guide control may be a control that guides the user to correct the shape of the first projected picture, for example, may be a rotation control.
  • the guide control may include guide information for adjusting the projection screen of a non-preset shape to the projection screen of a preset shape, and the guide information may include, for example, a correction direction and/or a correction angle.
  • the guide information may include, for example, a correction direction and/or a correction angle.
  • the first adjustment interface may include one guide control, or may include multiple guide controls.
  • the guide control may be a control for correcting the shape of the first projected picture to a default shape, and the user only needs to operate according to the instructions of the guide control, which is simple and convenient.
  • the user can select an appropriate guide control according to requirements, thereby correcting the first projected image to a shape that meets his needs, thereby realizing personalized adjustment.
  • FIG. 4 includes four guide controls as an example, respectively representing left rotation, right rotation, upward rotation and downward rotation. Different rotation controls correspond to different screen shapes. For example, when the shape of the second projected picture is the shape on the left side of FIG. 4 , the guide control on the left side can be adjusted.
  • the shape of the second projection screen can be quickly corrected from the trapezoid shown in FIG. 4 to the rectangle shown in FIG. 4 through the guide control.
  • the shape of the second projected picture may be other non-rectangular shapes except the above-mentioned trapezoid.
  • the target guidance control is a control corresponding to the shape of the second projected image among the above guidance controls, and when the first adjustment interface only includes one guidance control, the target guidance control is the guidance control.
  • the target guide control may be one or more of the plurality of guide controls, that is, the shape of the second projection screen may be adjusted to a preset shape through a correction direction, or The shape of the second projected image is adjusted to a preset shape through a plurality of correction directions.
  • the corresponding target guide controls can be adjusted in sequence.
  • the first input may be an input for changing the shape of the second projected picture.
  • the first input may act on the target guidance control to change the rotation direction and/or rotation angle of the target guidance control, so as to change the second projection.
  • the shape of the second projected picture realizes the correction of the second projected picture.
  • the first input can be directly used as the first correction parameter, or a certain operation can be performed on the first input to obtain the correction parameter corresponding to the first input as the first correction parameter.
  • the specific calculation rule book The application examples are not limited.
  • the first input may include one input or multiple inputs.
  • S320 may include the following steps:
  • the step value includes the input direction and angle
  • the step value corresponding to each input is accumulated to obtain the correction direction and correction angle as the first correction parameter corresponding to the current user.
  • each input corresponds to a step value of 0.5 degrees
  • the first correction parameter is to rotate left by 1.5 degrees.
  • the first calibration parameter is recorded, and the first calibration parameter can be obtained directly when the projection device is used next time without manual adjustment by the user, thereby simplifying user operations and improving calibration efficiency.
  • the user information may be information used to identify the identity of the user, for example, may include account information, user name, password, ID, face information, or ID number of an application that can control the projection device.
  • the first correction parameter and the current user's user information are associated and stored in the target storage area.
  • the correction parameter corresponding to the user can be obtained based on the user's user information, and then optimized according to the correction parameter.
  • a projected image that meets the needs of the user is obtained without manual adjustment by the user, which simplifies the user's operation and improves efficiency.
  • the above-mentioned target storage area may be a local storage area of the projection device, or a cloud storage area or a blockchain storage area, which is not limited in this application.
  • the embodiment of the present application does not limit the target storage area.
  • S220 may include the following steps:
  • the first correction parameter corresponding to the current user is acquired from the target storage area.
  • the user can log in to the projection application through a mobile phone to remotely control the projection device.
  • the mobile phone can serve as a remote control of the projection device.
  • the user After logging into the projection application through the mobile phone, the user can input a trigger operation for the automatic keystone correction function.
  • the projection device detects the trigger operation, it can obtain the account information of the user in the projection application, and use the account information as the user's user information .
  • the image of the user can be collected, and the user information of the current user can be determined according to the face recognition result; the user information of the current user can also be determined according to the user name and password of the user logging into the projection device.
  • the user information of the current user may also be determined in other ways, which is not limited in this embodiment of the present application.
  • the first calibration parameter corresponding to the user information can be obtained by searching the target storage area.
  • the first adjustment interface may be automatically displayed, and at this time, the user may input correction information on the first adjustment interface according to actual needs.
  • the first adjustment interface may also be displayed again when the user has a need for correction. Based on this, before S310, the correction method may also include the following steps:
  • the prompt information can be, for example, a prompt box as shown in Figure 5.
  • the first adjustment interface can be displayed; In the case of ", it means that the user does not need to correct the shape of the first projected image again.
  • the prompt box can be exited, that is, the first adjustment interface will not be displayed again.
  • whether to display the first adjustment interface can be determined according to the actual needs of the user, which meets the personalized needs of the user.
  • S310 may include the following steps:
  • a first adjustment interface is displayed.
  • the input here may be an input to display the first adjustment interface, for example, it may be "yes" as shown in Figure 5, that is, only when the user selects the "yes" in the prompt box, the first adjustment interface will be displayed, satisfying The actual correction needs of users are met.
  • the correction method provided in the embodiment of the present application may further include the following steps:
  • the second adjustment interface includes target guidance controls and a second projected image.
  • the process of displaying the second projected picture is similar to the process of displaying the first projected picture. For details, refer to the description of the first projected picture, which will not be repeated here for brevity.
  • the correction triggering operation here may be an operation of triggering the correction function of the second projected picture, and when the shape of the second projected picture needs to be corrected, the corresponding correction function needs to be triggered.
  • the correction trigger control can be clicked or touched to trigger the correction function of the second projected picture, so that the shape of the second projected picture can be corrected.
  • other manners may also be used, which are not limited in this embodiment of the present application.
  • the embodiment of the present application does not limit the specific form of the correction trigger control, for example, it may be in the form of a physical switch, a button, or a text box.
  • the shape of the second projected picture may be determined to provide a basis for subsequent determination of the target guide control.
  • the target guide control may be a guide control for adjusting the shape of the second projected picture to a preset shape.
  • the shape of the second projected picture is the trapezoid on the left in Figure 4, in the case that the shape of the second projected picture can be adjusted to a preset shape only by adjusting the guide control, It can be determined that the target guide control is the guide control corresponding to the left trapezoid.
  • the controls contained in the second adjustment interface may only include target guide controls, that is, only guide controls related to the shape of the second projected picture, and not include guide controls not related to the shape of the second projected picture.
  • the target guide control is the guide control corresponding to the trapezoid on the left in FIG. 4
  • the second adjustment interface only includes the guide control corresponding to the shape and the row shape.
  • the user's operation can be simplified, and the user does not need to determine the target guide control from multiple guide controls, which reduces the number of corrections and improves the correction efficiency.
  • the adjustment interface when the shape of the corrected projected picture meets the user's requirements, the adjustment interface can be exited.
  • the adjustment interface can be exited at this time; or, the user closes the button for exiting the adjustment interface, and exits the adjustment interface; or , after the user adjusts once, a prompt box may pop up to prompt the user whether to continue to adjust, and if the user selects "No", the adjustment interface can be exited.
  • the first projected picture can be corrected in the following manner to obtain the second projected picture:
  • the first projected picture is obtained by the camera module shooting the carrier carrying the projected picture.
  • the first coordinate system is the coordinates where the camera module is located. Tie;
  • the association relationship between the first coordinate system and the second coordinate system, and the first position coordinates determine the second position coordinates of the target point in the second coordinate system, and the second coordinate system is the coordinate system where the projection light machine is located;
  • the first projection picture is corrected to obtain the second projection picture.
  • the target point may be any point on the first projection screen.
  • the first coordinate system is the space Cartesian coordinate system where the camera module is located, and the origin of the first coordinate system is the center point of the camera lens of the camera module, that is to say, the first position coordinate is the space Cartesian coordinate system where the target point is in the camera module The location coordinates in .
  • the second coordinate system is a space Cartesian coordinate system established with the optical center of the projection optics lens as the origin.
  • the association relationship between the first coordinate system and the second coordinate system is also the transformation relationship between the position coordinates of a point in the space in the first coordinate system and the second coordinate system.
  • the embodiment of the present application does not specifically limit the process of determining the conversion relationship.
  • the carrier is a plane. After obtaining the position coordinates of multiple target points on the plane in the second coordinate system, the carrier can be fitted in the second coordinate system to obtain a fitting plane.
  • the included angle between the fitting plane and the plane where the second coordinate system is located is the included angle between the carrier and the projection device. According to the included angle, the first projected picture can be corrected to obtain the second projected picture.
  • the angle between the projection device and the carrier can be obtained through geometric calculations, and the first projected image can be automatically corrected according to the angle, without the need for the user to adjust the placement of the projection device, which simplifies the user's operation and improves efficiency.
  • an embodiment of the present application also provides a calibration device, which can be set on a projection device, and the projection device can be a device capable of projecting an image or video onto a carrier, such as a projector.
  • the correction device provided by the embodiment of the present application will be described in detail below with reference to FIG. 7 .
  • the device can be set on projection equipment.
  • FIG. 7 is a structural diagram of a calibration device provided by an embodiment of the present application.
  • the correction device may include a display module 71, an acquisition module 72, an optimization module 73 and a correction module 74;
  • a display module 71 configured to display the first projected image
  • An acquisition module 72 configured to acquire the first correction parameter corresponding to the current user when a trigger operation for the automatic keystone correction function is detected;
  • the optimization module 73 is configured to optimize the angle parameter obtained based on the three-dimensional reconstruction according to the first correction parameter, where the angle parameter is an angle parameter of the projection device relative to the carrier carrying the projection picture.
  • the correction module 74 is configured to perform automatic keystone correction on the first projected image according to the optimized angle parameters.
  • the display module 71 is further configured to display a first adjustment interface before displaying the first projection image, the first adjustment interface includes the second projection image after automatic keystone correction and at least one guide control, the guide control including guide information for adjusting the projected picture of the non-preset shape to the projected picture of the preset shape;
  • the device may also include: a determining module,
  • a determination module configured to determine a first correction parameter corresponding to the current user in response to the current user's first input to the target guidance control
  • the at least one guidance control includes an object guidance control corresponding to the shape of the second projected picture.
  • the first input includes at least one input
  • Identify modules specifically for:
  • the step value includes the input direction and angle
  • the step value corresponding to each input is accumulated to obtain the correction direction and correction angle as the first correction parameter corresponding to the current user.
  • the device may also include:
  • a recording module configured to record the first correction parameter after the determination module determines the first correction parameter corresponding to the current user in response to the current user's first input to the target guide control;
  • the storage module is used for associating and storing the first correction parameter and the user information of the current user in the target storage area.
  • the obtaining module 72 is specifically used for:
  • the first correction parameter corresponding to the current user is acquired from the target storage area.
  • the display module 71 is further configured to display the second projection image after automatic keystone correction before displaying the first projection image;
  • the determining module is further configured to determine the shape of the second projected picture when a correction trigger operation for the second projected picture is detected;
  • the determination module is also used to determine the target guidance control corresponding to the shape of the second projection picture according to the correspondence between the non-preset shape and the guidance information, and the guidance information is used to adjust the projection picture of the non-preset shape to the preset Shaped projection screen;
  • the display module 71 is also used to display a second adjustment interface, the second adjustment interface includes target guidance controls and a second projection screen;
  • the determination module is further configured to determine the first correction parameter corresponding to the current user in response to the second input of the current user to the target guidance control.
  • the optimization module 73 is specifically used for:
  • the first correction parameter and the angle parameter are superimposed to obtain the optimized angle parameter.
  • the first correction parameter corresponding to the current user is obtained, and then the angle parameter obtained based on the three-dimensional reconstruction is optimized according to the first correction parameter, and then the angle parameter obtained based on the optimized angle parameter to perform automatic keystone correction on the first projected image. That is, in the embodiment of the present application, after the automatic trapezoidal correction function of the projection device is triggered, the correction parameters corresponding to the current user can be used to optimize the angle parameters obtained from the 3D reconstruction, which improves the accuracy of the included angle of the projection device relative to the carrier. In this way, the correction effect of the first projected image is improved, and the needs of users are met.
  • Each module in the device shown in FIG. 7 has the function of realizing each step in FIG. 2 , FIG. 3 and FIG. 6 and can achieve corresponding technical effects. For the sake of concise description, details will not be repeated here.
  • embodiments of the present application further provide a projection device, which may be, for example, a device capable of projecting images or videos onto a carrier, such as a projector.
  • a projection device which may be, for example, a device capable of projecting images or videos onto a carrier, such as a projector.
  • the projection device provided by the embodiment of the present application will be described in detail below with reference to FIG. 8 .
  • the projection device may include an automatic projection correction system 81 and a memory 82 for storing computer program instructions.
  • the automatic projection correction system 81 may include a camera module 810 , a projection light engine 811 and a processor 812 .
  • the projection light engine 811 is used for projecting the projection picture; the camera module 811 is used for shooting the projection picture.
  • the processor 812 may include a central processing unit (Central Processing Unit, CPU), or a specific integrated circuit (Application Specific Integrated Circuit, ASIC), or may be configured to implement one or more integrated circuits of the embodiments of the present application.
  • CPU Central Processing Unit
  • ASIC Application Specific Integrated Circuit
  • Memory 82 may include mass storage for data or instructions.
  • memory 82 may include a hard disk drive (Hard Disk Drive, HDD), a floppy disk drive, a flash memory, an optical disk, a magneto-optical disk, a magnetic tape, or a Universal Serial Bus (Universal Serial Bus, USB) drive or two or more Combinations of multiple of the above.
  • memory 82 may include removable or non-removable (or fixed) media, or memory 82 may be a non-volatile solid-state memory.
  • the memory 82 may be a read only memory (Read Only Memory, ROM).
  • the ROM can be mask programmed ROM, programmable ROM (PROM), erasable PROM (EPROM), electrically erasable PROM (EEPROM), electrically rewritable ROM (EAROM), or flash memory or both.
  • PROM programmable ROM
  • EPROM erasable PROM
  • EEPROM electrically erasable PROM
  • EAROM electrically rewritable ROM
  • the processor 812 reads and executes the computer program instructions stored in the memory 82 to realize the method in the embodiment shown in FIG. 2 , FIG. 3 and FIG. 6 , and achieve the execution of the embodiment shown in FIG. 2 , FIG.
  • the corresponding technical effects achieved by the method are briefly described and will not be repeated here.
  • the projection device may further include a communication interface 83 and a bus 84 .
  • a communication interface 83 and a bus 84 .
  • an automatic projection correction system 81 a memory 82 , and a communication interface 83 are connected through a bus 84 to complete mutual communication.
  • the communication interface 83 is mainly used to implement communication between various modules, devices and/or devices in the embodiments of the present application.
  • Bus 84 couples the various components of the projection device to each other.
  • the bus 84 may include an Accelerated Graphics Port (AGP) or other graphics bus, an Enhanced Industry Standard Architecture (Extended Industry Standard Architecture, EISA) bus, a Front Side Bus (FSB), Hyper Transport (HT) interconnect, Industry Standard Architecture (ISA) bus, InfiniBand interconnect, Low Pin Count (LPC) bus, memory bus, Micro Channel Architecture (MCA) bus, peripheral components Interconnect (PCI) bus, PCI-Express (PCI-X) bus, Serial Advanced Technology Attachment (SATA) bus, Video Electronics Standards Association Local (VLB) bus, or other suitable bus or two or more of these The combination.
  • Bus 84 may comprise one or more buses, where appropriate. Although the embodiments of this application describe and illustrate a particular bus, this application contemplates any suitable bus or interconnect.
  • the projection device may execute the correction method in the embodiment of the present application after displaying the first projected picture, thereby realizing the correction method described in conjunction with FIG. 2 , FIG. 3 and FIG. 6 and the correction device described in FIG. 7 .
  • the embodiments of the present application may provide a computer storage medium for implementation.
  • Computer program instructions are stored on the computer storage medium; when the computer program instructions are executed by a processor, any correction method in the above-mentioned embodiments is implemented.
  • the functional blocks shown in the structural block diagrams described above may be implemented as hardware, software, firmware, or a combination thereof.
  • hardware When implemented in hardware, it may be, for example, an electronic circuit, an Application Specific Integrated Circuit (ASIC), appropriate firmware, a plug-in, a function card, and the like.
  • ASIC Application Specific Integrated Circuit
  • the elements of the present application are the programs or code segments employed to perform the required tasks.
  • Programs or code segments can be stored in machine-readable media, or transmitted over transmission media or communication links by data signals carried in carrier waves.
  • "Machine-readable medium" may include any medium that can store or transmit information.
  • machine-readable media examples include electronic circuits, semiconductor memory devices, ROM, flash memory, erasable ROM (EROM), floppy disks, CD-ROMs, optical disks, hard disks, fiber optic media, Radio Frequency (RF) links, etc. wait.
  • Code segments may be downloaded via a computer network such as the Internet, an Intranet, or the like.
  • processors may be, but are not limited to, general purpose processors, special purpose processors, application specific processors, or field programmable logic circuits. It can also be understood that each block in the block diagrams and/or flowcharts and combinations of blocks in the block diagrams and/or flowcharts can also be realized by dedicated hardware for performing specified functions or actions, or can be implemented by dedicated hardware and Combination of computer instructions to achieve.

Landscapes

  • Engineering & Computer Science (AREA)
  • Multimedia (AREA)
  • Signal Processing (AREA)
  • Transforming Electric Information Into Light Information (AREA)

Abstract

Disclosed in embodiments of the present application are a correction method and apparatus, a device, and a storage medium. The correction method comprises: in the case of detecting a trigger operation for an automatic keystone correction function, obtaining a first correction parameter corresponding to a current user, then optimizing, according to the first correction parameter, an angle parameter obtained on the basis of three-dimensional reconstruction, and further performing automatic keystone correction on a first projected picture according to the optimized angle parameter. That is, according to the embodiments of the present application, after the automatic keystone correction function of a projection device is triggered, the angle parameter obtained by the three-dimensional reconstruction can be optimized using a correction parameter corresponding to the current user, such that the accuracy of an included angle of the projection device with respect to a carrier is improved, thus improving the correction effect of the first projected picture, and satisfying user requirements.

Description

一种校正方法、装置、设备及存储介质A calibration method, device, equipment and storage medium 技术领域technical field
本申请实施例涉及光学技术领域,尤其涉及一种校正方法、装置、设备及存储介质。The embodiments of the present application relate to the field of optical technologies, and in particular, to a calibration method, device, equipment, and storage medium.
背景技术Background technique
在投影设备的日常使用中,通常会因投影设备摆放位置倾斜、投影方向与投影面不垂直等因素,导致投射出的画面变成梯形等非矩形的形状,影响用户的观看效果。In the daily use of projection equipment, usually due to factors such as the tilted position of the projection equipment and the non-perpendicular projection direction to the projection surface, the projected picture becomes a non-rectangular shape such as a trapezoid, which affects the user's viewing effect.
目前,主要是通过结构光的方式对投影画面进行校正,这种方式对投影设备的结构状态有较高的要求,如果投影设备在运输或者使用过程中受到跌落等冲击,致使其结构状态发生改变,会影响投影画面的校正效果。At present, the projection screen is mainly corrected by means of structured light. This method has high requirements on the structural state of the projection equipment. If the projection equipment is impacted by falling during transportation or use, its structural state will change. , will affect the correction effect of the projected screen.
申请内容application content
本申请实施例提供一种校正方法、装置、设备及存储介质,可以提高投影画面的校正效果。Embodiments of the present application provide a correction method, device, device, and storage medium, which can improve the correction effect of a projected picture.
第一方面,本申请实施例提供了一种校正方法,应用于投影设备,所述方法包括:In the first aspect, an embodiment of the present application provides a calibration method applied to a projection device, the method comprising:
显示第一投影画面;displaying the first projected image;
在检测到针对自动梯形校正功能的触发操作的情况下,获取与当前用户对应的第一校正参数;If a trigger operation for the automatic keystone correction function is detected, acquire a first correction parameter corresponding to the current user;
根据第一校正参数优化基于三维重建得到的角度参数,角度参数为投影设备相对于承载投影画面的承载体的角度参数;Optimizing an angle parameter obtained based on three-dimensional reconstruction according to the first correction parameter, where the angle parameter is an angle parameter of the projection device relative to the carrier carrying the projection picture;
根据优化后的角度参数对第一投影画面进行自动梯形校正。Automatic keystone correction is performed on the first projected picture according to the optimized angle parameters.
第二方面,本申请实施例提供了一种校正装置,设置于投影设备,所述装置包括显示模块、获取模块、优化模块和校正模块;In the second aspect, an embodiment of the present application provides a calibration device, which is set on a projection device, and the device includes a display module, an acquisition module, an optimization module, and a calibration module;
显示模块,用于显示第一投影画面;a display module, configured to display the first projected image;
获取模块,用于在检测到针对自动梯形校正功能的触发操作的情况下,获取与当前用户对应的第一校正参数;An obtaining module, configured to obtain the first correction parameter corresponding to the current user when a trigger operation for the automatic keystone correction function is detected;
优化模块,用于根据第一校正参数优化基于三维重建得到的角度参数,角度参数为投影设备相对于承载投影画面的承载体的角度参数;An optimization module, configured to optimize an angle parameter obtained based on three-dimensional reconstruction according to the first correction parameter, where the angle parameter is an angle parameter of the projection device relative to the carrier carrying the projection screen;
校正模块,用于根据优化后的角度参数对第一投影画面进行自动梯形校正。The correction module is used for performing automatic keystone correction on the first projected image according to the optimized angle parameters.
第三方面,本申请实施例提供了一种投影设备,包括自动投影校正系统和存储器;自动投影校正系统包括摄像模组、投影光机和处理器;In a third aspect, an embodiment of the present application provides a projection device, including an automatic projection correction system and a memory; the automatic projection correction system includes a camera module, a projection light engine, and a processor;
投影光机,用于投射投影画面;A projection light machine for projecting projection images;
摄像模组,用于拍摄投影画面;The camera module is used to shoot the projection screen;
存储器,用于存储计算机程序指令;memory for storing computer program instructions;
当计算机程序指令被处理器执行时,实现如第一方面所述的方法。When the computer program instructions are executed by the processor, the method as described in the first aspect is implemented.
第四方面,本申请实施例提供了一种计算机可读存储介质,其上存储有计算机程序指令,当计算机程序指令被处理器执行时,实现如第一方面所述的方法。In a fourth aspect, an embodiment of the present application provides a computer-readable storage medium, on which computer program instructions are stored. When the computer program instructions are executed by a processor, the method described in the first aspect is implemented.
本申请实施例提供的校正方法、装置、设备及存储介质,在检测到针对自动梯形校正功能的触发操作的情况下,获取与当前用户对应的第一校正参数,然后根据第一校正参数优化基于三维重建得到的角度参数,进而根据优化后的角度参数对第一投影画面进行自动梯形校正。即本申请实施例在投影设备的自动梯形校正功能被触发后,可以利用当前用户对应的校正参数对三维重建得到的角度参数进行优化,提高了投影设备相对于承载体的夹角的准确性,如此提高了第一投影画面的校正效果,满足了用户的需求。The calibration method, device, equipment, and storage medium provided in the embodiments of the present application acquire the first calibration parameter corresponding to the current user when a trigger operation for the automatic keystone calibration function is detected, and then optimize the calibration based on the first calibration parameter according to the first calibration parameter. The angle parameters obtained from the three-dimensional reconstruction are used to perform automatic trapezoidal correction on the first projected picture according to the optimized angle parameters. That is, in the embodiment of the present application, after the automatic trapezoidal correction function of the projection device is triggered, the correction parameters corresponding to the current user can be used to optimize the angle parameters obtained from the 3D reconstruction, which improves the accuracy of the included angle of the projection device relative to the carrier. In this way, the correction effect of the first projected image is improved, and the needs of users are met.
附图说明Description of drawings
为了更清楚地说明本申请实施例的技术方案,下面将对本申请实施例中所需要使用的附图作简单地介绍,对于本领域普通技术人员来讲,在不付出创造性劳动的前提下,还可以根据这些附图获得其他的附图。In order to more clearly illustrate the technical solutions of the embodiments of the present application, the following will briefly introduce the accompanying drawings that need to be used in the embodiments of the present application. Additional figures can be derived from these figures.
图1为本申请实施例提供的一种校正方法的场景示意图;FIG. 1 is a schematic diagram of a scene of a correction method provided by an embodiment of the present application;
图2为本申请实施例提供的一种校正方法的流程图;Fig. 2 is a flow chart of a correction method provided by the embodiment of the present application;
图3为本申请实施例提供的另一种校正方法的流程图;Fig. 3 is a flowchart of another correction method provided by the embodiment of the present application;
图4为本申请实施例提供的一种调整界面的示意图;FIG. 4 is a schematic diagram of an adjustment interface provided by an embodiment of the present application;
图5为本申请实施例提供的一种提示信息的示意图;FIG. 5 is a schematic diagram of a prompt message provided by an embodiment of the present application;
图6为本申请实施例提供的另一种校正方法的流程图;FIG. 6 is a flow chart of another correction method provided by the embodiment of the present application;
图7为本申请实施例提供的一种校正装置的结构图;FIG. 7 is a structural diagram of a calibration device provided in an embodiment of the present application;
图8为本申请实施例提供的一种投影设备的结构图。FIG. 8 is a structural diagram of a projection device provided by an embodiment of the present application.
具体实施方式Detailed ways
下面将详细描述本申请的各个方面的特征和示例性实施例,为了使本申请的目的、技术方案及优点更加清楚明白,以下结合附图及实施例,对本申请进行进一步详细描述。应理解,此处所描述的具体实施例仅被配置为解释本申请,并不被配置为限定本申请。对于本领域技术人员来说,本申请可以在不需要这些具体细节中的一些细节的情况下实施。下面对实施例的描述仅仅是为了通过示出本申请的示例来提供对本申请更好的理解。The characteristics and exemplary embodiments of various aspects of the application will be described in detail below. In order to make the purpose, technical solution and advantages of the application clearer, the application will be further described in detail below in conjunction with the accompanying drawings and embodiments. It should be understood that the specific embodiments described here are only configured to explain the application, not to limit the application. It will be apparent to one skilled in the art that the present application may be practiced without some of these specific details. The following description of the embodiments is only to provide a better understanding of the present application by showing examples of the present application.
需要说明的是,在本文中,诸如第一和第二等之类的关系术语仅仅用来将一个实体或者操作与另一个实体或操作区分开来,而不一定要求或者暗示这些实体或操作之间存在任何这种实际的关系或者顺序。而且,术语“包括”、“包含”或者其任何其他变体意在涵盖非排他性的包含,从而使得包括一系列要素的过程、方法、物品或者设备不仅包括那些要素,而且还包括没有明确列出的其他要素,或者是还包括为这种过程、方法、物品或者设备所固有的要素。在没有更多限制的情况下,由语句“包括……”限定的要素,并不排除在包括所述要素的过程、方法、物品或者设备中还存在另外的相同要素。It should be noted that in this article, relational terms such as first and second are only used to distinguish one entity or operation from another entity or operation, and do not necessarily require or imply that there is a relationship between these entities or operations. There is no such actual relationship or order between them. Furthermore, the term "comprises", "comprises" or any other variation thereof is intended to cover a non-exclusive inclusion such that a process, method, article, or apparatus comprising a set of elements includes not only those elements, but also includes elements not expressly listed. other elements of or also include elements inherent in such a process, method, article, or device. Without further limitations, an element defined by the statement "comprising..." does not exclude the presence of additional same elements in the process, method, article or device comprising said element.
在利用投影设备投射投影画面时,通常会因投影设备的摆放位置倾斜、投影设备的投影方向与承载投影画面的承载体不垂直等因素,导致承载体上投影画面的形状发生畸变,影响用户的观看效果。为此,需要对投影画面进行校正,使其形状满足用户的需求。When using a projection device to project a projection screen, the shape of the projection screen on the carrier will be distorted due to factors such as the tilt of the projection device, the projection direction of the projection device and the carrier carrying the projection screen, etc., which will affect users. viewing effect. For this reason, it is necessary to correct the projection screen so that its shape meets the needs of the user.
目前主要是利用摄像模组和投影光机构建结构光系统,利用结构光系统对投影场景进行三维重建,得到投影设备相对于投影画面的夹角,根据该夹角校正投影画面;也有的是通过人工调整投影设备的摆放位置,实现对投影画面的校正。At present, the structured light system is mainly constructed by using the camera module and the projection light machine, and the three-dimensional reconstruction of the projection scene is carried out by the structured light system, and the angle between the projection equipment and the projection screen is obtained, and the projection screen is corrected according to the angle; Adjust the placement position of the projection equipment to realize the correction of the projection screen.
前者对投影设备的结构状态要求较高,如果投影设备在运输或使用过程中受到冲击,导致其结构状态发生变化,会影响摄像模组和投影光机之间的相对位置关系以及投影光机的光学性能等,导致投影设备相对于投影画面的夹角出现偏差,投影画面的校正效果变差。后者对用户的要求较高,而且操作难度较大,仅通过调整投影设备的摆放位置无法有效的校正投影画面。The former has higher requirements on the structural state of the projection equipment. If the projection equipment is impacted during transportation or use, resulting in changes in its structural state, it will affect the relative positional relationship between the camera module and the projection light machine and the projection light machine. Optical performance, etc., lead to a deviation in the included angle of the projection device relative to the projection screen, and the correction effect of the projection screen becomes poor. The latter has higher requirements on users and is more difficult to operate, and the projection screen cannot be effectively corrected only by adjusting the placement position of the projection device.
为此,本申请实施例提供一种校正方法,可以提高投影画面的校正效果,满足用户的使用需求。For this reason, the embodiment of the present application provides a correction method, which can improve the correction effect of the projected picture and meet the needs of users.
本申请实施例提供的校正方法可以应用于图1所示的场景中,该场景可以包括投影设备10和承载体11,投影设备10可以是能够将图像或视频投射到承载体11上的设备,例如投影仪。投影设备10可以应用于家庭、办公室、学校或娱乐场所等。The correction method provided by the embodiment of the present application can be applied to the scene shown in FIG. 1, the scene can include a projection device 10 and a carrier 11, and the projection device 10 can be a device capable of projecting an image or video onto the carrier 11, For example a projector. The projection device 10 can be applied to homes, offices, schools, entertainment venues, and the like.
承载体11可以是能够显示图像或视频的工具,例如在本申请实施例可以用于显示投影设备10投射的投影画面。承载体11例如可以是投影幕布或墙面。The carrier 11 may be a tool capable of displaying images or videos, for example, in this embodiment of the present application, it may be used to display a projection screen projected by the projection device 10 . The carrier 11 may be, for example, a projection screen or a wall.
投影设备10可以根据当前用户对应的校正参数优化基于三维重建得到的角度参数,提高投影画面的校正效果,满足用户的使用需求。The projection device 10 can optimize the angle parameters obtained based on the three-dimensional reconstruction according to the correction parameters corresponding to the current user, so as to improve the correction effect of the projected picture and meet the needs of the user.
基于上述场景,下面结合具体的实施例对本申请实施例提供的校正方法进行说明,该方法可以由图1所示的投影设备执行。Based on the above scenario, the correction method provided by the embodiment of the present application will be described below in conjunction with specific embodiments. The method can be executed by the projection device shown in FIG. 1 .
图2为本申请实施例提供的一种校正方法的流程图。FIG. 2 is a flow chart of a calibration method provided by an embodiment of the present application.
如图2所示,该校正方法可以包括如下步骤:As shown in Figure 2, the correction method may include the following steps:
S210、显示第一投影画面。S210. Display a first projection image.
S220、在检测到针对自动梯形校正功能的触发操作的情况下,获取与当前用户对应的第一校正参数。S220. Acquire a first correction parameter corresponding to the current user when a trigger operation for the automatic keystone correction function is detected.
S230、根据第一校正参数优化基于三维重建得到的角度参数。S230. Optimizing the angle parameter obtained based on the three-dimensional reconstruction according to the first correction parameter.
其中,角度参数为投影设备相对于承载投影画面的承载体的角度参数。Wherein, the angle parameter is an angle parameter of the projection device relative to the carrier carrying the projection picture.
S240、根据优化后的角度参数对第一投影画面进行自动梯形校正。S240. Perform automatic keystone correction on the first projected picture according to the optimized angle parameter.
由此,在检测到针对自动梯形校正功能的触发操作的情况下,获取与当前用户对应的第一校正参数,然后根据第一校正参数优化基于三维重建得到的角度参数,进而根据优化后的角度参数对第一投影画面进行自动梯形校正。即本申请实施例在投影设备的自动梯形校正功能被触发后,可以利用当前用户对应的校正参数对三维重建得到的角度参数进行优化,提高了投影设备相对于承载体的夹角的准确性,如此提高了第一投影画面的校正效果,满足了用户的需求。Thus, when a trigger operation for the automatic keystone correction function is detected, the first correction parameter corresponding to the current user is obtained, and then the angle parameter obtained based on the three-dimensional reconstruction is optimized according to the first correction parameter, and then the angle parameter obtained based on the optimized angle parameter to perform automatic keystone correction on the first projected image. That is, in the embodiment of the present application, after the automatic trapezoidal correction function of the projection device is triggered, the correction parameters corresponding to the current user can be used to optimize the angle parameters obtained from the 3D reconstruction, which improves the accuracy of the included angle of the projection device relative to the carrier. In this way, the correction effect of the first projected image is improved, and the needs of users are met.
下面对上述步骤进行详细说明,具体如下所示:The above steps are described in detail below, as follows:
在S210中,第一投影画面可以是投影设备向承载体投射的未经校正的原始投影画面。In S210, the first projected picture may be an uncorrected original projected picture projected by the projection device to the carrier.
在一个实施例中,在投影设备开机的情况下,可以向承载体投射第一投影画面进行显示。In one embodiment, when the projection device is turned on, it can project a first projection picture onto the carrier for display.
在S220中,这里的触发操作可以是用于触发自动梯形校正功能的操作,也即开启 自动梯形校正功能的操作。In S220, the triggering operation here may be an operation for triggering the automatic keystone correction function, that is, an operation for enabling the automatic keystone correction function.
示例性地,可以通过点击或触摸自动梯形校正功能控件,触发自动梯形校正功能。当然,也可以采用其他可以开启自动梯形校正功能的操作。本申请实施例对自动梯形校正功能控件的具体形式不进行限定,例如可以是物理开关、按钮或文本框等形式。或者,上述触发操作也可以为用于触发自动梯形校正功能的语音操作,例如可以为语义为“自动梯形校正”的语音操作。Exemplarily, the automatic keystone correction function can be triggered by clicking or touching the automatic keystone correction function control. Of course, other operations that can enable the automatic keystone correction function can also be used. The embodiment of the present application does not limit the specific form of the automatic keystone correction function control, for example, it may be in the form of a physical switch, a button, or a text box. Alternatively, the above-mentioned triggering operation may also be a voice operation for triggering the automatic keystone correction function, for example, it may be a voice operation with a semantic meaning of "automatic keystone correction".
在自动梯形校正功能开启的情况下,投影设备可以对第一投影画面进行自动梯形校正,如此可以降低对用户的要求,简化用户的操作,提高校正效率。When the automatic keystone correction function is turned on, the projection device can perform automatic keystone correction on the first projected picture, which can reduce requirements on users, simplify user operations, and improve correction efficiency.
第一校正参数可以是与当前用户对应的校正参数,不同的用户可以对应不同的校正参数。The first correction parameter may be a correction parameter corresponding to the current user, and different users may correspond to different correction parameters.
在一个实施例中,在检测到针对自动梯形校正功能的触发操作的情况下,可以获取与当前用户对应的第一校正参数,如此可以满足不同用户的校正需求。In one embodiment, when a trigger operation for the automatic keystone correction function is detected, the first correction parameter corresponding to the current user may be acquired, so that correction requirements of different users may be met.
在S230中,三维重建是一种对投影场景进行三维信息重建的技术,在一个实施例中,可以利用投影设备内的结构光系统(自动投影校正系统)对投影场景的三维信息重建。通过三维信息重建可以确定投影设备相对于承载体的角度参数。这里的角度参数可以包括夹角的大小和方向。In S230, 3D reconstruction is a technology for reconstructing 3D information of the projection scene. In one embodiment, the structured light system (automatic projection correction system) in the projection device can be used to reconstruct the 3D information of the projection scene. The angle parameter of the projection device relative to the carrier can be determined by reconstructing the three-dimensional information. The angle parameter here may include the size and direction of the included angle.
在一个实施例中,自动投影校正系统可以包括投影光机、摄像模组和处理器。In one embodiment, the automatic projection correction system may include a projection light engine, a camera module and a processor.
投影光机可以用于向承载体投射投影画面,摄像模组可以用于拍摄承载体上的投影画面或其他图像,处理器可以用于校正承载体上投影画面的形状。The projection light engine can be used to project the projection picture to the carrier, the camera module can be used to capture the projection picture or other images on the carrier, and the processor can be used to correct the shape of the projection picture on the carrier.
具体地,投影光机可以投射特定的光信息到物体表面及背景,由摄像模组采集,处理器根据物体造成的光信号的变化计算物体的位置和深度等信息,进而复原整个三维空间,根据复原的三维空间计算投影设备与承载体的夹角。Specifically, the projection light machine can project specific light information onto the surface and background of the object, which is collected by the camera module, and the processor calculates the position and depth of the object according to the change of the light signal caused by the object, and then restores the entire three-dimensional space. The restored three-dimensional space calculates the included angle between the projection device and the carrier.
当然,自动投影校正系统也可以采用除上述以外的其他结构,只要可以确定投影设备相对于承载体的夹角即可。Of course, the automatic projection correction system may also adopt other structures than the above, as long as the included angle of the projection device relative to the carrier can be determined.
实际应用时,投影设备可能会受到冲击,导致其与投影画面的夹角发生变化,进而导致投影画面的形状发生畸变,例如投影画面的形状由矩形变为非矩形,影响了用户的观看效果。In actual application, the projection device may be impacted, causing the angle between it and the projection screen to change, which in turn causes the shape of the projection screen to be distorted, for example, the shape of the projection screen changes from rectangular to non-rectangular, which affects the user's viewing effect.
基于此,本申请实施例可以利用第一校正参数优化基于三维重建得到的角度参数,提高投影设备和承载体之间夹角的准确性,进而提高投影画面的校正效果。Based on this, the embodiment of the present application can use the first correction parameter to optimize the angle parameter obtained based on the three-dimensional reconstruction, improve the accuracy of the angle between the projection device and the carrier, and further improve the correction effect of the projected picture.
在一个实施例中,可以叠加第一校正参数和角度参数,得到优化后的角度参数。In an embodiment, the first correction parameter and the angle parameter may be superimposed to obtain an optimized angle parameter.
示例性地,可以将角度参数沿水平方向和竖直方向划分,得到角度参数在水平方向和竖直方向的分量。类似的,也可以对第一校正参数进行划分,得到其在水平方向和竖直方向的分量。Exemplarily, the angle parameter may be divided along the horizontal direction and the vertical direction to obtain the components of the angle parameter in the horizontal direction and the vertical direction. Similarly, the first correction parameter can also be divided to obtain its components in the horizontal direction and the vertical direction.
当第一校正参数在水平方向分量的方向与角度参数在水平方向分量的方向一致时,可以将第一校正参数在水平方向的分量与角度参数在水平方向的分量相加;当第一校正参数在水平方向分量的方向与角度参数在水平方向分量的方向相反时,可以在角度参数水平分量的基础上减去第一校正参数在水平方向的分量,由此可以得到优化后的角度参数在水平方向的分量。When the direction of the horizontal component of the first correction parameter is consistent with the direction of the angle parameter in the horizontal direction, the component of the first correction parameter in the horizontal direction can be added to the component of the angle parameter in the horizontal direction; when the first correction parameter When the direction of the horizontal component is opposite to that of the angle parameter in the horizontal direction, the component of the first correction parameter in the horizontal direction can be subtracted from the horizontal component of the angle parameter, so that the optimized angle parameter in the horizontal direction can be obtained. The component of the direction.
类似的,可以得到优化后的角度参数在竖直方向的分量,进而得到优化后的角度参数。Similarly, the component of the optimized angle parameter in the vertical direction can be obtained, and then the optimized angle parameter can be obtained.
在S240中,根据优化后的角度参数对第一投影画面进行自动梯形校正,可以弥补投影设备在运输或使用过程中受到冲击的缺陷,提高了第一投影画面的校正效果,满足了当前用户的使用需求。In S240, automatic keystone correction is performed on the first projected picture according to the optimized angle parameters, which can make up for the defects of the projection equipment being impacted during transportation or use, improve the correction effect of the first projected picture, and meet the needs of current users. Usage requirements.
在一个实施例中,如图3所示,在S210之前,本申请实施例提供的校正方法可以包括如下步骤:In one embodiment, as shown in FIG. 3, before S210, the correction method provided in this embodiment of the present application may include the following steps:
S310、显示第一调整界面。S310. Displaying a first adjustment interface.
其中,第一调整界面上包括自动梯形校正后的第二投影画面和至少一个引导控件,引导控件上包括用于将非预设形状的投影画面调整至预设形状的投影画面的引导信息。Wherein, the first adjustment interface includes the second projection image after automatic keystone correction and at least one guide control, and the guide control includes guide information for adjusting the projection image of a non-preset shape to a projection image of a preset shape.
S320、响应于当前用户对目标引导控件的第一输入,确定与当前用户对应的第一校正参数。S320. Determine a first correction parameter corresponding to the current user in response to the current user's first input to the target guidance control.
其中,至少一个引导控件包括目标引导控件,目标引导控件与第一投影画面的形状相对应。Wherein, at least one guide control includes a target guide control, and the target guide control corresponds to the shape of the first projected image.
S330、记录第一校正参数。S330. Record the first calibration parameter.
S340、将第一校正参数和当前用户的用户信息关联存储至目标存储区域。S340. Associate and store the first correction parameter and the user information of the current user in the target storage area.
下面对上述步骤进行详细说明,具体如下所示:The above steps are described in detail below, as follows:
在S310中,第一调整界面可以是用于校正第一投影画面的界面。第二投影画面,也即利用三维重建得到的角度参数校正第一投影画面得到的投影画面,也可以理解为是对第一投影画面进行第一次自动校正后得到的投影画面。In S310, the first adjustment interface may be an interface for correcting the first projected image. The second projected picture, that is, the projected picture obtained by correcting the first projected picture by using the angle parameter obtained by three-dimensional reconstruction, can also be understood as the projected picture obtained after the first automatic correction of the first projected picture.
引导控件可以是引导用户校正第一投影画面的形状的控件,例如可以是旋转控件。The guide control may be a control that guides the user to correct the shape of the first projected picture, for example, may be a rotation control.
该引导控件上可以包括用于将非预设形状的投影画面调整至预设形状的投影画面的引导信息,该引导信息例如可以包括校正方向和/或校正角。通过引导控件,可以使用户快速的将第一投影画面校正至预设形状。预设形状可以是满足用户使用需求的形状,例如可以是矩形。The guide control may include guide information for adjusting the projection screen of a non-preset shape to the projection screen of a preset shape, and the guide information may include, for example, a correction direction and/or a correction angle. Through the guidance control, the user can quickly correct the first projected image to a preset shape. The preset shape may be a shape that satisfies user requirements, for example, a rectangle.
第一调整界面上可以包括一个引导控件,也可以包括多个引导控件。The first adjustment interface may include one guide control, or may include multiple guide controls.
当第一调整界面包括一个引导控件时,该引导控件可以是用于将第一投影画面的形状校正至默认形状的控件,用户只需按照引导控件的指示操作即可,简单方便。When the first adjustment interface includes a guide control, the guide control may be a control for correcting the shape of the first projected picture to a default shape, and the user only needs to operate according to the instructions of the guide control, which is simple and convenient.
当第一调整界面包括多个引导控件时,用户可以根据需求从中选择合适的引导控件,由此可以将第一投影画面校正至符合自己需求的形状,实现了个性化调整。When the first adjustment interface includes a plurality of guide controls, the user can select an appropriate guide control according to requirements, thereby correcting the first projected image to a shape that meets his needs, thereby realizing personalized adjustment.
示例性的,参考图4,图4以包括四个引导控件为例,分别代表向左旋转、向右旋转、向上旋转和向下旋转。不同的旋转控件对应不同的画面形状。例如第二投影画面的形状为图4左边的形状时,可以调整左侧的引导控件。Exemplarily, referring to FIG. 4 , FIG. 4 includes four guide controls as an example, respectively representing left rotation, right rotation, upward rotation and downward rotation. Different rotation controls correspond to different screen shapes. For example, when the shape of the second projected picture is the shape on the left side of FIG. 4 , the guide control on the left side can be adjusted.
通过引导控件可以快速的将第二投影画面的形状由图4所示的梯形校正至图4所示的矩形。实际应用时,第二投影画面的形状可以是除上述梯形之外的其他非矩形形状。The shape of the second projection screen can be quickly corrected from the trapezoid shown in FIG. 4 to the rectangle shown in FIG. 4 through the guide control. In practical applications, the shape of the second projected picture may be other non-rectangular shapes except the above-mentioned trapezoid.
在S320中,目标引导控件为上述引导控件中与第二投影画面的形状对应的控件,当第一调整界面仅包含一个引导控件时,目标引导控件即为该引导控件。In S320, the target guidance control is a control corresponding to the shape of the second projected image among the above guidance controls, and when the first adjustment interface only includes one guidance control, the target guidance control is the guidance control.
当第一调整界面包含多个引导控件时,目标引导控件可以是该多个引导控件中的一个或多个,即可以通过一个校正方向将第二投影画面的形状调整至预设形状,也可以通过多个校正方向将第二投影画面的形状调整至预设形状。当需要调整多个校正方向时,可以依次调整对应的目标引导控件。When the first adjustment interface contains a plurality of guide controls, the target guide control may be one or more of the plurality of guide controls, that is, the shape of the second projection screen may be adjusted to a preset shape through a correction direction, or The shape of the second projected image is adjusted to a preset shape through a plurality of correction directions. When multiple correction directions need to be adjusted, the corresponding target guide controls can be adjusted in sequence.
第一输入可以是用于改变第二投影画面形状的输入,示例性地,第一输入可以作用于目标引导控件,用于改变目标引导控件的旋转方向和/或旋转角度,以此来改变第二投影画面的形状,实现对第二投影画面的校正。The first input may be an input for changing the shape of the second projected picture. Exemplarily, the first input may act on the target guidance control to change the rotation direction and/or rotation angle of the target guidance control, so as to change the second projection. The shape of the second projected picture realizes the correction of the second projected picture.
在一个实施例中,可以直接将第一输入作为第一校正参数,也可以对第一输入进行一定的运算,得到与第一输入对应的校正参数,作为第一校正参数,具体的运算规则本申请实施例不进行限定。In one embodiment, the first input can be directly used as the first correction parameter, or a certain operation can be performed on the first input to obtain the correction parameter corresponding to the first input as the first correction parameter. The specific calculation rule book The application examples are not limited.
第一输入可以包括一次输入,也可以包括多次输入。The first input may include one input or multiple inputs.
以第一输入包括多次输入为例,在一个实施例中,S320可以包括如下步骤:Taking the first input including multiple inputs as an example, in one embodiment, S320 may include the following steps:
统计当前用户对目标引导控件的输入次数以及每次输入对应的步进值,步进值包括输入方向和角度;Count the number of times the current user enters the target guide control and the step value corresponding to each input. The step value includes the input direction and angle;
累计每次输入对应的步进值,得到校正方向和校正角,作为与当前用户对应的第一校正参数。The step value corresponding to each input is accumulated to obtain the correction direction and correction angle as the first correction parameter corresponding to the current user.
例如,在水平向左的方向上,包括三次输入,每次输入对应的步进值为0.5度,则第一校正参数为向左旋转1.5度。For example, in the horizontal left direction, three inputs are included, each input corresponds to a step value of 0.5 degrees, and the first correction parameter is to rotate left by 1.5 degrees.
在S330中,记录第一校正参数,可以在下次使用投影设备时,直接获取该第一校正参数,无需再由用户手动调整,由此可以简化用户的操作,提高校正效率。In S330, the first calibration parameter is recorded, and the first calibration parameter can be obtained directly when the projection device is used next time without manual adjustment by the user, thereby simplifying user operations and improving calibration efficiency.
在S340中,用户信息可以是用于标识用户身份的信息,例如可以包括可控制投影设备的应用的账号信息、用户名、密码、ID、人脸信息或身份证号等。In S340, the user information may be information used to identify the identity of the user, for example, may include account information, user name, password, ID, face information, or ID number of an application that can control the projection device.
将第一校正参数和当前用户的用户信息关联存储至目标存储区域,在用户下次使用投影设备时,可以基于该用户的用户信息,获取与该用户对应的校正参数,进而根据该校正参数优化基于三维重建得到的角度参数,得到符合该用户需求的投影画面,无需用户再手动调整,如此简化了用户的操作,提高了效率。其中,上述目标存储区域可以为投影设备的本地存储区域,也可以为云端存储区域或者区块链存储区域,本申请对此不进行限定。The first correction parameter and the current user's user information are associated and stored in the target storage area. When the user uses the projection device next time, the correction parameter corresponding to the user can be obtained based on the user's user information, and then optimized according to the correction parameter. Based on the angle parameters obtained from the three-dimensional reconstruction, a projected image that meets the needs of the user is obtained without manual adjustment by the user, which simplifies the user's operation and improves efficiency. Wherein, the above-mentioned target storage area may be a local storage area of the projection device, or a cloud storage area or a blockchain storage area, which is not limited in this application.
本申请实施例对目标存储区域不进行限定。The embodiment of the present application does not limit the target storage area.
在一个实施例中,S220可以包括如下步骤:In one embodiment, S220 may include the following steps:
获取当前用户的用户信息;Get the user information of the current user;
根据用户信息,从目标存储区域中获取与当前用户对应的第一校正参数。According to the user information, the first correction parameter corresponding to the current user is acquired from the target storage area.
在一个实施例中,假设将上述可控制投影设备的应用简称为投影应用,用户可通过手机登录该投影应用,远程控制投影设备,此时的手机可以充当投影设备的遥控器。用户可通过手机登录投影应用后,输入针对自动梯形校正功能的触发操作,当投影设备检测到该触发操作时,可获取该用户在投影应用的账号信息,并将该账号信息作为用户的用户信息。In one embodiment, assuming that the above-mentioned application that can control the projection device is simply referred to as a projection application, the user can log in to the projection application through a mobile phone to remotely control the projection device. At this time, the mobile phone can serve as a remote control of the projection device. After logging into the projection application through the mobile phone, the user can input a trigger operation for the automatic keystone correction function. When the projection device detects the trigger operation, it can obtain the account information of the user in the projection application, and use the account information as the user's user information .
在一个实施例中,可以采集用户的图像,根据人脸识别结果确定当前用户的用户信息;也可以根据用户登录投影设备的用户名和密码确定当前用户的用户信息。当然,还可以根据其他方式确定当前用户的用户信息,本申请实施例不进行限定。In one embodiment, the image of the user can be collected, and the user information of the current user can be determined according to the face recognition result; the user information of the current user can also be determined according to the user name and password of the user logging into the projection device. Of course, the user information of the current user may also be determined in other ways, which is not limited in this embodiment of the present application.
根据用户信息,查找目标存储区域,即可得到与该用户信息对应的第一校正参数。According to the user information, the first calibration parameter corresponding to the user information can be obtained by searching the target storage area.
在一个实施例中,在投影设备开机后,可以自动显示第一调整界面,此时用户可以根据实际需求在第一调整界面输入校正信息。In one embodiment, after the projection device is turned on, the first adjustment interface may be automatically displayed, and at this time, the user may input correction information on the first adjustment interface according to actual needs.
在一个实施例中,也可以在用户有校正需求时,再显示第一调整界面。基于此,在S310之前,该校正方法还可以包括如下步骤:In one embodiment, the first adjustment interface may also be displayed again when the user has a need for correction. Based on this, before S310, the correction method may also include the following steps:
显示提示信息,提示信息用于提示用户是否校正第一投影画面的形状。Displaying prompt information, where the prompt information is used to prompt the user whether to correct the shape of the first projected picture.
提示信息例如可以是如图5所示的提示框,在用户选择“是”的情况下,表示用户需要再次校正第一投影画面的形状,此时可以显示第一调整界面;在用户选择“否”的情况下,表示用户无需再次校正第一投影画面的形状,此时可以退出提示框,即不再显示第一调整界面。The prompt information can be, for example, a prompt box as shown in Figure 5. When the user selects "Yes", it means that the user needs to correct the shape of the first projected picture again. At this time, the first adjustment interface can be displayed; In the case of ", it means that the user does not need to correct the shape of the first projected image again. At this time, the prompt box can be exited, that is, the first adjustment interface will not be displayed again.
由此可以根据用户的实际需求确定是否显示第一调整界面,满足了用户的个性化需求。Thus, whether to display the first adjustment interface can be determined according to the actual needs of the user, which meets the personalized needs of the user.
相应的,S310可以包括如下步骤:Correspondingly, S310 may include the following steps:
响应于用户对显示提示信息的输入,显示第一调整界面。In response to the user's input of displaying prompt information, a first adjustment interface is displayed.
这里的输入可以是显示第一调整界面的输入,例如可以是图5所示的“是”,也即只有在用户选择提示框的“是”的情况下,才会显示第一调整界面,满足了用户的实际校正需求。The input here may be an input to display the first adjustment interface, for example, it may be "yes" as shown in Figure 5, that is, only when the user selects the "yes" in the prompt box, the first adjustment interface will be displayed, satisfying The actual correction needs of users are met.
在一个实施例中,如图6所示,在S210之前,本申请实施例提供的校正方法还可以包括如下步骤:In one embodiment, as shown in FIG. 6, before S210, the correction method provided in the embodiment of the present application may further include the following steps:
S610、显示自动梯形校正后的第二投影画面。S610. Display the second projection image after automatic keystone correction.
S620、在检测到针对第二投影画面的校正触发操作的情况下,确定第二投影画面的形状。S620. Determine the shape of the second projected picture when a correction trigger operation for the second projected picture is detected.
S630、根据非预设形状与引导信息之间的对应关系,确定与第二投影画面的形状相对应的目标引导控件。S630. Determine a target guidance control corresponding to the shape of the second projected picture according to the correspondence between the non-preset shape and the guidance information.
S640、显示第二调整界面。S640. Display a second adjustment interface.
其中,第二调整界面上包括目标引导控件和第二投影画面。Wherein, the second adjustment interface includes target guidance controls and a second projected image.
S650、响应于当前用户对目标引导控件的第二输入,确定与当前用户对应的第一校正参数。S650. Determine a first correction parameter corresponding to the current user in response to a second input of the current user to the target guidance control.
下面对上述步骤进行详细说明,具体如下所示:The above steps are described in detail below, as follows:
在S610中,第二投影画面的显示过程与第一投影画面的显示过程类似,具体可以参见第一投影画面的描述,为简洁描述,此处不再赘述。In S610, the process of displaying the second projected picture is similar to the process of displaying the first projected picture. For details, refer to the description of the first projected picture, which will not be repeated here for brevity.
在S620中,这里的校正触发操作可以是触发第二投影画面校正功能的操作,在需要校正第二投影画面的形状时,需要触发对应的校正功能。In S620, the correction triggering operation here may be an operation of triggering the correction function of the second projected picture, and when the shape of the second projected picture needs to be corrected, the corresponding correction function needs to be triggered.
示例性地,可以点击或触摸校正触发控件,触发第二投影画面的校正功能,如此可以校正第二投影画面的形状。当然也可以采用其他方式,本申请实施例不进行限定。本申请实施例对校正触发控件的具体形式不进行限定,例如可以是物理开关、按钮或文本框等形式。Exemplarily, the correction trigger control can be clicked or touched to trigger the correction function of the second projected picture, so that the shape of the second projected picture can be corrected. Of course, other manners may also be used, which are not limited in this embodiment of the present application. The embodiment of the present application does not limit the specific form of the correction trigger control, for example, it may be in the form of a physical switch, a button, or a text box.
在检测到针对第二投影画面的校正触发操作的情况下,可以确定第二投影画面的形状,为后续确定目标引导控件提供依据。When a correction trigger operation for the second projected picture is detected, the shape of the second projected picture may be determined to provide a basis for subsequent determination of the target guide control.
在S630中,目标引导控件可以是用于将第二投影画面的形状调整至预设形状的引导控件。In S630, the target guide control may be a guide control for adjusting the shape of the second projected picture to a preset shape.
示例性的,如图4所示,如果第二投影画面的形状为图4中左边的梯形,在仅通过调整该引导控件即可将第二投影画面的形状调整至预设形状的情况下,可以确定目标引导控件为左边梯形对应的引导控件。Exemplarily, as shown in Figure 4, if the shape of the second projected picture is the trapezoid on the left in Figure 4, in the case that the shape of the second projected picture can be adjusted to a preset shape only by adjusting the guide control, It can be determined that the target guide control is the guide control corresponding to the left trapezoid.
在S640中,第二调整界面包含的控件可以仅包括目标引导控件,即仅包括与第二投影画面的形状相关的引导控件,不包括与第二投影画面的形状无关的引导控件。In S640, the controls contained in the second adjustment interface may only include target guide controls, that is, only guide controls related to the shape of the second projected picture, and not include guide controls not related to the shape of the second projected picture.
例如目标引导控件为图4中左边梯形对应的引导控件,则第二调整界面仅包含该形状以及该行状对应的引导控件。For example, the target guide control is the guide control corresponding to the trapezoid on the left in FIG. 4 , and the second adjustment interface only includes the guide control corresponding to the shape and the row shape.
由此可以简化用户的操作,无需用户从多个引导控件中确定目标引导控件,减少了校正次数,提高了校正效率。Therefore, the user's operation can be simplified, and the user does not need to determine the target guide control from multiple guide controls, which reduces the number of corrections and improves the correction efficiency.
在S650中,第一校正参数的确定过程可以参见上述实施例,为简洁描述,此处不再赘述。In S650, reference may be made to the foregoing embodiments for the determination process of the first calibration parameter, and for brevity of description, details are not repeated here.
在一个实施例中,在校正后的投影画面的形状满足用户需求的情况下,可以退出调整界面。In one embodiment, when the shape of the corrected projected picture meets the user's requirements, the adjustment interface can be exited.
例如在设定时长内未监测到对调整界面的输入时,认为校正后的投影画面的形状符合要求,此时可以退出调整界面;或者,由用户关闭退出调整界面的按钮,退出调整界面;或者,还可以在用户调整一次之后,弹出提示框,提示用户是否需要继续调整,在用户选择“否”的情况下,可以退出调整界面。For example, when the input to the adjustment interface is not detected within the set duration, it is considered that the shape of the corrected projection screen meets the requirements, and the adjustment interface can be exited at this time; or, the user closes the button for exiting the adjustment interface, and exits the adjustment interface; or , after the user adjusts once, a prompt box may pop up to prompt the user whether to continue to adjust, and if the user selects "No", the adjustment interface can be exited.
在一个实施例中,可以通过如下方式校正第一投影画面,得到第二投影画面:In one embodiment, the first projected picture can be corrected in the following manner to obtain the second projected picture:
获取第一投影画面中目标点在第一坐标系中的第一位置坐标,第一投影画面是由摄像模组拍摄承载投影画面的承载体得到的,第一坐标系为摄像模组所在的坐标系;Obtain the first position coordinates of the target point in the first coordinate system in the first projected picture. The first projected picture is obtained by the camera module shooting the carrier carrying the projected picture. The first coordinate system is the coordinates where the camera module is located. Tie;
根据第一坐标系和第二坐标系的关联关系,以及第一位置坐标,确定目标点在第二坐标系的第二位置坐标,第二坐标系为投影光机所在的坐标系;According to the association relationship between the first coordinate system and the second coordinate system, and the first position coordinates, determine the second position coordinates of the target point in the second coordinate system, and the second coordinate system is the coordinate system where the projection light machine is located;
对目标点的第二位置坐标进行平面拟合,得到拟合平面;performing plane fitting on the second position coordinates of the target point to obtain a fitting plane;
根据拟合平面与第二坐标系所在的平面之间的夹角,校正第一投影画面,得到第二投影画面。According to the included angle between the fitting plane and the plane where the second coordinate system is located, the first projection picture is corrected to obtain the second projection picture.
目标点可以是第一投影画面上的任意点。第一坐标系为摄像模组所在的空间直角坐标系,第一坐标系的原点为摄像模组的镜头的中心点,也就是说第一位置坐标为目标点在摄像模组的空间直角坐标系中的位置坐标。The target point may be any point on the first projection screen. The first coordinate system is the space Cartesian coordinate system where the camera module is located, and the origin of the first coordinate system is the center point of the camera lens of the camera module, that is to say, the first position coordinate is the space Cartesian coordinate system where the target point is in the camera module The location coordinates in .
第二坐标系为以投影光机镜头的光心为原点,建立的空间直角坐标系。The second coordinate system is a space Cartesian coordinate system established with the optical center of the projection optics lens as the origin.
第一坐标系和第二坐标系的关联关系也即空间中一点在第一坐标系和第二坐标系中位置坐标之间的转换关系。本申请实施例对该转换关系的确定过程不进行具体限定。The association relationship between the first coordinate system and the second coordinate system is also the transformation relationship between the position coordinates of a point in the space in the first coordinate system and the second coordinate system. The embodiment of the present application does not specifically limit the process of determining the conversion relationship.
正常情况下,承载体为平面,在获得该平面上的多个目标点在第二坐标系中的位置坐标后,即可在第二坐标系中拟合出承载体,得到拟合平面。拟合平面与第二坐标系所在的平面之间的夹角即为承载体与投影设备之间的夹角,根据该夹角即可校正第一投影画面,得到第二投影画面。Under normal circumstances, the carrier is a plane. After obtaining the position coordinates of multiple target points on the plane in the second coordinate system, the carrier can be fitted in the second coordinate system to obtain a fitting plane. The included angle between the fitting plane and the plane where the second coordinate system is located is the included angle between the carrier and the projection device. According to the included angle, the first projected picture can be corrected to obtain the second projected picture.
由此,通过几何运算即可得到投影设备与承载体之间的夹角,根据该夹角即可自动校正第一投影画面,无需用户调整投影设备的摆放位置,简化了用户的操作,提高了效率。Thus, the angle between the projection device and the carrier can be obtained through geometric calculations, and the first projected image can be automatically corrected according to the angle, without the need for the user to adjust the placement of the projection device, which simplifies the user's operation and improves efficiency.
基于相同的发明构思,本申请实施例还提供了一种校正装置,该装置可以设置于投影设备,投影设备可以是能够将图像或视频投射到承载体上的设备,例如投影仪。下面结合图7对本申请实施例提供的校正装置进行详细说明。该装置可以设置于投影设备。Based on the same inventive concept, an embodiment of the present application also provides a calibration device, which can be set on a projection device, and the projection device can be a device capable of projecting an image or video onto a carrier, such as a projector. The correction device provided by the embodiment of the present application will be described in detail below with reference to FIG. 7 . The device can be set on projection equipment.
图7为本申请实施例提供的一种校正装置的结构图。FIG. 7 is a structural diagram of a calibration device provided by an embodiment of the present application.
如图7所示,该校正装置可以包括显示模块71、获取模块72、优化模块73和校正模块74;As shown in Figure 7, the correction device may include a display module 71, an acquisition module 72, an optimization module 73 and a correction module 74;
显示模块71,用于显示第一投影画面;A display module 71, configured to display the first projected image;
获取模块72,用于在检测到针对自动梯形校正功能的触发操作的情况下,获取与当前用户对应的第一校正参数;An acquisition module 72, configured to acquire the first correction parameter corresponding to the current user when a trigger operation for the automatic keystone correction function is detected;
优化模块73,用于根据第一校正参数优化基于三维重建得到的角度参数,角度参数为投影设备相对于承载投影画面的承载体的角度参数。The optimization module 73 is configured to optimize the angle parameter obtained based on the three-dimensional reconstruction according to the first correction parameter, where the angle parameter is an angle parameter of the projection device relative to the carrier carrying the projection picture.
校正模块74,用于根据优化后的角度参数对第一投影画面进行自动梯形校正。The correction module 74 is configured to perform automatic keystone correction on the first projected image according to the optimized angle parameters.
下面对上述校正装置进行详细说明,具体如下所示:The above-mentioned calibration device is described in detail below, specifically as follows:
在一个实施例中,显示模块71,还用于在显示第一投影画面之前,显示第一调整界面,第一调整界面上包括自动梯形校正后的第二投影画面和至少一个引导控件,引导控件上包括用于将非预设形状的投影画面调整至预设形状的投影画面的引导信息;In one embodiment, the display module 71 is further configured to display a first adjustment interface before displaying the first projection image, the first adjustment interface includes the second projection image after automatic keystone correction and at least one guide control, the guide control including guide information for adjusting the projected picture of the non-preset shape to the projected picture of the preset shape;
该装置还可以包括:确定模块,The device may also include: a determining module,
确定模块,用于响应于当前用户对目标引导控件的第一输入,确定与当前用户对应的第一校正参数;A determination module, configured to determine a first correction parameter corresponding to the current user in response to the current user's first input to the target guidance control;
至少一个引导控件包括目标引导控件,目标引导控件与第二投影画面的形状相对应。The at least one guidance control includes an object guidance control corresponding to the shape of the second projected picture.
在一个实施例中,第一输入包括至少一次输入;In one embodiment, the first input includes at least one input;
确定模块,具体用于:Identify modules, specifically for:
统计当前用户对目标引导控件的输入次数以及每次输入对应的步进值,步进值包括输入方向和角度;Count the number of times the current user enters the target guide control and the step value corresponding to each input. The step value includes the input direction and angle;
累计每次输入对应的步进值,得到校正方向和校正角,作为与当前用户对应的第一校正参数。The step value corresponding to each input is accumulated to obtain the correction direction and correction angle as the first correction parameter corresponding to the current user.
在一个实施例中,该装置还可以包括:In one embodiment, the device may also include:
记录模块,用于在确定模块响应于当前用户对目标引导控件的第一输入,确定与当前用户对应的第一校正参数之后,记录第一校正参数;A recording module, configured to record the first correction parameter after the determination module determines the first correction parameter corresponding to the current user in response to the current user's first input to the target guide control;
存储模块,用于将第一校正参数和当前用户的用户信息关联存储至目标存储区域。The storage module is used for associating and storing the first correction parameter and the user information of the current user in the target storage area.
在一个实施例中,获取模块72,具体用于:In one embodiment, the obtaining module 72 is specifically used for:
获取当前用户的用户信息;Get the user information of the current user;
根据用户信息,从目标存储区域中获取与当前用户对应的第一校正参数。According to the user information, the first correction parameter corresponding to the current user is acquired from the target storage area.
在一个实施例中,显示模块71,还用于在显示第一投影画面之前,显示自动梯形校正后的第二投影画面;In one embodiment, the display module 71 is further configured to display the second projection image after automatic keystone correction before displaying the first projection image;
确定模块,还用于在检测到针对第二投影画面的校正触发操作的情况下,确定第二投影画面的形状;The determining module is further configured to determine the shape of the second projected picture when a correction trigger operation for the second projected picture is detected;
确定模块,还用于根据非预设形状与引导信息之间的对应关系,确定与第二投影画面的形状相对应的目标引导控件,引导信息用于将非预设形状的投影画面调整至预设形状的投影画面;The determination module is also used to determine the target guidance control corresponding to the shape of the second projection picture according to the correspondence between the non-preset shape and the guidance information, and the guidance information is used to adjust the projection picture of the non-preset shape to the preset Shaped projection screen;
显示模块71,还用于显示第二调整界面,第二调整界面上包括目标引导控件和第二投影画面;The display module 71 is also used to display a second adjustment interface, the second adjustment interface includes target guidance controls and a second projection screen;
确定模块,还用于响应于当前用户对目标引导控件的第二输入,确定与当前用户对应的第一校正参数。The determination module is further configured to determine the first correction parameter corresponding to the current user in response to the second input of the current user to the target guidance control.
在一个实施例中,优化模块73,具体用于:In one embodiment, the optimization module 73 is specifically used for:
叠加第一校正参数和角度参数,得到优化后的角度参数。The first correction parameter and the angle parameter are superimposed to obtain the optimized angle parameter.
由此,在检测到针对自动梯形校正功能的触发操作的情况下,获取与当前用户对应的第一校正参数,然后根据第一校正参数优化基于三维重建得到的角度参数,进而根据优化后的角度参数对第一投影画面进行自动梯形校正。即本申请实施例在投影设备的自动梯形校正功能被触发后,可以利用当前用户对应的校正参数对三维重建得到的角度参数进行优化,提高了投影设备相对于承载体的夹角的准确性,如此提高了第一投影画面的校正效果,满足了用户的需求。Thus, when a trigger operation for the automatic keystone correction function is detected, the first correction parameter corresponding to the current user is obtained, and then the angle parameter obtained based on the three-dimensional reconstruction is optimized according to the first correction parameter, and then the angle parameter obtained based on the optimized angle parameter to perform automatic keystone correction on the first projected image. That is, in the embodiment of the present application, after the automatic trapezoidal correction function of the projection device is triggered, the correction parameters corresponding to the current user can be used to optimize the angle parameters obtained from the 3D reconstruction, which improves the accuracy of the included angle of the projection device relative to the carrier. In this way, the correction effect of the first projected image is improved, and the needs of users are met.
图7所示装置中的各个模块具有实现图2、图3和图6中各个步骤的功能并能达到相应的技术效果,为简洁描述,此处不再赘述。Each module in the device shown in FIG. 7 has the function of realizing each step in FIG. 2 , FIG. 3 and FIG. 6 and can achieve corresponding technical effects. For the sake of concise description, details will not be repeated here.
基于相同的发明构思,本申请实施例还提供了一种投影设备,该投影设备例如可以是能够将图像或视频投射到承载体上的设备,例如投影仪。下面结合图8对本申请实施例提供的投影设备进行详细说明。Based on the same inventive concept, embodiments of the present application further provide a projection device, which may be, for example, a device capable of projecting images or videos onto a carrier, such as a projector. The projection device provided by the embodiment of the present application will be described in detail below with reference to FIG. 8 .
如图8所示,该投影设备可以包括自动投影校正系统81以及用于存储计算机程序指令的存储器82。As shown in Figure 8, the projection device may include an automatic projection correction system 81 and a memory 82 for storing computer program instructions.
自动投影校正系统81可以包括摄像模组810、投影光机811和处理器812。The automatic projection correction system 81 may include a camera module 810 , a projection light engine 811 and a processor 812 .
投影光机811,用于投射投影画面;摄像模组811,用于拍摄投影画面。The projection light engine 811 is used for projecting the projection picture; the camera module 811 is used for shooting the projection picture.
处理器812可以包括中央处理器(Central Processing Unit,CPU),或者特定集成电路(Application Specific Integrated Circuit,ASIC),或者可以被配置成实施本申请实施例的一个或多个集成电路。The processor 812 may include a central processing unit (Central Processing Unit, CPU), or a specific integrated circuit (Application Specific Integrated Circuit, ASIC), or may be configured to implement one or more integrated circuits of the embodiments of the present application.
存储器82可以包括用于数据或指令的大容量存储器。举例来说而非限制,存储器82可包括硬盘驱动器(Hard Disk Drive,HDD)、软盘驱动器、闪存、光盘、磁光盘、磁带或通用串行总线(Universal Serial Bus,USB)驱动器或者两个或更多个以上这些的组合。在一个实例中,存储器82可以包括可移除或不可移除(或固定)的介质,或者存储器82是非易失性固态存储器。在一个实例中,存储器82可以是只读存储器(Read Only Memory,ROM)。在一个实例中,该ROM可以是掩模编程的ROM、可编程ROM(PROM)、可擦除PROM(EPROM)、电可擦除PROM(EEPROM)、电可改写ROM(EAROM)或闪存或者两个或更多个以上这些的组合。 Memory 82 may include mass storage for data or instructions. By way of example and not limitation, memory 82 may include a hard disk drive (Hard Disk Drive, HDD), a floppy disk drive, a flash memory, an optical disk, a magneto-optical disk, a magnetic tape, or a Universal Serial Bus (Universal Serial Bus, USB) drive or two or more Combinations of multiple of the above. In one example, memory 82 may include removable or non-removable (or fixed) media, or memory 82 may be a non-volatile solid-state memory. In one example, the memory 82 may be a read only memory (Read Only Memory, ROM). In one example, the ROM can be mask programmed ROM, programmable ROM (PROM), erasable PROM (EPROM), electrically erasable PROM (EEPROM), electrically rewritable ROM (EAROM), or flash memory or both. A combination of one or more of the above.
处理器812通过读取并执行存储器82中存储的计算机程序指令,以实现图2、图3和图6所示实施例中的方法,并达到图2、图3和图6所示实施例执行其方法达到的相应技术效果,为简洁描述,在此不再赘述。The processor 812 reads and executes the computer program instructions stored in the memory 82 to realize the method in the embodiment shown in FIG. 2 , FIG. 3 and FIG. 6 , and achieve the execution of the embodiment shown in FIG. 2 , FIG. The corresponding technical effects achieved by the method are briefly described and will not be repeated here.
在一个示例中,该投影设备还可包括通信接口83和总线84。其中,如图8所示,自动投影校正系统81、存储器82、通信接口83通过总线84连接并完成相互间的通信。In one example, the projection device may further include a communication interface 83 and a bus 84 . Wherein, as shown in FIG. 8 , an automatic projection correction system 81 , a memory 82 , and a communication interface 83 are connected through a bus 84 to complete mutual communication.
通信接口83,主要用于实现本申请实施例中各模块、装置和/或设备之间的通信。The communication interface 83 is mainly used to implement communication between various modules, devices and/or devices in the embodiments of the present application.
总线84包括硬件、软件或两者,将投影设备的各部件彼此耦接在一起。举例来说而非限制,总线84可包括加速图形端(Accelerated Graphics Port,AGP)或其他图形总线、增强工业标准架构(Extended Industry Standard Architecture,EISA)总线、前端总线(Front Side Bus,FSB)、超传输(Hyper Transport,HT)互连、工业标准架构(Industry Standard Architecture,ISA)总线、无限带宽互连、低引脚数(LPC)总线、存储器总线、微信道架构(MCA)总线、外围组件互连(PCI)总线、PCI-Express(PCI-X)总线、串行高级技术附件(SATA)总线、视频电子标准协会局部(VLB)总线或其他合适的总线或者两个或更多个以上这些的组合。在合适的情况下,总线84可包括一个或多个总线。尽管本申请实施例描述和示出了特定的总线,但本申请考虑任何合适的总线或互连。 Bus 84, including hardware, software, or both, couples the various components of the projection device to each other. For example and without limitation, the bus 84 may include an Accelerated Graphics Port (AGP) or other graphics bus, an Enhanced Industry Standard Architecture (Extended Industry Standard Architecture, EISA) bus, a Front Side Bus (FSB), Hyper Transport (HT) interconnect, Industry Standard Architecture (ISA) bus, InfiniBand interconnect, Low Pin Count (LPC) bus, memory bus, Micro Channel Architecture (MCA) bus, peripheral components Interconnect (PCI) bus, PCI-Express (PCI-X) bus, Serial Advanced Technology Attachment (SATA) bus, Video Electronics Standards Association Local (VLB) bus, or other suitable bus or two or more of these The combination. Bus 84 may comprise one or more buses, where appropriate. Although the embodiments of this application describe and illustrate a particular bus, this application contemplates any suitable bus or interconnect.
该投影设备可以在显示第一投影画面之后执行本申请实施例中的校正方法,从而实现结合图2、图3和图6描述的校正方法以及图7描述的校正装置。The projection device may execute the correction method in the embodiment of the present application after displaying the first projected picture, thereby realizing the correction method described in conjunction with FIG. 2 , FIG. 3 and FIG. 6 and the correction device described in FIG. 7 .
另外,结合上述实施例中的校正方法,本申请实施例可提供一种计算机存储介质来实现。该计算机存储介质上存储有计算机程序指令;该计算机程序指令被处理器执行时实现上述实施例中的任意一种校正方法。In addition, in combination with the correction methods in the foregoing embodiments, the embodiments of the present application may provide a computer storage medium for implementation. Computer program instructions are stored on the computer storage medium; when the computer program instructions are executed by a processor, any correction method in the above-mentioned embodiments is implemented.
需要明确的是,本申请并不局限于上文所描述并在图中示出的特定配置和处理。为了简明起见,这里省略了对已知方法的详细描述。在上述实施例中,描述和示出了若干具体步骤作为示例。但是,本申请的方法过程并不限于所描述和示出的具体步骤,本领域的技术人员可以在领会本申请的精神后,作出各种改变、修改和添加,或者改变步骤之间的顺序。It is to be understood that the application is not limited to the specific configurations and processes described above and shown in the figures. For conciseness, detailed descriptions of known methods are omitted here. In the above embodiments, several specific steps are described and shown as examples. However, the method process of the present application is not limited to the specific steps described and shown, and those skilled in the art may make various changes, modifications and additions, or change the order of the steps after understanding the spirit of the present application.
以上所述的结构框图中所示的功能块可以实现为硬件、软件、固件或者它们的组合。当以硬件方式实现时,其可以例如是电子电路、专用集成电路(Application Specific Integrated Circuit,ASIC)、适当的固件、插件、功能卡等等。当以软件方式实现时,本申请的元素是被用于执行所需任务的程序或者代码段。程序或者代码段可以存储在机器可读介质中,或者通过载波中携带的数据信号在传输介质或者通信链路上传送。“机器可读介质”可以包括能够存储或传输信息的任何介质。机器可读介质的例子包括电子电路、半导体存储器设备、ROM、闪存、可擦除ROM(EROM)、软盘、CD-ROM、光盘、硬盘、光纤介质、射频(Radio Frequency,RF)链路,等等。代码段可以经由诸如因特网、内联网等的计算机网络被下载。The functional blocks shown in the structural block diagrams described above may be implemented as hardware, software, firmware, or a combination thereof. When implemented in hardware, it may be, for example, an electronic circuit, an Application Specific Integrated Circuit (ASIC), appropriate firmware, a plug-in, a function card, and the like. When implemented in software, the elements of the present application are the programs or code segments employed to perform the required tasks. Programs or code segments can be stored in machine-readable media, or transmitted over transmission media or communication links by data signals carried in carrier waves. "Machine-readable medium" may include any medium that can store or transmit information. Examples of machine-readable media include electronic circuits, semiconductor memory devices, ROM, flash memory, erasable ROM (EROM), floppy disks, CD-ROMs, optical disks, hard disks, fiber optic media, Radio Frequency (RF) links, etc. wait. Code segments may be downloaded via a computer network such as the Internet, an Intranet, or the like.
还需要说明的是,本申请中提及的示例性实施例,基于一系列的步骤或者装置描述一些方法或系统。但是,本申请不局限于上述步骤的顺序,也就是说,可以按照实施例中提及的顺序执行步骤,也可以不同于实施例中的顺序,或者若干步骤同时执行。It should also be noted that the exemplary embodiments mentioned in this application describe some methods or systems based on a series of steps or devices. However, the present application is not limited to the order of the above steps, that is, the steps may be performed in the order mentioned in the embodiment, or may be different from the order in the embodiment, or several steps may be performed simultaneously.
上面参考根据本申请实施例的方法、装置(系统)和计算机程序产品的流程图和/或框图描述了本申请实施例的各方面。应当理解,流程图和/或框图中的每个方框以及流程图和/或框图中各方框的组合可以由计算机程序指令实现。这些计算机程序指令可被提供给通用计算机、专用计算机、或其它可编程数据处理装置的处理器,以产生一种机器,使得经由计算机或其它可编程数据处理装置的处理器执行的这些指令使能对流程图和/或框图的一个或多个方框中指定的功能/动作的实现。这种处理器可以是但不限于是通用处理器、专用处理器、特殊应用处理器或者现场可编程逻辑电路。还可理解,框图和/或流程图中的每个方框以及框图和/或流程图中的方框的组合,也可以由执行指定的功能或动作的专用硬件来实现,或可由专用硬件和计算机指令的组合来实现。Aspects of the embodiments of the present application are described above with reference to flowcharts and/or block diagrams of methods, apparatuses (systems) and computer program products according to the embodiments of the present application. It will be understood that each block of the flowchart and/or block diagrams, and combinations of blocks in the flowchart and/or block diagrams, can be implemented by computer program instructions. These computer program instructions may be provided to a processor of a general purpose computer, special purpose computer, or other programmable data processing apparatus to produce a machine such that execution of these instructions via the processor of the computer or other programmable data processing apparatus enables Implementation of the functions/actions specified in one or more blocks of the flowchart and/or block diagrams. Such processors may be, but are not limited to, general purpose processors, special purpose processors, application specific processors, or field programmable logic circuits. It can also be understood that each block in the block diagrams and/or flowcharts and combinations of blocks in the block diagrams and/or flowcharts can also be realized by dedicated hardware for performing specified functions or actions, or can be implemented by dedicated hardware and Combination of computer instructions to achieve.
以上所述,仅为本申请的具体实施方式,所属领域的技术人员可以清楚地了解到,为了描述的方便和简洁,上述描述的系统、模块和单元的具体工作过程,可以参考前述方法实施例中的对应过程,在此不再赘述。应理解,本申请的保护范围并不局限于 此,任何熟悉本技术领域的技术人员在本申请揭露的技术范围内,可轻易想到各种等效的修改或替换,这些修改或替换都应涵盖在本申请的保护范围之内。The above is only a specific implementation of the present application, and those skilled in the art can clearly understand that for the convenience and brevity of the description, the specific working process of the above-described systems, modules and units can refer to the foregoing method embodiments The corresponding process in , will not be repeated here. It should be understood that the protection scope of the present application is not limited thereto, and any person familiar with the technical field can easily think of various equivalent modifications or replacements within the technical scope disclosed in the application, and these modifications or replacements should cover all Within the protection scope of this application.

Claims (10)

  1. 一种校正方法,其特征在于,应用于投影设备,所述方法包括:A calibration method, characterized in that it is applied to a projection device, the method comprising:
    显示第一投影画面;displaying the first projected image;
    在检测到针对自动梯形校正功能的触发操作的情况下,获取与当前用户对应的第一校正参数;If a trigger operation for the automatic keystone correction function is detected, acquire a first correction parameter corresponding to the current user;
    根据所述第一校正参数优化基于三维重建得到的角度参数,所述角度参数为所述投影设备相对于承载所述投影画面的承载体的角度参数;Optimizing an angle parameter obtained based on three-dimensional reconstruction according to the first correction parameter, where the angle parameter is an angle parameter of the projection device relative to a carrier carrying the projection picture;
    根据优化后的角度参数对所述第一投影画面进行自动梯形校正。Automatic keystone correction is performed on the first projected picture according to the optimized angle parameters.
  2. 根据权利要求1所述的方法,其特征在于,所述显示第一投影画面之前,所述方法还包括:The method according to claim 1, wherein before displaying the first projected picture, the method further comprises:
    显示第一调整界面,所述第一调整界面上包括自动梯形校正后的第二投影画面和至少一个引导控件,所述引导控件上包括用于将非预设形状的投影画面调整至预设形状的投影画面的引导信息;A first adjustment interface is displayed, the first adjustment interface includes the second projection screen after automatic keystone correction and at least one guide control, and the guide control includes a function for adjusting the projection screen of a non-preset shape to a preset shape Guidance information of the projected screen;
    响应于所述当前用户对目标引导控件的第一输入,确定与所述当前用户对应的第一校正参数;determining a first correction parameter corresponding to the current user in response to a first input by the current user to a goal-guided control;
    所述至少一个引导控件包括所述目标引导控件,所述目标引导控件与所述第二投影画面的形状相对应。The at least one guidance control includes the target guidance control, and the target guidance control corresponds to a shape of the second projected picture.
  3. 根据权利要求2所述的方法,其特征在于,所述第一输入包括至少一次输入;The method according to claim 2, wherein the first input comprises at least one input;
    所述响应于所述当前用户对目标引导控件的第一输入,确定与所述当前用户对应的第一校正参数,包括:The determining a first correction parameter corresponding to the current user in response to the current user's first input to the target guidance control includes:
    统计所述当前用户对所述目标引导控件的输入次数以及每次输入对应的步进值,所述步进值包括输入方向和角度;Counting the number of times the current user inputs the target guidance control and the step value corresponding to each input, the step value includes the input direction and angle;
    累计每次输入对应的步进值,得到校正方向和校正角,作为与所述当前用户对应的第一校正参数。The step value corresponding to each input is accumulated to obtain the correction direction and the correction angle as the first correction parameter corresponding to the current user.
  4. 根据权利要求2所述的方法,其特征在于,所述响应于所述当前用户对目标引导控件的第一输入,确定与所述当前用户对应的第一校正参数之后,所述方法还包括:The method according to claim 2, wherein after determining the first correction parameter corresponding to the current user in response to the first input of the current user to the target guidance control, the method further comprises:
    记录所述第一校正参数;recording the first calibration parameter;
    将所述第一校正参数和所述当前用户的用户信息关联存储至目标存储区域。The first correction parameter and the user information of the current user are associated and stored in a target storage area.
  5. 根据权利要求1所述的方法,其特征在于,所述获取与当前用户对应的第一校正参数,包括:The method according to claim 1, wherein said obtaining the first correction parameter corresponding to the current user comprises:
    获取所述当前用户的用户信息;Obtain the user information of the current user;
    根据所述用户信息,从目标存储区域中获取与所述当前用户对应的第一校正参数。According to the user information, a first correction parameter corresponding to the current user is acquired from a target storage area.
  6. 根据权利要求1所述的方法,其特征在于,所述显示第一投影画面之前,所述方法还包括:The method according to claim 1, wherein before displaying the first projected picture, the method further comprises:
    显示自动梯形校正后的第二投影画面;Display the second projection screen after automatic keystone correction;
    在检测到针对所述第二投影画面的校正触发操作的情况下,确定所述第二投影画面的形状;determining the shape of the second projected picture in a case where a correction trigger operation for the second projected picture is detected;
    根据非预设形状与引导信息之间的对应关系,确定与所述第二投影画面的形状相对应的目标引导控件,所述引导信息用于将非预设形状的投影画面调整至预设形状的投影画面;According to the corresponding relationship between the non-preset shape and the guidance information, determine the target guidance control corresponding to the shape of the second projection picture, and the guidance information is used to adjust the projection picture of the non-preset shape to the preset shape the projection screen;
    显示第二调整界面,所述第二调整界面上包括所述目标引导控件和所述第二 投影画面;Displaying a second adjustment interface, the second adjustment interface includes the target guidance control and the second projected image;
    响应于所述当前用户对所述目标引导控件的第二输入,确定与所述当前用户对应的第一校正参数。A first correction parameter corresponding to the current user is determined in response to a second input by the current user to the goal-directed control.
  7. 根据权利要求1-6任一项所述的方法,其特征在于,所述根据所述第一校正参数优化基于三维重建得到的角度参数,包括:The method according to any one of claims 1-6, wherein said optimizing the angle parameter obtained based on the three-dimensional reconstruction according to the first correction parameter comprises:
    叠加所述第一校正参数和所述角度参数,得到优化后的角度参数。The first correction parameter and the angle parameter are superimposed to obtain an optimized angle parameter.
  8. 一种校正装置,其特征在于,设置于投影设备,所述装置包括显示模块、获取模块、优化模块和校正模块;A correction device, characterized in that it is set on a projection device, and the device includes a display module, an acquisition module, an optimization module and a correction module;
    所述显示模块,用于显示第一投影画面;The display module is used to display the first projected picture;
    所述获取模块,用于在检测到针对自动梯形校正功能的触发操作的情况下,获取与当前用户对应的第一校正参数;The obtaining module is configured to obtain the first correction parameter corresponding to the current user when a trigger operation for the automatic keystone correction function is detected;
    所述优化模块,用于根据所述第一校正参数优化基于三维重建得到的角度参数,所述角度参数为所述投影设备相对于承载所述投影画面的承载体的角度参数;The optimization module is configured to optimize an angle parameter obtained based on three-dimensional reconstruction according to the first correction parameter, where the angle parameter is an angle parameter of the projection device relative to a carrier carrying the projection picture;
    所述校正模块,用于根据优化后的角度参数对所述第一投影画面进行自动梯形校正。The correction module is configured to perform automatic keystone correction on the first projection picture according to the optimized angle parameters.
  9. 一种投影设备,其特征在于,包括自动投影校正系统和存储器;所述自动投影校正系统包括摄像模组、投影光机和处理器;A projection device, characterized in that it includes an automatic projection correction system and a memory; the automatic projection correction system includes a camera module, a projection light engine and a processor;
    所述投影光机,用于投射投影画面;The projection light machine is used to project projection images;
    所述摄像模组,用于拍摄所述投影画面;The camera module is used to capture the projection screen;
    存储器,用于存储计算机程序指令;memory for storing computer program instructions;
    当所述计算机程序指令被所述处理器执行时,实现如权利要求1-7中任一项所述的方法。When the computer program instructions are executed by the processor, the method according to any one of claims 1-7 is realized.
  10. 一种计算机可读存储介质,其上存储有计算机程序指令,其特征在于,当所述计算机程序指令被处理器执行时,实现如权利要求1-7中任一项所述的方法。A computer-readable storage medium on which computer program instructions are stored, wherein when the computer program instructions are executed by a processor, the method according to any one of claims 1-7 is implemented.
PCT/CN2022/083346 2021-08-31 2022-03-28 Correction method and apparatus, device and storage medium WO2023029458A1 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN202111017352.4A CN115733963A (en) 2021-08-31 2021-08-31 Correction method, device, equipment and storage medium
CN202111017352.4 2021-08-31

Publications (1)

Publication Number Publication Date
WO2023029458A1 true WO2023029458A1 (en) 2023-03-09

Family

ID=85291900

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2022/083346 WO2023029458A1 (en) 2021-08-31 2022-03-28 Correction method and apparatus, device and storage medium

Country Status (2)

Country Link
CN (1) CN115733963A (en)
WO (1) WO2023029458A1 (en)

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6693629B1 (en) * 1996-11-07 2004-02-17 Seiko Epson Corporation Image reproducing apparatus, projector, image reproducing system, and information storing medium
CN101154020A (en) * 2006-09-29 2008-04-02 精工爱普生株式会社 Projector and correction method
JP2009105679A (en) * 2007-10-23 2009-05-14 Canon Inc Image processing apparatus and method of controlling the same
CN104052951A (en) * 2013-03-13 2014-09-17 株式会社理光 Projector, method of controlling projector
WO2018154634A1 (en) * 2017-02-21 2018-08-30 Necディスプレイソリューションズ株式会社 Projection display device, method for controlling projection display device, and program
CN111182280A (en) * 2019-09-23 2020-05-19 广东小天才科技有限公司 Projection method, projection device, sound box equipment and storage medium

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6693629B1 (en) * 1996-11-07 2004-02-17 Seiko Epson Corporation Image reproducing apparatus, projector, image reproducing system, and information storing medium
CN101154020A (en) * 2006-09-29 2008-04-02 精工爱普生株式会社 Projector and correction method
JP2009105679A (en) * 2007-10-23 2009-05-14 Canon Inc Image processing apparatus and method of controlling the same
CN104052951A (en) * 2013-03-13 2014-09-17 株式会社理光 Projector, method of controlling projector
WO2018154634A1 (en) * 2017-02-21 2018-08-30 Necディスプレイソリューションズ株式会社 Projection display device, method for controlling projection display device, and program
CN111182280A (en) * 2019-09-23 2020-05-19 广东小天才科技有限公司 Projection method, projection device, sound box equipment and storage medium

Also Published As

Publication number Publication date
CN115733963A (en) 2023-03-03

Similar Documents

Publication Publication Date Title
US10334151B2 (en) Phase detection autofocus using subaperture images
WO2021103347A1 (en) Projector keystone correction method, apparatus, and system, and readable storage medium
WO2019144666A1 (en) Automatic correction method and apparatus for projection picture, and electronic device
US10506164B2 (en) Depth information obtaining method and apparatus, and image acquisition device
CN107950018B (en) Image generation method and system, and computer readable medium
CN111083457B (en) Method and device for correcting projection images of multiple light machines and projection instrument of multiple light machines
CN102004378B (en) Method for adjusting projection picture and projection device
US11838697B2 (en) Ultra-short-throw picture and screen alignment method and apparatus, and storage medium
CN104601892A (en) Terminal and image shooting method and device
EP3930319A1 (en) Ultra-short-focus image-screen alignment method and apparatus, ultra-short-focus projection device, and medium
US9774833B2 (en) Projector auto-focus correction with the aid of a camera
US20220182551A1 (en) Display method, imaging method and related devices
US20170212327A1 (en) Focus hunting prevention for phase detection auto focus (af)
WO2018133388A1 (en) Photographing method for intelligent flight device, and intelligent flight device
WO2017117749A1 (en) Follow focus system and method based on multiple ranging approaches, and photographing system
WO2017114368A1 (en) Method and device for processing photosensitive quality of camera module, and storage medium
CN115514897B (en) Method and device for processing image
CN114862828A (en) Light spot searching method and device, computer readable medium and electronic equipment
WO2023029458A1 (en) Correction method and apparatus, device and storage medium
US8774556B2 (en) Perspective correction using a reflection
CN110726971B (en) Visible light positioning method, device, terminal and storage medium
TWI412729B (en) Method and system of real navigation display
CN111176521A (en) Message display method, intelligent sound box and storage medium
CN105100557B (en) Portable electronic device and image extraction method
US20170213106A1 (en) Photographing Method and Apparatus and Terminal

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 22862605

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE