WO2017206392A1 - 图像校正方法、装置及投影仪 - Google Patents

图像校正方法、装置及投影仪 Download PDF

Info

Publication number
WO2017206392A1
WO2017206392A1 PCT/CN2016/099368 CN2016099368W WO2017206392A1 WO 2017206392 A1 WO2017206392 A1 WO 2017206392A1 CN 2016099368 W CN2016099368 W CN 2016099368W WO 2017206392 A1 WO2017206392 A1 WO 2017206392A1
Authority
WO
WIPO (PCT)
Prior art keywords
image
projector
displayed
coefficient
distance
Prior art date
Application number
PCT/CN2016/099368
Other languages
English (en)
French (fr)
Inventor
江锋
曾慧鹏
庄佳麟
Original Assignee
中兴通讯股份有限公司
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by 中兴通讯股份有限公司 filed Critical 中兴通讯股份有限公司
Publication of WO2017206392A1 publication Critical patent/WO2017206392A1/zh

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N9/00Details of colour television systems
    • H04N9/12Picture reproducers
    • H04N9/31Projection devices for colour picture display, e.g. using electronic spatial light modulators [ESLM]
    • H04N9/3179Video signal processing therefor
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T3/00Geometric image transformations in the plane of the image
    • G06T3/60Rotation of whole images or parts thereof
    • G06T3/608Rotation of whole images or parts thereof by skew deformation, e.g. two-pass or three-pass rotation
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T5/00Image enhancement or restoration
    • G06T5/80Geometric correction
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N5/00Details of television systems
    • H04N5/74Projection arrangements for image reproduction, e.g. using eidophor

Definitions

  • the present invention relates to the field of communications, and in particular to an image correction method, apparatus, and projector.
  • the projection on the screen will be deformed, and the shape will be a trapezoid, which will affect the user experience.
  • the trapezoidal correction is needed to redisplay the image on the screen in a rectangular area. .
  • the trapezoidal correction of the projected image has only the vertical keystone correction function, and there is no horizontal keystone correction function.
  • Most projection products have special optical control chips, and vertical keystone correction is implemented in the chip.
  • the optical control chip is used to implement correction through a complex interpolation algorithm, which is complicated in operation and affects efficiency.
  • Embodiments of the present invention provide an image correction method, apparatus, and projector to solve at least the problem that horizontal trapezoidal correction cannot be performed on a projected image in the related art.
  • an image correction method comprising: obtaining an inclination angle of a projector in a horizontal direction; determining, according to the acquired inclination angle, for pulling an image to be displayed in the projector a stretch factor of the stretch and a rotation coefficient for rotating the image to be displayed in the projector; correcting the image to be displayed in the projector according to the determined stretch coefficient and the rotation coefficient.
  • acquiring the tilt angle of the projector in a horizontal direction comprises: measuring, according to a distance measuring device carried by the projector, a first distance and a second distance of the ranging device along a preset direction to a projection screen a distance according to the first distance, the second distance, and the preset direction The preset angle of the plane of the lens of the projector determines the tilt angle.
  • determining the stretch factor for stretching the image to be displayed in the projector according to the obtained tilt angle and for using the image to be displayed in the projector includes: acquiring a projection angle of the projector, and a third distance from a preset viewpoint to the image to be displayed, wherein the projection angle is an angle covered by a projection area of the projector And according to the obtained tilt angle, the projection angle, and the third distance determine the stretch coefficient and the rotation coefficient.
  • determining the stretching coefficient and the rotation coefficient according to the obtained tilt angle, the projection angle, and the third distance comprise: determining a projection image according to the tilt angle and the projection angle a first vertical variation amount in a vertical direction, wherein the projection image is an image projected by the projector on a projection screen; determining a first level of the projection image in a horizontal direction according to the first vertical variation amount And a second horizontal change amount of the image to be displayed in a horizontal direction of a plane where the frame buffer is located, and the to-be-displayed image, according to the tilt angle, the projection angle, and the first horizontal change amount a second vertical variation amount of an image in a vertical direction of a plane in which the frame buffer is located; determining the stretch coefficient according to the second horizontal variation amount, the second vertical variation amount, and the third distance The rotation coefficient.
  • the stretch coefficient and the rotation coefficient are determined according to the second horizontal change amount, the second vertical change amount, and the third distance by a formula:
  • Tg( ⁇ ) d*(1-Y c )/X c ;
  • L is the tensile coefficient
  • is the rotation coefficient
  • Xc is the second horizontal variation
  • Yc is the second vertical variation
  • d is the third distance
  • correcting the image to be displayed of the frame buffer in the projector according to the stretch coefficient and the rotation coefficient comprises: stretching the image to be displayed according to the stretch coefficient to obtain a stretched image Rotating the stretched image according to the rotation coefficient to obtain a rotated image; acquiring a projection of the rotated image relative to a preset viewpoint on a plane of the image to be displayed, and obtaining a calibration The image to be displayed immediately after.
  • an image correction apparatus comprising: an acquisition module configured to acquire an inclination angle of a projector in a horizontal direction; and a determination module configured to determine to be used according to the acquired inclination angle a stretching coefficient for stretching an image to be displayed in the projector and a rotation coefficient for rotating an image to be displayed in the projector; a correction module configured to determine the stretching coefficient according to the The rotation coefficient corrects the image to be displayed in the projector.
  • the acquiring module includes: a measuring unit configured to measure, according to the ranging device carried by the projector, a first distance and a second distance of the ranging device along a preset direction to the projection screen; And a unit configured to determine the tilt angle according to the preset angle between the first distance, the second distance, and the preset direction and a plane of the lens of the projector.
  • the determining module includes: a first acquiring unit, configured to acquire a projection angle of the projector, and a third distance from a preset viewpoint to the image to be displayed, wherein the projection angle is the An angle covered by the projection area of the projector; a second determining unit configured to determine the stretch coefficient and the rotation coefficient according to the acquired tilt angle, the projection angle, and the third distance.
  • the correction module includes: a stretching unit configured to stretch the image to be displayed according to the stretching coefficient to obtain a stretched image; and a rotating unit configured to rotate the stretching according to the rotation coefficient And a second acquisition unit configured to acquire a projection of the rotated image relative to a preset viewpoint on a plane of the image to be displayed, to obtain a corrected image to be displayed.
  • a projector comprising: a central processing unit CPU and a graphics processing unit GPU, wherein the CPU is configured to acquire a tilt angle of the projector in a horizontal direction; The tilt angle determines a stretch factor for stretching an image to be displayed in the projector and a rotation coefficient for rotating an image to be displayed in the projector; the GPU, a CPU connection configured to correct the image to be displayed in the projector according to the determined stretch factor and the rotation coefficient.
  • the projector further includes: a distance measuring device connected to the CPU, configured to measure a first distance and a second distance of the ranging device along a preset direction to the projection screen, and send the first A distance and the second distance to the CPU.
  • a distance measuring device connected to the CPU, configured to measure a first distance and a second distance of the ranging device along a preset direction to the projection screen, and send the first A distance and the second distance to the CPU.
  • Another embodiment of the present invention provides a computer storage medium storing execution instructions for performing the method in the above embodiments.
  • the tilt angle of the projector in the horizontal direction is obtained; the stretch coefficient for stretching the image to be displayed in the projector and the image to be displayed in the projector are determined according to the acquired tilt angle Rotational rotation coefficient; correcting the image to be displayed in the projector according to the determined stretching coefficient and rotation coefficient, thereby, it can be seen that the stretching coefficient and the rotation coefficient are determined according to the inclination angle of the obtained projector in the horizontal direction by using the above scheme. Then, the stretched coefficient and the rotation coefficient are used to correct the displayed image, and the horizontal trapezoidal correction of the projected image is realized, thereby solving the problem that the horizontal trapezoidal correction of the projected image cannot be performed in the related art. Further, the horizontal trapezoidal correction of the projected image avoids the distortion of the projected image, so that the user can view the normal scale projection image and improve the user experience.
  • FIG. 1 is a block diagram showing the hardware structure of a mobile terminal of an image correction method according to an embodiment of the present invention
  • FIG. 2 is a flow chart of an image correction method according to an embodiment of the present invention.
  • FIG. 3 is a block diagram 1 of an image correcting apparatus according to an embodiment of the present invention.
  • FIG. 4 is a block diagram 2 of an image correction apparatus according to an embodiment of the present invention.
  • FIG. 5 is a block diagram 3 of an image correction apparatus according to an embodiment of the present invention.
  • FIG. 6 is a structural block diagram 4 of an image correcting apparatus according to an embodiment of the present invention.
  • FIG. 7 is a first schematic diagram of an image correction method according to an alternative embodiment of the present invention.
  • FIG. 8 is a second schematic diagram of an image correction method according to an alternative embodiment of the present invention.
  • FIG. 9 is a third schematic diagram of an image correction method according to an alternative embodiment of the present invention.
  • FIG. 10 is a fourth schematic diagram of an image correction method according to an alternative embodiment of the present invention.
  • FIG. 11 is a schematic diagram 5 of an image correction method according to an alternative embodiment of the present invention.
  • FIG. 12 is a flow chart of an image correction method in accordance with an alternate embodiment of the present invention.
  • Embodiment 1 of the present application can be executed in a mobile terminal, a computer terminal or the like.
  • the mobile terminal 10 may include one or more (only shown in the figure).
  • the processor 102 (the processor 102 may include, but is not limited to, a processing device such as a microprocessor MCU or a programmable logic device FPGA), a memory 104 for storing data, and a transmission device 106 for communication functions.
  • a processing device such as a microprocessor MCU or a programmable logic device FPGA
  • the memory 104 for storing data
  • a transmission device 106 for communication functions.
  • the structure shown in FIG. 1 is merely illustrative and does not limit the structure of the above electronic device.
  • the mobile terminal 10 may also include more or fewer components than those shown in FIG. 1, or have a different configuration than that shown in FIG.
  • the memory 104 can be used to store software programs and modules of application software, such as program instructions/modules corresponding to the image correction method in the embodiment of the present invention, and the processor 102 executes various programs by running software programs and modules stored in the memory 104. Functional application and data processing, that is, the above method is implemented.
  • Memory 104 may include high speed random access memory, and may also include non-volatile memory such as one or more magnetic storage devices, flash memory, or other non-volatile solid state memory.
  • memory 104 can further include remotely with respect to processor 102 A set of memories that can be connected to the mobile terminal 10 via a network. Examples of such networks include, but are not limited to, the Internet, intranets, local area networks, mobile communication networks, and combinations thereof.
  • Transmission device 106 is arranged to receive or transmit data via a network.
  • the above-described network specific example may include a wireless network provided by a communication provider of the mobile terminal 10.
  • the transmission device 106 includes a Network Interface Controller (NIC) that can be connected to other network devices through a base station to communicate with the Internet.
  • the transmission device 106 can be a Radio Frequency (RF) module for communicating with the Internet wirelessly.
  • NIC Network Interface Controller
  • RF Radio Frequency
  • FIG. 2 is a flowchart of an image correction method according to an embodiment of the present invention. As shown in FIG. 2, the process includes the following steps:
  • Step S202 acquiring an inclination angle of the projector in a horizontal direction
  • Step S204 determining a stretching coefficient for stretching an image to be displayed in the projector and a rotation coefficient for rotating the image to be displayed in the projector according to the acquired tilt angle;
  • Step S206 correcting the image to be displayed in the projector according to the determined stretching coefficient and rotation coefficient.
  • the image correction method described above may be, but is not limited to, applied to a scene of projection correction.
  • the image correction method described above may be, but is not limited to, applied to a terminal having a projection function, such as a projector, a mobile phone, a tablet computer, a notebook computer, a desktop computer, a smart wearable device, or the like.
  • a projection function such as a projector, a mobile phone, a tablet computer, a notebook computer, a desktop computer, a smart wearable device, or the like.
  • the rotation coefficient may be, but not limited to, a rotation angle and a rotation direction for indicating rotation of the image to be displayed.
  • the first distance and the second distance of the ranging device along the preset direction to the projection screen may be measured according to the ranging device carried by the projector, and then according to the first distance and the second distance.
  • the tilt angle is determined by the distance between the distance and the preset direction and the preset plane of the projector's lens.
  • the preset angle between the preset direction and the plane of the lens of the projector may be pre-stored, or may be obtained by measurement, and may be obtained by other methods, which is not limited in this embodiment.
  • the first distance measured by the infrared distance measuring device installed on the projector is D1
  • the second distance is D2
  • the preset angle between the two infrared distance measuring devices and the plane of the projector is angle 1
  • the relationship between the tilt angle and D1, D2, and angle 1 can be determined, so that the tilt angle can be determined.
  • the tilting angle of the projector can be obtained by using the distance measuring device carried by the projector, thereby determining the stretching coefficient and the rotation coefficient according to the tilting angle, and achieving horizontal trapezoidal correction of the projected image.
  • the projection angle of the projector and the third distance of the preset viewpoint to the image to be displayed may be acquired, and the projection angle is an angle covered by the projection area of the projector, and then according to The obtained tilt angle, projection angle, and third distance determine the stretch coefficient and the rotation coefficient.
  • the stretching coefficient and the rotation coefficient may be determined according to the obtained tilt angle, the projection angle, and the third distance by the following method, the method comprising the following steps:
  • Step 1 determining the first of the projected image in the vertical direction according to the tilt angle and the projection angle a vertical amount of change, wherein the projected image is an image projected by the projector on the projection screen;
  • Step 2 determining a first horizontal change amount of the projected image in a horizontal direction according to the first vertical change amount
  • Step 3 According to the tilt angle, the projection angle, and the first horizontal change amount, obtain a second horizontal change amount of the image to be displayed in a horizontal direction of the plane where the frame buffer is located, and a vertical direction of the plane where the image to be displayed is located in the frame buffer. a second amount of vertical change in direction;
  • Step 4 determining a stretch coefficient and a rotation coefficient according to the second horizontal change amount, the second vertical change amount, and the third distance.
  • the stretching coefficient and the rotation coefficient may be determined according to the second horizontal variation amount, the second vertical variation amount, and the third distance by, for example, the following formula:
  • Tg( ⁇ ) d*(1-Y c )/X c ;
  • L is the stretch factor
  • is the rotation coefficient
  • Xc is the second level change
  • Yc is the second vertical change
  • d is the third distance
  • the stretching coefficient and the rotation coefficient can be determined according to the inclination angle, thereby achieving horizontal trapezoidal correction of the projected image.
  • the image to be displayed may be corrected by the following method, and the image to be displayed may be stretched according to the stretching coefficient to obtain a stretched image, and then the image is rotated according to the rotation coefficient to obtain a rotation.
  • the image acquires a projection of the rotated image relative to the preset viewpoint on the plane of the image to be displayed, and obtains the corrected image to be displayed.
  • the obtained stretching coefficient and the rotation coefficient can be used to correct the image to be displayed in the frame buffer of the projector, so that the image projected by the projector onto the projection screen maintains the original ratio, thereby avoiding projection distortion and making the user
  • the normal scale projection image can be viewed, improving the user experience.
  • an image correction device is also provided, which is used to implement the above implementation.
  • the term “module” may implement a combination of software and/or hardware of a predetermined function.
  • the apparatus described in the following embodiments is preferably implemented in software, hardware, or a combination of software and hardware, is also possible and contemplated.
  • FIG. 3 is a block diagram showing the structure of an image correcting apparatus according to an embodiment of the present invention. As shown in FIG. 3, the apparatus includes:
  • an acquisition module 32 configured to obtain a tilt angle of the projector in a horizontal direction
  • a determination module 34 coupled to the acquisition module 32, configured to determine a stretch factor for stretching the image to be displayed in the projector according to the acquired tilt angle and for rotating the image to be displayed in the projector Rotation coefficient
  • a correction module 36 coupled to the determination module 34, is arranged to correct the image to be displayed in the projector based on the determined stretch factor and rotation coefficient.
  • the image correction method described above may be, but is not limited to, applied to a scene of projection correction.
  • the image correction method described above may be, but is not limited to, applied to a terminal having a projection function, such as a projector, a mobile phone, a tablet computer, a notebook computer, a desktop computer, a smart wearable device, or the like.
  • a projection function such as a projector, a mobile phone, a tablet computer, a notebook computer, a desktop computer, a smart wearable device, or the like.
  • the stretching coefficient and the rotation coefficient are determined according to the inclination angle of the obtained projector in the horizontal direction by using the above scheme.
  • the stretched coefficient and the rotation coefficient are used to correct the displayed image, and the horizontal trapezoidal correction of the projected image is realized, thereby solving the problem that the horizontal trapezoidal correction of the projected image cannot be performed in the related art.
  • the horizontal trapezoidal correction of the projected image avoids the distortion of the projected image, so that the user can view the normal scale projection image and improve the user experience.
  • the rotation coefficient may be, but is not limited to, indicating that the image to be displayed is rotated. The angle of rotation and the direction of rotation when turning.
  • FIG. 4 is a block diagram showing the structure of an image correcting apparatus according to an embodiment of the present invention.
  • the obtaining module 32 includes:
  • the measuring unit 42 is configured to measure the first distance and the second distance of the distance measuring device along the preset direction to the projection screen according to the distance measuring device carried by the projector;
  • the first determining unit 44 is coupled to the measuring unit 42 and configured to determine the tilt angle according to the preset angle between the first distance, the second distance and the preset direction and the plane of the lens of the projector.
  • the preset angle between the preset direction and the plane of the lens of the projector may be pre-stored, or may be obtained by measurement, and may be obtained by other methods, which is not limited in this embodiment.
  • FIG. 5 is a structural block diagram 3 of an image correcting apparatus according to an embodiment of the present invention.
  • the determining module 34 includes:
  • the first obtaining unit 52 is configured to acquire a projection angle of the projector, and a third distance from the preset viewpoint to the image to be displayed, wherein the projection angle is an angle covered by the projection area of the projector;
  • the second determining unit 54 coupled to the first obtaining unit 52, is configured to determine the stretching coefficient and the rotation coefficient based on the acquired tilt angle, the projection angle, and the third distance.
  • the second determining unit 54 is configured to: determine, according to the tilt angle and the projection angle, a first vertical change amount of the projected image in a vertical direction, where the projected image is an image projected by the projector on the projection screen; The vertical change amount determines a first horizontal change amount of the projected image in the horizontal direction; and according to the tilt angle, the projection angle, and the first horizontal change amount, acquires a second horizontal change of the image to be displayed in a horizontal direction of a plane where the frame buffer is located And a second vertical variation amount of the image to be displayed in a vertical direction of a plane in which the frame buffer is located; determining a stretch coefficient and a rotation coefficient according to the second horizontal change amount, the second vertical change amount, and the third distance.
  • the second determining unit 54 may determine the stretching coefficient and the rotation coefficient according to the second horizontal change amount, the second vertical change amount, and the third distance by using the following formula:
  • Tg( ⁇ ) d*(1-Y c )/X c ;
  • L is the stretch factor
  • is the rotation coefficient
  • Xc is the second level change
  • Yc is the second vertical change
  • d is the third distance
  • FIG. 6 is a structural block diagram of an image correcting apparatus according to an embodiment of the present invention. As shown in FIG. 6, the correcting module 36 includes:
  • a stretching unit 62 configured to stretch an image to be displayed according to a stretching coefficient to obtain a stretched image
  • a rotating unit 64 coupled to the stretching unit 62, configured to rotate the stretched image according to the rotation coefficient to obtain a rotated image
  • the second obtaining unit 66 is coupled to the rotating unit 64, and is configured to acquire a projection of the rotated image relative to the preset viewpoint on the plane of the image to be displayed, to obtain a corrected image to be displayed.
  • each of the above modules may be implemented by software or hardware.
  • the foregoing may be implemented by, but not limited to, the foregoing modules are all located in the same processor; or, the modules are located in multiple In the processor.
  • the projector may include, but is not limited to, a central processing unit CPU and a graphics processing unit GPU, wherein the CPU is configured to acquire a tilt angle of the projector in a horizontal direction; and determine, according to the acquired tilt angle, for the projector a stretching coefficient of the image to be stretched and a rotation coefficient for rotating the image to be displayed in the projector; the GPU, connected to the CPU, configured to correct the waiting in the projector according to the determined stretching coefficient and rotation coefficient Display the image.
  • a central processing unit CPU and a graphics processing unit GPU wherein the CPU is configured to acquire a tilt angle of the projector in a horizontal direction; and determine, according to the acquired tilt angle, for the projector a stretching coefficient of the image to be stretched and a rotation coefficient for rotating the image to be displayed in the projector
  • the GPU connected to the CPU, configured to correct the waiting in the projector according to the determined stretching coefficient and rotation coefficient Display the image.
  • the projector further includes: a distance measuring device, connected to the CPU, configured to measure the first distance and the second distance of the distance measuring device along the preset direction to the projection screen, and send the first distance and the second distance to CPU.
  • a distance measuring device connected to the CPU, configured to measure the first distance and the second distance of the distance measuring device along the preset direction to the projection screen, and send the first distance and the second distance to CPU.
  • An alternative embodiment of the present invention provides an image correction method.
  • the image correction method can be used for keystone correction in the software system of the smart projector. After analysis, there is a predetermined relationship between the rotation angle and the stretching coefficient of the image processing and the tilt angle of the projector, and the image to be output is subjected to secondary processing according to the predetermined relationship, and the powerful image processing capability of the GPU in the smart device is fully utilized. , to achieve the trapezoidal correction function.
  • the interface of each application is synthesized and synthesized into an image, which is buffered in the frame buffer and then output to the display device, that is, the projection.
  • the graphic in the frame buffer is a rectangular area.
  • the projection is a trapezoidal area due to the tilt of the projection direction. For example, when the projector is tilted to the right, the projected image may be stretched and deformed to the right.
  • the image correction method provided by the optional embodiment acquires the image to be displayed of the frame buffer before the image is outputted, and performs image processing by the GPU according to a predetermined relationship between the rotation angle and the stretching coefficient and the tilt angle of the projector.
  • the image is a trapezoidal area before the output, so that the projected image after projection will be a rectangular area.
  • the image correction method provided by the alternative embodiment will be described and described with the projector located on the left side of the screen as an example.
  • the image correction method when the projector is located on the right side of the screen is similar thereto. No longer.
  • the image correction method provided by this alternative embodiment may include, but is not limited to, the following steps:
  • Step 1 Find the tilt angle of the projector in the horizontal direction.
  • FIG. 7 is a first schematic diagram of an image correction method according to an alternative embodiment of the present invention.
  • two infrared distance measuring devices IrA, IrB are built in the projector, and a predetermined angle A_Ir is present in the infrared projection direction.
  • the CD is a projection plane, such as a wall or curtain.
  • the infrared distance measuring device is not a vertical projection, but has a preset angle A_Ir, which can expand the infrared projection range and reduce the error.
  • the OI originally perpendicular to the CD plane is tilted to the position of OH.
  • the length of AD and BC can be measured with an infrared distance measuring device.
  • the AB length is a fixed value.
  • BG AD, that is, DF is parallel to AB.
  • the tilt angle ⁇ can be determined by infrared ranging.
  • step 2 the change before and after the tilt of the projected image in the vertical direction (ie, the first vertical change amount) is analyzed.
  • FIG. 8 is a second schematic diagram of an image correction method according to an alternative embodiment of the present invention. As shown in FIG. 8, the angle between the left side and the right side of the projection coverage is 2 ⁇ (ie, the projection angle), and the tilt angle is ⁇ .
  • the projection position is DE before the left side of the projector, and the projection position is BC after the tilt. It can be assumed that the tilt from DE to OF and then from OF to BC.
  • BC DE * cos ( ⁇ ) / cos ( ⁇ - ⁇ ).
  • the first vertical variation amount is cos( ⁇ )/cos( ⁇ - ⁇ ).
  • step 3 the change of the projected image before and after tilting in the horizontal direction (ie, the first horizontal change amount) is analyzed.
  • FIG. 9 is a third schematic diagram of an image correction method according to an alternative embodiment of the present invention.
  • the horizontal width of the projected image should be corrected to the original cos( ⁇ )/cos( ⁇ - ⁇ ) times.
  • the width W after the horizontal correction is satisfied satisfies the formula:
  • the first horizontal change amount is 2 sin( ⁇ )/cos( ⁇ - ⁇ )*AO.
  • step 4 the trapezoid in the frame buffer after the correction is analyzed.
  • FIG. 10 is a schematic diagram 4 of an image correction method according to an alternative embodiment of the present invention. As shown in FIG. 10, step 4 includes the following steps:
  • step 4-1 ⁇ shown in Fig. 10 is obtained.
  • the projected image before correction is trapezoidal BCED, and the corrected projected image is rectangular BCGF.
  • the image to be displayed in the frame buffer before uncorrection is a rectangle BCIH, and the image to be displayed in the frame buffer after correction is a trapezoid BCKJ.
  • step 4-2 the abscissa of the J point in the frame buffer (ie, the second level of change) is obtained.
  • step 4-3 the ordinate of the K point in the frame buffer (ie, the second vertical variation) is obtained.
  • step 5 the stretching coefficient and the rotation coefficient are determined.
  • FIG. 11 is a schematic diagram 5 of an image correction method according to an alternative embodiment of the present invention.
  • the four vertex coordinates are O(0,0,0), G(0,1,0), B(1,1,0), A(1,0,0).
  • L 2 Xc 2 /Yc 2 +HO 2 *(1-Yc) 2 /Yc 2 ;
  • Tg( ⁇ ) HO*(1-Yc)/Xc.
  • H is the preset viewpoint, that is, HO is the third distance d, and after the viewpoint H is set, the stretching coefficient L and the rotation coefficient ⁇ can be obtained.
  • Step 6 Correct the image to be displayed.
  • the image is stretched horizontally first, and the width is stretched from 1 to L.
  • the angle ⁇ is rotated counterclockwise to obtain a trapezoidal OCDG.
  • FIG. 12 is a flowchart of an image correction method according to an alternative embodiment of the present invention. As shown in FIG. 12, the flow includes the following steps:
  • step S1202 infrared ranging is performed by an infrared ranging device installed on the projector, and the tilt angle is calculated.
  • Step S1204 Before the data of the frame buffer has not been output to the display device, the image to be displayed of the frame buffer is taken out.
  • step S1206 the rotation coefficient and the stretching coefficient are calculated according to a specific relationship between the rotation coefficient and the stretching coefficient and the tilt angle of the projector.
  • step S1208 the image is stretched by the GPU.
  • step S1210 the image is rotated by the GPU to implement horizontal trapezoidal correction.
  • step S1212 the corrected image to be displayed is re-outputted to the frame buffer and output to the display device.
  • the trapezoidal correction method can be performed in the intelligent projection software system by using the innovative trapezoidal correction method provided by the embodiment and the optional embodiment of the present invention, and the optical processing chip does not need to have a trapezoidal correction function.
  • Software correction is implemented, and there is already a GPU in the intelligent projection system, and no additional processing chip or hardware circuit is needed.
  • the tilt angle can be automatically measured for automatic calibration. Thereby, the user experience is improved.
  • the method according to the above embodiment can be implemented by means of software plus a necessary general hardware platform, and of course, by hardware, but in many cases, the former is A better implementation.
  • the technical solution of the present invention which is essential or contributes to the prior art, may be embodied in the form of a software product stored in a storage medium (such as ROM/RAM, disk, CD-ROM, including a number of instructions to make a terminal device (available).
  • a storage medium such as ROM/RAM, disk, CD-ROM, including a number of instructions to make a terminal device (available
  • the method described in various embodiments of the present invention is implemented by a mobile phone, a computer, a server, or a network device.
  • Embodiments of the present invention also provide a storage medium.
  • the foregoing storage medium may be configured to store program code for performing the following steps:
  • the foregoing storage medium may include, but is not limited to, a USB flash drive, a Read-Only Memory (ROM), and a Random Access Memory (RAM).
  • ROM Read-Only Memory
  • RAM Random Access Memory
  • the processor executes the method steps described in the foregoing embodiments according to the stored program code in the storage medium.
  • modules or steps of the present invention described above can be implemented by a general-purpose computing device that can be centralized on a single computing device or distributed across a network of multiple computing devices. Alternatively, they may be implemented by program code executable by the computing device such that they may be stored in the storage device by the computing device and, in some cases, may be different from the order herein.
  • the steps shown or described are performed, or they are separately fabricated into individual integrated circuit modules, or a plurality of modules or steps thereof are fabricated as a single integrated circuit module.
  • the invention is not limited to any specific combination of hardware and software.
  • an image correction method, apparatus, and projector provided by an embodiment of the present invention have the following beneficial effects: determining a stretching coefficient and a rotation coefficient according to an inclination angle of a obtained projector in a horizontal direction, and then using the obtained The stretching coefficient and the rotation coefficient are corrected for the displayed image, and the horizontal trapezoidal correction of the projected image is realized, thereby solving the problem that the horizontal trapezoidal correction of the projected image cannot be performed in the related art. Further, the horizontal trapezoidal correction of the projected image avoids the distortion of the projected image, so that the user can view the normal scale projection image and improve the user experience.

Landscapes

  • Engineering & Computer Science (AREA)
  • Multimedia (AREA)
  • Signal Processing (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Theoretical Computer Science (AREA)
  • Transforming Electric Information Into Light Information (AREA)
  • Projection Apparatus (AREA)
  • Controls And Circuits For Display Device (AREA)

Abstract

本发明提供了一种图像校正方法、装置及投影仪,其中,该方法包括:获取投影仪在水平方向上的倾斜角度;根据获取的倾斜角度确定用于对投影仪中的待显示图像进行拉伸的拉伸系数和用于对投影仪中的待显示图像进行旋转的旋转系数;根据确定的拉伸系数和旋转系数校正投影仪中的待显示图像,解决了相关技术中无法对投影图像进行水平梯形校正的问题,实现了投影图像的水平梯形校正。

Description

图像校正方法、装置及投影仪 技术领域
本发明涉及通信领域,具体而言,涉及一种图像校正方法、装置及投影仪。
背景技术
当投影仪与幕布水平方向不是90度时,幕布上的投影会变形,呈现出来的形状是一个梯形,影响用户体验,这个时候需要进行梯形校正,使幕布上的图像重新显示在一个矩形区域内。
目前对投影图像的梯形校正都只有垂直梯形校正功能,没有水平梯形校正功能。大多投影产品有专门的光学控制芯片,垂直梯形校正是在该芯片里面实现的。此外,利用光学控制芯片通过复杂的插值算法实现校正,运算复杂,影响效率。
针对相关技术中无法对投影图像进行水平梯形校正的问题,目前还没有有效地解决方案。
发明内容
本发明实施例提供了一种图像校正方法、装置及投影仪,以至少解决相关技术中无法对投影图像进行水平梯形校正的问题。
根据本发明的一个方面,提供了一种图像校正方法,包括:获取投影仪在水平方向上的倾斜角度;根据获取的所述倾斜角度确定用于对所述投影仪中的待显示图像进行拉伸的拉伸系数和用于对所述投影仪中的待显示图像进行旋转的旋转系数;根据确定的所述拉伸系数和所述旋转系数校正所述投影仪中的所述待显示图像。
可选地,获取所述投影仪在水平方向上的所述倾斜角度包括:根据所述投影仪携带的测距装置测量所述测距装置沿预设方向到投影屏幕的第一距离和第二距离;根据所述第一距离、所述第二距离和所述预设方向与 所述投影仪的镜头所在平面的预设夹角,确定所述倾斜角度。
可选地,根据获取的所述倾斜角度确定用于对所述投影仪中的所述待显示图像进行拉伸的所述拉伸系数和用于对所述投影仪中的所述待显示图像进行旋转的所述旋转系数包括:获取所述投影仪的投影角度,以及预设视点到所述待显示图像的第三距离,其中,所述投影角度为所述投影仪的投影区域覆盖的角度;根据获取的所述倾斜角度,所述投影角度,以及所述第三距离确定所述拉伸系数和所述旋转系数。
可选地,根据获取的所述倾斜角度,所述投影角度,以及所述第三距离确定所述拉伸系数和所述旋转系数包括:根据所述倾斜角度和所述投影角度确定投影图像在垂直方向上的第一垂直变化量,其中,所述投影图像为所述投影仪在投影屏幕上投影的图像;根据所述第一垂直变化量确定所述投影图像在水平方向上的第一水平变化量;根据所述倾斜角度、所述投影角度和所述第一水平变化量,获取所述待显示图像在帧缓冲区所在的平面的水平方向上的第二水平变化量以及所述待显示图像在所述帧缓冲区所在的平面的垂直方向上的第二垂直变化量;根据所述第二水平变化量、所述第二垂直变化量以及所述第三距离确定所述拉伸系数和所述旋转系数。
可选地,通过以下公式,根据所述第二水平变化量、所述第二垂直变化量以及所述第三距离确定所述拉伸系数和所述旋转系数:
Figure PCTCN2016099368-appb-000001
tg(γ)=d*(1-Yc)/Xc
其中,L为所述拉伸系数,γ为所述旋转系数,Xc为所述第二水平变化量,Yc为所述第二垂直变化量,d为所述第三距离。
可选地,根据所述拉伸系数和所述旋转系数校正所述投影仪中帧缓冲区的所述待显示图像包括:根据所述拉伸系数拉伸所述待显示图像,得到拉伸图像;根据所述旋转系数旋转所述拉伸图像,得到旋转图像;获取所述旋转图像相对于预设视点在所述待显示图像所在平面上的投影,得到校 正后的待显示图像。
根据本发明的另一个方面,还提供了一种图像校正装置,包括:获取模块,设置为获取投影仪在水平方向上的倾斜角度;确定模块,设置为根据获取的所述倾斜角度确定用于对所述投影仪中的待显示图像进行拉伸的拉伸系数和用于对所述投影仪中的待显示图像进行旋转的旋转系数;校正模块,设置为根据确定的所述拉伸系数和所述旋转系数校正所述投影仪中的所述待显示图像。
可选地,所述获取模块包括:测量单元,设置为根据所述投影仪携带的测距装置测量所述测距装置沿预设方向到投影屏幕的第一距离和第二距离;第一确定单元,设置为根据所述第一距离、所述第二距离和所述预设方向与所述投影仪的镜头所在平面的预设夹角,确定所述倾斜角度。
可选地,所述确定模块包括:第一获取单元,设置为获取所述投影仪的投影角度,以及预设视点到所述待显示图像的第三距离,其中,所述投影角度为所述投影仪的投影区域覆盖的角度;第二确定单元,设置为根据获取的所述倾斜角度,所述投影角度,以及所述第三距离确定所述拉伸系数和所述旋转系数。
可选地,所述校正模块包括:拉伸单元,设置为根据所述拉伸系数拉伸所述待显示图像,得到拉伸图像;旋转单元,设置为根据所述旋转系数旋转所述拉伸图像,得到旋转图像;第二获取单元,设置为获取所述旋转图像相对于预设视点在所述待显示图像所在平面上的投影,得到校正后的待显示图像。
根据本发明的另一个方面,还提供了一种投影仪,包括:中央处理器CPU和图形处理器GPU,其中,所述CPU,设置为获取投影仪在水平方向上的倾斜角度;根据获取的所述倾斜角度确定用于对所述投影仪中的待显示图像进行拉伸的拉伸系数和用于对所述投影仪中的待显示图像进行旋转的旋转系数;所述GPU,与所述CPU连接,设置为根据确定的所述拉伸系数和所述旋转系数校正所述投影仪中的所述待显示图像。
可选地,所述投影仪还包括:测距装置,与所述CPU连接,设置为测量所述测距装置沿预设方向到投影屏幕的第一距离和第二距离,并发送所述第一距离和所述第二距离至所述CPU。
本发明另一实施例提供了一种计算机存储介质,所述计算机存储介质存储有执行指令,所述执行指令用于执行上述实施例中的方法。
通过本发明,获取投影仪在水平方向上的倾斜角度;根据获取的倾斜角度确定用于对投影仪中的待显示图像进行拉伸的拉伸系数和用于对投影仪中的待显示图像进行旋转的旋转系数;根据确定的拉伸系数和旋转系数校正投影仪中的待显示图像,由此可见,采用上述方案根据获取到的投影仪在水平方向上的倾斜角度确定拉伸系数和旋转系数,再利用得到的拉伸系数和旋转系数对待显示图像进行校正,实现了投影图像的水平梯形校正,从而解决了相关技术中无法对投影图像进行水平梯形校正的问题。进一步,对投影图像进行水平梯形校正,避免了投影图像的失真,使用户可以观看到正常比例的投影图像,提高了用户体验。
附图说明
此处所说明的附图用来提供对本发明的进一步理解,构成本申请的一部分,本发明的示意性实施例及其说明用于解释本发明,并不构成对本发明的不当限定。在附图中:
图1是本发明实施例的一种图像校正方法的移动终端的硬件结构框图;
图2是根据本发明实施例的一种图像校正方法的流程图;
图3是根据本发明实施例的一种图像校正装置的结构框图一;
图4是根据本发明实施例的一种图像校正装置的结构框图二;
图5是根据本发明实施例的一种图像校正装置的结构框图三;
图6是根据本发明实施例的一种图像校正装置的结构框图四;
图7是根据本发明可选实施例的一种图像校正方法的示意图一;
图8是根据本发明可选实施例的一种图像校正方法的示意图二;
图9是根据本发明可选实施例的一种图像校正方法的示意图三;
图10是根据本发明可选实施例的一种图像校正方法的示意图四;
图11是根据本发明可选实施例的一种图像校正方法的示意图五;
图12是根据本发明可选实施例的一种图像校正方法的流程图。
具体实施方式
下文中将参考附图并结合实施例来详细说明本发明。需要说明的是,在不冲突的情况下,本申请中的实施例及实施例中的特征可以相互组合。
需要说明的是,本发明的说明书和权利要求书及上述附图中的术语“第一”、“第二”等是用于区别类似的对象,而不必用于描述特定的顺序或先后次序。
实施例1
本申请实施例1所提供的方法实施例可以在移动终端、计算机终端或者类似的运算装置中执行。以运行在移动终端上为例,图1是本发明实施例的一种图像校正方法的移动终端的硬件结构框图,如图1所示,移动终端10可以包括一个或多个(图中仅示出一个)处理器102(处理器102可以包括但不限于微处理器MCU或可编程逻辑器件FPGA等的处理装置)、用于存储数据的存储器104、以及用于通信功能的传输装置106。本领域普通技术人员可以理解,图1所示的结构仅为示意,其并不对上述电子装置的结构造成限定。例如,移动终端10还可包括比图1中所示更多或者更少的组件,或者具有与图1所示不同的配置。
存储器104可用于存储应用软件的软件程序以及模块,如本发明实施例中的图像校正方法对应的程序指令/模块,处理器102通过运行存储在存储器104内的软件程序以及模块,从而执行各种功能应用以及数据处理,即实现上述的方法。存储器104可包括高速随机存储器,还可包括非易失性存储器,如一个或者多个磁性存储装置、闪存、或者其他非易失性固态存储器。在一些实例中,存储器104可进一步包括相对于处理器102远程 设置的存储器,这些远程存储器可以通过网络连接至移动终端10。上述网络的实例包括但不限于互联网、企业内部网、局域网、移动通信网及其组合。
传输装置106设置为经由一个网络接收或者发送数据。上述的网络具体实例可包括移动终端10的通信供应商提供的无线网络。在一个实例中,传输装置106包括一个网络适配器(Network Interface Controller,简称为NIC),其可通过基站与其他网络设备相连从而可与互联网进行通讯。在一个实例中,传输装置106可以为射频(Radio Frequency,简称为RF)模块,其用于通过无线方式与互联网进行通讯。
在本实施例中提供了一种图像校正方法,图2是根据本发明实施例的一种图像校正方法的流程图,如图2所示,该流程包括如下步骤:
步骤S202,获取投影仪在水平方向上的倾斜角度;
步骤S204,根据获取的倾斜角度确定用于对投影仪中的待显示图像进行拉伸的拉伸系数和用于对投影仪中的待显示图像进行旋转的旋转系数;
步骤S206,根据确定的拉伸系数和旋转系数校正投影仪中的待显示图像。
可选地,上述图像校正方法可以但不限于应用于投影校正的场景中。例如:对投影仪投影的图像进行水平梯形校正的场景等。
可选地,上述图像校正方法可以但不限于应用于具有投影功能的终端,例如:投影仪、手机、平板电脑、笔记本电脑、台式电脑、智能穿戴设备等。
通过上述步骤,获取投影仪在水平方向上的倾斜角度;根据获取的倾斜角度确定用于对投影仪中的待显示图像进行拉伸的拉伸系数和用于对投影仪中的待显示图像进行旋转的旋转系数;根据确定的拉伸系数和旋转系数校正投影仪中的待显示图像,由此可见,采用上述方案根据获取到的投影仪在水平方向上的倾斜角度确定拉伸系数和旋转系数,再利用得到的 拉伸系数和旋转系数对待显示图像进行校正,实现了投影图像的水平梯形校正,从而解决了相关技术中无法对投影图像进行水平梯形校正的问题。进一步,对投影图像进行水平梯形校正,避免了投影图像的失真,使用户可以观看到正常比例的投影图像,提高了用户体验。
在本实施例中,旋转系数可以但不限于用于指示对待显示图像进行旋转时的旋转角度和旋转方向。
可选地,在上述步骤S202中,可以但不限于根据投影仪携带的测距装置测量测距装置沿预设方向到投影屏幕的第一距离和第二距离,再根据第一距离、第二距离和预设方向与投影仪的镜头所在平面的预设夹角,确定倾斜角度。
可选地,上述预设方向与投影仪的镜头所在平面的预设夹角可以是预先存储的,也可以是通过测量获取的,还可以通过其他方式获取,在本实施例中不做限定。
例如:投影仪上安装的红外测距装置测量的第一距离为D1,第二距离为D2,并且两个红外测距装置与投影仪所在平面的预设夹角为角1,那么根据三角关系可以确定倾斜角度与D1、D2以及角1之间的关系,从而可以确定倾斜角度。
通过上述步骤,利用投影仪携带的测距装置可以得到投影仪的倾斜角度,从而根据倾斜角度确定拉伸系数和旋转系数,实现对投影图像的水平梯形校正。
可选地,在上述步骤S204中,可以但不限于获取投影仪的投影角度,以及预设视点到待显示图像的第三距离,其中,投影角度为投影仪的投影区域覆盖的角度,再根据获取的倾斜角度,投影角度,以及第三距离确定拉伸系数和旋转系数。
例如:可以但不限于通过以下方式根据获取的倾斜角度,投影角度,以及第三距离确定拉伸系数和旋转系数,该方式包括如下步骤:
步骤1,根据倾斜角度和投影角度确定投影图像在垂直方向上的第一 垂直变化量,其中,投影图像为投影仪在投影屏幕上投影的图像;
步骤2,根据第一垂直变化量确定投影图像在水平方向上的第一水平变化量;
步骤3,根据倾斜角度、投影角度和第一水平变化量,获取待显示图像在帧缓冲区所在的平面的水平方向上的第二水平变化量以及待显示图像在帧缓冲区所在的平面的垂直方向上的第二垂直变化量;
步骤4,根据第二水平变化量、第二垂直变化量以及第三距离确定拉伸系数和旋转系数。
可选地,可以但不限于通过以下公式,根据第二水平变化量、第二垂直变化量以及第三距离确定拉伸系数和旋转系数:
Figure PCTCN2016099368-appb-000002
tg(γ)=d*(1-Yc)/Xc
其中,L为拉伸系数,γ为旋转系数,Xc为第二水平变化量,Yc为第二垂直变化量,d为第三距离。
通过上述步骤,可以根据倾斜角度确定拉伸系数和旋转系数,从而实现对投影图像的水平梯形校正。
可选地,在上述步骤S206中,可以但不限于通过以下方式对待显示图像进行校正,可以根据拉伸系数拉伸待显示图像,得到拉伸图像,再根据旋转系数旋转拉伸图像,得到旋转图像,获取旋转图像相对于预设视点在待显示图像所在平面上的投影,得到校正后的待显示图像。
通过上述步骤,可以利用得到的拉伸系数和旋转系数对投影仪帧缓冲区的待显示图像进行校正,使投影仪投影到投影屏幕上的图像保持原有的比例,避免了投影失真,使用户可以观看到正常比例的投影图像,提高了用户体验。
实施例2
在本实施例中还提供了一种图像校正装置,该装置用于实现上述实施 例及可选实施方式,已经进行过说明的不再赘述。如以下所使用的,术语“模块”可以实现预定功能的软件和/或硬件的组合。尽管以下实施例所描述的装置较佳地以软件来实现,但是硬件,或者软件和硬件的组合的实现也是可能并被构想的。
图3是根据本发明实施例的一种图像校正装置的结构框图一,如图3所示,该装置包括:
1)获取模块32,设置为获取投影仪在水平方向上的倾斜角度;
2)确定模块34,耦合至获取模块32,设置为根据获取的倾斜角度确定用于对投影仪中的待显示图像进行拉伸的拉伸系数和用于对投影仪中的待显示图像进行旋转的旋转系数;
3)校正模块36,耦合至确定模块34,设置为根据确定的拉伸系数和旋转系数校正投影仪中的待显示图像。
可选地,上述图像校正方法可以但不限于应用于投影校正的场景中。例如:对投影仪投影的图像进行水平梯形校正的场景等。
可选地,上述图像校正方法可以但不限于应用于具有投影功能的终端,例如:投影仪、手机、平板电脑、笔记本电脑、台式电脑、智能穿戴设备等。
通过上述步骤,获取投影仪在水平方向上的倾斜角度;根据获取的倾斜角度确定用于对投影仪中的待显示图像进行拉伸的拉伸系数和用于对投影仪中的待显示图像进行旋转的旋转系数;根据确定的拉伸系数和旋转系数校正投影仪中的待显示图像,由此可见,采用上述方案根据获取到的投影仪在水平方向上的倾斜角度确定拉伸系数和旋转系数,再利用得到的拉伸系数和旋转系数对待显示图像进行校正,实现了投影图像的水平梯形校正,从而解决了相关技术中无法对投影图像进行水平梯形校正的问题。进一步,对投影图像进行水平梯形校正,避免了投影图像的失真,使用户可以观看到正常比例的投影图像,提高了用户体验。
在本实施例中,旋转系数可以但不限于用于指示对待显示图像进行旋 转时的旋转角度和旋转方向。
图4是根据本发明实施例的一种图像校正装置的结构框图二,如图4所示,可选地,获取模块32包括:
1)测量单元42,设置为根据投影仪携带的测距装置测量测距装置沿预设方向到投影屏幕的第一距离和第二距离;
2)第一确定单元44,耦合至测量单元42,设置为根据第一距离、第二距离和预设方向与投影仪的镜头所在平面的预设夹角,确定倾斜角度。
可选地,上述预设方向与投影仪的镜头所在平面的预设夹角可以是预先存储的,也可以是通过测量获取的,还可以通过其他方式获取,在本实施例中不做限定。
图5是根据本发明实施例的一种图像校正装置的结构框图三,如图5所示,可选地,确定模块34包括:
第一获取单元52,设置为获取投影仪的投影角度,以及预设视点到待显示图像的第三距离,其中,投影角度为投影仪的投影区域覆盖的角度;
第二确定单元54,耦合至第一获取单元52,设置为根据获取的倾斜角度,投影角度,以及第三距离确定拉伸系数和旋转系数。
可选地,第二确定单元54设置为:根据倾斜角度和投影角度确定投影图像在垂直方向上的第一垂直变化量,其中,投影图像为投影仪在投影屏幕上投影的图像;根据第一垂直变化量确定投影图像在水平方向上的第一水平变化量;根据倾斜角度、投影角度和第一水平变化量,获取待显示图像在帧缓冲区所在的平面的水平方向上的第二水平变化量以及待显示图像在帧缓冲区所在的平面的垂直方向上的第二垂直变化量;根据第二水平变化量、第二垂直变化量以及第三距离确定拉伸系数和旋转系数。
可选地,第二确定单元54,可以通过以下公式,根据第二水平变化量、第二垂直变化量以及第三距离确定拉伸系数和旋转系数:
Figure PCTCN2016099368-appb-000003
tg(γ)=d*(1-Yc)/Xc
其中,L为拉伸系数,γ为旋转系数,Xc为第二水平变化量,Yc为第二垂直变化量,d为第三距离。
图6是根据本发明实施例的一种图像校正装置的结构框图四,如图6所示,可选地,校正模块36包括:
1)拉伸单元62,设置为根据拉伸系数拉伸待显示图像,得到拉伸图像;
2)旋转单元64,耦合至拉伸单元62,设置为根据旋转系数旋转拉伸图像,得到旋转图像;
3)第二获取单元66,耦合至旋转单元64,设置为获取旋转图像相对于预设视点在待显示图像所在平面上的投影,得到校正后的待显示图像。
需要说明的是,上述各个模块是可以通过软件或硬件来实现的,对于后者,可以通过以下方式实现,但不限于此:上述模块均位于同一处理器中;或者,上述模块分别位于多个处理器中。
实施例3
在本实施例中还提供了一种投影仪,该投影仪可以对投影图像进行水平梯形校正。该投影仪,可以但不限于包括:中央处理器CPU和图形处理器GPU,其中,CPU,设置为获取投影仪在水平方向上的倾斜角度;根据获取的倾斜角度确定用于对投影仪中的待显示图像进行拉伸的拉伸系数和用于对投影仪中的待显示图像进行旋转的旋转系数;GPU,与CPU连接,设置为根据确定的拉伸系数和旋转系数校正投影仪中的待显示图像。
可选地,该投影仪还包括:测距装置,与CPU连接,设置为测量测距装置沿预设方向到投影屏幕的第一距离和第二距离,并发送第一距离和第二距离至CPU。
下面结合本发明可选实施例进行详细说明。
本发明可选实施例提供了一种图像校正方法。利用本可选实施例提供 的图像校正方法,可以在智能投影仪的软件系统进行梯形校正。经过分析,图像处理时的旋转角度和拉伸系数与投影仪倾斜角度之间存在预定关系,根据这个预定关系对将要输出的图像进行二次处理,充分发挥智能设备中的GPU的强大图像处理能力,实现梯形校正功能。
在智能投影系统中,各个应用程序的界面,经过计算之后,合成为一个图像,该图像缓存在帧缓冲区中,然后再输出到显示设备,也就是投影。在该图像未进行校正的时候,帧缓冲区中的图形是一个矩形区域,投影之后,由于投影方向倾斜,投影是一个梯形区域。比如投影仪向右倾斜的时候,投影图像可能会向右侧有拉伸、变形。
本可选实施例提供的图像校正方法在图像没有输出之前,获取帧缓冲区的待显示图像,根据旋转角度和拉伸系数与投影仪倾斜角度之间的预定关系,通过GPU进行图像处理,使图像在输出之前是一个梯形区域,这样投影之后的投影图像将是一个矩形区域。
在本可选实施例中,将以投影仪位于屏幕左侧为例对本可选实施例提供的图像校正方法进行说明和描述,投影仪位于屏幕右侧时的图像校正方法与此类似,在此不再赘述。
本可选实施例提供的图像校正方法可以但不限于包括如下步骤:
步骤1,求投影仪在水平方向的倾斜角度
图7是根据本发明可选实施例的一种图像校正方法的示意图一,如图7所示,在投影仪内置两个红外测距装置IrA,IrB,红外投射方向有一个预设夹角A_Ir。CD是投影平面,例如是一堵墙或者幕布。红外测距装置不是垂直投射,而是有一个预设夹角A_Ir,可以扩展红外投射范围,减小误差。
投影仪沿水平方向倾斜β之后,原来垂直于CD平面的OI倾斜到OH的位置。AD和BC的长度,可以用红外测距装置测量出来。AB长度是固定值。在图7中,BG=AD,也就是DF与AB平行。则有:∠CDF+∠DHO=∠IOH+∠DHO=90°,即∠CDF是β。
那么,可以得出:
tgβ=CF/DF=(CK-FK)/JK=[BCsin(A_Ir)-BGsin(A_Ir)]/[JA+AB+BK]
=(BC-BG)sin(A_Ir)/[ADcos(A_Ir)+AB+BCcos(A_Ir)]
=(BC-AD)sin(A_Ir)/[ADcos(A_Ir)+AB+BCcos(A_Ir)];
通过上述分析可知,可以通过红外测距,确定倾斜角度β。
步骤2,分析投影图像在垂直方向上的倾斜前后的变化(即第一垂直变化量)。
图8是根据本发明可选实施例的一种图像校正方法的示意图二,如图8所示,设投影覆盖范围左侧与右侧夹角为2α(即投影角度),倾斜角度为β。
投影仪左侧倾斜之前投影位置在DE,倾斜之后投影位置在BC。可以假设先从DE倾斜到OF,再从OF倾斜到BC。在图8中,辅助线AG=AO,HG=OF。因为投影仪投影时的仰角固定,因此A、H、C三点在一直线上。
由图8中的三角关系可知:OF/BC=HG/BC=AG/AB=AO/AB=cos(β-α);
也就是可以得出:BC=OF/cos(β-α);
同样的,DE=OF/cos(α);
可得:BC=DE*cos(α)/cos(β-α)。
从而可以确定第一垂直变化量为cos(α)/cos(β-α)。
步骤3,分析投影图像在水平方向上倾斜前后的变化(即第一水平变化量)。
图9是根据本发明可选实施例的一种图像校正方法的示意图三,如图9所示,倾斜之前投影图像宽度BD=2OB=2tg(α)*AO。为了保证倾斜前后投影图像的纵/横比例不变,投影图像的水平宽度应该修正为原来的cos(α)/cos(β-α)倍。从而得到水平修正之后的宽度W满足公式:
W=BD*cos(α)/cos(β-α)=2tg(α)*AO*cos(α)/cos(β-α)
=2sin(α)/cos(β-α)*AO。
从而可以确定第一水平变化量为2sin(α)/cos(β-α)*AO。
步骤4,分析校正之后帧缓冲区中的梯形。
图10是根据本发明可选实施例的一种图像校正方法的示意图四,如图10所示,步骤4中包括如下步骤:
步骤4-1,求图10中所示的θ。
在图10中,校正之前的投影图像为梯形BCED,校正之后的投影图像是矩形BCGF。未校正之前的帧缓冲区中的待显示图像为矩形BCIH,校正之后帧缓冲区中的待显示图像是梯形BCKJ。
如图10所示,OF=OB+BF=tg(β-α)*AO+2sin(α)/cos(β-α)*AO=tg(θ)*AO;
由此可以求得θ。
步骤4-2,求J点在帧缓冲区中的横坐标(即第二水平变化量)。
在帧缓冲区的坐标系中,以B为原点,BH为横坐标,BC为纵坐标。求J点的横坐标的过程如下所示:
BJ=BL+LJ=AL*tg(α)+AL*tg(θ-β);
BH=2tg(α)*AL;
假设H点的横坐标为1。那么J点的横坐标可以表示为:
Xc=[tg(α)+tg(θ-β)]/2tg(α)。
步骤4-3,求K点在帧缓冲区中的纵坐标(即第二垂直变化量)。
假设投影图像在未倾斜之前的高度为h。由之前分析可知BC=h*cos(α)/cos(β-α);
类似的,可以得到FM=h*cos(θ-β)/cos(θ);
那么JK/JN=JK/BC=FG/FM=BC/FM=cos(α)cos(θ)/cos(β-α)cos(θ-β)
假设N点的纵坐标为1,那么K点的纵坐标可以表示为:
Yc=cos(α)cos(θ)/cos(β-α)cos(θ-β)。
步骤5,确定拉伸系数和旋转系数。
图11是根据本发明可选实施例的一种图像校正方法的示意图五,如图11所示,把校正前的待显示图像OGBA放置于三维坐标系中,位于Z=0的平面,图像的四个顶点坐标分别为O(0,0,0),G(0,1,0),B(1,1,0),A(1,0,0)。OEFG为校正后的待显示图像,从前面的分析可知,OE=Xc,EF=Yc。如图11可得:
EF/DC=Yc/DC=Yc;
EF/DC=OE/IC=Xc/Lcos(γ);
EF/DC=HO/[HO+Lsin(γ)]。
进一步可以推导出:
Lcos(γ)=Xc/Yc;
Lsin(γ)=HO*(1-Yc)/Yc。
从而得到:
L2=Xc2/Yc2+HO2*(1-Yc)2/Yc2
tg(γ)=HO*(1-Yc)/Xc。
其中,H为预设视点,即HO为第三距离d,当视点H设定之后,就可以求得拉伸系数L和旋转系数γ。
步骤6,校正待显示图像。
先对待显示图像的水平方向拉伸,宽度从1拉伸为L。
再逆时针方向旋转角度γ,得到梯形OCDG。
将梯形OCDG以H为视点投影到Z=0平面,得到梯形OEFG,即为校正之后的待显示图像。
本发明可选实施例提供了一种图像校正方法。图12是根据本发明可选实施例的一种图像校正方法的流程图,如图12所示,该流程包括如下步骤:
步骤S1202,通过加装在投影仪上的红外测距装置进行红外测距,计算倾斜角度。
步骤S1204,在帧缓冲区的数据还没有输出到显示设备之前,取出帧缓冲区的待显示图像。
步骤S1206,根据旋转系数和拉伸系数与投影仪倾斜角度之间的特定关系,计算旋转系数和拉伸系数。
步骤S1208,通过GPU对图像进行拉伸处理。
步骤S1210,通过GPU对图像进行旋转处理,实现水平梯形校正。
步骤S1212,把校正后的待显示图像重新输出到帧缓冲区,并输出到显示设备。
综上所述,采用本发明实施例和可选实施例提供的创新的梯形校正方法,可以在智能投影的软件系统中进行梯形校正,不需要光学处理芯片具有梯形校正功能。实现了软件校正,利用智能投影系统中已经有GPU,不需要额外的处理芯片或者硬件电路。此外,通过两个红外测距装置,能够自动测量倾斜角度,实现自动校准。从而,改善了用户体验。
以上实施例仅用以说明本发明的技术方案而非对其进行限制,本领域的普通技术人员可以对本发明的技术方案进行修改或者等同替换,而不脱离本发明的精神和范围,本发明的保护范围应以权利要求所述为准。
实施例4
通过以上的实施方式的描述,本领域的技术人员可以清楚地了解到根据上述实施例的方法可借助软件加必需的通用硬件平台的方式来实现,当然也可以通过硬件,但很多情况下前者是更佳的实施方式。基于这样的理解,本发明的技术方案本质上或者说对现有技术做出贡献的部分可以以软件产品的形式体现出来,该计算机软件产品存储在一个存储介质(如ROM/RAM、磁碟、光盘)中,包括若干指令用以使得一台终端设备(可 以是手机,计算机,服务器,或者网络设备等)执行本发明各个实施例所述的方法。
本发明的实施例还提供了一种存储介质。可选地,在本实施例中,上述存储介质可以被设置为存储用于执行以下步骤的程序代码:
S1,获取投影仪在水平方向上的倾斜角度;
S2,根据获取的倾斜角度确定用于对投影仪中的待显示图像进行拉伸的拉伸系数和用于对投影仪中的待显示图像进行旋转的旋转系数;
S3,根据确定的拉伸系数和旋转系数校正投影仪中的待显示图像。
可选地,在本实施例中,上述存储介质可以包括但不限于:U盘、只读存储器(Read-Only Memory,简称为ROM)、随机存取存储器(Random Access Memory,简称为RAM)、移动硬盘、磁碟或者光盘等各种可以存储程序代码的介质。
可选地,在本实施例中,处理器根据存储介质中已存储的程序代码执行上述实施例记载的方法步骤。
可选地,本实施例中的具体示例可以参考上述实施例及可选实施方式中所描述的示例,本实施例在此不再赘述。
显然,本领域的技术人员应该明白,上述的本发明的各模块或各步骤可以用通用的计算装置来实现,它们可以集中在单个的计算装置上,或者分布在多个计算装置所组成的网络上,可选地,它们可以用计算装置可执行的程序代码来实现,从而,可以将它们存储在存储装置中由计算装置来执行,并且在某些情况下,可以以不同于此处的顺序执行所示出或描述的步骤,或者将它们分别制作成各个集成电路模块,或者将它们中的多个模块或步骤制作成单个集成电路模块来实现。这样,本发明不限制于任何特定的硬件和软件结合。
以上所述仅为本发明的可选实施例而已,并不用于限制本发明,对于本领域的技术人员来说,本发明可以有各种更改和变化。凡在本发明的精神和原则之内,所作的任何修改、等同替换、改进等,均应包含在本发明 的保护范围之内。
工业实用性
如上所述,本发明实施例提供的一种图像校正方法、装置及投影仪具有以下有益效果:根据获取到的投影仪在水平方向上的倾斜角度确定拉伸系数和旋转系数,再利用得到的拉伸系数和旋转系数对待显示图像进行校正,实现了投影图像的水平梯形校正,从而解决了相关技术中无法对投影图像进行水平梯形校正的问题。进一步,对投影图像进行水平梯形校正,避免了投影图像的失真,使用户可以观看到正常比例的投影图像,提高了用户体验。

Claims (12)

  1. 一种图像校正方法,包括:
    获取投影仪在水平方向上的倾斜角度;
    根据获取的所述倾斜角度确定用于对所述投影仪中的待显示图像进行拉伸的拉伸系数和用于对所述投影仪中的待显示图像进行旋转的旋转系数;
    根据确定的所述拉伸系数和所述旋转系数校正所述投影仪中的所述待显示图像。
  2. 根据权利要求1所述的方法,其中,获取所述投影仪在水平方向上的所述倾斜角度包括:
    根据所述投影仪携带的测距装置测量所述测距装置沿预设方向到投影屏幕的第一距离和第二距离;
    根据所述第一距离、所述第二距离和所述预设方向与所述投影仪的镜头所在平面的预设夹角,确定所述倾斜角度。
  3. 根据权利要求1或2所述的方法,其中,根据获取的所述倾斜角度确定用于对所述投影仪中的所述待显示图像进行拉伸的所述拉伸系数和用于对所述投影仪中的所述待显示图像进行旋转的所述旋转系数包括:
    获取所述投影仪的投影角度,以及预设视点到所述待显示图像的第三距离,其中,所述投影角度为所述投影仪的投影区域覆盖的角度;
    根据获取的所述倾斜角度,所述投影角度,以及所述第三距离确定所述拉伸系数和所述旋转系数。
  4. 根据权利要求3所述的方法,其中,根据获取的所述倾斜角度,所述投影角度,以及所述第三距离确定所述拉伸系数和所述旋转系数包括:
    根据所述倾斜角度和所述投影角度确定投影图像在垂直方向上的 第一垂直变化量,其中,所述投影图像为所述投影仪在投影屏幕上投影的图像;
    根据所述第一垂直变化量确定所述投影图像在水平方向上的第一水平变化量;
    根据所述倾斜角度、所述投影角度和所述第一水平变化量,获取所述待显示图像在帧缓冲区所在的平面的水平方向上的第二水平变化量以及所述待显示图像在所述帧缓冲区所在的平面的垂直方向上的第二垂直变化量;
    根据所述第二水平变化量、所述第二垂直变化量以及所述第三距离确定所述拉伸系数和所述旋转系数。
  5. 根据权利要求4所述的方法,其中,通过以下公式,根据所述第二水平变化量、所述第二垂直变化量以及所述第三距离确定所述拉伸系数和所述旋转系数:
    Figure PCTCN2016099368-appb-100001
    tg(γ)=d*(1-Yc)/Xc
    其中,L为所述拉伸系数,γ为所述旋转系数,Xc为所述第二水平变化量,Yc为所述第二垂直变化量,d为所述第三距离。
  6. 根据权利要求1、2、4、5中任一项所述的方法,其中,根据所述拉伸系数和所述旋转系数校正所述投影仪中帧缓冲区的所述待显示图像包括:
    根据所述拉伸系数拉伸所述待显示图像,得到拉伸图像;
    根据所述旋转系数旋转所述拉伸图像,得到旋转图像;
    获取所述旋转图像相对于预设视点在所述待显示图像所在平面上的投影,得到校正后的待显示图像。
  7. 一种图像校正装置,包括:
    获取模块,设置为获取投影仪在水平方向上的倾斜角度;
    确定模块,设置为根据获取的所述倾斜角度确定用于对所述投影仪中的待显示图像进行拉伸的拉伸系数和用于对所述投影仪中的待显示图像进行旋转的旋转系数;
    校正模块,设置为根据确定的所述拉伸系数和所述旋转系数校正所述投影仪中的所述待显示图像。
  8. 根据权利要求7所述的装置,其中,所述获取模块包括:
    测量单元,设置为根据所述投影仪携带的测距装置测量所述测距装置沿预设方向到投影屏幕的第一距离和第二距离;
    第一确定单元,设置为根据所述第一距离、所述第二距离和所述预设方向与所述投影仪的镜头所在平面的预设夹角,确定所述倾斜角度。
  9. 根据权利要求7或8所述的装置,其中,所述确定模块包括:
    第一获取单元,设置为获取所述投影仪的投影角度,以及预设视点到所述待显示图像的第三距离,其中,所述投影角度为所述投影仪的投影区域覆盖的角度;
    第二确定单元,设置为根据获取的所述倾斜角度,所述投影角度,以及所述第三距离确定所述拉伸系数和所述旋转系数。
  10. 根据权利要求7或8所述的装置,其中,所述校正模块包括:
    拉伸单元,设置为根据所述拉伸系数拉伸所述待显示图像,得到拉伸图像;
    旋转单元,设置为根据所述旋转系数旋转所述拉伸图像,得到旋转图像;
    第二获取单元,设置为获取所述旋转图像相对于预设视点在所述 待显示图像所在平面上的投影,得到校正后的待显示图像。
  11. 一种投影仪,包括:中央处理器CPU和图形处理器GPU,其中,
    所述CPU,设置为获取投影仪在水平方向上的倾斜角度;根据获取的所述倾斜角度确定用于对所述投影仪中的待显示图像进行拉伸的拉伸系数和用于对所述投影仪中的待显示图像进行旋转的旋转系数;
    所述GPU,与所述CPU连接,设置为根据确定的所述拉伸系数和所述旋转系数校正所述投影仪中的所述待显示图像。
  12. 根据权利要求11所述的投影仪,其中,所述投影仪还包括:
    测距装置,与所述CPU连接,设置为测量所述测距装置沿预设方向到投影屏幕的第一距离和第二距离,并发送所述第一距离和所述第二距离至所述CPU。
PCT/CN2016/099368 2016-06-01 2016-09-19 图像校正方法、装置及投影仪 WO2017206392A1 (zh)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201610383672.4A CN107454372B (zh) 2016-06-01 2016-06-01 图像校正方法、装置及投影仪
CN201610383672.4 2016-06-01

Publications (1)

Publication Number Publication Date
WO2017206392A1 true WO2017206392A1 (zh) 2017-12-07

Family

ID=60479548

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2016/099368 WO2017206392A1 (zh) 2016-06-01 2016-09-19 图像校正方法、装置及投影仪

Country Status (2)

Country Link
CN (1) CN107454372B (zh)
WO (1) WO2017206392A1 (zh)

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108573473A (zh) * 2018-04-27 2018-09-25 平安科技(深圳)有限公司 图片旋转方法、装置、计算机设备及存储介质
CN110321908A (zh) * 2018-03-29 2019-10-11 华为技术有限公司 图像识别方法、终端设备及计算机可读存储介质
CN113380183A (zh) * 2021-04-25 2021-09-10 卡莱特云科技股份有限公司 校正系数的旋转方法、装置、led显示屏及计算机设备
CN113824939A (zh) * 2021-09-29 2021-12-21 深圳市火乐科技发展有限公司 投影图像调节方法、装置、投影设备及存储介质

Families Citing this family (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110058483B (zh) * 2018-01-18 2022-06-10 深圳光峰科技股份有限公司 自动对焦系统、投影设备、自动对焦方法及存储介质
CN108271010B (zh) * 2018-01-29 2020-05-22 维沃移动通信有限公司 一种投影方法及终端设备
CN109005394B (zh) * 2018-09-19 2019-11-29 青岛海信激光显示股份有限公司 一种投影图像的校正方法及投影机
CN109901348A (zh) * 2019-04-02 2019-06-18 上海飞来飞去新媒体展示设计有限公司 一种基于关键点标定技术的动态机械幕投影方法
CN110049299B (zh) * 2019-04-19 2021-04-09 珠海全志科技股份有限公司 梯形校正方法、装置、计算机设备和存储介质
CN112399158B (zh) * 2019-08-19 2023-06-30 深圳光峰科技股份有限公司 投影图像校准方法、装置及投影设备
CN110572628A (zh) * 2019-09-26 2019-12-13 深圳市当智科技有限公司 基于双路激光定夹角测距的投影仪及其水平梯形校正方法
CN112004072B (zh) * 2020-07-31 2022-05-03 海尔优家智能科技(北京)有限公司 投影图像检测方法及装置
CN114845091B (zh) * 2021-02-01 2023-11-10 扬智科技股份有限公司 投影装置与其梯形校正方法
CN114257799A (zh) * 2021-11-15 2022-03-29 深圳市普渡科技有限公司 机器人、投影方法和存储介质

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2003009038A (ja) * 2001-06-19 2003-01-10 Nec Viewtechnology Ltd プロジェクタ装置
JP2003198993A (ja) * 2001-12-26 2003-07-11 Toshiba Corp 投射型表示装置
CN1620100A (zh) * 2003-11-19 2005-05-25 三洋电机株式会社 图像处理装置、图像处理方法及图像处理程序
CN101091137A (zh) * 2005-03-21 2007-12-19 三菱电机株式会社 调整投影仪姿态的计算机实现方法和装置
CN101656857A (zh) * 2008-08-19 2010-02-24 精工爱普生株式会社 投影型显示装置和显示方法
CN102158673A (zh) * 2010-02-11 2011-08-17 财团法人工业技术研究院 投影校正系统及方法
CN104243879A (zh) * 2013-06-24 2014-12-24 中兴通讯股份有限公司 一种用于投影终端的图像修正方法及投影终端

Family Cites Families (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP4155890B2 (ja) * 2003-07-15 2008-09-24 カシオ計算機株式会社 プロジェクタ、プロジェクタの傾斜角度取得方法及び投影像補正方法
CN101815191A (zh) * 2010-04-24 2010-08-25 中兴通讯股份有限公司 一种调整便携终端投影仪显示画面的方法、一种便携终端
US9607363B2 (en) * 2012-06-19 2017-03-28 Ricoh Company, Ltd. Projector, trapezoidal distortion correction method, and storage medium storing trapezoidal distortion correction program
CN104796651B (zh) * 2015-03-31 2018-08-21 青岛海信电器股份有限公司 一种投影图像校准方法及投影设备
CN105227881B (zh) * 2015-09-15 2019-02-26 海信集团有限公司 一种投影画面校正方法及投影设备

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2003009038A (ja) * 2001-06-19 2003-01-10 Nec Viewtechnology Ltd プロジェクタ装置
JP2003198993A (ja) * 2001-12-26 2003-07-11 Toshiba Corp 投射型表示装置
CN1620100A (zh) * 2003-11-19 2005-05-25 三洋电机株式会社 图像处理装置、图像处理方法及图像处理程序
CN101091137A (zh) * 2005-03-21 2007-12-19 三菱电机株式会社 调整投影仪姿态的计算机实现方法和装置
CN101656857A (zh) * 2008-08-19 2010-02-24 精工爱普生株式会社 投影型显示装置和显示方法
CN102158673A (zh) * 2010-02-11 2011-08-17 财团法人工业技术研究院 投影校正系统及方法
CN104243879A (zh) * 2013-06-24 2014-12-24 中兴通讯股份有限公司 一种用于投影终端的图像修正方法及投影终端

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110321908A (zh) * 2018-03-29 2019-10-11 华为技术有限公司 图像识别方法、终端设备及计算机可读存储介质
CN108573473A (zh) * 2018-04-27 2018-09-25 平安科技(深圳)有限公司 图片旋转方法、装置、计算机设备及存储介质
CN113380183A (zh) * 2021-04-25 2021-09-10 卡莱特云科技股份有限公司 校正系数的旋转方法、装置、led显示屏及计算机设备
CN113380183B (zh) * 2021-04-25 2022-03-04 卡莱特云科技股份有限公司 校正系数的旋转方法、装置、led显示屏及计算机设备
CN113824939A (zh) * 2021-09-29 2021-12-21 深圳市火乐科技发展有限公司 投影图像调节方法、装置、投影设备及存储介质
CN113824939B (zh) * 2021-09-29 2024-05-28 深圳市火乐科技发展有限公司 投影图像调节方法、装置、投影设备及存储介质

Also Published As

Publication number Publication date
CN107454372A (zh) 2017-12-08
CN107454372B (zh) 2021-05-14

Similar Documents

Publication Publication Date Title
WO2017206392A1 (zh) 图像校正方法、装置及投影仪
CN111127655B (zh) 房屋户型图的构建方法及构建装置、存储介质
US10789672B2 (en) Method and device for performing mapping on spherical panoramic image
US10069186B2 (en) Method and device for obtaining antenna engineering parameter and system
US20140267593A1 (en) Method for processing image and electronic device thereof
US9792674B2 (en) Perspective correction for curved display screens
WO2021031781A1 (zh) 投影图像校准方法、装置及投影设备
US8398246B2 (en) Real-time projection management
KR102524559B1 (ko) 외부 디스플레이 장치의 화면 보정 장치 및 방법
CN111107333B (zh) 一种亮度校正方法、系统、设备及计算机可读存储介质
US9165338B2 (en) Method, device and computer-readable storage medium for panoramic image completion
WO2021120422A1 (zh) 一种梯形校正方法、装置和电子设备及可读存储介质
US10276075B1 (en) Device, system and method for automatic calibration of image devices
US9691357B2 (en) Information processing method and electronic device thereof, image calibration method and apparatus, and electronic device thereof
US20160188275A1 (en) Vehicle-mounted terminal and method for obtaining resolution of a screen of a handheld terminal
WO2017054334A1 (zh) 一种投影方法、装置、终端及计算机存储介质
CN111694528A (zh) 显示墙的排版辨识方法以及使用此方法的电子装置
CN115797535B (zh) 一种三维模型纹理贴图方法及相关装置
CN107995486A (zh) 一种摄像头校正方法及装置
WO2022246975A1 (zh) 一种避障动向投影的方法和设备
CN105635703A (zh) 基于图像几何矫正坐标压缩的投影方法和装置以及投影仪
US20190370944A1 (en) Keystone correction method and device
US20240153128A1 (en) Method of detecting collision of objects, device, and storage medium
WO2022217768A1 (zh) 一种定制动向投影的方法、装置、设备及系统
CN110719451A (zh) 投影调节方法及相关产品

Legal Events

Date Code Title Description
NENP Non-entry into the national phase

Ref country code: DE

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

Ref document number: 16903774

Country of ref document: EP

Kind code of ref document: A1

122 Ep: pct application non-entry in european phase

Ref document number: 16903774

Country of ref document: EP

Kind code of ref document: A1