WO2018120011A1 - Projected image correction method and device, and robot - Google Patents
Projected image correction method and device, and robot Download PDFInfo
- Publication number
- WO2018120011A1 WO2018120011A1 PCT/CN2016/113474 CN2016113474W WO2018120011A1 WO 2018120011 A1 WO2018120011 A1 WO 2018120011A1 CN 2016113474 W CN2016113474 W CN 2016113474W WO 2018120011 A1 WO2018120011 A1 WO 2018120011A1
- Authority
- WO
- WIPO (PCT)
- Prior art keywords
- projection
- point
- optical axis
- angle
- deformation ratio
- Prior art date
Links
Images
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N9/00—Details of colour television systems
- H04N9/12—Picture reproducers
- H04N9/31—Projection devices for colour picture display, e.g. using electronic spatial light modulators [ESLM]
- H04N9/3179—Video signal processing therefor
- H04N9/3185—Geometric adjustment, e.g. keystone or convergence
Definitions
- the present invention relates to the field of projection technology, and in particular, to a projection image correction method, a calibration device, and a robot.
- the projection optical axis A should maintain a positional relationship with the projection surface (wall or curtain), otherwise the projection image may be distorted on the projection surface.
- robots or other similar smart devices
- projection devices As a way to present images or content to users, the application of optical projection devices.
- the scope is also more and more extensive.
- the inventors have found that the related art has the following problem: during the use of the projection device, due to the limitation of different scenes, the ideal state in which the projection optical axis A and the projection surface are kept perpendicular to each other cannot be maintained, for example, projection.
- the device is applied to the robot, since the user's optimal viewing angle is the central area of the image, if the robot also projects the optical axis perpendicular to the wall or the projection screen, it is likely to keep the user behind.
- the projected image will exhibit a very significant non-proportional stretching distortion, and the user experience is extremely poor.
- the main purpose of the embodiment of the present invention is to reduce the stretching and distortion of the projected image when the projection optical axis and the projection surface have an oblique angle, and improve the stability of the projected image.
- one technical solution adopted by the embodiment of the present invention is to provide a projection image correction method.
- the method includes:
- the edge point of the projection image is: an intersection of a perpendicular line passing through the optical axis point of the projection optical axis and an edge of the projected image; according to the angle of view, A projection optical axis length and a distance between the projection point and the edge point of the projection image, calculating a deformation ratio of the pixel of the projection image on the projection surface; and adjusting the projection image according to the deformation ratio.
- the distance between the projection point and the edge point of the projected image includes: a projection point and a horizontal a first lateral distance and a second lateral distance between edge points of the projected image formed by the straight line passing through the optical axis point, and a first longitudinal distance between the projected point and the edge point of the projected image formed by the straight line passing through the optical axis point vertically And the second longitudinal distance.
- the angle of view includes: a width angle in a horizontal direction and an elevation angle in a vertical direction; the projection surface is perpendicular to a horizontal plane, and the projection optical axis is parallel to a horizontal plane.
- the calculating the deformation ratio of the pixel points on the projection surface of the projection image specifically includes: calculating a lateral deformation of the pixel of the projection image on the projection surface according to the width angle, the length of the projection optical axis, the first lateral distance, and the second lateral distance The ratio is calculated according to the height angle and the lateral deformation ratio, and the longitudinal deformation ratio of the pixel on the projection surface of the projected image is calculated.
- the projected image has m pixels in the lateral direction and n pixels in the longitudinal direction, and the longitudinal deformation ratio corresponding to the m pixels in the lateral direction is calculated by the following formula:
- a 1 , a 2 , . . . , a m is a lateral deformation ratio corresponding to m pixel points in the lateral direction, and ⁇ is the elevation angle
- b 1 , b 2 , b 3 , . . . , b m are The longitudinal deformation ratio of the m pixel points in the lateral direction.
- the angle of view includes: a width angle in a horizontal direction and a height angle in a vertical direction; and calculating a deformation ratio of the pixel points on the projection surface of the projection image specifically includes: according to the height angle, the length of the projection optical axis a first longitudinal distance and a second longitudinal distance, and calculating a longitudinal deformation ratio of the pixel points of the projected image on the projection surface;
- the adjusting the projection image according to the deformation ratio comprises:
- Each column of the projected image is compressed or stretched to a normal display height according to the longitudinal deformation ratio.
- the calculating a ratio of the lateral deformation of the pixel on the projection surface of the projection image includes:
- the lateral deformation ratio of the pixel points is calculated.
- the optical path angle of the lateral deformation ratio is specifically calculated by the following method:
- Is half of the width angle; a is the standard width of the pixel, n is the number of pixels included in each line in the projected image, and L is the length of the projected optical axis
- optical path angle corresponding to each pixel point is sequentially calculated by the following formula:
- ⁇ n is the optical path angle corresponding to the nth pixel point.
- the first angle of the lateral deformation ratio is specifically calculated by the following method:
- DC is the distance between the optical axis point of the projection optical axis on the projection surface and the edge point of the projected image
- L is the length of the projection optical axis
- L 1 is the distance between the projection point and the edge point of the projected image.
- the first angle is calculated by the following formula:
- ⁇ is the first angle
- the lateral deformation ratio is calculated by the following formula:
- ⁇ n is the optical path angle of the nth pixel.
- the adjusting the projection image according to the deformation ratio comprises:
- a projection image correcting device configured to acquire a length of the projection optical axis and a distance between the projection point and an edge point of the projection image;
- the edge point of the projection image is: a perpendicular line of the optical axis point passing through the projection optical axis and an edge of the projected image Intersection point;
- a calculation module configured to calculate a deformation ratio of the pixel of the projection image on the projection surface according to the angle of view, the length of the projection optical axis, and the distance between the projection point and the edge point of the projection image;
- an adjustment module configured to adjust the projected image according to the deformation ratio.
- the angle of view includes: a width angle in a horizontal direction and an elevation angle in a vertical direction; the projection surface is perpendicular to a horizontal plane, and the projection optical axis is parallel to a horizontal plane.
- the calculation module is specifically configured to: calculate a lateral deformation ratio of the pixel of the projection image on the projection surface according to the width angle, the projection optical axis length, the first lateral distance, and the second lateral distance.
- the projected image has m pixels in the lateral direction and n pixels in the longitudinal direction, and the longitudinal deformation ratio corresponding to the m pixels in the lateral direction is calculated by the following formula;
- the calculation module is specifically configured to calculate a longitudinal deformation ratio corresponding to m pixel points in the lateral direction by using an algorithm:
- a 1 , a 2 , . . . , a m is a lateral deformation ratio corresponding to m pixel points in the lateral direction, and ⁇ is the elevation angle
- b 1 , b 2 , b 3 , . . . , b m are The longitudinal deformation ratio of the m pixel points in the lateral direction.
- the angle of view includes: a width angle in a horizontal direction and an elevation angle in a vertical direction;
- the calculating module is specifically configured to: calculate a longitudinal deformation ratio of a pixel of the projection image on the projection surface according to the height angle, the length of the projection optical axis, the first longitudinal distance, and the second longitudinal distance;
- the adjusting module is specifically configured to:
- Each column of the projected image is compressed or stretched to a normal display height according to the longitudinal deformation ratio.
- the calculating module is specifically configured to: calculate an optical path angle of the pixel according to the width angle; calculate a projection optical axis and a projection surface according to the width angle, the length of the projection optical axis, and the distance between the edge of the projected image and the projection point.
- the first angle between the two; according to the optical path angle and the first angle, the lateral deformation ratio of the pixel point is calculated.
- the computing module is specifically configured to:
- Is half of the width angle; a is the standard width of the pixel, n is the number of pixels included in each row in the projected image, and L is the length of the projection optical axis;
- optical path angle corresponding to each pixel point is sequentially calculated by the following formula:
- ⁇ n is the optical path angle corresponding to the nth pixel point.
- the first angle of the lateral deformation ratio is specifically calculated by the following method:
- DC is the distance between the optical axis point of the projection optical axis on the projection surface and the edge point of the projected image
- L is the length of the projection optical axis
- L 1 is the distance between the projection point and the edge point of the projected image.
- the first angle is calculated by the following formula:
- ⁇ is the first angle
- the calculating module is specifically configured to: calculate the deformation ratio by using the following formula:
- ⁇ n is the optical path angle of the nth pixel.
- the adjusting module is further configured to: generate a corresponding calibration curve according to the deformation ratio; use the calibration curve to adjust a shape size of the projected image; and project the adjusted projection image to the On the projection surface.
- another technical solution adopted by the embodiment of the present invention is to provide at least one projection device, a processor, and a ranging unit;
- the ranging unit is configured to acquire a length of the projection optical axis and a distance between the projection point and an edge point of the projection image; the edge point of the projection image is: an intersection of a perpendicular line passing through the optical axis point of the projection optical axis and an edge of the projection image;
- the processor is configured to calculate a deformation ratio of a pixel of the projection image on the projection surface according to the length of the projection optical axis acquired by the ranging unit, the distance between the projection point and the edge point of the projection image, and the angle of view of the projection device, and according to The deformation ratio adjusts a projection image; the projection device is configured to project the adjusted projection image onto the projection surface.
- the robot further includes a power device that drives the robot to move during projection of the projection device;
- the ranging module acquires a length of the projection optical axis and a distance between the projection point and the edge point of the projected image in real time;
- the processor is further configured to adjust a projection image according to the length of the projection optical axis and the distance between the projection point and the edge point of the projection image;
- the projection device is configured to project the adjusted projection image onto the projection surface .
- still another technical solution adopted by the embodiment of the present invention is to provide a computer program product including a software code portion.
- the software code portion is configured to perform the method steps as described above when run in a memory of the computer.
- the projection image correction method provided by the embodiment of the present invention calculates the deformation ratio of the projection image by the distance parameter and the angle of view of the projection device itself in a geometrical mathematical manner, and performs automatic correction accordingly. Through the correction process, the normal display of the projected image can still be maintained between the projection optical axis and the projection surface in a non-ideal state, thereby reducing the environmental requirements during the projection process, and expanding the scene in which the projection device can be normally used.
- Figure 1 is a schematic view of a typical optical projection device on a projection surface
- FIG. 2 is an application environment of a method for performing a projection image correction according to an embodiment of the present invention
- FIG. 3 is a schematic diagram showing a pixel point distribution of a typical projected image
- FIG. 4 is a flowchart of a method for correcting a projected image according to an embodiment of the present invention
- FIG. 5 is a schematic diagram of a method for calculating a lateral deformation ratio according to an embodiment of the present invention
- FIG. 6 is a schematic diagram of a usage scenario of a projection apparatus according to an embodiment of the present disclosure.
- FIG. 7 is a functional block diagram of a projection image correction apparatus according to an embodiment of the present invention.
- FIG. 8 is a structural block diagram of an electronic device according to an embodiment of the present invention.
- FIG. 9 is a schematic diagram of projections according to an embodiment of the present invention.
- An optical projection device is a commonly used device that can provide a larger display pattern with a smaller device volume. As shown in Fig. 1, in an optical projection device, it has a fixed projection optical axis AD and a projection surface for projection image display. The focus D of the projection optical axis AD on the projection surface is used to determine the position of the projected image on the projection surface, and the focus D is located at the center of the projected image.
- the optical projection device outputs a projection image to the projection surface at the projection point A according to the input image or other type of data signal, and presents it to the user.
- FIG. 2 is an application environment of a method for performing a projection image correction according to an embodiment of the present invention.
- the application environment includes a user 10, a projection device 20, a projection surface 30, a server 40, and a network 50.
- User 10 can be any group of people having the same or similar operational behavior, such as a family, work group, or individual.
- the user 10 can interact with the projection device 20 by any suitable type, one or more user interaction devices, such as a mouse, keyboard, remote control, touch screen, somatosensory camera or smart wearable device, inputting instructions or controlling the projection device 20 to perform One or more operations that display a projected image on projection surface 30 for presentation to one or more users.
- user interaction devices such as a mouse, keyboard, remote control, touch screen, somatosensory camera or smart wearable device, inputting instructions or controlling the projection device 20 to perform One or more operations that display a projected image on projection surface 30 for presentation to one or more users.
- Projection device 20 can be any suitable type of optical projection device.
- the projection device 20 can also be used as one of the functional modules integrated in a device having certain logic computing capabilities to provide one or more functions capable of meeting user requirements. For example, intelligent robots, laptops, sweeping robots, robot assistants, etc.
- the projection device 20 can also be disposed on a device having mobility capabilities, such as a robot with a power device or a sweeping robot.
- the device can move the projection device 20 according to a user's instructions or to meet a particular function, in accordance with a certain route or speed.
- the projection device can also be disposed on a device having a distance measuring device.
- the ranging device may specifically be any suitable ranging device for obtaining a distance from the target, such as an infrared ranging, a laser ranging device, and the like.
- the projection device 20 may also include one or more logical operation modules that perform any suitable type of function or operation in parallel, such as performing a particular function operation, in a single thread or multiple threads.
- the logic operation module can be any suitable type of electronic circuit or chip-type electronic device capable of performing logical operation operations, such as a single core processor, a multi-core processor, a graphics processing unit (GPU).
- the device may further be provided with a meter stored and called for execution by the logic operation module.
- a storage medium of a computer executable program that is executed by the logic computing module to perform one or more steps of a corresponding function.
- Server 30 can be any suitable electronic computing platform for performing account management.
- the user 10 can also interact with the server 40 by any suitable type, one or more user interaction devices, such as a mouse, keyboard, remote control, touch screen, somatosensory camera or smart wearable device, with input commands or control server 40 executing one One or more operations, such as outputting projected image data into the projection device 20.
- user interaction devices such as a mouse, keyboard, remote control, touch screen, somatosensory camera or smart wearable device, with input commands or control server 40 executing one One or more operations, such as outputting projected image data into the projection device 20.
- Network 50 may be any suitable wired or wireless network to enable a communication connection between two devices, such as the Internet, a local area network, or a wired cable.
- Server 40 may establish a communication connection with one or more different projection devices 20 over network 50 to upload or dispatch data/instructions.
- the calculation step of the projection image correction method provided by the embodiment of the present invention may be performed in any suitable device having logical operation capability, such as a server, a projection device, or a robot integrated with a projection device.
- the projection image correction method provided by the embodiment of the present invention can be further extended to other suitable application environments with multiple account management requirements, and is not limited to the application environment shown in FIG. 2. Although only one user 10, one projection device 20, and one server 40 are shown in FIG. However, those skilled in the art can understand that the application environment may also include more or fewer users, projection devices, and servers in actual application processes.
- the projected image can be represented by an array of m columns and n rows of pixels.
- the projection image may have a deformation in the lateral direction x and the longitudinal direction y.
- the projection device can separately calculate the deformation ratio in the lateral direction x or the longitudinal direction y in the projected image, and adjust the projected image according to the deformation ratio.
- FIG. 4 is a schematic diagram of a method for correcting a projected image according to an embodiment of the present invention.
- the projection image correction method can be performed in the application environment shown in FIG. 2 to ensure normal display of the projected image in the case where the projection device is not facing the projection surface.
- the method includes the following steps:
- the edge point of the projected image is an intersection of a perpendicular line passing through the optical axis point of the projection optical axis and an edge of the projected image.
- the field of view is a parameter value determined by the hardware device of the projection device, which is related to the focal length and the like, and can be obtained by finding data inside the projection device, which can represent the field of view of the projected image.
- the angle of view can be divided into two parameters: a width angle (angle BAC) and a height angle (angle B1AC1) in the horizontal direction and the vertical direction.
- optical axis point D Since the optical axis point D is located at the center of the projected image. Therefore, it can be used as a reference point to adjust the projected image before output to avoid distortion or stretching of the projected image.
- the adjustment of the projected image is an inverse function of the deformation ratio. For example, when the calculated deformation ratio is 5, the corresponding line in the projected image is compressed to the original one-fifth to maintain the normal display of the projected image.
- the projection point and the projected image edge point may include four edge points on the left and right sides and on the upper and lower sides (ie, point B and point C1 and point B1 and point C1).
- the distance between the projection point A and the edge point of the projected image may also include a first lateral distance AB and a second lateral distance AC between the projected image edge points formed by the straight line passing through the optical axis point.
- the deformation ratio can also summarize the deformation ratios in two mutually perpendicular directions, that is, the longitudinal deformation ratio and the lateral deformation ratio corresponding to the elevation angle and the width angle, respectively.
- calculating a lateral deformation ratio of the pixel point of the projection image on the projection surface according to the width angle, the projection optical axis length, the first lateral distance, and the second lateral distance, or according to the elevation angle, the projection light The length of the shaft, the first longitudinal distance, and the second longitudinal distance, and calculating the ratio of the longitudinal deformation of the pixel on the projection surface of the projected image
- the longitudinal deformation ratio of the pixel point may also be according to the height.
- the angular and lateral deformation ratios are calculated.
- the projection surface is perpendicular to a horizontal plane
- the projection optical axis is parallel to a horizontal plane
- the projected image has m pixels in a lateral direction and n pixels in a longitudinal direction:
- each pixel point is still perpendicular to the horizontal plane in the longitudinal direction, the pixels can be considered to constitute a plurality of similar trapezoids, and the pixel points in the longitudinal direction are equivalent in size. If a 1 , a 2 , ..., a m represents the lateral deformation ratio corresponding to m pixel points in the lateral direction. According to the principle of similar triangles, the longitudinal deformation ratios b 1 , b 2 , ..., b m at the corresponding m pixel points should be:
- ⁇ is the elevation angle
- the longitudinal deformation ratio may be first calculated, and then the longitudinal deformation is performed by a similar calculation method. The ratio calculates the lateral deformation ratio.
- the longitudinal deformation ratio needs to be deformed according to the lateral direction.
- the method is similarly calculated, that is, the longitudinal deformation ratio of the pixel on the projection surface of the projected image needs to be calculated according to the height angle, the projection optical axis distance, the first longitudinal distance, and the second longitudinal distance.
- each row of the projected image may be compressed or stretched to a normal display width according to the lateral deformation ratio, and each column of the projected image may be compressed according to the longitudinal deformation ratio. Or stretch to the normal display height.
- the acute angle BAC is the width angle of the projection device, and it is assumed that there are 6 pixel points in the lateral direction, and is evenly distributed between the ideal projection surfaces EF.
- L is the length of the projection optical axis AD
- a is the standard width at the time of normal display of the pixel.
- the value of a can be calculated by the formula (1).
- AD is the length of the projection optical axis
- AC belongs to the distance between the projection point and the edge point of the projected image. They can each be obtained by the ranging module ranging, and the angle ⁇ of the width angle is a known amount. Therefore, DC can be obtained according to the formula (2).
- the inclination angle ⁇ (ie, the angular ADC) between the projection optical axis and the projection surface can be obtained.
- x represents the width of pixel 1
- y represents the width of pixel 2
- z represents the width of pixel 3 .
- the object of the embodiment of the invention is to calculate the deformation ratio. Therefore, the ratio of x to y and the ratio of y to z can be calculated by combining equations (4-1) to (4-3).
- the unknown amount to be solved is required: the optical path angles ( ⁇ 1 , ⁇ 2 , ⁇ 3 ) of the respective pixel points can be Solving by the a value of the formula (1); the tilt angle ⁇ between the projection optical axis and the projection surface (ie, the angular ADC) can be solved by the formula (2) and the formula (3).
- the optical path angle and the tilt angle solved by the equations (1), (2), and (3) can be substituted into the simultaneous equations (5-1) and (5-2) to solve the pixel point 1, the pixel point 2, and the pixel.
- the optical path angle corresponding to the pixel point and the tilt angle between the projection optical axis and the projection surface can be calculated by any suitable means under different preconditions. , thereby further calculating the deformation ratio.
- Fig. 5 only the correction process of the projected portion of the projected image in the DC segment is described in detail. According to the idea disclosed in the embodiments of the present invention, the corresponding compression part in the projected image can also be calculated by using the same geometric mathematical principle.
- the deformation ratio is a positive value greater than one.
- the deformation ratio is a positive value between 0-1.
- lateral deformation ratios a 1 , a 2 , . . . , a n of the projected image and the longitudinal deformation ratios b 1 , b 2 , . . . , b m they may be integrated into corresponding calibration curves.
- a computer or a logic operation module In order to facilitate the adjustment of the projected image by a computer or a logic operation module.
- the calibration curve obtained by the integration can be stored in any suitable storage medium, and the projection device applies the calibration curve to correct the projected image and project the corrected image on the projection surface.
- a projection apparatus that performs the projection image correction method described in the above method embodiment can be applied to many different usage scenarios by using the embodiments of the present invention.
- Figure 6 is one of the usage scenarios.
- the user 10, the projection device 20, and the projection surface 30 are included.
- the projection device 20 is disposed on the robot and moves at a constant speed along the trajectory z1.
- the robot uses the projection device 20 to present a projected image for explanation to the user 10 on the projection surface 30.
- the projection image provided by the above method embodiment can be repeatedly executed in real time.
- the correction method implements real-time adjustment of the projected image following the movement of the robot.
- the projection device 20 can also be moved along the trajectory z2. During the movement along the trajectory z2, the length AD of the projection optical axis changes over time. Therefore, the projection device 20 needs to keep the shape and size of the projected image in accordance with its own zoom zoom.
- the height and width of the projected image are both in direct proportional relationship with the length AD of the projection optical axis. If it is assumed that the length change ratio of the length AD of the projection optical axis at any two moments is p, the projection device 20 can scale the projected image to be corrected to the original Then, the projection image correction method provided by the above method embodiment is repeatedly executed in real time to realize real-time adjustment of the projection image following the movement of the robot. Of course, it is also possible to adjust the scaling and correction execution order, that is, firstly perform the projection image correction method provided by the above method embodiment, and then scale the projection image.
- the projection device 20 may also be located at a fixed position z3.
- the projection device 20 can perform only one operation to acquire a corresponding calibration curve, that is, to keep the projected image from being stretched, deformed, or otherwise distorted during projection, maintaining the viewing experience of the user 10.
- the projection device 20 needs to remain in a stable position regardless of whether it is in a moving process. That is, the position of the optical axis point D of the projection optical axis AD needs to be maintained at a stable position.
- the method of specifically maintaining the projection optical axis at the optical axis point D is well known to those skilled in the art and can be adjusted and determined by the robot according to its trajectory and other suitable data, and will not be described herein.
- the projection image correction method provided by the above method embodiment can ensure that the image is not distorted when the projection optical axis does not have to be perpendicular to the wall surface or the screen surface. Further, by real-time correction operation, the projection device can also ensure that the image does not move without distortion during the small-range movement.
- the real-time correction provided by the projection image correction method can also allow the robot to perform a small range of movement during the projection process, such as a more vivid explanation, or move to indicate an item in the picture, or move a small range to complete other tasks while projecting.
- a small range of movement during the projection process such as a more vivid explanation, or move to indicate an item in the picture, or move a small range to complete other tasks while projecting.
- a variety of new scenarios can be implemented, which greatly enhances the user experience and meets the user's needs.
- FIG. 7 is a projection image correction apparatus according to an embodiment of the present invention.
- the device includes: a ranging module 100, a calculation module 200, and an adjustment module 300.
- the ranging module 100 is configured to acquire a length of the projection optical axis and a distance between the projection point and an edge point of the projection image; the edge point of the projection image is: a perpendicular line passing through the optical axis point of the projection optical axis The intersection with the edge of the projected image.
- the calculation module 200 is configured to calculate a deformation ratio of the pixel points of the projection image on the projection surface according to the angle of view, the length of the projection optical axis, and the distance between the projection point and the edge point of the projection image.
- the adjustment module 300 is configured to adjust the projection image according to the deformation ratio.
- the projection point and the edge point of the projected image may include four edge points on the left and right sides and the upper and lower sides.
- the corresponding data is output to the calculation module 200.
- the calculation module 200 combines some fixed parameters of the projection device, such as the angle of view, to calculate the deformation ratio of the projected image on the projection surface, and the adjustment module 300 acquires the deformation ratio calculated by the calculation module 200, corrects the projection image, and then projects the projection image. On the projection surface.
- the adjustment module 300 compresses the line to the original one-half, and maintains the normal display of the projection image on the projection surface.
- the adjustment module 300 is further configured to generate a corresponding calibration curve according to the deformation ratio of each pixel point obtained by the calculation module 200, for example, a curve composed of a deformation ratio in a lateral direction and a longitudinal direction.
- the deformation ratio consists of a curve.
- the adjustment module 300 can use the calibration curve to sequentially correct the projected image and project the corrected projected image onto the projection surface.
- the calculation module 300 may also apply the calculation method provided by the method embodiment above, obtain corresponding data, and calculate the lateral deformation ratio and/or the longitudinal deformation ratio.
- the projection image is calculated according to the width angle, the projection optical axis length, the first lateral distance, and the second lateral distance.
- a ratio of lateral deformation of the pixel on the projection surface a ratio of lateral deformation of the pixel on the projection surface; and then calculating a longitudinal deformation ratio of the pixel on the projection surface according to the height angle and the lateral deformation ratio, or according to the elevation angle, the length of the projection optical axis, and the first vertical direction
- the distance and the second longitudinal distance are used to calculate a longitudinal deformation ratio of the pixel points of the projection image on the projection surface; and then the lateral deformation ratio of the pixel points of the projection image on the projection surface is calculated according to the width angle and the longitudinal deformation ratio.
- FIG. 8 is a schematic structural diagram of hardware of an electronic device according to an embodiment of the present invention.
- the electronic device can be any suitable projection device or a robot provided with a projection device.
- the robot may also have one or more power devices for driving the robot to move along a particular trajectory.
- the device includes: one or more processors 810 and a memory 820, and one processor 810 is taken as an example in FIG.
- the processor 810 and the memory 820 may be connected by a bus or other means, and the bus connection is taken as an example in FIG.
- the memory 820 is a non-volatile computer readable storage medium and can be used to store non- The volatile software program, the non-volatile computer executable program, and the module, such as the program instruction/module corresponding to the projection image correction method in the embodiment of the present invention (for example, the ranging module 100 shown in FIG. 7 , the calculation module 200 And an adjustment module 300).
- the processor 810 executes various functional applications of the server and data processing by executing non-volatile software programs, instructions, and modules stored in the memory 820, that is, implementing the projection image correction method of the above method embodiment.
- the memory 820 may include a storage program area and a storage data area, wherein the storage program area may store an operating system, an application required for at least one function; the storage data area may store data created according to use of the projection image correction device, and the like.
- memory 820 can include high speed random access memory, and can also include non-volatile memory, such as at least one magnetic disk storage device, flash memory device, or other non-volatile solid state storage device.
- memory 820 can optionally include memory remotely disposed relative to processor 820, which can be coupled to the projected image correction device over a network. Examples of such networks include, but are not limited to, the Internet, intranets, local area networks, mobile communication networks, and combinations thereof.
- the one or more modules are stored in the memory 820, and when executed by the one or more processors 810, perform a projected image correction method in any of the above method embodiments.
- the computer software can be stored in a computer readable storage medium, which, when executed, can include the flow of an embodiment of the methods described above.
- the storage medium may be a magnetic disk, an optical disk, a read-only storage memory, or a random storage memory.
Landscapes
- Physics & Mathematics (AREA)
- Geometry (AREA)
- Engineering & Computer Science (AREA)
- Multimedia (AREA)
- Signal Processing (AREA)
- Transforming Electric Information Into Light Information (AREA)
- Projection Apparatus (AREA)
- Image Processing (AREA)
Abstract
Provided are a projected image correction method and device, and a robot. The correction method comprises: acquiring a length of a projection optical axis (AD) and a distance between a projection point (A) and an edge point of a projected image, the edge point of the projected image being an intersection point of a vertical line passing through an optical axis point (D) of the projection optical axis and an edge of the projected image (100); and calculating, according to a field of view, the length of the projection optical axis and the projection point (A), a deformation ratio of a pixel of the projected image on a projection plane (30) (200); and adjusting the projected image according to the deformation ratio (300). By performing correction, even if states of the projection optical axis (AD) and the projection plane (30) are not ideal, the projected image can be displayed normally, thereby lowering a requirement on an environment in a projection process, and expanding scenarios in which a projection device (20) can be normally used.
Description
本发明涉及投影技术领域,特别是涉及一种投影图像校正方法、校正装置及机器人。The present invention relates to the field of projection technology, and in particular, to a projection image correction method, a calibration device, and a robot.
在目前常用的光学投影技术中,为了得到清晰而且对焦准确的投影图像,需要一面平整的墙或者幕作为投影面。而且根据投影的光学原理,如图1所示,投影光轴A应保持与投影面(墙或幕)的相互垂直的位置关系,否则会导致投影图像在投影面上出现畸变。In the currently used optical projection technology, in order to obtain a clear and accurately focused projection image, a flat wall or curtain is required as a projection surface. Moreover, according to the optical principle of the projection, as shown in FIG. 1, the projection optical axis A should maintain a positional relationship with the projection surface (wall or curtain), otherwise the projection image may be distorted on the projection surface.
随着机器人技术的不断发展,小型化以及智能化等的要求,机器人(或其他类似的智能设备)越来越多的选择使用投影装置作为向用户展示图像或者内容的方式,光学投影装置的应用范围也越来越广泛。With the continuous development of robotics, miniaturization and intelligence, robots (or other similar smart devices) are increasingly choosing to use projection devices as a way to present images or content to users, the application of optical projection devices. The scope is also more and more extensive.
在实现本发明的过程中,发明人发现相关技术存在以下问题:在投影装置的使用过程中,由于不同场景的限制,无法保持投影光轴A与投影面保持相互垂直的理想状态,例如,投影装置应用在机器人上时,由于用户的最佳视角为正对图像的中心区,机器人如果也要投影光轴垂直于墙面或投影幕,则很可能自己把用户挡在了后面。In the process of implementing the present invention, the inventors have found that the related art has the following problem: during the use of the projection device, due to the limitation of different scenes, the ideal state in which the projection optical axis A and the projection surface are kept perpendicular to each other cannot be maintained, for example, projection. When the device is applied to the robot, since the user's optimal viewing angle is the central area of the image, if the robot also projects the optical axis perpendicular to the wall or the projection screen, it is likely to keep the user behind.
而在投影过程中,若投影光轴与投影面之间的倾斜角度较大时,投影图像将出现非常明显的非等比例拉伸失真,用户观感体验极差。In the projection process, if the tilt angle between the projection optical axis and the projection surface is large, the projected image will exhibit a very significant non-proportional stretching distortion, and the user experience is extremely poor.
发明内容Summary of the invention
本发明实施方式主要目的是在投影光轴与投影面存在倾斜角度时,降低投影图像的拉伸和失真,提高投影图像的稳定性。The main purpose of the embodiment of the present invention is to reduce the stretching and distortion of the projected image when the projection optical axis and the projection surface have an oblique angle, and improve the stability of the projected image.
为解决上述技术问题,本发明实施方式采用的一个技术方案是:提供一种投影图像校正方法。所述方法包括:In order to solve the above technical problem, one technical solution adopted by the embodiment of the present invention is to provide a projection image correction method. The method includes:
获取投影光轴长度以及投影点与投影图像边缘点的距离;所述投影图像边缘点为:穿过投影光轴的光轴点的垂线与投影图像边缘的交点;根据视场角、所述投影光轴长度和投影点与投影图像边缘点的距离,计算投影图像在投影面上像素点的变形比例;以及根据所述变形比例,调整投影图像。Obtaining a length of the projection optical axis and a distance between the projection point and the edge point of the projection image; the edge point of the projection image is: an intersection of a perpendicular line passing through the optical axis point of the projection optical axis and an edge of the projected image; according to the angle of view, A projection optical axis length and a distance between the projection point and the edge point of the projection image, calculating a deformation ratio of the pixel of the projection image on the projection surface; and adjusting the projection image according to the deformation ratio.
可选地,所述投影点与投影图像边缘点的距离包括:投影点与水平
穿过光轴点的直线形成的投影图像边缘点之间的第一横向距离和第二横向距离,投影点与垂直穿过光轴点的直线形成的投影图像边缘点之间的第一纵向距离和第二纵向距离。Optionally, the distance between the projection point and the edge point of the projected image includes: a projection point and a horizontal
a first lateral distance and a second lateral distance between edge points of the projected image formed by the straight line passing through the optical axis point, and a first longitudinal distance between the projected point and the edge point of the projected image formed by the straight line passing through the optical axis point vertically And the second longitudinal distance.
可选地,所述视场角包括:水平方向的宽度角和垂直方向的高度角;所述投影面与水平面垂直,所述投影光轴与水平面平行,Optionally, the angle of view includes: a width angle in a horizontal direction and an elevation angle in a vertical direction; the projection surface is perpendicular to a horizontal plane, and the projection optical axis is parallel to a horizontal plane.
所述计算投影图像在投影面上像素点的变形比例具体包括:根据宽度角、所述投影光轴长度、第一横向距离和第二横向距离,计算投影图像在投影面上像素点的横向变形比例;根据所述高度角和横向变形比例,计算投影图像在投影面上像素点的纵向变形比例。The calculating the deformation ratio of the pixel points on the projection surface of the projection image specifically includes: calculating a lateral deformation of the pixel of the projection image on the projection surface according to the width angle, the length of the projection optical axis, the first lateral distance, and the second lateral distance The ratio is calculated according to the height angle and the lateral deformation ratio, and the longitudinal deformation ratio of the pixel on the projection surface of the projected image is calculated.
可选地,所述投影图像的横向方向具有m个像素点,纵向方向具有n个像素点,通过如下算式计算所述横向方向上的m个像素点对应的纵向变形比例:Optionally, the projected image has m pixels in the lateral direction and n pixels in the longitudinal direction, and the longitudinal deformation ratio corresponding to the m pixels in the lateral direction is calculated by the following formula:
b1=n×a1
b 1 =n×a 1
b2=n×a1+a1×tanγb 2 =n×a 1 +a 1 ×tanγ
b3=n×a1+(a1+a2)×tanγb 3 =n×a 1 +(a 1 +a 2 )×tanγ
……......
bm=n×a1+(a1+a2+…+am-1)×tanγb m =n×a 1 +(a 1 +a 2 +...+a m-1 )×tanγ
其中,a1,a2,…,am为所述横向方向上的m个像素点对应的横向变形比例,γ为所述高度角,b1,b2,b3,…,bm为所述横向方向上的m个像素点对应的纵向变形比例。Wherein a 1 , a 2 , . . . , a m is a lateral deformation ratio corresponding to m pixel points in the lateral direction, and γ is the elevation angle, and b 1 , b 2 , b 3 , . . . , b m are The longitudinal deformation ratio of the m pixel points in the lateral direction.
可选地,所述视场角包括:水平方向的宽度角和垂直方向的高度角;所述计算投影图像在投影面上像素点的变形比例具体包括:根据高度角、所述投影光轴长度、第一纵向距离和第二纵向距离,计算投影图像在投影面上像素点的纵向变形比例;Optionally, the angle of view includes: a width angle in a horizontal direction and a height angle in a vertical direction; and calculating a deformation ratio of the pixel points on the projection surface of the projection image specifically includes: according to the height angle, the length of the projection optical axis a first longitudinal distance and a second longitudinal distance, and calculating a longitudinal deformation ratio of the pixel points of the projected image on the projection surface;
根据所述宽度角和所述纵向变形比例,计算投影图像在投影面上像素点的横向变形比例。可选地,所述根据所述变形比例,调整投影图像,具体包括:Calculating a lateral deformation ratio of the pixel points of the projected image on the projection surface according to the width angle and the longitudinal deformation ratio. Optionally, the adjusting the projection image according to the deformation ratio comprises:
根据所述横向变形比例,将投影图像的每一行压缩或者拉伸为正常显示宽度;Compressing or stretching each line of the projected image to a normal display width according to the lateral deformation ratio;
根据所述纵向变形比例,将投影图像的每一列压缩或者拉伸为正常显示高度。Each column of the projected image is compressed or stretched to a normal display height according to the longitudinal deformation ratio.
可选地,所述计算投影图像在投影面上像素点的横向变形比例,具体包括:Optionally, the calculating a ratio of the lateral deformation of the pixel on the projection surface of the projection image includes:
根据宽度角,计算像素点的光路角;Calculating the optical path angle of the pixel according to the width angle;
根据宽度角,投影光轴长度和投影图像边缘与投影点之间的距离,计算投影光轴与投影面之间的第一夹角;
Calculating a first angle between the projection optical axis and the projection surface according to the width angle, the length of the projection optical axis, and the distance between the edge of the projected image and the projection point;
根据所述光路角和第一夹角,计算获得像素点的横向变形比例。可选地,所述横向变形比例的光路角具体通过如下方法计算:According to the optical path angle and the first angle, the lateral deformation ratio of the pixel points is calculated. Optionally, the optical path angle of the lateral deformation ratio is specifically calculated by the following method:
通过如下算式,计算像素点的标准宽度:Calculate the standard width of the pixel by the following formula:
其中,为所述宽度角的一半;a为像素点的标准宽度,n为投影图像中每行包括的像素点数量,L为投影光轴长度 among them, Is half of the width angle; a is the standard width of the pixel, n is the number of pixels included in each line in the projected image, and L is the length of the projected optical axis
通过如下算式,依次计算各个像素点相对应的光路角:The optical path angle corresponding to each pixel point is sequentially calculated by the following formula:
αn为第n个像素点对应的光路角。α n is the optical path angle corresponding to the nth pixel point.
可选地,所述横向变形比例的第一夹角具体通过如下方法计算:Optionally, the first angle of the lateral deformation ratio is specifically calculated by the following method:
通过如下算式,计算投影光轴的光轴点与投影图像边缘点之间的距离:Calculate the distance between the optical axis point of the projected optical axis and the edge point of the projected image by the following formula:
其中,DC为投影光轴在投影面上的光轴点与投影图像边缘点之间的的距离,L为投影光轴长度,L1为投影点与投影图像边缘点之间的距离,为所述宽度角的一半;Where DC is the distance between the optical axis point of the projection optical axis on the projection surface and the edge point of the projected image, L is the length of the projection optical axis, and L 1 is the distance between the projection point and the edge point of the projected image. Half of the width angle;
根据光轴点与投影图像边缘点之间的距离,通过如下算式,计算所述第一夹角:According to the distance between the optical axis point and the edge point of the projected image, the first angle is calculated by the following formula:
其中,β为所述第一夹角。Where β is the first angle.
。.
可选地,所述横向变形比例通过如下算式计算:Optionally, the lateral deformation ratio is calculated by the following formula:
其中,y为第n-1个像素点的宽度;z为第n个像素点的宽度;为所述横向变形比例,αn为第n个像素点的光路角。Where y is the width of the n-1th pixel point; z is the width of the nth pixel point; For the lateral deformation ratio, α n is the optical path angle of the nth pixel.
可选地,所述根据所述变形比例,调整投影图像,具体包括:Optionally, the adjusting the projection image according to the deformation ratio comprises:
根据所述变形比例,生成对应的校正曲线;Generating a corresponding calibration curve according to the deformation ratio;
使用所述校正曲线,对应调整所述投影图像的形状尺寸;Using the calibration curve, correspondingly adjusting a shape size of the projected image;
将调整后的投影图像投影至所述投影面上。
Projecting the adjusted projected image onto the projection surface.
为解决上述技术问题,本发明实施方式采用的又一个技术方案是提供一种投影图像校正装置。该装置包括:测距模块,用于获取投影光轴长度以及投影点与投影图像边缘点的距离;所述投影图像边缘点为:穿过投影光轴的光轴点的垂线与投影图像边缘的交点;In order to solve the above technical problem, still another technical solution adopted by the embodiment of the present invention is to provide a projection image correcting device. The device comprises: a ranging module, configured to acquire a length of the projection optical axis and a distance between the projection point and an edge point of the projection image; the edge point of the projection image is: a perpendicular line of the optical axis point passing through the projection optical axis and an edge of the projected image Intersection point;
计算模块,用于根据视场角、所述投影光轴长度和投影点与投影图像边缘点的距离,计算投影图像在投影面上像素点的变形比例;a calculation module, configured to calculate a deformation ratio of the pixel of the projection image on the projection surface according to the angle of view, the length of the projection optical axis, and the distance between the projection point and the edge point of the projection image;
调整模块,用于根据所述变形比例,调整投影图像。And an adjustment module, configured to adjust the projected image according to the deformation ratio.
可选地,所述投影点与投影图像边缘点的距离包括:投影点与水平穿过光轴点的直线形成的投影图像边缘点之间的第一横向距离和第二横向距离,投影点与垂直穿过光轴点的直线形成的投影图像边缘点之间的第一纵向距离和第二纵向距离。Optionally, the distance between the projection point and the edge point of the projected image comprises: a first lateral distance and a second lateral distance between the projection point and a projection image edge point formed by a straight line passing through the optical axis point, and the projection point and A first longitudinal distance and a second longitudinal distance between edge points of the projected image formed by the straight line passing perpendicular to the optical axis point.
可选地,所述视场角包括:水平方向的宽度角和垂直方向的高度角;所述投影面与水平面垂直,所述投影光轴与水平面平行,Optionally, the angle of view includes: a width angle in a horizontal direction and an elevation angle in a vertical direction; the projection surface is perpendicular to a horizontal plane, and the projection optical axis is parallel to a horizontal plane.
所述计算模块具体用于:根据宽度角、所述投影光轴长度、第一横向距离和第二横向距离,计算投影图像在投影面上像素点的横向变形比例。可选地,所述投影图像的横向方向具有m个像素点,纵向方向具有n个像素点,通过如下算式计算所述横向方向上的m个像素点对应的纵向变形比例;The calculation module is specifically configured to: calculate a lateral deformation ratio of the pixel of the projection image on the projection surface according to the width angle, the projection optical axis length, the first lateral distance, and the second lateral distance. Optionally, the projected image has m pixels in the lateral direction and n pixels in the longitudinal direction, and the longitudinal deformation ratio corresponding to the m pixels in the lateral direction is calculated by the following formula;
所述计算模块具体用于,通过如下算式计算所述横向方向上的m个像素点对应的纵向变形比例:The calculation module is specifically configured to calculate a longitudinal deformation ratio corresponding to m pixel points in the lateral direction by using an algorithm:
b1=n×a1
b 1 =n×a 1
b2=n×a1+a1×tanγb 2 =n×a 1 +a 1 ×tanγ
b3=n×a1+(a1+a2)×tanγb 3 =n×a 1 +(a 1 +a 2 )×tanγ
……......
bm=n×a1+(a1+a2+…+am-1)×tanγb m =n×a 1 +(a 1 +a 2 +...+a m-1 )×tanγ
其中,a1,a2,…,am为所述横向方向上的m个像素点对应的横向变形比例,γ为所述高度角,b1,b2,b3,…,bm为所述横向方向上的m个像素点对应的纵向变形比例。Wherein a 1 , a 2 , . . . , a m is a lateral deformation ratio corresponding to m pixel points in the lateral direction, and γ is the elevation angle, and b 1 , b 2 , b 3 , . . . , b m are The longitudinal deformation ratio of the m pixel points in the lateral direction.
可选地,所述视场角包括:水平方向的宽度角和垂直方向的高度角;Optionally, the angle of view includes: a width angle in a horizontal direction and an elevation angle in a vertical direction;
所述计算模块具体用于:根据高度角、所述投影光轴长度、第一纵向距离和第二纵向距离,计算投影图像在投影面上像素点的纵向变形比例;The calculating module is specifically configured to: calculate a longitudinal deformation ratio of a pixel of the projection image on the projection surface according to the height angle, the length of the projection optical axis, the first longitudinal distance, and the second longitudinal distance;
根据所述宽度角和所述纵向变形比例,计算投影图像在投影面上像素点的横向变形比例。Calculating a lateral deformation ratio of the pixel points of the projected image on the projection surface according to the width angle and the longitudinal deformation ratio.
可选地,所述调整模块具体用于:
Optionally, the adjusting module is specifically configured to:
根据所述横向变形比例,将投影图像的每一行压缩或者拉伸为正常显示宽度;Compressing or stretching each line of the projected image to a normal display width according to the lateral deformation ratio;
根据所述纵向变形比例,将投影图像的每一列压缩或者拉伸为正常显示高度。Each column of the projected image is compressed or stretched to a normal display height according to the longitudinal deformation ratio.
可选地,所述计算模块具体用于:根据宽度角,计算像素点的光路角;根据宽度角,投影光轴长度和投影图像边缘与投影点之间的距离,计算投影光轴与投影面之间的第一夹角;根据所述光路角和第一夹角,计算获得像素点的横向变形比例。Optionally, the calculating module is specifically configured to: calculate an optical path angle of the pixel according to the width angle; calculate a projection optical axis and a projection surface according to the width angle, the length of the projection optical axis, and the distance between the edge of the projected image and the projection point. The first angle between the two; according to the optical path angle and the first angle, the lateral deformation ratio of the pixel point is calculated.
可选地,所述计算模块具体用于:Optionally, the computing module is specifically configured to:
通过如下算式,计算像素点的标准宽度:Calculate the standard width of the pixel by the following formula:
其中,为所述宽度角的一半;a为像素点的标准宽度,n为投影图像中每行包括的像素点数量,L为投影光轴长度; among them, Is half of the width angle; a is the standard width of the pixel, n is the number of pixels included in each row in the projected image, and L is the length of the projection optical axis;
通过如下算式,依次计算各个像素点相对应的光路角:The optical path angle corresponding to each pixel point is sequentially calculated by the following formula:
αn为第n个像素点对应的光路角。α n is the optical path angle corresponding to the nth pixel point.
可选地,所述计算模块具体用于:Optionally, the computing module is specifically configured to:
所述横向变形比例的第一夹角具体通过如下方法计算:The first angle of the lateral deformation ratio is specifically calculated by the following method:
通过如下算式,计算投影光轴的光轴点与投影图像边缘点之间的距离:Calculate the distance between the optical axis point of the projected optical axis and the edge point of the projected image by the following formula:
其中,DC为投影光轴在投影面上的光轴点与投影图像边缘点之间的的距离,L为投影光轴长度,L1为投影点与投影图像边缘点之间的距离,为所述宽度角的一半;Where DC is the distance between the optical axis point of the projection optical axis on the projection surface and the edge point of the projected image, L is the length of the projection optical axis, and L 1 is the distance between the projection point and the edge point of the projected image. Half of the width angle;
根据光轴点与投影图像边缘点之间的距离,通过如下算式,计算所述第一夹角:According to the distance between the optical axis point and the edge point of the projected image, the first angle is calculated by the following formula:
其中,β为所述第一夹角。Where β is the first angle.
可选地,所述计算模块具体用于:通过如下算式计算所述变形比例:Optionally, the calculating module is specifically configured to: calculate the deformation ratio by using the following formula:
其中,y为第n-1个像素点的宽度;z为第n个像素点的宽度;为所述横向变形比例,αn为第n个像素点的光路角。Where y is the width of the n-1th pixel point; z is the width of the nth pixel point; For the lateral deformation ratio, α n is the optical path angle of the nth pixel.
可选地,所述调整模块还用于:根据所述变形比例,生成对应的校正曲线;使用所述校正曲线,对应调整所述投影图像的形状尺寸;将调整后的投影图像投影至所述投影面上。Optionally, the adjusting module is further configured to: generate a corresponding calibration curve according to the deformation ratio; use the calibration curve to adjust a shape size of the projected image; and project the adjusted projection image to the On the projection surface.
为解决上述技术问题,本发明实施方式采用的又一个技术方案是提供包括至少一个投影装置、处理器以及测距单元;In order to solve the above technical problem, another technical solution adopted by the embodiment of the present invention is to provide at least one projection device, a processor, and a ranging unit;
所述测距单元用于获取投影光轴长度以及投影点与投影图像边缘点的距离;所述投影图像边缘点为:穿过投影光轴的光轴点的垂线与投影图像边缘的交点;所述处理器用于根据所述测距单元获取的投影光轴长度、投影点与投影图像边缘点的距离以及投影装置的视场角,计算投影图像在投影面上像素点的变形比例,以及根据所述变形比例,调整投影图像;所述投影装置用于将调整后的投影图像投影至投影面上。The ranging unit is configured to acquire a length of the projection optical axis and a distance between the projection point and an edge point of the projection image; the edge point of the projection image is: an intersection of a perpendicular line passing through the optical axis point of the projection optical axis and an edge of the projection image; The processor is configured to calculate a deformation ratio of a pixel of the projection image on the projection surface according to the length of the projection optical axis acquired by the ranging unit, the distance between the projection point and the edge point of the projection image, and the angle of view of the projection device, and according to The deformation ratio adjusts a projection image; the projection device is configured to project the adjusted projection image onto the projection surface.
可选地,所述机器人还包括动力装置;所述动力装置驱动所述机器人在投影装置的投影过程中移动;所述测距模块实时获取投影光轴长度以及投影点与投影图像边缘点的距离;所述处理器还用于根据所述投影光轴长度以及投影点与投影图像边缘点的距离的变化,相应的调整投影图像;所述投影装置用于将调整后的投影图像投影至投影面上。Optionally, the robot further includes a power device that drives the robot to move during projection of the projection device; the ranging module acquires a length of the projection optical axis and a distance between the projection point and the edge point of the projected image in real time; The processor is further configured to adjust a projection image according to the length of the projection optical axis and the distance between the projection point and the edge point of the projection image; the projection device is configured to project the adjusted projection image onto the projection surface .
为解决上述技术问题,本发明实施方式采用的又一个技术方案是提供一种包括软件代码部分的计算机程序产品。所述软件代码部分被配置用于当在计算机的存储器中运行时执行根据如上所述的方法步骤。In order to solve the above technical problem, still another technical solution adopted by the embodiment of the present invention is to provide a computer program product including a software code portion. The software code portion is configured to perform the method steps as described above when run in a memory of the computer.
本发明实施例提供的投影图像校正方法,以几何数学的方式,通过距离参数以及投影装置自身的视场角等,计算投影图像的变形比例,并据此进行自动校正。通过该校正过程,令投影光轴与投影面之间在非理想状态下,仍然能够保持投影图像的正常显示,从而降低了投影过程中对于环境的要求,拓展了投影装置可正常使用的场景。The projection image correction method provided by the embodiment of the present invention calculates the deformation ratio of the projection image by the distance parameter and the angle of view of the projection device itself in a geometrical mathematical manner, and performs automatic correction accordingly. Through the correction process, the normal display of the projected image can still be maintained between the projection optical axis and the projection surface in a non-ideal state, thereby reducing the environmental requirements during the projection process, and expanding the scene in which the projection device can be normally used.
图1为典型的光学投影装置在投影面的示意图;Figure 1 is a schematic view of a typical optical projection device on a projection surface;
图2为本发明实施例提供的执行投影图像校正方法的应用环境;2 is an application environment of a method for performing a projection image correction according to an embodiment of the present invention;
图3为典型的投影图像的像素点分布示意图;3 is a schematic diagram showing a pixel point distribution of a typical projected image;
图4为为本发明实施例提供的投影图像校正方法的方法流程图;4 is a flowchart of a method for correcting a projected image according to an embodiment of the present invention;
图5为本发明实施例提供的横向变形比例的计算方法示意图;FIG. 5 is a schematic diagram of a method for calculating a lateral deformation ratio according to an embodiment of the present invention; FIG.
图6为本发明实施例提供的投影装置的使用场景示意图;FIG. 6 is a schematic diagram of a usage scenario of a projection apparatus according to an embodiment of the present disclosure;
图7为本发明实施例提供的投影图像校正装置的功能框图;FIG. 7 is a functional block diagram of a projection image correction apparatus according to an embodiment of the present invention;
图8为本发明实施例提供的电子设备的结构框图;
FIG. 8 is a structural block diagram of an electronic device according to an embodiment of the present invention;
图9为本发明实施例提供的投影示意图。FIG. 9 is a schematic diagram of projections according to an embodiment of the present invention.
为了使本发明的目的、技术方案及优点更加清楚明白,以下结合附图及实施例,对本发明进行进一步详细说明。应当理解,此处所描述的具体实施例仅用以解释本发明,并不用于限定本发明。The present invention will be further described in detail below with reference to the accompanying drawings and embodiments. It is understood that the specific embodiments described herein are merely illustrative of the invention and are not intended to limit the invention.
光学投影装置是一种常用的,能够以较小的设备体积提供较大的显示图案的装置。如图1所示,在光学投影装置中,其具有固定的投影光轴AD以及供投影图像显示的投影面。投影光轴AD在投影面上的焦点D用于确定投影图像在投影面上的位置,焦点D位于投影图像的中央。光学投影装置根据输入的图像或者其它类型数据信号,在投影点A输出投影图像至投影面上,向用户展示。An optical projection device is a commonly used device that can provide a larger display pattern with a smaller device volume. As shown in Fig. 1, in an optical projection device, it has a fixed projection optical axis AD and a projection surface for projection image display. The focus D of the projection optical axis AD on the projection surface is used to determine the position of the projected image on the projection surface, and the focus D is located at the center of the projected image. The optical projection device outputs a projection image to the projection surface at the projection point A according to the input image or other type of data signal, and presents it to the user.
图2为本发明实施例提供的执行投影图像校正方法的应用环境。如图2所示,该应用环境包括:用户10、投影装置20、投影面30、服务器40以及网络50。FIG. 2 is an application environment of a method for performing a projection image correction according to an embodiment of the present invention. As shown in FIG. 2, the application environment includes a user 10, a projection device 20, a projection surface 30, a server 40, and a network 50.
用户10可以为具有任何数量的,具有相同或者相近操作行为的群体,例如家庭、工作组或者个人。用户10可以通过任何合适的类型的,一种或者多种用户交互设备与投影装置20交互,例如鼠标、键盘、遥控器、触摸屏、体感摄像头或者智能可穿戴设备,输入指令或者控制投影装置20执行一种或者多种操作,在投影面30上显示投影图像,向一个或者多个用户展示。 User 10 can be any group of people having the same or similar operational behavior, such as a family, work group, or individual. The user 10 can interact with the projection device 20 by any suitable type, one or more user interaction devices, such as a mouse, keyboard, remote control, touch screen, somatosensory camera or smart wearable device, inputting instructions or controlling the projection device 20 to perform One or more operations that display a projected image on projection surface 30 for presentation to one or more users.
投影装置20可以为任何合适类型的光学投影装置。在一些实施例中,该投影装置20还可以作为其中一个功能模块,整合在具有一定逻辑运算能力,提供一个或者多个能够满足用户需求的功能的设备上。例如,智能机器人、手提电脑、扫地机器人、机器人助手等。 Projection device 20 can be any suitable type of optical projection device. In some embodiments, the projection device 20 can also be used as one of the functional modules integrated in a device having certain logic computing capabilities to provide one or more functions capable of meeting user requirements. For example, intelligent robots, laptops, sweeping robots, robot assistants, etc.
在一些实施例中,投影装置20还可以设置在具有移动能力的设备上,例如具有动力装置的机器人或者扫地机器人等。该设备可以根据用户的指令或者为满足特定的功能,按照一定的路线或者速度,移动投影装置20。在另一些实施例中,投影装置还可以设置在具有测距装置的设备上。该测距装置具体可以是任何合适的,用以获取与目标之间距离的测距装置,例如红外测距、激光测距装置等。In some embodiments, the projection device 20 can also be disposed on a device having mobility capabilities, such as a robot with a power device or a sweeping robot. The device can move the projection device 20 according to a user's instructions or to meet a particular function, in accordance with a certain route or speed. In other embodiments, the projection device can also be disposed on a device having a distance measuring device. The ranging device may specifically be any suitable ranging device for obtaining a distance from the target, such as an infrared ranging, a laser ranging device, and the like.
所述投影装置20还可以包括一个或者多个逻辑运算模块,单线程或者多线程并行执行任何合适类型的功能或者操作,例如执行特定的函数运算等。所述逻辑运算模块可以是任何合适类型的,能够执行逻辑运算操作的电子电路或者贴片式电子器件,例如单核心处理器、多核心处理器、图形处理器(GPU)。The projection device 20 may also include one or more logical operation modules that perform any suitable type of function or operation in parallel, such as performing a particular function operation, in a single thread or multiple threads. The logic operation module can be any suitable type of electronic circuit or chip-type electronic device capable of performing logical operation operations, such as a single core processor, a multi-core processor, a graphics processing unit (GPU).
所述设备上还可以设置有存储有供逻辑运算模块调用和执行的计
算机可执行程序的存储介质,该程序在被所述逻辑运算模块执行用以实现对应的功能的一个或者多个步骤。The device may further be provided with a meter stored and called for execution by the logic operation module.
A storage medium of a computer executable program that is executed by the logic computing module to perform one or more steps of a corresponding function.
服务器30可以是任何合适的,用以执行账户管理的电子计算平台。用户10还可以通过任何合适的类型的,一种或者多种用户交互设备与服务器40交互,例如鼠标、键盘、遥控器、触摸屏、体感摄像头或者智能可穿戴设备,输入指令或者控制服务器40执行一种或者多种操作,例如输出投影图像数据至投影装置20中。 Server 30 can be any suitable electronic computing platform for performing account management. The user 10 can also interact with the server 40 by any suitable type, one or more user interaction devices, such as a mouse, keyboard, remote control, touch screen, somatosensory camera or smart wearable device, with input commands or control server 40 executing one One or more operations, such as outputting projected image data into the projection device 20.
网络50可以是任何合适的,用以实现两个设备之间通信连接的有线或者无线网络,例如因特网、局域网或者有线线缆。服务器40可以通过网络50与一个或者多个不同的投影装置20建立通信连接,上传或者下发数据/指令。 Network 50 may be any suitable wired or wireless network to enable a communication connection between two devices, such as the Internet, a local area network, or a wired cable. Server 40 may establish a communication connection with one or more different projection devices 20 over network 50 to upload or dispatch data/instructions.
在本应用环境中,本发明实施例提供的投影图像校正方法的计算步骤可以在任何合适的,具有逻辑运算能力的设备中执行,例如服务器、投影装置或者整合有投影装置的机器人。In this application environment, the calculation step of the projection image correction method provided by the embodiment of the present invention may be performed in any suitable device having logical operation capability, such as a server, a projection device, or a robot integrated with a projection device.
应当说明的是,本发明实施例提供的投影图像校正方法还可以进一步的拓展至其它合适的,具有多账户管理需要的应用环境中,而不限于图2中所示的应用环境。虽然图2中仅显示了1个用户10,1个投影装置20,1个服务器40。但本领域技术人员可以理解的是,在实际应用过程中,该应用环境还可以包括更多或者更少的用户、投影装置以及服务器。It should be noted that the projection image correction method provided by the embodiment of the present invention can be further extended to other suitable application environments with multiple account management requirements, and is not limited to the application environment shown in FIG. 2. Although only one user 10, one projection device 20, and one server 40 are shown in FIG. However, those skilled in the art can understand that the application environment may also include more or fewer users, projection devices, and servers in actual application processes.
惯常的,如图3所示,投影图像可以以m列和n行的像素点组成的阵列表示。投影装置在非正对投影面的情况下,投影图像会存在横向方向x以及纵向方向y上的变形。投影装置可以分别计算投影图像中沿横向方向x或者纵向方向y上的变形比例,并根据变形比例对投影图像进行调整。Conventionally, as shown in FIG. 3, the projected image can be represented by an array of m columns and n rows of pixels. In the case where the projection device is not facing the projection surface, the projection image may have a deformation in the lateral direction x and the longitudinal direction y. The projection device can separately calculate the deformation ratio in the lateral direction x or the longitudinal direction y in the projected image, and adjust the projected image according to the deformation ratio.
图4为本发明实施例提供的投影图像校正方法。该投影图像校正方法可以在图2所示的应用环境中执行,保证在投影装置在非正对投影面的情况下,投影图像的正常显示。FIG. 4 is a schematic diagram of a method for correcting a projected image according to an embodiment of the present invention. The projection image correction method can be performed in the application environment shown in FIG. 2 to ensure normal display of the projected image in the case where the projection device is not facing the projection surface.
如图4所示,该方法包括如下步骤:As shown in FIG. 4, the method includes the following steps:
100:获取投影光轴长度以及投影点与投影图像边缘点的距离。其中,所述投影图像边缘点为穿过投影光轴的光轴点的垂线与投影图像边缘的交点。100: Acquire the length of the projection optical axis and the distance between the projection point and the edge point of the projected image. Wherein, the edge point of the projected image is an intersection of a perpendicular line passing through the optical axis point of the projection optical axis and an edge of the projected image.
如图9所示,投影光轴在投影面上对应的光轴点D。投影光轴长度和投影图像边缘点(如点B和点C)之间的距离可以通过相应的测距装置获得。实际可以使用任何合适类型的用以计算距离的传感器或者电子设备,例如红外测距装置。As shown in FIG. 9, the projection optical axis corresponds to the optical axis point D on the projection surface. The distance between the projected optical axis length and the projected image edge points (such as point B and point C) can be obtained by the corresponding distance measuring device. Any suitable type of sensor or electronic device for calculating the distance, such as an infrared distance measuring device, can be used.
200:根据视场角、所述投影光轴长度和投影点与投影图像边缘点的距离,计算投影图像在投影面上像素点的变形比例。
200: Calculate a deformation ratio of a pixel of the projection image on the projection surface according to the angle of view, the length of the projection optical axis, and the distance between the projection point and the edge point of the projection image.
在正常的投影图像中,两两相邻的像素点之间的大小应该保持相等,例如图3所示的x1和x2应当相等。而在非理想的情况下,由于投影光轴的倾斜,会导致像素点大小比例出现变化,相邻的像素点大小不相等。在此,使用“变形比例”这样的词语描述上述像素点大小的比例变化。In a normal projected image, the size between two adjacent pixels should remain equal, for example, x1 and x2 shown in Figure 3 should be equal. In the non-ideal case, due to the tilt of the projection optical axis, the pixel point size ratio changes, and the adjacent pixel points are not equal in size. Here, the term "deformation ratio" is used to describe the proportional change in the size of the above pixel.
该视场角是由投影装置的硬件装置决定的参数值,其与焦距等相关,可以通过查找投影装置内部的数据获得,该视场角能够表示投影图像的视野范围。如图9所示,视场角可以分为沿水平方向以及垂直方向的宽度角(角BAC)和高度角(角B1AC1)两个参数。The field of view is a parameter value determined by the hardware device of the projection device, which is related to the focal length and the like, and can be obtained by finding data inside the projection device, which can represent the field of view of the projected image. As shown in FIG. 9, the angle of view can be divided into two parameters: a width angle (angle BAC) and a height angle (angle B1AC1) in the horizontal direction and the vertical direction.
300:根据所述变形比例,调整投影图像。300: Adjust the projected image according to the deformation ratio.
由于光轴点D位于投影图像的中心。因此,可以将其作为基准点,调整输出前的投影图像避免投影图像的失真或者拉伸的出现。Since the optical axis point D is located at the center of the projected image. Therefore, it can be used as a reference point to adjust the projected image before output to avoid distortion or stretching of the projected image.
对投影图像的调整为变形比例的反函数,例如,当计算变形比例为5时,则将投影图像中的对应行压缩为原来的五分之一,以保持投影图像的正常显示。The adjustment of the projected image is an inverse function of the deformation ratio. For example, when the calculated deformation ratio is 5, the corresponding line in the projected image is compressed to the original one-fifth to maintain the normal display of the projected image.
在一些实施例中,如图9所示,所述投影点与投影图像边缘点一共可以包括左右和上下两侧四个边缘点(即B点C点以及B1点和C1点)。相对应地,所述投影点A与投影图像边缘点的距离也可以包括投影点与水平穿过光轴点的直线形成的投影图像边缘点之间的第一横向距离AB和第二横向距离AC,投影点与垂直穿过光轴点的直线形成的投影图像边缘点之间的第一纵向距离AB1和第二纵向距离AC1。In some embodiments, as shown in FIG. 9, the projection point and the projected image edge point may include four edge points on the left and right sides and on the upper and lower sides (ie, point B and point C1 and point B1 and point C1). Correspondingly, the distance between the projection point A and the edge point of the projected image may also include a first lateral distance AB and a second lateral distance AC between the projected image edge points formed by the straight line passing through the optical axis point. And a first longitudinal distance AB1 and a second longitudinal distance AC1 between the projection point and the edge point of the projected image formed by the straight line passing through the optical axis point.
如图3所示,该变形比例也可以总结两个相互垂直方向上的变形比例,即分别与高度角和宽度角对应的纵向变形比例和横向变形比例。As shown in FIG. 3, the deformation ratio can also summarize the deformation ratios in two mutually perpendicular directions, that is, the longitudinal deformation ratio and the lateral deformation ratio corresponding to the elevation angle and the width angle, respectively.
为了保证投影图像在整体上的正常显示,需要获得纵向变形比例和横向变形比例。在一些实施例中,根据宽度角、所述投影光轴长度、第一横向距离和第二横向距离,计算投影图像在投影面上像素点的横向变形比例,或者根据高度角、所述投影光轴长度、第一纵向距离和第二纵向距离,计算投影图像在投影面上像素点的纵向变形比例In order to ensure the normal display of the projected image as a whole, it is necessary to obtain a longitudinal deformation ratio and a lateral deformation ratio. In some embodiments, calculating a lateral deformation ratio of the pixel point of the projection image on the projection surface according to the width angle, the projection optical axis length, the first lateral distance, and the second lateral distance, or according to the elevation angle, the projection light The length of the shaft, the first longitudinal distance, and the second longitudinal distance, and calculating the ratio of the longitudinal deformation of the pixel on the projection surface of the projected image
假设所述投影面与水平面垂直,所述投影光轴与水平面平行时(即投影光轴与投影面之间只存在水平方向上的夹角),像素点的纵向变形比例也可以根据所述高度角和横向变形比例计算获得。Assuming that the projection surface is perpendicular to the horizontal plane, and the projection optical axis is parallel to the horizontal plane (ie, there is only an angle between the projection optical axis and the projection surface in the horizontal direction), the longitudinal deformation ratio of the pixel point may also be according to the height. The angular and lateral deformation ratios are calculated.
上述根据横向变形比例推导纵向变形比例的计算方式,能够在满足假设条件的情况下,减少纵向变形比例的计算量,提高运算的速度。The above calculation method for deriving the longitudinal deformation ratio according to the lateral deformation ratio can reduce the calculation amount of the longitudinal deformation ratio and improve the calculation speed when the assumption is satisfied.
例如,假设所述投影面与水平面垂直,所述投影光轴与水平面平行,所述投影图像的横向方向具有m个像素点,纵向方向具有n个像素点:For example, assuming that the projection surface is perpendicular to a horizontal plane, the projection optical axis is parallel to a horizontal plane, the projected image has m pixels in a lateral direction and n pixels in a longitudinal direction:
由于各个像素点纵向上依然与水平面垂直,因此像素点之间可以认为是组成了多个相似梯形,纵向方向上的像素点大小相当。若以a1,a2,…,am表示所述横向方向上的m个像素点对应的横向变形比例。根
据相似三角形原理,在对应的m个像素点的纵向变形比例b1,b2,…,bm应当为:Since each pixel point is still perpendicular to the horizontal plane in the longitudinal direction, the pixels can be considered to constitute a plurality of similar trapezoids, and the pixel points in the longitudinal direction are equivalent in size. If a 1 , a 2 , ..., a m represents the lateral deformation ratio corresponding to m pixel points in the lateral direction. According to the principle of similar triangles, the longitudinal deformation ratios b 1 , b 2 , ..., b m at the corresponding m pixel points should be:
b1=n×a1
b 1 =n×a 1
b2=n×a1+a1×tanγ,n×a1+(a1+a2)×tanγb 2 =n×a 1 +a 1 ×tanγ,n×a 1 +(a 1 +a 2 )×tanγ
......
bm=n×a1+(a1+a2+…+am-1)×tanγb m =n×a 1 +(a 1 +a 2 +...+a m-1 )×tanγ
其中,γ为高度角。Where γ is the elevation angle.
相对应地,在另一些实施例中,若投影光轴只存在垂直方向上与投影面之间的夹角时,还可以首先计算纵向变形比例,然后再通过相类似的计算方式,根据纵向变形比例计算横向变形比例。Correspondingly, in other embodiments, if the projection optical axis only has an angle between the vertical direction and the projection surface, the longitudinal deformation ratio may be first calculated, and then the longitudinal deformation is performed by a similar calculation method. The ratio calculates the lateral deformation ratio.
在不符合上述假设的情况下(如投影面与水平面不垂直或者投影光轴与水平不平行,在水平方向和垂直方向上均存在夹角时),所述纵向变形比例则需要按照与横向变形比例相类似的方法计算,亦即需要根据高度角、所述投影光轴距离、第一纵向距离和第二纵向距离,计算投影图像在投影面上像素点的纵向变形比例。In the case that the above assumptions are not met (for example, if the projection surface is not perpendicular to the horizontal plane or the projection optical axis is not parallel to the horizontal, there is an angle between the horizontal direction and the vertical direction), the longitudinal deformation ratio needs to be deformed according to the lateral direction. The method is similarly calculated, that is, the longitudinal deformation ratio of the pixel on the projection surface of the projected image needs to be calculated according to the height angle, the projection optical axis distance, the first longitudinal distance, and the second longitudinal distance.
在横向变形比例和纵向变形比例计算完毕后,可以分别根据所述横向变形比例,将投影图像的每一行压缩或者拉伸为正常显示宽度以及根据所述纵向变形比例,将投影图像的每一列压缩或者拉伸为正常显示高度。通过这样的校正方式,将待校正的投影图像进行相应的变形处理,使最终投影在投影面上的投影图像得以正常显示。After the lateral deformation ratio and the longitudinal deformation ratio are calculated, each row of the projected image may be compressed or stretched to a normal display width according to the lateral deformation ratio, and each column of the projected image may be compressed according to the longitudinal deformation ratio. Or stretch to the normal display height. Through such a correction method, the projection image to be corrected is subjected to corresponding deformation processing, so that the projection image finally projected on the projection surface is normally displayed.
以下以图5所示的投影校正效果示意图为例,详细陈述上述投影图像的横向变形比例计算过程。本领域技术人员可以理解的是,在以下实施例中,只要将宽度角、第一横向距离和第二横向距离替换为相应的高度角、第一纵向距离和第二纵向距离即可用以计算纵向变形比例。The following is an example of the projection correction effect shown in FIG. 5, and the lateral deformation ratio calculation process of the above-described projected image is described in detail. It will be understood by those skilled in the art that in the following embodiments, the width angle, the first lateral distance, and the second lateral distance may be replaced by corresponding height angles, first longitudinal distances, and second longitudinal distances to calculate the vertical direction. Deformation ratio.
如图5所示,锐角BAC为投影装置的宽度角,假设横向方向上具有6个像素点,均匀的分布在理想投影面EF之间。As shown in FIG. 5, the acute angle BAC is the width angle of the projection device, and it is assumed that there are 6 pixel points in the lateral direction, and is evenly distributed between the ideal projection surfaces EF.
由于理想投影面EF与当前投影面之间形成一定的夹角。因此,投影图像DC会在横向方向上出现一定程度的拉伸变形,为计算拉伸形变的比例,需要进行如下的计算:Since the ideal projection surface EF forms a certain angle with the current projection surface. Therefore, the projected image DC will exhibit a certain degree of tensile deformation in the lateral direction. To calculate the ratio of the tensile deformation, the following calculation is required:
一方面,如图5所示,宽度角的角度α是已知量,α=2(α1+α2+α3),其中α1,α2,α3分别为像素点1、像素点2以及像素点3的光路角。On the one hand, as shown in Fig. 5, the angle α of the width angle is a known amount, α = 2 (α 1 + α 2 + α 3 ), where α 1 , α 2 , α 3 are pixel points 1, pixel points, respectively 2 and the optical path angle of pixel 3.
由图6中的几何关系可知:From the geometric relationship in Figure 6:
L为投影光轴AD的长度,a为像素点的正常显示时的标准宽度。通过算式(1)可以计算获得a的值。
L is the length of the projection optical axis AD, and a is the standard width at the time of normal display of the pixel. The value of a can be calculated by the formula (1).
进一步地,根据算式(1)计算获得的像素点的标准宽度a,可以通过如下的算式依次求解光路角α1,α2,α3
Further, the standard width a of the obtained pixel points is calculated according to the formula (1), and the optical path angles α 1 , α 2 , α 3 can be sequentially solved by the following formula
另一方面,在三角形ADC中,根据余弦定理可知:On the other hand, in a triangular ADC, according to the cosine theorem:
其中,AD为投影光轴长度,AC属于所述投影点与投影图像边缘点的距离。其分别可以通过测距模块测距获得,宽度角的角度α是已知量。因此,根据算式(2)可以获得DC。Where AD is the length of the projection optical axis, and AC belongs to the distance between the projection point and the edge point of the projected image. They can each be obtained by the ranging module ranging, and the angle α of the width angle is a known amount. Therefore, DC can be obtained according to the formula (2).
根据正弦定理可知:According to the sine theorem:
通过算式(2)计算获得的DC的值,可以求解获得投影光轴与投影面之间的倾斜角度β(即角ADC)。By calculating the value of the obtained DC by the formula (2), the inclination angle β (ie, the angular ADC) between the projection optical axis and the projection surface can be obtained.
在像素点1、像素点2以及像素点3与投影光轴AD围成的三角形中,根据正弦定理可知:In the triangle surrounded by the pixel point 1, the pixel point 2, and the pixel point 3 and the projection optical axis AD, according to the sine theorem:
其中,x表示像素点1的宽度,y表示像素点2的宽度,z表示像素点3的宽度。Where x represents the width of pixel 1 , y represents the width of pixel 2, and z represents the width of pixel 3 .
由于本发明实施例的目标在于计算变形比例。因此,可以联立算式(4-1)至(4-3),计算x与y的比值以及y与z的比值。The object of the embodiment of the invention is to calculate the deformation ratio. Therefore, the ratio of x to y and the ratio of y to z can be calculated by combining equations (4-1) to (4-3).
联立后:After the joint:
根据以上的描述,可以看到,在联立算式(5-1)和(5-2)中,需要进行求解的未知量:各个像素点的光路角(α1,α2,α3)可以通过算式
(1)的a值求解;投影光轴与投影面之间的倾斜角度β(即角ADC)则可以通过算式(2)和算式(3)求解。According to the above description, it can be seen that in the simultaneous equations (5-1) and (5-2), the unknown amount to be solved is required: the optical path angles (α 1 , α 2 , α 3 ) of the respective pixel points can be Solving by the a value of the formula (1); the tilt angle β between the projection optical axis and the projection surface (ie, the angular ADC) can be solved by the formula (2) and the formula (3).
因此,可以将算式(1),(2)和(3)求解的光路角和倾斜角度代入联立算式(5-1)和(5-2)中,求解像素点1,像素点2以及像素点3之间的变形比例。Therefore, the optical path angle and the tilt angle solved by the equations (1), (2), and (3) can be substituted into the simultaneous equations (5-1) and (5-2) to solve the pixel point 1, the pixel point 2, and the pixel. The ratio of deformation between points 3.
根据以上实施例揭露的计算方法,本领域技术人员可以理解的是,在计算获得像素点相应的光路角以及投影光轴与投影面之间的倾斜角度β以后,即可计算任意像素点的变形比例(即x与y的比值以及y与z的比值)。同样地,应用相同原理的方法也可以拓展至具有n个像素点的情况中,计算n个像素点中任意像素点的变形比例。According to the calculation method disclosed in the above embodiments, those skilled in the art can understand that after calculating the corresponding optical path angle of the pixel point and the tilt angle β between the projection optical axis and the projection surface, the deformation of any pixel point can be calculated. Proportion (ie the ratio of x to y and the ratio of y to z). Similarly, the method applying the same principle can be extended to the case where there are n pixel points, and the deformation ratio of any pixel point among the n pixel points is calculated.
在一些实施例中,基于几何数学的原理,在不同的已知量的前提下,还可以通过任何合适的方式计算获得像素点相应的光路角以及投影光轴与投影面之间的倾斜角度β,从而进一步的计算变形比例。In some embodiments, based on the principle of geometric mathematics, the optical path angle corresponding to the pixel point and the tilt angle between the projection optical axis and the projection surface can be calculated by any suitable means under different preconditions. , thereby further calculating the deformation ratio.
本领域技术人员可以理解的是,虽然,图5中显示的是横向方向为6个像素点的情况,但应用上述实施例揭露的思想和相同的几何数学原理,还可以进一步的推导至像素点为n个的情况。例如,在横向像素点数量为1080时,
It can be understood by those skilled in the art that, although the case where the horizontal direction is 6 pixels is shown in FIG. 5, the idea disclosed in the above embodiment and the same geometric mathematical principle can be further deduced to the pixel point. For n cases. For example, when the number of horizontal pixels is 1080,
在图5中,仅详细描述了在DC段,投影图像拉伸部分的校正过程。根据本发明实施例揭露的思想,投影图像中对应的压缩部分也可以采用相同的几何数学原理,计算获得其变形比例。In Fig. 5, only the correction process of the projected portion of the projected image in the DC segment is described in detail. According to the idea disclosed in the embodiments of the present invention, the corresponding compression part in the projected image can also be calculated by using the same geometric mathematical principle.
对于拉伸部分,其变形比例为大于1的正值。而对于压缩部分,其变形比例则为0-1之间的正值。For the stretched portion, the deformation ratio is a positive value greater than one. For the compressed part, the deformation ratio is a positive value between 0-1.
在一些实施例中,在计算获得投影图像的横向变形比例a1,a2,…,an以及纵向变形比例b1,b2,…,bm后,可以将其整合为相应的校正曲线,以便于计算机或者逻辑运算模块对投影图像进行调整。In some embodiments, after calculating the lateral deformation ratios a 1 , a 2 , . . . , a n of the projected image and the longitudinal deformation ratios b 1 , b 2 , . . . , b m , they may be integrated into corresponding calibration curves. In order to facilitate the adjustment of the projected image by a computer or a logic operation module.
整合获得的校正曲线可以存储在任何合适的存储介质中,投影装置应用该校正曲线对投影图像进行校正,并将校正后图像投影在投影面上。The calibration curve obtained by the integration can be stored in any suitable storage medium, and the projection device applies the calibration curve to correct the projected image and project the corrected image on the projection surface.
应用本发明实施例提供的,执行有如上方法实施例中描述的投影图像校正方法的投影装置可以满足许多不同使用场景。例如,图6为其中的一种使用场景。A projection apparatus that performs the projection image correction method described in the above method embodiment can be applied to many different usage scenarios by using the embodiments of the present invention. For example, Figure 6 is one of the usage scenarios.
如图6所示,在该使用场景中,包括用户10,投影装置20以及投影面30。投影装置20设置在机器人上,沿轨迹z1以恒定的速度移动。机器人使用投影装置20,在投影面30上向用户10展示用于讲解的投影图像。As shown in FIG. 6, in this usage scenario, the user 10, the projection device 20, and the projection surface 30 are included. The projection device 20 is disposed on the robot and moves at a constant speed along the trajectory z1. The robot uses the projection device 20 to present a projected image for explanation to the user 10 on the projection surface 30.
如图6所示,在沿轨迹z1的移动过程中,由于投影光轴的长度AD始终不变,因此,可以通过实时重复执行上述方法实施例提供的投影图
像校正方法实现投影图像跟随机器人移动的实时调整。As shown in FIG. 6, during the movement along the trajectory z1, since the length AD of the projection optical axis is always constant, the projection image provided by the above method embodiment can be repeatedly executed in real time.
The correction method implements real-time adjustment of the projected image following the movement of the robot.
请继续参阅图6,在另一些使用场景中,投影装置20还可以沿轨迹z2进行移动。在沿轨迹z2的移动过程中,投影光轴的长度AD会随时间发生变化。因此,投影装置20需要结合自身的变焦缩放保持投影图像的形状大小一致。With continued reference to FIG. 6, in other usage scenarios, the projection device 20 can also be moved along the trajectory z2. During the movement along the trajectory z2, the length AD of the projection optical axis changes over time. Therefore, the projection device 20 needs to keep the shape and size of the projected image in accordance with its own zoom zoom.
如上所述,根据光学投影原理,投影图像的高度和宽度均与投影光轴的长度AD成正比例关系。若假设在任意两个时刻的投影光轴的长度AD的长度变化比例为p,投影装置20可以将待校正的投影图像缩放为至原来的然后,再实时重复执行上述方法实施例提供的投影图像校正方法实现投影图像跟随机器人移动的实时调整。当然,还可以调整缩放和校正执行次序,即首先执行上述方法实施例提供的投影图像校正方法,然后再对投影图像进行缩放。As described above, according to the optical projection principle, the height and width of the projected image are both in direct proportional relationship with the length AD of the projection optical axis. If it is assumed that the length change ratio of the length AD of the projection optical axis at any two moments is p, the projection device 20 can scale the projected image to be corrected to the original Then, the projection image correction method provided by the above method embodiment is repeatedly executed in real time to realize real-time adjustment of the projection image following the movement of the robot. Of course, it is also possible to adjust the scaling and correction execution order, that is, firstly perform the projection image correction method provided by the above method embodiment, and then scale the projection image.
请继续参阅图6,在另一使用场景中,投影装置20也可以是位于固定位置z3处。在这样的使用场景中,投影装置20可以仅执行一次运算,获取对应的校正曲线,即可在投影过程中保持投影图像不被拉伸、变形或者其它的扭曲变形,保持用户10的观看体验。With continued reference to FIG. 6, in another usage scenario, the projection device 20 may also be located at a fixed position z3. In such a use scenario, the projection device 20 can perform only one operation to acquire a corresponding calibration curve, that is, to keep the projected image from being stretched, deformed, or otherwise distorted during projection, maintaining the viewing experience of the user 10.
在更多的使用场景中,投影装置20无论是否处于一个移动过程,其投影图像需要保持在一个稳定的位置中。亦即投影光轴AD的光轴点D的位置需要保持在稳定的位置上。具体令投影光轴保持指向光轴点D的方法为本领域技术人员所熟知,可以由机器人根据其运行轨迹以及其它合适的数据所调整和确定,在此不作赘述。In more usage scenarios, the projection device 20 needs to remain in a stable position regardless of whether it is in a moving process. That is, the position of the optical axis point D of the projection optical axis AD needs to be maintained at a stable position. The method of specifically maintaining the projection optical axis at the optical axis point D is well known to those skilled in the art and can be adjusted and determined by the robot according to its trajectory and other suitable data, and will not be described herein.
通过上述方法实施例提供的投影图像校正方法,可以使投影时光轴不必垂直于墙面或幕面也能保证图像不失真。进一步地,通过实时校正运算,还可以使投影设备在小范围移动的过程中也能够保证图像不移动不失真。The projection image correction method provided by the above method embodiment can ensure that the image is not distorted when the projection optical axis does not have to be perpendicular to the wall surface or the screen surface. Further, by real-time correction operation, the projection device can also ensure that the image does not move without distortion during the small-range movement.
这极大的方便了装置有投影装置的机器人随时为主人在大屏幕上展示内容。一方面,其可以在图像侧方一边投影一边很方便的进行讲解自身不会挡住主人。另一方面,在环境条件不允许,不得不从侧面成一个角度进行投影,也不会造成图像失真。This greatly facilitates the installation of the robot with the projection device at any time to display the content on the large screen. On the one hand, it can be easily projected on the side of the image and does not block the owner. On the other hand, it is not allowed in environmental conditions, and it has to be projected from the side at an angle without causing image distortion.
该投影图像校正方法提供的实时校正还可以允许机器人在投影过程中进行小范围的移动,如更生动的讲解,或者移动去指示图中某项内容,或者在投影同时小范围移动去完成其他任务以提升效率等等,可以实现很多种新的场景,使用户体验极大的提升,满足用户的使用需求。The real-time correction provided by the projection image correction method can also allow the robot to perform a small range of movement during the projection process, such as a more vivid explanation, or move to indicate an item in the picture, or move a small range to complete other tasks while projecting. In order to improve efficiency and so on, a variety of new scenarios can be implemented, which greatly enhances the user experience and meets the user's needs.
图7为本发明实施例提供的投影图像校正装置。该装置包括:测距模块100,计算模块200以及调整模块300。FIG. 7 is a projection image correction apparatus according to an embodiment of the present invention. The device includes: a ranging module 100, a calculation module 200, and an adjustment module 300.
其中,测距模块100用于获取投影光轴长度以及投影点与投影图像边缘点的距离;所述投影图像边缘点为:穿过投影光轴的光轴点的垂线
与投影图像边缘的交点。计算模块200用于根据视场角、所述投影光轴长度和投影点与投影图像边缘点的距离,计算投影图像在投影面上像素点的变形比例。调整模块300用于根据所述变形比例,调整投影图像。The ranging module 100 is configured to acquire a length of the projection optical axis and a distance between the projection point and an edge point of the projection image; the edge point of the projection image is: a perpendicular line passing through the optical axis point of the projection optical axis
The intersection with the edge of the projected image. The calculation module 200 is configured to calculate a deformation ratio of the pixel points of the projection image on the projection surface according to the angle of view, the length of the projection optical axis, and the distance between the projection point and the edge point of the projection image. The adjustment module 300 is configured to adjust the projection image according to the deformation ratio.
如图9所示,在投影装置,所述投影点与投影图像边缘点一共可以包括左右和上下两侧四个边缘点。As shown in FIG. 9, in the projection device, the projection point and the edge point of the projected image may include four edge points on the left and right sides and the upper and lower sides.
测距模块100获取到投影光轴长度以及投影点与投影图像边缘点的距离后,输出相应的数据至计算模块200中。计算模块200结合投影装置的一些固定参数,如视场角,计算投影图像在投影面上的变形比例,调整模块300获取计算模块200计算获得的变形比例,对投影图像进行校正后,再投影在投影面上。After the distance measuring module 100 acquires the length of the projection optical axis and the distance between the projection point and the edge point of the projected image, the corresponding data is output to the calculation module 200. The calculation module 200 combines some fixed parameters of the projection device, such as the angle of view, to calculate the deformation ratio of the projected image on the projection surface, and the adjustment module 300 acquires the deformation ratio calculated by the calculation module 200, corrects the projection image, and then projects the projection image. On the projection surface.
例如,计算模块计算获得投影图像的某一行在投影面上的横向变形比例为2时,调整模块300将该行压缩为原来的二分之一,保持投影图像在投影面上的正常显示。For example, when the calculation module calculates that the horizontal deformation ratio of a certain line of the projection image on the projection surface is 2, the adjustment module 300 compresses the line to the original one-half, and maintains the normal display of the projection image on the projection surface.
在一些实施例中,调整模块300还可以用于根据计算模块200计算获得的每个像素点相关的变形比例,生成对应的校正曲线,例如由横向方向上的变形比例组成的曲线和纵向方向上的变形比例组成的曲线。In some embodiments, the adjustment module 300 is further configured to generate a corresponding calibration curve according to the deformation ratio of each pixel point obtained by the calculation module 200, for example, a curve composed of a deformation ratio in a lateral direction and a longitudinal direction. The deformation ratio consists of a curve.
在生成校正曲线后,调整模块300可以使用所述校正曲线,依次对投影图像进行校正,并将校正后投影图像投影至投影面上。After generating the calibration curve, the adjustment module 300 can use the calibration curve to sequentially correct the projected image and project the corrected projected image onto the projection surface.
在另一些实施例中,所述计算模块300还可以应用如上方法实施例提供的计算方法,获取相应的数据,计算所述横向变形比例和/或纵向变形比例。In other embodiments, the calculation module 300 may also apply the calculation method provided by the method embodiment above, obtain corresponding data, and calculate the lateral deformation ratio and/or the longitudinal deformation ratio.
例如,在满足所述投影面与水平面垂直,所述投影光轴与水平面平行的假设条件下,根据宽度角、所述投影光轴长度、第一横向距离和第二横向距离,计算投影图像在投影面上像素点的横向变形比例;然后根据所述高度角和横向变形比例,计算投影图像在投影面上像素点的纵向变形比例,或者根据高度角、所述投影光轴长度、第一纵向距离和第二纵向距离,计算投影图像在投影面上像素点的纵向变形比例;然后根据所述宽度角和所述纵向变形比例,计算投影图像在投影面上像素点的横向变形比例。For example, under the assumption that the projection plane is perpendicular to the horizontal plane and the projection optical axis is parallel to the horizontal plane, the projection image is calculated according to the width angle, the projection optical axis length, the first lateral distance, and the second lateral distance. a ratio of lateral deformation of the pixel on the projection surface; and then calculating a longitudinal deformation ratio of the pixel on the projection surface according to the height angle and the lateral deformation ratio, or according to the elevation angle, the length of the projection optical axis, and the first vertical direction The distance and the second longitudinal distance are used to calculate a longitudinal deformation ratio of the pixel points of the projection image on the projection surface; and then the lateral deformation ratio of the pixel points of the projection image on the projection surface is calculated according to the width angle and the longitudinal deformation ratio.
图8是本发明实施例提供的电子设备的硬件结构示意图。该电子设备可以是任何合适的投影装置或者设置有投影装置的机器人。该机器人还可以具有一个或者多个动力装置,用以驱动机器人沿特定的轨迹移动。FIG. 8 is a schematic structural diagram of hardware of an electronic device according to an embodiment of the present invention. The electronic device can be any suitable projection device or a robot provided with a projection device. The robot may also have one or more power devices for driving the robot to move along a particular trajectory.
如图8所示,该设备包括:一个或多个处理器810以及存储器820,图8中以一个处理器810为例。As shown in FIG. 8, the device includes: one or more processors 810 and a memory 820, and one processor 810 is taken as an example in FIG.
处理器810、存储器820可以通过总线或者其他方式连接,图8中以通过总线连接为例。The processor 810 and the memory 820 may be connected by a bus or other means, and the bus connection is taken as an example in FIG.
存储器820作为一种非易失性计算机可读存储介质,可用于存储非
易失性软件程序、非易失性计算机可执行程序以及模块,如本发明实施例中的投影图像校正方法对应的程序指令/模块(例如,图7所示的测距模块100,计算模块200以及调整模块300)。处理器810通过运行存储在存储器820中的非易失性软件程序、指令以及模块,从而执行服务器的各种功能应用以及数据处理,即实现上述方法实施例投影图像校正方法。The memory 820 is a non-volatile computer readable storage medium and can be used to store non-
The volatile software program, the non-volatile computer executable program, and the module, such as the program instruction/module corresponding to the projection image correction method in the embodiment of the present invention (for example, the ranging module 100 shown in FIG. 7 , the calculation module 200 And an adjustment module 300). The processor 810 executes various functional applications of the server and data processing by executing non-volatile software programs, instructions, and modules stored in the memory 820, that is, implementing the projection image correction method of the above method embodiment.
存储器820可以包括存储程序区和存储数据区,其中,存储程序区可存储操作系统、至少一个功能所需要的应用程序;存储数据区可存储根据投影图像校正装置的使用所创建的数据等。此外,存储器820可以包括高速随机存取存储器,还可以包括非易失性存储器,例如至少一个磁盘存储器件、闪存器件、或其他非易失性固态存储器件。在一些实施例中,存储器820可选包括相对于处理器820远程设置的存储器,这些远程存储器可以通过网络连接至投影图像校正装置。上述网络的实例包括但不限于互联网、企业内部网、局域网、移动通信网及其组合。The memory 820 may include a storage program area and a storage data area, wherein the storage program area may store an operating system, an application required for at least one function; the storage data area may store data created according to use of the projection image correction device, and the like. Moreover, memory 820 can include high speed random access memory, and can also include non-volatile memory, such as at least one magnetic disk storage device, flash memory device, or other non-volatile solid state storage device. In some embodiments, memory 820 can optionally include memory remotely disposed relative to processor 820, which can be coupled to the projected image correction device over a network. Examples of such networks include, but are not limited to, the Internet, intranets, local area networks, mobile communication networks, and combinations thereof.
所述一个或者多个模块存储在所述存储器820中,当被所述一个或者多个处理器810执行时,执行上述任意方法实施例中的投影图像校正方法。The one or more modules are stored in the memory 820, and when executed by the one or more processors 810, perform a projected image correction method in any of the above method embodiments.
专业人员应该还可以进一步意识到,结合本文中所公开的实施例描述的各示例的单元及算法步骤,能够以电子硬件、计算机软件或者二者的结合来实现,为了清楚地说明硬件和软件的可互换性,在上述说明中已经按照功能一般性地描述了各示例的组成及步骤。这些功能究竟以硬件还是软件方式来执行,取决于技术方案的特定应用和设计约束条件。专业技术人员可以对每个特定的应用来使用不同方法来实现所描述的功能,但是这种实现不应认为超出本申请的范围。所述的计算机软件可存储于计算机可读取存储介质中,该程序在执行时,可包括如上述各方法的实施例的流程。其中,所述的存储介质可为磁碟、光盘、只读存储记忆体或随机存储记忆体等。A person skilled in the art should further appreciate that the elements and algorithm steps of the various examples described in connection with the embodiments disclosed herein can be implemented in electronic hardware, computer software, or a combination of both, in order to clearly illustrate hardware and software. Interchangeability, the composition and steps of the various examples have been generally described in terms of function in the above description. Whether these functions are performed in hardware or software depends on the specific application and design constraints of the solution. A person skilled in the art can use different methods to implement the described functions for each particular application, but such implementation should not be considered to be beyond the scope of the present application. The computer software can be stored in a computer readable storage medium, which, when executed, can include the flow of an embodiment of the methods described above. The storage medium may be a magnetic disk, an optical disk, a read-only storage memory, or a random storage memory.
以上所述仅为本发明的实施方式,并非因此限制本发明的专利范围,凡是利用本发明说明书及附图内容所作的等效结构或等效流程变换,或直接或间接运用在其他相关的技术领域,均同理包括在本发明的专利保护范围内。
The above is only the embodiment of the present invention, and is not intended to limit the scope of the invention, and the equivalent structure or equivalent process transformations made by the description of the invention and the drawings are directly or indirectly applied to other related technologies. The fields are all included in the scope of patent protection of the present invention.
Claims (25)
- 一种投影图像校正方法,其特征在于,包括:A projection image correction method, comprising:获取投影光轴长度以及投影点与投影图像边缘点的距离;所述投影图像边缘点为:穿过投影光轴的光轴点的垂线与投影图像边缘的交点;Obtaining a length of the projection optical axis and a distance between the projection point and an edge point of the projection image; the edge point of the projection image is: an intersection of a perpendicular line passing through the optical axis of the projection optical axis and an edge of the projected image;根据视场角、所述投影光轴长度和所述投影点与投影图像边缘点的距离,计算投影图像在投影面上像素点的变形比例;Calculating a deformation ratio of the pixel points of the projection image on the projection surface according to the angle of view, the length of the projection optical axis, and the distance between the projection point and the edge point of the projection image;根据所述变形比例,调整投影图像。The projected image is adjusted according to the deformation ratio.
- 根据权利要求1所述的方法,其特征在于,所述投影点与投影图像边缘点的距离包括:投影点与水平穿过光轴点的直线形成的投影图像边缘点之间的第一横向距离和第二横向距离,投影点与垂直穿过光轴点的直线形成的投影图像边缘点之间的第一纵向距离和第二纵向距离。The method according to claim 1, wherein the distance between the projection point and the edge point of the projected image comprises: a first lateral distance between the projection point and the edge point of the projected image formed by a straight line passing through the optical axis point. And a second lateral distance, a first longitudinal distance and a second longitudinal distance between the projected point and the edge point of the projected image formed by the straight line passing perpendicular to the optical axis point.
- 根据权利要求2所述的方法,其特征在于,所述视场角包括:水平方向的宽度角和垂直方向的高度角;The method according to claim 2, wherein the angle of view comprises: a width angle in a horizontal direction and an elevation angle in a vertical direction;所述投影面与水平面垂直,所述投影光轴与水平面平行,The projection surface is perpendicular to a horizontal plane, and the projection optical axis is parallel to a horizontal plane.所述计算投影图像在投影面上像素点的变形比例具体包括:根据宽度角、所述投影光轴长度、第一横向距离和第二横向距离,计算投影图像在投影面上像素点的横向变形比例;The calculating the deformation ratio of the pixel points on the projection surface of the projection image specifically includes: calculating a lateral deformation of the pixel of the projection image on the projection surface according to the width angle, the length of the projection optical axis, the first lateral distance, and the second lateral distance proportion;根据所述高度角和横向变形比例,计算投影图像在投影面上像素点的纵向变形比例。According to the height angle and the lateral deformation ratio, the longitudinal deformation ratio of the pixel points of the projected image on the projection surface is calculated.
- 根据权利要求3所述的方法,其特征在于,所述投影图像的横向方向具有m个像素点,纵向方向具有n个像素点,通过如下算式计算所述横向方向上的m个像素点对应的纵向变形比例:The method according to claim 3, wherein the projected image has m pixels in a lateral direction and n pixels in a longitudinal direction, and m pixels corresponding to the lateral direction are calculated by the following formula Longitudinal deformation ratio:b1=n×a1 b 1 =n×a 1b2=n×a1+a1×tanγb 2 =n×a 1 +a 1 ×tanγb3=n×a1+(a1+a2)×tanγb 3 =n×a 1 +(a 1 +a 2 )×tanγ············bm=n×a1+(a1+a2+…+am-1)×tanγb m =n×a 1 +(a 1 +a 2 +...+a m-1 )×tanγ其中,a1,a2,…,am为所述横向方向上的m个像素点对应的横向变形比例,γ为所述高度角,b1,b2,b3,…,bm为所述横向方向上的m个像素点对应的纵向变形比例。Wherein a 1 , a 2 , . . . , a m is a lateral deformation ratio corresponding to m pixel points in the lateral direction, and γ is the elevation angle, and b 1 , b 2 , b 3 , . . . , b m are The longitudinal deformation ratio of the m pixel points in the lateral direction.
- 根据权利要求2所述的方法,其特征在于,所述视场角包括:水平方向的宽度角和垂直方向的高度角;所述计算投影图像在投影面上像素点的变形比例具体包括:根据高度角、所述投影光轴长度、第一纵向距离和第二纵向距离,计算投影图像在投影面上像素点的纵向变形比例; The method according to claim 2, wherein the angle of view comprises: a width angle in a horizontal direction and a height angle in a vertical direction; and calculating a deformation ratio of the pixel points on the projection surface of the projection image comprises: Calculating a longitudinal deformation ratio of the pixel point of the projection image on the projection surface, the height angle, the length of the projection optical axis, the first longitudinal distance, and the second longitudinal distance;根据所述宽度角和所述纵向变形比例,计算投影图像在投影面上像素点的横向变形比例。Calculating a lateral deformation ratio of the pixel points of the projected image on the projection surface according to the width angle and the longitudinal deformation ratio.
- 根据权利要求3或5所述的方法,其特征在于,所述根据所述变形比例,调整投影图像,具体包括:The method according to claim 3 or 5, wherein the adjusting the projection image according to the deformation ratio comprises:根据所述横向变形比例,将投影图像的每一行压缩或者拉伸为正常显示宽度;Compressing or stretching each line of the projected image to a normal display width according to the lateral deformation ratio;根据所述纵向变形比例,将投影图像的每一列压缩或者拉伸为正常显示高度。Each column of the projected image is compressed or stretched to a normal display height according to the longitudinal deformation ratio.
- 根据权利要求3或5所述的方法,其特征在于,所述计算投影图像在投影面上像素点的横向变形比例,具体包括:The method according to claim 3 or 5, wherein the calculating the ratio of the lateral deformation of the pixel points on the projection surface of the projection image comprises:根据宽度角,计算像素点的光路角;Calculating the optical path angle of the pixel according to the width angle;根据宽度角,投影光轴长度和投影图像边缘与投影点之间的距离,计算投影光轴与投影面之间的第一夹角;Calculating a first angle between the projection optical axis and the projection surface according to the width angle, the length of the projection optical axis, and the distance between the edge of the projected image and the projection point;根据所述光路角和第一夹角,计算获得像素点的横向变形比例。According to the optical path angle and the first angle, the lateral deformation ratio of the pixel points is calculated.
- 根据权利要求7所述的方法,其特征在于,所述横向变形比例的光路角具体通过如下方法计算:The method according to claim 7, wherein the optical path angle of the lateral deformation ratio is specifically calculated by the following method:通过如下算式,计算像素点的标准宽度:Calculate the standard width of the pixel by the following formula:其中,为所述宽度角的一半;a为像素点的标准宽度,n为投影图像中每行包括的像素点数量,L为投影光轴长度; among them, Is half of the width angle; a is the standard width of the pixel, n is the number of pixels included in each row in the projected image, and L is the length of the projection optical axis;通过如下算式,依次计算各个像素点相对应的光路角:The optical path angle corresponding to each pixel point is sequentially calculated by the following formula:αn为第n个像素点对应的光路角。α n is the optical path angle corresponding to the nth pixel point.
- 根据权利要求7所述的方法,其特征在于,所述横向变形比例的第一夹角具体通过如下方法计算:The method according to claim 7, wherein the first angle of the lateral deformation ratio is specifically calculated by the following method:通过如下算式,计算投影光轴的光轴点与投影图像边缘点之间的距离:Calculate the distance between the optical axis point of the projected optical axis and the edge point of the projected image by the following formula:其中,DC为投影光轴在投影面上的光轴点与投影图像边缘点之间的的距离,L为投影光轴长度,L1为投影点与投影图像边缘点之间的距离,为所述宽度角的一半;Where DC is the distance between the optical axis point of the projection optical axis on the projection surface and the edge point of the projected image, L is the length of the projection optical axis, and L 1 is the distance between the projection point and the edge point of the projected image. Half of the width angle;根据光轴点与投影图像边缘点之间的距离,通过如下算式,计算所述第一夹角: According to the distance between the optical axis point and the edge point of the projected image, the first angle is calculated by the following formula:其中,β为所述第一夹角。Where β is the first angle.
- 根据权利要求7所述的方法,其特征在于,所述横向变形比例通过如下算式计算:The method according to claim 7, wherein said lateral deformation ratio is calculated by the following formula:
- 根据权利要求1-10任一所述的方法,其特征在于,所述根据所述变形比例,调整投影图像,具体包括:The method according to any one of claims 1 to 10, wherein the adjusting the projection image according to the deformation ratio comprises:根据所述变形比例,生成对应的校正曲线;Generating a corresponding calibration curve according to the deformation ratio;使用所述校正曲线,对应调整所述投影图像的形状尺寸;Using the calibration curve, correspondingly adjusting a shape size of the projected image;将调整后的投影图像投影至所述投影面上。Projecting the adjusted projected image onto the projection surface.
- 一种投影图像校正装置,其特征在于,包括:A projection image correction device, comprising:测距模块,用于获取投影光轴长度以及投影点与投影图像边缘点的距离;所述投影图像边缘点为:穿过投影光轴的光轴点的垂线与投影图像边缘的交点;a ranging module, configured to acquire a length of the projection optical axis and a distance between the projection point and an edge point of the projection image; the edge point of the projection image is: an intersection of a perpendicular line passing through the optical axis of the projection optical axis and an edge of the projection image;计算模块,用于根据视场角、所述投影光轴长度和投影点与投影图像边缘点的距离,计算投影图像在投影面上像素点的变形比例;a calculation module, configured to calculate a deformation ratio of the pixel of the projection image on the projection surface according to the angle of view, the length of the projection optical axis, and the distance between the projection point and the edge point of the projection image;调整模块,用于根据所述变形比例,调整投影图像。And an adjustment module, configured to adjust the projected image according to the deformation ratio.
- 根据权利要求12所述的装置,其特征在于,所述投影点与投影图像边缘点的距离包括:投影点与水平穿过光轴点的直线形成的投影图像边缘点之间的第一横向距离和第二横向距离,投影点与垂直穿过光轴点的直线形成的投影图像边缘点之间的第一纵向距离和第二纵向距离。The apparatus according to claim 12, wherein the distance between the projection point and the edge point of the projected image comprises: a first lateral distance between the projected point and the edge point of the projected image formed by the straight line passing through the optical axis point horizontally And a second lateral distance, a first longitudinal distance and a second longitudinal distance between the projected point and the edge point of the projected image formed by the straight line passing perpendicular to the optical axis point.
- 根据权利要求13所述的装置,其特征在于,所述视场角包括:水平方向的宽度角和垂直方向的高度角;The apparatus according to claim 13, wherein said angle of view comprises: a width angle in a horizontal direction and an elevation angle in a vertical direction;所述投影面与水平面垂直,所述投影光轴与水平面平行,The projection surface is perpendicular to a horizontal plane, and the projection optical axis is parallel to a horizontal plane.所述计算模块具体用于:根据宽度角、所述投影光轴长度、第一横向距离和第二横向距离,计算投影图像在投影面上像素点的横向变形比例。The calculation module is specifically configured to: calculate a lateral deformation ratio of the pixel of the projection image on the projection surface according to the width angle, the projection optical axis length, the first lateral distance, and the second lateral distance.
- 根据权利要求14所述的装置,其特征在于,所述投影图像的横向方向具有m个像素点,纵向方向具有n个像素点,通过如下算式计算所述横向方向上的m个像素点对应的纵向变形比例;The apparatus according to claim 14, wherein said projected image has m pixels in a lateral direction and n pixels in a longitudinal direction, and m pixels corresponding to said lateral direction are calculated by an equation Longitudinal deformation ratio;所述计算模块具体用于,通过如下算式计算所述横向方向上的m个 像素点对应的纵向变形比例:The calculation module is specifically configured to calculate m in the lateral direction by using the following formula The ratio of the longitudinal deformation corresponding to the pixel:b1=n×a1 b 1 =n×a 1b2=n×a1+a1×tanγb 2 =n×a 1 +a 1 ×tanγb3=n×a1+(a1+a2)×tanγb 3 =n×a 1 +(a 1 +a 2 )×tanγ············bm=n×a1+(a1+a2+…+am-1)×tanγb m =n×a 1 +(a 1 +a 2 +...+a m-1 )×tanγ其中,a1,a2,…,am为所述横向方向上的m个像素点对应的横向变形比例,γ为所述高度角,b1,b2,b3,…,bm为所述横向方向上的m个像素点对应的纵向变形比例。Wherein a 1 , a 2 , . . . , a m is a lateral deformation ratio corresponding to m pixel points in the lateral direction, and γ is the elevation angle, and b 1 , b 2 , b 3 , . . . , b m are The longitudinal deformation ratio of the m pixel points in the lateral direction.
- 根据权利要求13所述的装置,其特征在于,所述视场角包括:水平方向的宽度角和垂直方向的高度角;The apparatus according to claim 13, wherein said angle of view comprises: a width angle in a horizontal direction and an elevation angle in a vertical direction;所述计算模块具体用于:根据高度角、所述投影光轴长度、第一纵向距离和第二纵向距离,计算投影图像在投影面上像素点的纵向变形比例;The calculating module is specifically configured to: calculate a longitudinal deformation ratio of a pixel of the projection image on the projection surface according to the height angle, the length of the projection optical axis, the first longitudinal distance, and the second longitudinal distance;根据所述宽度角和所述纵向变形比例,计算投影图像在投影面上像素点的横向变形比例。Calculating a lateral deformation ratio of the pixel points of the projected image on the projection surface according to the width angle and the longitudinal deformation ratio.
- 根据权利要求14或16所述的装置,其特征在于,所述调整模块具体用于:The device according to claim 14 or 16, wherein the adjustment module is specifically configured to:根据所述横向变形比例,将投影图像的每一行压缩或者拉伸为正常显示宽度;Compressing or stretching each line of the projected image to a normal display width according to the lateral deformation ratio;根据所述纵向变形比例,将投影图像的每一列压缩或者拉伸为正常显示高度。Each column of the projected image is compressed or stretched to a normal display height according to the longitudinal deformation ratio.
- 根据权利要求14或16所述的装置,其特征在于,所述计算模块具体用于:The device according to claim 14 or 16, wherein the calculation module is specifically configured to:根据宽度角,计算像素点的光路角;Calculating the optical path angle of the pixel according to the width angle;根据宽度角,投影光轴长度和投影图像边缘与投影点之间的距离,计算投影光轴与投影面之间的第一夹角;Calculating a first angle between the projection optical axis and the projection surface according to the width angle, the length of the projection optical axis, and the distance between the edge of the projected image and the projection point;根据所述光路角和第一夹角,计算获得像素点的横向变形比例。According to the optical path angle and the first angle, the lateral deformation ratio of the pixel points is calculated.
- 根据权利要求17所述的装置,其特征在于,所述计算模块具体用于:The device according to claim 17, wherein the calculation module is specifically configured to:通过如下算式,计算像素点的标准宽度:Calculate the standard width of the pixel by the following formula:其中,为所述宽度角的一半;a为像素点的标准宽度,n为投影图像中每行包括的像素点数量,L为投影光轴长度; among them, Is half of the width angle; a is the standard width of the pixel, n is the number of pixels included in each row in the projected image, and L is the length of the projection optical axis;通过如下算式,依次计算各个像素点相对应的光路角: The optical path angle corresponding to each pixel point is sequentially calculated by the following formula:αn为第n个像素点对应的光路角。α n is the optical path angle corresponding to the nth pixel point.
- 根据权利要求19所述的装置,其特征在于,所述计算模块具体用于:The device according to claim 19, wherein the calculation module is specifically configured to:所述横向变形比例的第一夹角具体通过如下方法计算:The first angle of the lateral deformation ratio is specifically calculated by the following method:通过如下算式,计算投影光轴的光轴点与投影图像边缘点之间的距离:Calculate the distance between the optical axis point of the projected optical axis and the edge point of the projected image by the following formula:其中,DC为投影光轴在投影面上的光轴点与投影图像边缘点之间的的距离,L为投影光轴长度,L1为投影点与投影图像边缘点之间的距离,为所述宽度角的一半;Where DC is the distance between the optical axis point of the projection optical axis on the projection surface and the edge point of the projected image, L is the length of the projection optical axis, and L 1 is the distance between the projection point and the edge point of the projected image. Half of the width angle;根据光轴点与投影图像边缘点之间的距离,通过如下算式,计算所述第一夹角:According to the distance between the optical axis point and the edge point of the projected image, the first angle is calculated by the following formula:其中,β为所述第一夹角。Where β is the first angle.
- 根据权利要求18所述的装置,其特征在于,所述计算模块具体用于:通过如下算式计算所述变形比例:The device according to claim 18, wherein the calculation module is specifically configured to: calculate the deformation ratio by using the following formula:
- 根据权利要求12-21任一所述的装置,其特征在于,所述调整模块还用于:根据所述变形比例,生成对应的校正曲线;使用所述校正曲线,对应调整所述投影图像的形状尺寸;将调整后的投影图像投影至所述投影面上。The apparatus according to any one of claims 12 to 21, wherein the adjustment module is further configured to: generate a corresponding calibration curve according to the deformation ratio; and use the calibration curve to adjust the projection image correspondingly Shape size; the adjusted projected image is projected onto the projection surface.
- 一种机器人,其特征在于,包括至少一个投影装置、处理器以及测距单元;A robot comprising at least one projection device, a processor, and a ranging unit;所述测距单元用于获取投影光轴长度以及投影点与投影图像边缘点的距离;所述投影图像边缘点为:穿过投影光轴的光轴点的垂线与投影图像边缘的交点;The ranging unit is configured to acquire a length of the projection optical axis and a distance between the projection point and an edge point of the projection image; the edge point of the projection image is: an intersection of a perpendicular line passing through the optical axis point of the projection optical axis and an edge of the projection image;所述处理器用于根据所述测距单元获取的投影光轴长度、投影点与投影图像边缘点的距离以及投影装置的视场角,计算投影图像在投影面上像素点的变形比例,以及根据所述变形比例,调整投影图像; The processor is configured to calculate a deformation ratio of a pixel of the projection image on the projection surface according to the length of the projection optical axis acquired by the ranging unit, the distance between the projection point and the edge point of the projection image, and the angle of view of the projection device, and according to The deformation ratio is adjusted to adjust a projection image;所述投影装置用于将调整后的投影图像投影至投影面上。The projection device is configured to project the adjusted projection image onto the projection surface.
- 根据权利要求23所述的机器人,其特征在于,所述机器人还包括动力装置;The robot according to claim 23, wherein said robot further comprises a power unit;所述动力装置驱动所述机器人在投影装置的投影过程中移动;所述测距模块实时获取投影光轴长度以及投影点与投影图像边缘点的距离;The power device drives the robot to move during projection of the projection device; the ranging module acquires the length of the projection optical axis and the distance between the projection point and the edge point of the projected image in real time;所述处理器还用于根据所述投影光轴长度以及投影点与投影图像边缘点的距离的变化,相应的调整投影图像;The processor is further configured to adjust the projection image according to the length of the projection optical axis and the change of the distance between the projection point and the edge point of the projection image;所述投影装置用于将调整后的投影图像投影至投影面上。The projection device is configured to project the adjusted projection image onto the projection surface.
- 一种包括软件代码部分的计算机程序产品,其特征在于,所述软件代码部分被配置用于当在计算机的存储器中运行时执行根据权利要求1-11中任一项所述的方法步骤。 A computer program product comprising a software code portion, characterized in that the software code portion is configured to perform the method steps of any one of claims 1-11 when run in a memory of a computer.
Priority Applications (2)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201680002698.8A CN106797456B (en) | 2016-12-30 | 2016-12-30 | Projected picture correcting method, means for correcting and robot |
PCT/CN2016/113474 WO2018120011A1 (en) | 2016-12-30 | 2016-12-30 | Projected image correction method and device, and robot |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
PCT/CN2016/113474 WO2018120011A1 (en) | 2016-12-30 | 2016-12-30 | Projected image correction method and device, and robot |
Publications (1)
Publication Number | Publication Date |
---|---|
WO2018120011A1 true WO2018120011A1 (en) | 2018-07-05 |
Family
ID=58952336
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
PCT/CN2016/113474 WO2018120011A1 (en) | 2016-12-30 | 2016-12-30 | Projected image correction method and device, and robot |
Country Status (2)
Country | Link |
---|---|
CN (1) | CN106797456B (en) |
WO (1) | WO2018120011A1 (en) |
Cited By (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN111105367A (en) * | 2019-12-09 | 2020-05-05 | Oppo广东移动通信有限公司 | Face distortion correction method and device, electronic equipment and storage medium |
CN111179148A (en) * | 2019-12-30 | 2020-05-19 | 深圳优地科技有限公司 | Data display method and device |
CN113034631A (en) * | 2019-12-24 | 2021-06-25 | 华为技术有限公司 | Method and device for generating theme icon and computer equipment |
CN114257799A (en) * | 2021-11-15 | 2022-03-29 | 深圳市普渡科技有限公司 | Robot, projection method, and storage medium |
CN114449233A (en) * | 2020-10-30 | 2022-05-06 | 扬智科技股份有限公司 | Projection device and trapezoidal correction method thereof |
CN114827569A (en) * | 2022-04-24 | 2022-07-29 | 咪咕视讯科技有限公司 | Picture display method and device, virtual reality equipment and storage medium |
CN114972238A (en) * | 2022-05-20 | 2022-08-30 | 广东正业科技股份有限公司 | Method and device for calculating laminated battery cell coating value and storage medium |
Families Citing this family (11)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US10212404B2 (en) | 2017-06-14 | 2019-02-19 | Newtonoid Technologies, L.L.C. | Projection mapping system and apparatus |
US10027937B1 (en) * | 2017-06-14 | 2018-07-17 | Newtonoid Technologies, L.L.C. | Projection mapping system and apparatus |
US11856336B2 (en) | 2017-06-14 | 2023-12-26 | Newtonold Technologies, L.L.C. | Projection mapping system and apparatus |
US10495961B2 (en) | 2017-06-14 | 2019-12-03 | Newtonoid Technologies, L.L.C. | Projection mapping system and apparatus |
CN110852932B (en) * | 2018-08-21 | 2024-03-08 | 北京市商汤科技开发有限公司 | Image processing method and device, image equipment and storage medium |
CN109634032B (en) * | 2018-10-31 | 2021-03-02 | 歌尔光学科技有限公司 | Image processing method and device |
CN109523481B (en) * | 2018-11-09 | 2021-07-13 | 歌尔光学科技有限公司 | Method and device for correcting projector image distortion and computer readable storage medium |
CN111322949B (en) * | 2020-04-10 | 2022-03-11 | 广景视睿科技(深圳)有限公司 | Wall surface calibration method and side calibration method |
CN114650402B (en) * | 2020-12-21 | 2023-05-09 | 成都极米科技股份有限公司 | Method, system, device and medium for calculating and adjusting adjustment curve of projection image |
CN113052101B (en) * | 2021-03-31 | 2023-04-07 | 乐融致新电子科技(天津)有限公司 | Gesture recognition-based auxiliary physical education teaching method and device |
CN115379180B (en) * | 2021-05-17 | 2023-09-12 | 成都极米科技股份有限公司 | Projection picture adjusting method, device, equipment and storage medium |
Citations (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US5465121A (en) * | 1993-03-31 | 1995-11-07 | International Business Machines Corporation | Method and system for compensating for image distortion caused by off-axis image projection |
JP2001061121A (en) * | 1999-08-23 | 2001-03-06 | Nec Corp | Projector |
CN1582459A (en) * | 2001-06-12 | 2005-02-16 | 奥普提克斯晶硅有限公司 | System and method for correcting keystone distortion |
CN1704837A (en) * | 2004-05-31 | 2005-12-07 | 日本电气视象技术株式会社 | Projector with a device for measuring angle of inclination |
CN1806436A (en) * | 2003-06-13 | 2006-07-19 | 卡西欧计算机株式会社 | Projector with tilt-angle detecting capability |
CN101635813A (en) * | 2008-07-22 | 2010-01-27 | 精工爱普生株式会社 | Image processing device, image display device, and image data producing method |
CN105721842A (en) * | 2016-04-08 | 2016-06-29 | 北京海尔广科数字技术有限公司 | Projection method and device for robot with projection function as well as robot |
Family Cites Families (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP4155890B2 (en) * | 2003-07-15 | 2008-09-24 | カシオ計算機株式会社 | Projector, projector tilt angle acquisition method, and projection image correction method |
JP3879858B2 (en) * | 2003-09-26 | 2007-02-14 | セイコーエプソン株式会社 | Image processing system, projector, and image processing method |
US20140160169A1 (en) * | 2011-08-18 | 2014-06-12 | Nec Display Solutions, Ltd. | Image processing apparatus and image processing method |
CN102998885B (en) * | 2012-11-20 | 2015-09-02 | 芜湖市安曼特微显示科技有限公司 | To the method for projector image distortion correction |
CN105676572A (en) * | 2016-04-19 | 2016-06-15 | 深圳市神州云海智能科技有限公司 | Projection correction method and device for projector equipped on mobile robot |
-
2016
- 2016-12-30 WO PCT/CN2016/113474 patent/WO2018120011A1/en active Application Filing
- 2016-12-30 CN CN201680002698.8A patent/CN106797456B/en active Active
Patent Citations (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US5465121A (en) * | 1993-03-31 | 1995-11-07 | International Business Machines Corporation | Method and system for compensating for image distortion caused by off-axis image projection |
JP2001061121A (en) * | 1999-08-23 | 2001-03-06 | Nec Corp | Projector |
CN1582459A (en) * | 2001-06-12 | 2005-02-16 | 奥普提克斯晶硅有限公司 | System and method for correcting keystone distortion |
CN1806436A (en) * | 2003-06-13 | 2006-07-19 | 卡西欧计算机株式会社 | Projector with tilt-angle detecting capability |
CN1704837A (en) * | 2004-05-31 | 2005-12-07 | 日本电气视象技术株式会社 | Projector with a device for measuring angle of inclination |
CN101635813A (en) * | 2008-07-22 | 2010-01-27 | 精工爱普生株式会社 | Image processing device, image display device, and image data producing method |
CN105721842A (en) * | 2016-04-08 | 2016-06-29 | 北京海尔广科数字技术有限公司 | Projection method and device for robot with projection function as well as robot |
Cited By (13)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN111105367A (en) * | 2019-12-09 | 2020-05-05 | Oppo广东移动通信有限公司 | Face distortion correction method and device, electronic equipment and storage medium |
CN113034631A (en) * | 2019-12-24 | 2021-06-25 | 华为技术有限公司 | Method and device for generating theme icon and computer equipment |
US12112405B2 (en) | 2019-12-24 | 2024-10-08 | Petal Cloud Technology Co., Ltd. | Theme icon generation method and apparatus, and computer device |
CN111179148A (en) * | 2019-12-30 | 2020-05-19 | 深圳优地科技有限公司 | Data display method and device |
CN111179148B (en) * | 2019-12-30 | 2023-09-08 | 深圳优地科技有限公司 | Data display method and device |
CN114449233B (en) * | 2020-10-30 | 2023-12-01 | 扬智科技股份有限公司 | Projection device and its trapezoidal correction method |
CN114449233A (en) * | 2020-10-30 | 2022-05-06 | 扬智科技股份有限公司 | Projection device and trapezoidal correction method thereof |
US12028657B2 (en) | 2020-10-30 | 2024-07-02 | Ali Corporation | Projection device and keystone correction method thereof |
CN114257799A (en) * | 2021-11-15 | 2022-03-29 | 深圳市普渡科技有限公司 | Robot, projection method, and storage medium |
CN114827569B (en) * | 2022-04-24 | 2023-11-10 | 咪咕视讯科技有限公司 | Picture display method and device, virtual reality equipment and storage medium |
CN114827569A (en) * | 2022-04-24 | 2022-07-29 | 咪咕视讯科技有限公司 | Picture display method and device, virtual reality equipment and storage medium |
CN114972238B (en) * | 2022-05-20 | 2024-04-23 | 广东正业科技股份有限公司 | Method and device for calculating cladding value of laminated battery cell and storage medium |
CN114972238A (en) * | 2022-05-20 | 2022-08-30 | 广东正业科技股份有限公司 | Method and device for calculating laminated battery cell coating value and storage medium |
Also Published As
Publication number | Publication date |
---|---|
CN106797456B (en) | 2019-02-01 |
CN106797456A (en) | 2017-05-31 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
WO2018120011A1 (en) | Projected image correction method and device, and robot | |
CN110312111B (en) | Apparatus, system, and method for automatic calibration of image devices | |
US10643300B2 (en) | Image display method, custom method of shaped cambered curtain, and head-mounted display device | |
CN104778694B (en) | A kind of parametrization automatic geometric correction method shown towards multi-projection system | |
CN110716703B (en) | Image processing method and device of spliced screen and spliced screen | |
CN105046657B (en) | A kind of image stretch distortion self-adapting correction method | |
CN106780389B (en) | Fisheye image correction method and device based on coordinate transformation | |
US20120093365A1 (en) | Conference system, monitoring system, image processing apparatus, image processing method and a non-transitory computer-readable storage medium | |
US10565803B2 (en) | Methods and apparatuses for determining positions of multi-directional image capture apparatuses | |
CN102053812A (en) | Multi-projector combined display feedback brightness correction method | |
WO2021218542A1 (en) | Visual perception device based spatial calibration method and apparatus for robot body coordinate system, and storage medium | |
CN105430331A (en) | Method and device for adjusting display direction of monitor image | |
CN104902201B (en) | Based on moving view point with abnormity screen projection as real-time correction method | |
CN115190237A (en) | Method and equipment for determining rotation angle information of bearing equipment | |
CN106996769A (en) | A kind of active pose fast relocation method without camera calibration | |
CN103325109A (en) | Method used for correcting distortion of fish-eye image and applicable to wall-mounted panoramic video camera | |
CN115002427B (en) | A projection fusion method based on neural network | |
US10089726B2 (en) | Image processing apparatus, image processing method, and storage medium, relating to generating an image corresponding to a predetermined three-dimensional shape by transforming a captured image | |
WO2019096057A1 (en) | Dynamic image generation method, and processing device | |
JP6608920B2 (en) | Image processing method and camera | |
JP2009146150A (en) | Method and device for detecting feature position | |
CN109242941B (en) | Three-dimensional object synthesis using visual guidance as part of a two-dimensional digital image | |
Kang et al. | A highly accurate dense approach for homography estimation using modified differential evolution | |
Widodo et al. | Interaction using the projector screen and spot-light from a laser pointer: Handling some fundamentals requirements | |
CN108495106A (en) | A kind of portal crane simulator visual scene system and its image processing method and system |
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: 16925676 Country of ref document: EP Kind code of ref document: A1 |
|
NENP | Non-entry into the national phase |
Ref country code: DE |
|
32PN | Ep: public notification in the ep bulletin as address of the adressee cannot be established |
Free format text: NOTING OF LOSS OF RIGHTS PURSUANT TO RULE 112(1) EPC (EPO FORM 1205A DATED 25/10/2019) |
|
122 | Ep: pct application non-entry in european phase |
Ref document number: 16925676 Country of ref document: EP Kind code of ref document: A1 |