WO2019184811A1 - Projection method and apparatus, and electronic device - Google Patents

Projection method and apparatus, and electronic device Download PDF

Info

Publication number
WO2019184811A1
WO2019184811A1 PCT/CN2019/079224 CN2019079224W WO2019184811A1 WO 2019184811 A1 WO2019184811 A1 WO 2019184811A1 CN 2019079224 W CN2019079224 W CN 2019079224W WO 2019184811 A1 WO2019184811 A1 WO 2019184811A1
Authority
WO
WIPO (PCT)
Prior art keywords
distortion
image
projection
adjustment
region
Prior art date
Application number
PCT/CN2019/079224
Other languages
French (fr)
Chinese (zh)
Inventor
董文储
Original Assignee
京东方科技集团股份有限公司
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by 京东方科技集团股份有限公司 filed Critical 京东方科技集团股份有限公司
Publication of WO2019184811A1 publication Critical patent/WO2019184811A1/en

Links

Images

Classifications

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

Definitions

  • the present disclosure relates to the technical field of display, and in particular, to a projection method and apparatus, and an electronic device.
  • some electronic devices such as smart phones have been added with a projection function to facilitate the user to project an image or video to be displayed to the surrounding wall.
  • the wall around the user's location may have uneven brightness and uneven surface, resulting in local distortion of the projected image presented on the wall surface, thereby affecting the user's viewing experience.
  • the present disclosure provides a projection method and apparatus, and an electronic device to solve one or more problems and possibly other problems in the related art.
  • a projection method comprising:
  • an image projected into the distorted area is adjusted according to a set policy.
  • determining the location of the distortion region in the projected image includes:
  • the position of the editing window is the position of the distortion area.
  • adjusting the image in the distortion area according to the setting policy includes:
  • a distortion parameter of the image in the distortion region is adjusted based on the adjustment signal.
  • determining the location of the distortion region in the projected image includes:
  • the position of the distorted area is determined from the projected image using a preset image recognition algorithm.
  • adjusting the image in the distortion area according to the setting policy includes:
  • the distortion parameter corresponding to the distortion type of the image in the distortion region is adjusted based on the correspondence between the distortion type and the distortion parameter.
  • the distortion parameters of the image located within the editing window are adjustable.
  • a projection apparatus comprising:
  • a distortion position determining circuit configured to determine a position of the distortion region in the projected image
  • the distortion image adjustment circuit is configured to adjust an image projected into the distortion region according to a setting policy based on a position of the distortion region.
  • the distortion position determining circuit includes:
  • a trigger signal monitoring sub-circuit configured to acquire a trigger signal, wherein the trigger signal is generated based on a user's moving operation
  • Editing a window adjustment sub-circuit configured to adjust a position of the edit window based on the trigger signal
  • the distortion position determining sub-circuit is configured to determine the position of the editing window as the position of the distortion area after the user operation is completed.
  • the distortion image adjustment circuit includes:
  • Adjusting a signal acquisition sub-circuit configured to acquire an adjustment signal, wherein the adjustment signal is generated based on a user adjustment operation
  • the distortion parameter adjustment sub-circuit is configured to adjust a distortion parameter of the image in the distortion region based on the adjustment signal.
  • the distortion position determining circuit includes:
  • a projection image acquisition sub-circuit configured to acquire a projection image of the projection area
  • the distortion position determining sub-circuit is configured to determine a position of the distortion region from the projection image using a preset image recognition algorithm.
  • the distortion image adjustment circuit includes:
  • a distortion type determining sub-circuit configured to determine a distortion type of an image in the distortion region according to the image to be displayed and an image in the distortion region;
  • the distortion parameter adjustment sub-circuit is configured to adjust a distortion parameter of the image in the distortion region corresponding to the distortion type based on a correspondence between the distortion type and the distortion parameter.
  • an electronic device comprising:
  • a memory configured to store the processor executable instructions
  • a projection module for projecting an image to be displayed to a projection area
  • processor is configured to execute executable instructions in the memory to perform the steps of any of the methods described in the first aspect.
  • the electronic device further includes a gravity sensor
  • the projection module includes at least a gravity balancing device and a rotary projection lens; wherein the gravity sensor is configured to acquire a rotation vector of the electronic device; The device is configured to adjust a projection angle between the rotary projection lens and the projection area in accordance with the rotation vector.
  • the electronic device further includes: a manual adjustment module; wherein the manual adjustment module is configured to monitor a trigger signal generated by a user's movement operation, and is adjusted based on an edit window thereof.
  • the electronic device further includes: a manual adjustment module; wherein the manual adjustment module is connected to the processor, and is configured to monitor an adjustment signal generated by a user's adjustment operation, based on the distortion region thereof The distortion parameters of the image are adjusted.
  • the electronic device further includes: a manual adjustment module; the manual adjustment module monitors a user's movement operation to generate a trigger signal
  • the electronic device further includes: an image acquisition module, wherein the image acquisition module is coupled to the processor and configured to acquire a projection image of the projection area.
  • FIG. 1 is a schematic flow chart of a projection method in accordance with an embodiment of the present disclosure
  • FIG. 2 is a schematic flow chart of another projection method in accordance with an embodiment of the present disclosure.
  • 3 to 6 are schematic diagrams of an application scenario of a projection method according to an embodiment of the present disclosure.
  • FIG. 7 is a schematic flow chart of still another projection method in accordance with an embodiment of the present disclosure.
  • FIG. 8 is a block diagram of a projection apparatus in accordance with an embodiment of the present disclosure.
  • FIG. 9 is a block diagram of the distortion position determining circuit illustrated in FIG. 8 in accordance with an embodiment of the present disclosure.
  • FIG. 10 is a block diagram of the distortion image adjustment circuit illustrated in FIG. 8 according to an embodiment of the present disclosure.
  • FIG. 11 is a block diagram of the distortion position determining circuit illustrated in FIG. 8 according to another embodiment of the present disclosure.
  • FIG. 12 is a block diagram of the distortion image adjustment circuit illustrated in FIG. 8 according to another embodiment of the present disclosure.
  • FIG. 13 is a block diagram of an electronic device in accordance with an embodiment of the present disclosure.
  • FIG. 14 is a block diagram of a projection module in accordance with an embodiment of the present disclosure.
  • FIG. 15 is a schematic view of a mounting position of a rocker according to an embodiment of the present disclosure.
  • the brightness of the wall may be uneven and the surface may be uneven, which may cause local distortion of the projected image on the wall surface, thereby reducing the user. Viewing experience.
  • FIG. 1 is a flow chart of a projection method in accordance with an embodiment of the present disclosure.
  • the projection method is performed with a processor in an electronic device as an execution subject.
  • the use of a processor as an execution subject is not limiting.
  • the projection method includes steps 101 and 102.
  • the position of the distorted area in the projected image is determined.
  • the electronic device projects the image to be displayed onto the projection surface (for example, the wall surface) through the projection module, and then presents the image to the user in the manner of projecting the image.
  • the distortion area in the projected image can be determined in the following manner.
  • Method 1 Manual mode.
  • the electronic device is provided with a manual adjustment module, and the manual adjustment module can receive the user's operation.
  • the operation of moving the editing window by the user is referred to as a moving operation in the subsequent content
  • the operation of adjusting the distortion parameter of the image in the editing window by the user is referred to as an adjustment operation.
  • the editing window is such a window that the image located in the editing window can be edited, for example, the distortion parameter of the image is adjusted.
  • the manual adjustment module may include one or more of a rocker, a direction button, and a touch button.
  • the above edit window can be displayed during the projection process, or can be displayed in response to the user's trigger operation.
  • the user When the user views the projected image, if there is a distorted area in the projected image, the user performs a moving operation by manually adjusting the module (ie, moving the operation of the editing window).
  • the manual adjustment module generates a corresponding trigger signal according to the correspondence between the movement operation and the trigger signal, and sends the trigger signal to, for example, a processor.
  • the processor adjusts the position of the editing window based on the trigger signal.
  • the trigger signal may correspond to the offset position.
  • the offset position may be superimposed on the basis of the current position of the edit window, and the sum of the vectors of the two positions is used as the position of the edit window after the move operation.
  • the position of the edit window after the move operation is taken as the position of the distortion area in the projected image.
  • an image acquisition module can be disposed on the electronic device.
  • the image acquisition module is coupled to the processor and configured to acquire a projection image of the projection area and transmit the acquired projection image to the processor.
  • the processor determines the position of the distortion region from the acquired projection image according to a preset image recognition algorithm.
  • the image recognition algorithm may determine the location of the distorted region in the following manner, for example, all of which may be performed by the processor.
  • Method 1 Determine a coordinate system based on the projection surface (hereinafter referred to as the first coordinate system), and determine another coordinate system based on the image to be displayed (hereinafter referred to as the second coordinate system). Then, by mapping each pixel point in the projected image to the image to be displayed, a correspondence relationship between the first coordinate system and the second coordinate system is obtained. Based on the above manner, the correspondence between the first coordinate system and the second coordinate system is stored in advance.
  • the collected projection image is mapped to the image to be displayed, and then the mapped projection image and the image to be displayed are analyzed to determine the distortion pixel.
  • the coordinates (the pixels at the same position cannot be matched), and finally the coordinate positions of all the distorted pixels are counted to obtain the position of the distorted area.
  • Manner 2 extracting image features (such as edge features, gray value rate change characteristics, etc.) in the image to be displayed and the projected image, respectively, and then filtering out the noise features in the image features of the projected image.
  • the noise characteristic refers to a newly added image feature in most areas of the projected image compared with the image features of the image to be displayed. Then, comparing the image features of the image to be displayed and the image features of the filtered projection image, the position where the image feature changes may be determined, and the changed position is used as the distortion region of the projected image.
  • the technician can select other image recognition algorithms according to the specific scene, and all the schemes that can determine the location of the distortion region are also conceived.
  • Step 102 Adjust an image projected into the distortion region according to a set policy according to a position of the distortion region.
  • the processor may adjust the image projected into the distortion area according to the set strategy, so that the image in the distortion area is consistent with the image in other areas of the projected image (ie, , so that the projected image in the projection area looks undistorted).
  • the set strategy can include:
  • the manual adjustment module continues to monitor the user's adjustment operations.
  • the user selects the distortion parameter (such as shape, size, brightness, etc.) of the image of the distortion area to be adjusted by manually adjusting the module, and then the manual adjustment module generates an adjustment signal according to the adjustment operation of the user to send to the processor.
  • the processor adjusts the distortion parameter corresponding to the image in the distortion region according to the adjustment signal. For example, the user adjusts the brightness of the distortion area by manually adjusting the module selection, and then inputs the adjusted brightness value. Then, (for example, the processor) adjusts the brightness value of the image in the distorted area according to the brightness value.
  • Strategy 2 using (for example, a processor) image recognition model to identify the distortion type of the image of the distortion region, and then adjusting the image corresponding to the distortion type in the distortion region based on the correspondence between the previously stored distortion type and the distortion parameter Distortion parameters, so that the image of the adjusted distortion area is consistent with the image of other areas.
  • the image recognition algorithm determines the undistorted region in the projected image of the adjusted projection region acquired by the image acquisition module, it may be determined that the image of the adjusted distortion region is consistent with the image of the other region.
  • the image recognition model for identifying the distortion type and the distortion position in this embodiment may be the same image recognition model or different image recognition models. Taking different image recognition models as an example, after determining that the projected image has a distortion region, the image of the distortion region and the image to be displayed are input to an image recognition model for identifying the distortion type, and then the image of the distortion region is recognized by the image recognition model.
  • the type of distortion As an example, the distortion type may be size distortion, uneven brightness, and the like. Then, (for example, the processor) determines the distortion parameter that needs to be adjusted according to the correspondence relationship between the distortion type and the distortion parameter, and adjusts the distortion parameter of the image in the distortion region corresponding to the distortion type.
  • the distortion parameters that need to be adjusted are shape, size, curvature, etc.
  • the distortion parameter that needs to be adjusted is brightness.
  • the position of the distortion region in the projected image is determined manually or automatically, and then the processor adjusts the image projected into the distortion region according to the set strategy, so that the image in the distortion region and the projected image are The images in other locations are consistent. That is, in the embodiment, the projection image in the projection area can be made without distortion without replacing the projection surface, and the viewing experience of the user is ensured.
  • FIG. 2 is a schematic flow chart of a projection method according to an embodiment of the present disclosure
  • FIGS. 3-6 are schematic diagrams of an application scenario in which the projection method of FIG. 2 is applied, according to an embodiment of the present disclosure.
  • the method as shown in Figure 2 includes steps 201-205.
  • a trigger signal is acquired that is generated based on a user's movement operation.
  • the position of the edit window is adjusted based on the trigger signal.
  • step 203 after the user's movement operation is completed, it is determined that the position of the editing window is the position of the distortion area.
  • an adjustment signal is acquired that is generated based on a user's adjustment operation.
  • a distortion parameter of the image in the distorted region is adjusted based on the adjustment signal.
  • the top edge of the electronic device 11 is provided with a projection module 111 (marked by a dotted line to indicate that it is not visible in the direction shown in FIG. 3), and the user (for example, using the finger 10 to touch) adjusts the "projection adjustment mode" in advance. It is "manual mode".
  • the user adjusts the direction of the projection module 111 to project the image to be displayed to the projection surface 12, and the imaged area of the image to be displayed on the projection surface 12 is the projection area 13. Due to the presence of the protrusions 121 on the projection surface 12, the distortion area 14 is present in the projected image within the projection area 13 viewed by the user.
  • the direction operation window 15 and the edit window 16 are popped up in the display area.
  • the direction operation window 15 includes four movement keys (ie, a manual adjustment module) of "upward”, “downward”, “leftward”, and “rightward”, see the arrows in the directions shown in FIG. .
  • the initial position of the center position of the edit window 16 is P1.
  • the user performs a moving operation by the direction operation window 15, for example, operates (or touches) two moving buttons of "down” and "right” to move the center position of the editing window 16 to P2, thereby making the edit window 16 after the movement.
  • the projection 26 covers the distortion region 14. It should be noted that, in order to clarify the positional relationship between the editing window 16 and the distortion area 14, the size of the distortion area 14 and the editing window 16 are appropriately adjusted in the drawing, so that it is more convenient to understand.
  • the position of the edit window may be moved in a set step size in response to a trigger signal transmitted by touching the move button, and may also be based on the initial position P1 of the edit window 16 and the touch "down" and “toward”
  • the movement step of the right "two moving buttons" determines the position P2 after the movement.
  • the position of the window 16 is the position of the distorted area, that is, the position P2.
  • the display module of the electronic device 11 can continue to be touched.
  • a pull-down menu 17 is displayed in the display area, which includes a list of distortion parameters.
  • the adjustment operation may be performed by the user by, for example, adjusting the distortion parameter such as “curvature” in the list, to adjust the image in the distortion region 14 according to the adjustment signal generated by the adjustment operation, and finally presented to the user as shown in FIG. 6 .
  • Projected image undistorted projected image.
  • the distortion parameter can be adjusted according to the operation of the user, so that the image in the distortion region is consistent with the image of other regions in the projected image, so that the projection image can be completed without replacing the projection surface.
  • sexuality enhances the user's viewing experience.
  • the interaction between the user and the electronic device can be improved, and the fun of using the projection function can be improved.
  • FIG. 7 is a schematic flow chart of still another projection method in accordance with an embodiment of the present disclosure.
  • the method includes steps 701-704.
  • step 701 a projected image of the projected area is acquired.
  • step 702 the location of the distorted region is determined from the projected image using a pre-set image recognition algorithm.
  • step 703 a distortion type of the image in the distorted region is determined according to the image to be displayed and the image in the distorted region.
  • the distortion parameter of the image in the distortion region corresponding to the distortion type is adjusted.
  • the electronic device 11 in this embodiment is provided with an image acquisition module 18, which can be arranged on the back side of the electronic device 11 shown in FIG. 3-6 (as shown by the dotted line in FIG. 3 (indicating that the front side cannot See)), front side or even separate from the electronic device 11.
  • the position of the image acquisition module is not limited as long as it can acquire a projected image.
  • the image acquisition module can be, for example, a camera.
  • the projection module 111 projects the image to be displayed to the projection area 13.
  • the image acquisition module 18 acquires a projected image of the projected area 13 and transmits the acquired projected image to, for example, a processor.
  • the processor identifies the position of the distorted region from the acquired projected image using a preset image recognition algorithm. Then, the image to be displayed and the image in the distortion region are analyzed to determine the distortion type of the image in the distortion region. Finally, according to the correspondence between the pre-stored distortion type and the distortion parameter, the distortion parameter corresponding to the distortion type of the image in the distortion region is adjusted.
  • the distortion region can be adjusted, and the user can replace the projection surface to ensure the distortion-free region of the projection image, which is beneficial to improving the user. Viewing experience.
  • FIG. 8 is a block diagram of a projection apparatus in accordance with an embodiment of the present disclosure.
  • the projection apparatus 800 includes:
  • a distortion position determining circuit 801 configured to determine a position of the distortion region in the projected image
  • the distortion image adjustment circuit 802 is configured to adjust an image projected into the distortion region according to a set policy based on a position of the distortion region.
  • the distortion position determining circuit 801 includes:
  • a trigger signal monitoring sub-circuit 901 configured to acquire a trigger signal, wherein the trigger signal is generated based on a user's moving operation
  • Editing window adjustment sub-circuit 902 configured to adjust a position of the editing window based on the trigger signal
  • the distortion position determining sub-circuit 903 is configured to determine the position of the editing window as the position of the distortion area after the user's movement operation is completed.
  • FIG. 10 is a block diagram of the distortion image adjustment circuit shown in FIG. 8 according to an embodiment of the present disclosure.
  • the distortion image adjustment circuit 802 includes:
  • the adjustment signal acquisition sub-circuit 1001 is configured to acquire an adjustment signal, wherein the adjustment signal is generated based on a user adjustment operation;
  • the distortion parameter adjustment sub-circuit 1002 is configured to adjust a distortion parameter of the image in the distortion region based on the adjustment signal.
  • the distortion position determining circuit 801 includes:
  • a projection image acquisition sub-circuit 1101 configured to acquire a projection image of the projection area
  • the distortion position determining sub-circuit 1102 is configured to determine a position of the distortion region from the projection image using a preset image recognition algorithm.
  • FIG. 12 is a block diagram of the distortion image adjustment circuit shown in FIG. 8 according to an embodiment of the present disclosure.
  • the distortion image adjustment circuit 802 includes:
  • the distortion type determining sub-circuit 1201 is configured to determine a distortion type of the image in the distortion region according to the image to be displayed and the image in the distortion region;
  • the distortion parameter adjustment sub-circuit 1202 is configured to adjust the distortion parameter of the image in the distortion region corresponding to the distortion type based on the correspondence between the distortion type and the distortion parameter.
  • circuit sub-circuits depicted in Figures 8-12 can be various software modules or various hardware having processing functions such as processors, application specific integrated circuits, programmable logic devices, and the like. It is to be understood that the projection device provided by the embodiment of the present disclosure corresponds to the above-mentioned projection method, and the specific content may refer to the content of each embodiment of the projection method, and details are not described herein again.
  • FIG. 13 is a schematic block diagram of an electronic device in accordance with an embodiment of the present disclosure.
  • the electronic device 1300 includes:
  • the processor 1301 The processor 1301;
  • a memory 1302 for storing executable instructions of the processor 1301;
  • a projection module 1303, configured to project an image to be displayed to a projection area
  • the processor 1301 is configured to execute executable instructions in the memory 1302 to implement the steps of the methods in the foregoing method embodiments.
  • the electronic device 1300 described above can also include a gravity sensor 1304.
  • the projection module 1303 includes at least a gravity balancing device 1401 and a rotating projection lens 1402.
  • the rotary projection lens 1402 is mounted in the lens slot 1403.
  • Gravity sensor 1304 is configured to acquire a rotation vector of the electronic device 1300; the gravity balancing device 1401 is configured to adjust a projection angle between the rotational projection lens 1402 and the projection area in accordance with the rotation vector.
  • the rotary projection lens can be adjusted correspondingly when the electronic device rotates, thereby ensuring that the projected image does not rotate, which is beneficial to enhance the viewing experience.
  • the electronic device 1300 may further include: a manual adjustment module 1305; the manual adjustment module 1305 is coupled to the processor 1301 and configured to monitor a user's mobile operation. Generating a trigger signal and transmitting the trigger signal to the processor 1301; or, configured to monitor a user's adjustment operation to generate an adjustment signal, and transmitting the adjustment signal to the processor 1301.
  • the distortion parameter of the image of the distortion area can be adjusted by the interaction operation between the user and the electronic device, so that the image in the distortion area is consistent with the image of other areas in the projection image, and the projection can be ensured without replacing the projection surface. Image integrity enhances the user's viewing experience.
  • the manual adjustment module 1305 may further include a rocker 1501 disposed at the top or bottom of the front surface of the electronic device 1300 (facing the display side of the user), and the rocker may be shaken according to the user in various directions.
  • the tilt angle generates a trigger signal, and the processor moves the edit window according to the trigger signal.
  • the electronic device 1300 may further include: an image acquisition module 1306 .
  • the image acquisition module 1306 is coupled to the processor 1301 and configured to acquire a projection image of the projection area and transmit the acquired projection image to the processor 1301.
  • the processor 1301 may identify the distortion region by using an image recognition algorithm, and determine the distortion type of the image in the distortion region according to the image to be displayed and the image in the distortion region, and then adjust the image in the distortion region based on the correspondence between the distortion type and the distortion parameter.
  • the distortion parameter corresponding to the distortion type is such that the image in the adjusted distortion region is consistent with the surrounding area.
  • each functional unit can be implemented in a single unit, implemented in a plurality of units, or implemented as part of other functional units without departing from the disclosure.
  • functionality illustrated to be performed by a single unit can be performed by a plurality of different units. Therefore, references to specific functional units are only to be considered as a reference to the appropriate elements for providing the described functionality, rather than a strict logical or physical structure or organization. Accordingly, the present disclosure may be implemented in a single unit or may be physically and functionally distributed between different units and circuits.

Landscapes

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

Abstract

Described herein are a projection method and apparatus, and an electronic device. The projection method comprises: determining the position of a distorted region in a projected image; and adjusting, on the basis of the position of the distorted region and according to a set policy, the image projected into the distorted region, so that the image in the distorted region is consistent with the image at other positions in the projected image.

Description

投影方法及装置、电子设备Projection method and device, electronic device
相关申请Related application
本申请要求申请日为2018年3月30日、申请号为CN201810286709.0的中国专利申请的优先权,该优先权申请的整体内容通过引用的方式被合并于此。The present application claims the priority of the Chinese Patent Application Serial No. PCT Application No. PCT Application Serial No.
技术领域Technical field
本公开涉及显示的技术领域,尤其涉及一种投影方法及装置、电子设备。The present disclosure relates to the technical field of display, and in particular, to a projection method and apparatus, and an electronic device.
背景技术Background technique
目前,例如智能手机等部分电子设备已增加投影功能,以方便用户将待显示图像或者视频投射至周围的墙面。然而,在一些场景中,用户所在位置周围的墙面会存在亮度不均匀、表面凹凸不平的情形,导致在墙面上呈现的投影图像存在局部畸变,从而影响用户的观看体验。At present, some electronic devices such as smart phones have been added with a projection function to facilitate the user to project an image or video to be displayed to the surrounding wall. However, in some scenarios, the wall around the user's location may have uneven brightness and uneven surface, resulting in local distortion of the projected image presented on the wall surface, thereby affecting the user's viewing experience.
发明内容Summary of the invention
本公开提供一种投影方法及装置、电子设备,以解决相关技术中的一个或多个问题以及可能的其它问题。The present disclosure provides a projection method and apparatus, and an electronic device to solve one or more problems and possibly other problems in the related art.
根据本公开的第一方面,提供了一种投影方法,包括:According to a first aspect of the present disclosure, a projection method is provided, comprising:
确定投影图像中畸变区域的位置;Determining the position of the distortion area in the projected image;
基于所述畸变区域的位置,根据设定的策略调整投影到所述畸变区域中的图像。Based on the position of the distorted area, an image projected into the distorted area is adjusted according to a set policy.
可选地,确定投影图像中畸变区域的位置包括:Optionally, determining the location of the distortion region in the projected image includes:
获取触发信号,其中所述触发信号是基于用户的移动操作生成的;Acquiring a trigger signal, wherein the trigger signal is generated based on a user's moving operation;
基于所述触发信号调整编辑窗口的位置;Adjusting a position of the editing window based on the trigger signal;
在用户操作完成后,确定所述编辑窗口的位置为畸变区域的位置。After the user operation is completed, it is determined that the position of the editing window is the position of the distortion area.
可选地,根据设定策略调整所述畸变区域中的图像包括:Optionally, adjusting the image in the distortion area according to the setting policy includes:
获取调整信号,其中所述调整信号是基于用户的调整操作生成的;Acquiring an adjustment signal, wherein the adjustment signal is generated based on a user adjustment operation;
基于所述调整信号调整所述畸变区域中图像的畸变参数。A distortion parameter of the image in the distortion region is adjusted based on the adjustment signal.
可选地,确定投影图像中畸变区域的位置包括:Optionally, determining the location of the distortion region in the projected image includes:
获取投影区域的投影图像;Obtaining a projected image of the projected area;
利用预先设置的图像识别算法从所述投影图像中确定出畸变区域的位置。The position of the distorted area is determined from the projected image using a preset image recognition algorithm.
可选地,根据设定策略调整所述畸变区域中的图像包括:Optionally, adjusting the image in the distortion area according to the setting policy includes:
根据待显示图像和所述畸变区域内的图像确定出所述畸变区域内的图像的畸变类型;Determining a type of distortion of the image in the distortion region according to the image to be displayed and the image in the distortion region;
基于畸变类型和畸变参数的对应关系,调整畸变区域中图像的与该畸变类型对应的畸变参数。The distortion parameter corresponding to the distortion type of the image in the distortion region is adjusted based on the correspondence between the distortion type and the distortion parameter.
可选地,位于该编辑窗口内的图像的畸变参数是可调整的。Optionally, the distortion parameters of the image located within the editing window are adjustable.
根据本公开的第二方面,提供了一种投影装置,包括:According to a second aspect of the present disclosure, there is provided a projection apparatus comprising:
畸变位置确定电路,被配置成确定投影图像中畸变区域的位置;a distortion position determining circuit configured to determine a position of the distortion region in the projected image;
畸变图像调整电路,被配置成基于所述畸变区域的位置,根据设定策略调整投影到所述畸变区域中的图像。The distortion image adjustment circuit is configured to adjust an image projected into the distortion region according to a setting policy based on a position of the distortion region.
可选地,所述畸变位置确定电路包括:Optionally, the distortion position determining circuit includes:
触发信号监测子电路,被配置成获取触发信号,其中所述触发信号是基于用户的移动操作生成的;a trigger signal monitoring sub-circuit configured to acquire a trigger signal, wherein the trigger signal is generated based on a user's moving operation;
编辑窗口调整子电路,被配置成基于所述触发信号调整编辑窗口的位置;Editing a window adjustment sub-circuit configured to adjust a position of the edit window based on the trigger signal;
畸变位置确定子电路,被配置成在用户操作完成后,确定所述编辑窗口的位置为畸变区域的位置。The distortion position determining sub-circuit is configured to determine the position of the editing window as the position of the distortion area after the user operation is completed.
可选地,所述畸变图像调整电路包括:Optionally, the distortion image adjustment circuit includes:
调整信号获取子电路,被配置成获取调整信号,其中所述调整信号基于用户的调整操作生成的;Adjusting a signal acquisition sub-circuit configured to acquire an adjustment signal, wherein the adjustment signal is generated based on a user adjustment operation;
畸变参数调整子电路,被配置成基于所述调整信号调整所述畸变区域中图像的畸变参数。The distortion parameter adjustment sub-circuit is configured to adjust a distortion parameter of the image in the distortion region based on the adjustment signal.
可选地,所述畸变位置确定电路包括:Optionally, the distortion position determining circuit includes:
投影图像获取子电路,被配置成获取投影区域的投影图像;a projection image acquisition sub-circuit configured to acquire a projection image of the projection area;
畸变位置确定子电路,被配置成利用预先设置的图像识别算法从所述投影图像中确定出畸变区域的位置。The distortion position determining sub-circuit is configured to determine a position of the distortion region from the projection image using a preset image recognition algorithm.
可选地,所述畸变图像调整电路包括:Optionally, the distortion image adjustment circuit includes:
畸变类型确定子电路,被配置成根据所述待显示图像和所述畸变区域内的图像确定出所述畸变区域内的图像的畸变类型;a distortion type determining sub-circuit configured to determine a distortion type of an image in the distortion region according to the image to be displayed and an image in the distortion region;
畸变参数调整子电路,被配置成基于畸变类型和畸变参数的对应 关系,调整畸变区域中的图像的与该畸变类型对应的畸变参数。The distortion parameter adjustment sub-circuit is configured to adjust a distortion parameter of the image in the distortion region corresponding to the distortion type based on a correspondence between the distortion type and the distortion parameter.
根据本公开的第三方面,提供了一种电子设备,所述电子设备包括:According to a third aspect of the present disclosure, an electronic device is provided, the electronic device comprising:
处理器;processor;
存储器,被配置成存储所述处理器可执行指令;a memory configured to store the processor executable instructions;
投影模组,用于将待显示图像投影到投影区域;a projection module for projecting an image to be displayed to a projection area;
其中,所述处理器被配置成执行所述存储器中的可执行指令以执行第一方面所述的任一方法的步骤。Wherein the processor is configured to execute executable instructions in the memory to perform the steps of any of the methods described in the first aspect.
可选地,所述电子设备还包括重力传感器,并且所述投影模组至少包括重力平衡器件和旋转投影镜头;其中所述重力传感器被配置成获取所述电子设备的旋转向量;所述重力平衡器件被配置成根据所述旋转向量调整所述旋转投影镜头与所述投影区域之间的投影角度。Optionally, the electronic device further includes a gravity sensor, and the projection module includes at least a gravity balancing device and a rotary projection lens; wherein the gravity sensor is configured to acquire a rotation vector of the electronic device; The device is configured to adjust a projection angle between the rotary projection lens and the projection area in accordance with the rotation vector.
可选地,所述电子设备还包括:手动调整模组;其中所述手动调整模组被配置成监测用户的移动操作生成的触发信号,基于其编辑窗口被调整。Optionally, the electronic device further includes: a manual adjustment module; wherein the manual adjustment module is configured to monitor a trigger signal generated by a user's movement operation, and is adjusted based on an edit window thereof.
可选地,所述电子设备还包括:手动调整模组;其中所述手动调整模组与所述处理器连接,并且被配置成监测用户的调整操作生成的调整信号,基于其所述畸变区域中图像的畸变参数被调整。所述电子设备还包括:手动调整模组;所述手动调整模组监测用户的移动操作生成触发信号Optionally, the electronic device further includes: a manual adjustment module; wherein the manual adjustment module is connected to the processor, and is configured to monitor an adjustment signal generated by a user's adjustment operation, based on the distortion region thereof The distortion parameters of the image are adjusted. The electronic device further includes: a manual adjustment module; the manual adjustment module monitors a user's movement operation to generate a trigger signal
可选地,所述电子设备还包括:图像采集模组,其中所述图像采集模组与所述处理器连接,并且被配置成采集所述投影区域的投影图像。Optionally, the electronic device further includes: an image acquisition module, wherein the image acquisition module is coupled to the processor and configured to acquire a projection image of the projection area.
应当理解的是,以上的一般描述和后文的细节描述仅是示例性和解释性的,并不能限制本公开。The above general description and the following detailed description are intended to be illustrative and not restrictive.
附图说明DRAWINGS
此处的附图被并入说明书中并构成本说明书的一部分。以下附图示出了本公开的实施例,并与说明书一起用于解释本公开的原理。The drawings herein are incorporated into the specification and form a part of this specification. The following drawings illustrate embodiments of the disclosure and, together with
图1是根据本公开的实施例的一种投影方法的示意流程图;1 is a schematic flow chart of a projection method in accordance with an embodiment of the present disclosure;
图2是根据本公开的实施例的另一种投影方法的示意流程图;2 is a schematic flow chart of another projection method in accordance with an embodiment of the present disclosure;
图3~图6是根据本公开的实施例的投影方法的一种应用场景的示意图;3 to 6 are schematic diagrams of an application scenario of a projection method according to an embodiment of the present disclosure;
图7是根据本公开的实施例的又一种投影方法的示意流程图;7 is a schematic flow chart of still another projection method in accordance with an embodiment of the present disclosure;
图8是根据本公开的实施例的一种投影装置的框图;FIG. 8 is a block diagram of a projection apparatus in accordance with an embodiment of the present disclosure; FIG.
图9是根据本公开的实施例的图8示出的畸变位置确定电路的框图;9 is a block diagram of the distortion position determining circuit illustrated in FIG. 8 in accordance with an embodiment of the present disclosure;
图10是根据本公开的实施例的图8中示出的畸变图像调整电路的框图;FIG. 10 is a block diagram of the distortion image adjustment circuit illustrated in FIG. 8 according to an embodiment of the present disclosure; FIG.
图11是根据本公开的另一实施例的图8示出的畸变位置确定电路的框图;FIG. 11 is a block diagram of the distortion position determining circuit illustrated in FIG. 8 according to another embodiment of the present disclosure; FIG.
图12是根据本公开的另一实施例的图8中示出的畸变图像调整电路的框图;FIG. 12 is a block diagram of the distortion image adjustment circuit illustrated in FIG. 8 according to another embodiment of the present disclosure; FIG.
图13是根据本公开的实施例的一种电子设备的框图;FIG. 13 is a block diagram of an electronic device in accordance with an embodiment of the present disclosure; FIG.
图14是根据本公开的实施例的一种投影模组的框图;14 is a block diagram of a projection module in accordance with an embodiment of the present disclosure;
图15是根据本公开的实施例的摇杆的安装位置的示意图。15 is a schematic view of a mounting position of a rocker according to an embodiment of the present disclosure.
具体实施方式detailed description
这里将参考附图详细地对本公开的示例性实施例进行说明。下面的描述涉及附图时,除非另有表示,不同附图中的相同数字表示相同或相似的要素。以下示例性实施例中所描述的实施方式并不代表本公开的所有实施方式。相反,它们仅是本公开的一些方面的装置和方法的例子。Exemplary embodiments of the present disclosure will be described in detail herein with reference to the drawings. The following description refers to the same or similar elements in the different figures unless otherwise indicated. The embodiments described in the following exemplary embodiments do not represent all embodiments of the present disclosure. Rather, they are merely examples of devices and methods of some aspects of the present disclosure.
在使用电子设备向周围的墙面投影待显示图像或者视频时,由于墙面会存在亮度不均匀、表面凹凸不平的情况,因此这可能导致墙面上呈现的投影图像存在局部畸变,从而降低用户的观看体验。When an electronic device is used to project an image or a video to be displayed on a surrounding wall surface, the brightness of the wall may be uneven and the surface may be uneven, which may cause local distortion of the projected image on the wall surface, thereby reducing the user. Viewing experience.
图1是根据本公开的实施例的一种投影方法的流程示意图。为了描述方便,作为示例,后续各实施例中,都以电子设备中的处理器作为执行主体来执行该投影方法。然而,应当指出,以处理器作为执行主体并不是限制性的。参见图1,该投影方法包括步骤101和102。FIG. 1 is a flow chart of a projection method in accordance with an embodiment of the present disclosure. For convenience of description, as an example, in the subsequent embodiments, the projection method is performed with a processor in an electronic device as an execution subject. However, it should be noted that the use of a processor as an execution subject is not limiting. Referring to Figure 1, the projection method includes steps 101 and 102.
在步骤101,确定投影图像中畸变区域的位置。At step 101, the position of the distorted area in the projected image is determined.
电子设备通过投影模组将待显示图像投射到投射面(例如,墙面)上,然后以投影图像的方式呈现给用户。可以以如下方式确定投影图像中的畸变区域。The electronic device projects the image to be displayed onto the projection surface (for example, the wall surface) through the projection module, and then presents the image to the user in the manner of projecting the image. The distortion area in the projected image can be determined in the following manner.
方式一:手动方式。本方式下,电子设备上设置有手动调整模组,该手动调整模组可以接收用户的操作。为方便说明,后续内容中将用户移动编辑窗口的操作称之为移动操作,将用户调整编辑窗口内图像 的畸变参数的操作称之为调整操作。编辑窗口为这样窗口,即可以对位于该编辑窗口内的图像进行编辑,例如调整该图像的畸变参数。作为示例,手动调整模组可以包括摇杆、方向按键、触摸按键中的一种或者多种。Method 1: Manual mode. In this mode, the electronic device is provided with a manual adjustment module, and the manual adjustment module can receive the user's operation. For convenience of explanation, the operation of moving the editing window by the user is referred to as a moving operation in the subsequent content, and the operation of adjusting the distortion parameter of the image in the editing window by the user is referred to as an adjustment operation. The editing window is such a window that the image located in the editing window can be edited, for example, the distortion parameter of the image is adjusted. As an example, the manual adjustment module may include one or more of a rocker, a direction button, and a touch button.
可理解的是,上述编辑窗口可以在投影过程中保持显示,也可以是响应用户的触发操作而被显示。It can be understood that the above edit window can be displayed during the projection process, or can be displayed in response to the user's trigger operation.
用户在观看投影图像时,若投影图像中存在畸变区域,用户会通过手动调整模组来执行移动操作(即,移动编辑窗口的操作)。手动调整模组根据移动操作和触发信号的对应关系来生成相应的触发信号,并将该触发信号发送给例如处理器。处理器根据触发信号调整编辑窗口的位置。例如,触发信号可以对应偏移位置,此时可以在编辑窗口当前位置的基础上叠加偏移位置,并将两个位置的矢量之和作为移动操作后编辑窗口的位置。When the user views the projected image, if there is a distorted area in the projected image, the user performs a moving operation by manually adjusting the module (ie, moving the operation of the editing window). The manual adjustment module generates a corresponding trigger signal according to the correspondence between the movement operation and the trigger signal, and sends the trigger signal to, for example, a processor. The processor adjusts the position of the editing window based on the trigger signal. For example, the trigger signal may correspond to the offset position. At this time, the offset position may be superimposed on the basis of the current position of the edit window, and the sum of the vectors of the two positions is used as the position of the edit window after the move operation.
若编辑窗口保持在同一位置的时间超过设定阈值,或者用户“确定”位置,则将移动操作后的编辑窗口的位置作为投影图像中畸变区域的位置。If the time during which the edit window remains in the same position exceeds the set threshold, or the user "determines" the position, the position of the edit window after the move operation is taken as the position of the distortion area in the projected image.
方式二:自动方式。本方式下,电子设备上可以设置有图像采集模组。该图像采集模组与处理器连接,被配置成采集投影区域的投影图像,并将采集到的投影图像发送给处理器。Method 2: Automatic mode. In this mode, an image acquisition module can be disposed on the electronic device. The image acquisition module is coupled to the processor and configured to acquire a projection image of the projection area and transmit the acquired projection image to the processor.
处理器根据预先设置的图像识别算法,从采集到的投影图像中确定出畸变区域的位置。图像识别算法可以采用以下方式确定畸变区域的位置,以下方式例如都可以被处理器执行。The processor determines the position of the distortion region from the acquired projection image according to a preset image recognition algorithm. The image recognition algorithm may determine the location of the distorted region in the following manner, for example, all of which may be performed by the processor.
方式一:基于投射面确定一个坐标系(后续称之为第一坐标系),基于待显示图像确定另一个坐标系(后续称之为第二坐标系)。然后,通过将投影图像中各像素点分别映射到待显示图像,以得到第一坐标系和第二坐标系之间的对应关系。基于上述方式,预先存储第一坐标系和第二坐标系的对应关系。Method 1: Determine a coordinate system based on the projection surface (hereinafter referred to as the first coordinate system), and determine another coordinate system based on the image to be displayed (hereinafter referred to as the second coordinate system). Then, by mapping each pixel point in the projected image to the image to be displayed, a correspondence relationship between the first coordinate system and the second coordinate system is obtained. Based on the above manner, the correspondence between the first coordinate system and the second coordinate system is stored in advance.
在采集到投影图像后,根据第一坐标系和第二坐标系的对应关系,将采集到的投影图像映射到待显示图像,然后分析映射后的投影图像和待显示图像即可确定畸变像素的坐标(相同位置的像素点无法匹配),最后统计所有畸变像素的坐标位置以得到畸变区域的位置。After the projection image is acquired, according to the correspondence relationship between the first coordinate system and the second coordinate system, the collected projection image is mapped to the image to be displayed, and then the mapped projection image and the image to be displayed are analyzed to determine the distortion pixel. The coordinates (the pixels at the same position cannot be matched), and finally the coordinate positions of all the distorted pixels are counted to obtain the position of the distorted area.
方式二:分别提取待显示图像和投影图像中的图像特征(例如边 缘特征、灰度值变化率特征等),然后过滤掉投影图像的图像特征中的噪声特征。其中噪声特征是指,与待显示图像的图像特征相比较,投影图像中大部分区域新增加的图像特征。之后,对比待显示图像的图像特征和过滤后的投影图像的图像特征,可以确定出图像特征发生变化的位置,将变化的位置作为投影图像的畸变区域。Manner 2: extracting image features (such as edge features, gray value rate change characteristics, etc.) in the image to be displayed and the projected image, respectively, and then filtering out the noise features in the image features of the projected image. The noise characteristic refers to a newly added image feature in most areas of the projected image compared with the image features of the image to be displayed. Then, comparing the image features of the image to be displayed and the image features of the filtered projection image, the position where the image feature changes may be determined, and the changed position is used as the distortion region of the projected image.
当然,技术人员可以根据具体场景选择其他图像识别算法,所有能够确定出畸变区域位置的方案同样被设想。Of course, the technician can select other image recognition algorithms according to the specific scene, and all the schemes that can determine the location of the distortion region are also conceived.
步骤102:基于所述畸变区域的位置,根据设定的策略调整投影到所述畸变区域中的图像。Step 102: Adjust an image projected into the distortion region according to a set policy according to a position of the distortion region.
本实施例中,在确定畸变区域的位置后,处理器可以根据设定的策略调整投影到畸变区域中的图像,从而使畸变区域中的图像与投影图像的其他区域中的图像保持一致(即,使投影区域内投影图像看起来无畸变)。In this embodiment, after determining the position of the distortion area, the processor may adjust the image projected into the distortion area according to the set strategy, so that the image in the distortion area is consistent with the image in other areas of the projected image (ie, , so that the projected image in the projection area looks undistorted).
其中,设定的策略可以包括:Among them, the set strategy can include:
策略一:手动调整模组继续监测用户的调整操作。用户通过手动调整模组选择要调整的畸变区域的图像的畸变参数(例如形状、尺寸、亮度等),然后手动调整模组根据用户的调整操作生成调整信号以发送给处理器。处理器根据调整信号调整畸变区域中图像对应的畸变参数。例如,用户通过手动调整模组选择调整畸变区域的亮度,然后输入调整后的亮度值。然后,(例如,处理器)根据亮度值调整畸变区域内图像的亮度值。Strategy 1: The manual adjustment module continues to monitor the user's adjustment operations. The user selects the distortion parameter (such as shape, size, brightness, etc.) of the image of the distortion area to be adjusted by manually adjusting the module, and then the manual adjustment module generates an adjustment signal according to the adjustment operation of the user to send to the processor. The processor adjusts the distortion parameter corresponding to the image in the distortion region according to the adjustment signal. For example, the user adjusts the brightness of the distortion area by manually adjusting the module selection, and then inputs the adjusted brightness value. Then, (for example, the processor) adjusts the brightness value of the image in the distorted area according to the brightness value.
策略二:利用(例如,由处理器)图像识别模型识别出畸变区域的图像的畸变类型,然后基于预先存储的畸变类型和畸变参数的对应关系,调整畸变区域中图像的与该畸变类型对应的畸变参数,从而使调整后的畸变区域的图像与其他区域的图像保持一致。例如,当图像识别算法在利用图像采集模组采集的调整后的投影区域的投影图像中确定无畸变区域时,可以确定调整后的畸变区域的图像与其他区域的图像已保持一致。Strategy 2: using (for example, a processor) image recognition model to identify the distortion type of the image of the distortion region, and then adjusting the image corresponding to the distortion type in the distortion region based on the correspondence between the previously stored distortion type and the distortion parameter Distortion parameters, so that the image of the adjusted distortion area is consistent with the image of other areas. For example, when the image recognition algorithm determines the undistorted region in the projected image of the adjusted projection region acquired by the image acquisition module, it may be determined that the image of the adjusted distortion region is consistent with the image of the other region.
可理解的是,本实施例中识别畸变类型和畸变位置的图像识别模型可以为同一个图像识别模型,也可以不同的图像识别模型。以不同的图像识别模型为例,在确定投影图像存在畸变区域后,将畸变区域的图像和待显示图像输入至用于识别畸变类型的图像识别模型,然后 由该图像识别模型识别畸变区域的图像的畸变类型。作为示例,畸变类型可以为尺寸扭曲、亮度不均匀等。然后,(例如,处理器)根据畸变类型和畸变参数的对应关系确定出需要调整的畸变参数,并调整畸变区域中图像的与该畸变类型对应的畸变参数。作为示例,在确定畸变类型为尺寸扭曲时,确定需要调整的畸变参数是形状、尺寸以及曲率等,在确定畸变类型是亮度时,确定需要调整的畸变参数是亮度。It can be understood that the image recognition model for identifying the distortion type and the distortion position in this embodiment may be the same image recognition model or different image recognition models. Taking different image recognition models as an example, after determining that the projected image has a distortion region, the image of the distortion region and the image to be displayed are input to an image recognition model for identifying the distortion type, and then the image of the distortion region is recognized by the image recognition model. The type of distortion. As an example, the distortion type may be size distortion, uneven brightness, and the like. Then, (for example, the processor) determines the distortion parameter that needs to be adjusted according to the correspondence relationship between the distortion type and the distortion parameter, and adjusts the distortion parameter of the image in the distortion region corresponding to the distortion type. As an example, when determining that the distortion type is size distortion, it is determined that the distortion parameters that need to be adjusted are shape, size, curvature, etc., and when it is determined that the distortion type is brightness, it is determined that the distortion parameter that needs to be adjusted is brightness.
可见,本实施例中通过手动方式或者自动方式确定投影图像中畸变区域的位置,然后处理器根据设定的策略调整投影到对畸变区域中的图像,从而使畸变区域中的图像与投影图像中其他位置的图像相一致。即,在本实施例中,无需更换投射面即可使投影区域内投影图像无畸变,保证用户的观看体验。It can be seen that, in this embodiment, the position of the distortion region in the projected image is determined manually or automatically, and then the processor adjusts the image projected into the distortion region according to the set strategy, so that the image in the distortion region and the projected image are The images in other locations are consistent. That is, in the embodiment, the projection image in the projection area can be made without distortion without replacing the projection surface, and the viewing experience of the user is ensured.
下面结合流程图和场景图详细描述不同方式下的投影方法。图2是根据本公开的实施例的一种投影方法的示意流程图,图3-6是根据本公开的实施例的图2中的投影方法被应用的一种应用场景的示意图。如图2所示的方法包括步骤201-205。在步骤201处,获取触发信号,所述触发信号基于用户的移动操作被生成。在步骤202处,基于所述触发信号调整编辑窗口的位置。在步骤203处,在用户的移动操作完成后,确定所述编辑窗口的位置为畸变区域的位置。在步骤204处,获取调整信号,所述调整信号基于用户的调整操作而生成。在步骤205,基于所述调整信号调整所述畸变区域中图像的畸变参数。The projection method in different modes will be described in detail below with reference to the flowchart and the scene graph. 2 is a schematic flow chart of a projection method according to an embodiment of the present disclosure, and FIGS. 3-6 are schematic diagrams of an application scenario in which the projection method of FIG. 2 is applied, according to an embodiment of the present disclosure. The method as shown in Figure 2 includes steps 201-205. At step 201, a trigger signal is acquired that is generated based on a user's movement operation. At step 202, the position of the edit window is adjusted based on the trigger signal. At step 203, after the user's movement operation is completed, it is determined that the position of the editing window is the position of the distortion area. At step 204, an adjustment signal is acquired that is generated based on a user's adjustment operation. At step 205, a distortion parameter of the image in the distorted region is adjusted based on the adjustment signal.
参见图3,电子设备11的顶部边缘设置有投影模组111(采用虚线标注以代表在图3所示方向不可见),用户(例如,使用手指10触摸的方式)预先调整“投影调整方式”为“手动方式”。在投影时,用户调整投影模组111的方向,以将待显示图像投射至投射面12,并且待显示图像在投射面12的成像区域为投影区域13。由于投射面12上存在凸起121,导致用户观看到的投影区域13内的投影图像中存在畸变区域14。Referring to FIG. 3, the top edge of the electronic device 11 is provided with a projection module 111 (marked by a dotted line to indicate that it is not visible in the direction shown in FIG. 3), and the user (for example, using the finger 10 to touch) adjusts the "projection adjustment mode" in advance. It is "manual mode". At the time of projection, the user adjusts the direction of the projection module 111 to project the image to be displayed to the projection surface 12, and the imaged area of the image to be displayed on the projection surface 12 is the projection area 13. Due to the presence of the protrusions 121 on the projection surface 12, the distortion area 14 is present in the projected image within the projection area 13 viewed by the user.
参见图4,用户触摸电子设备11的显示模组时,在显示区域内会弹出方向操作窗口15和编辑窗口16。作为示例,方向操作窗口15包括“向上”、“向下”“向左”和“向右”四个移动按键(即,手动调整模组),参见图4中所示的各方向上的箭头。编辑窗口16的中心位置的初始位置为P1。用户通过方向操作窗口15执行移动操作,例如 操作(或者触摸)“向下”和“向右”两个移动按键,以将编辑窗口16的中心位置移动到P2,从而使移动后的编辑窗口16的投影26覆盖畸变区域14。需要说明的是,为明确编辑窗口16和畸变区域14的位置关系,在附图中适当的调整了畸变区域14和编辑窗口16的尺寸,从而更方便理解。Referring to FIG. 4, when the user touches the display module of the electronic device 11, the direction operation window 15 and the edit window 16 are popped up in the display area. As an example, the direction operation window 15 includes four movement keys (ie, a manual adjustment module) of "upward", "downward", "leftward", and "rightward", see the arrows in the directions shown in FIG. . The initial position of the center position of the edit window 16 is P1. The user performs a moving operation by the direction operation window 15, for example, operates (or touches) two moving buttons of "down" and "right" to move the center position of the editing window 16 to P2, thereby making the edit window 16 after the movement. The projection 26 covers the distortion region 14. It should be noted that, in order to clarify the positional relationship between the editing window 16 and the distortion area 14, the size of the distortion area 14 and the editing window 16 are appropriately adjusted in the drawing, so that it is more convenient to understand.
在一些实施例中,可以响应于通过触摸所述移动按键而发送的触发信号以设定步长移动编辑窗口的位置,还可以根据编辑窗口16的初始位置P1与触摸“向下”和“向右”两个移动按键时的移动步长确定移动后的位置P2。In some embodiments, the position of the edit window may be moved in a set step size in response to a trigger signal transmitted by touching the move button, and may also be based on the initial position P1 of the edit window 16 and the touch "down" and "toward" The movement step of the right "two moving buttons" determines the position P2 after the movement.
在每次移动操作完成后进行计时或者监测用户的“确定”操作对应的触发信号,在计时超过2秒(可根据具体情况而设置)后,可以确定用户的移动操作完成,确定此时的编辑窗口16的位置为畸变区域的位置,即位置P2。After each movement operation is completed, the trigger signal corresponding to the user's "OK" operation is monitored, and after the time is more than 2 seconds (can be set according to the specific situation), it can be determined that the user's movement operation is completed, and the editing at this time is determined. The position of the window 16 is the position of the distorted area, that is, the position P2.
在一些实施例中,可以继续触摸电子设备11的显示模组,参见图5,此时在显示区域内会弹出下拉菜单17,其包括畸变参数的列表。然后,可以由用户通过例如调整列表中的“曲率”等畸变参数执行调整操作,以根据所述调整操作生成的调整信号对畸变区域14内的图像进行调整,最终呈现给用户图6所示的投影图像(无畸变的投影图像)。In some embodiments, the display module of the electronic device 11 can continue to be touched. Referring to FIG. 5, a pull-down menu 17 is displayed in the display area, which includes a list of distortion parameters. Then, the adjustment operation may be performed by the user by, for example, adjusting the distortion parameter such as “curvature” in the list, to adjust the image in the distortion region 14 according to the adjustment signal generated by the adjustment operation, and finally presented to the user as shown in FIG. 6 . Projected image (undistorted projected image).
可见,本实施例中,可以根据用户的操作对畸变区域进行畸变参数调整,从而使畸变区域内的图像与投影图像中其他区域的图像相一致,因此无需更换投射面即可保证投影图像的完整性,提升用户的观看体验。另外,本实施例中,可以提升用户与电子设备的交互性,提高使用投影功能的趣味性。It can be seen that, in this embodiment, the distortion parameter can be adjusted according to the operation of the user, so that the image in the distortion region is consistent with the image of other regions in the projected image, so that the projection image can be completed without replacing the projection surface. Sexuality enhances the user's viewing experience. In addition, in this embodiment, the interaction between the user and the electronic device can be improved, and the fun of using the projection function can be improved.
图7是根据本公开的实施例的又一种投影方法的示意流程图。参见图7,所述方法包括步骤701-704。在步骤701中,获取投影区域的投影图像。在步骤702处,利用预先设置的图像识别算法从所述投影图像中确定出畸变区域的位置。在步骤703处,根据待显示图像和所述畸变区域内的图像确定出所述畸变区域内图像的畸变类型。在步骤704处,基于畸变类型和畸变参数的对应关系,调整畸变区域中图像的与该畸变类型对应的畸变参数。FIG. 7 is a schematic flow chart of still another projection method in accordance with an embodiment of the present disclosure. Referring to Figure 7, the method includes steps 701-704. In step 701, a projected image of the projected area is acquired. At step 702, the location of the distorted region is determined from the projected image using a pre-set image recognition algorithm. At step 703, a distortion type of the image in the distorted region is determined according to the image to be displayed and the image in the distorted region. At step 704, based on the correspondence between the distortion type and the distortion parameter, the distortion parameter of the image in the distortion region corresponding to the distortion type is adjusted.
作为示例,本实施例中电子设备11中设置有图像采集模组18,其可以布置在图3-图6中所示出的电子设备11的背侧(如图3中虚线(表 示前侧无法看到)所示)、前侧或者甚至与电子设备11分离布置。图像采集模组的位置并不是限制性的,只要其可以采集投影图像即可。所述图像采集模组例如可以是摄像头。在用户选择图3所示的“自动方式”后,投影模组111向投影区域13投射待显示图像。之后,图像采集模组18采集投影区域13的投影图像,并将采集的投影图像发送给例如处理器。(例如,处理器)利用预先设置的图像识别算法从该采集的投影图像中识别出畸变区域的位置。然后,分析待显示图像和畸变区域内图像,确定出畸变区域内所述图像的畸变类型。最后根据预先存储的畸变类型和畸变参数的对应关系,调整畸变区域中图像的与所述畸变类型对应的畸变参数。As an example, the electronic device 11 in this embodiment is provided with an image acquisition module 18, which can be arranged on the back side of the electronic device 11 shown in FIG. 3-6 (as shown by the dotted line in FIG. 3 (indicating that the front side cannot See)), front side or even separate from the electronic device 11. The position of the image acquisition module is not limited as long as it can acquire a projected image. The image acquisition module can be, for example, a camera. After the user selects the "automatic mode" shown in FIG. 3, the projection module 111 projects the image to be displayed to the projection area 13. Thereafter, the image acquisition module 18 acquires a projected image of the projected area 13 and transmits the acquired projected image to, for example, a processor. (For example, the processor) identifies the position of the distorted region from the acquired projected image using a preset image recognition algorithm. Then, the image to be displayed and the image in the distortion region are analyzed to determine the distortion type of the image in the distortion region. Finally, according to the correspondence between the pre-stored distortion type and the distortion parameter, the distortion parameter corresponding to the distortion type of the image in the distortion region is adjusted.
可见,本实施例中,通过设置图像采集模组采集投影图像,然后由处理器对投影图像处理即可调整畸变区域,而无需用户更换投射面即可保证投影图像无畸变区域,有利于提升用户的观看体验。It can be seen that, in this embodiment, by setting an image acquisition module to collect a projection image, and then processing the projection image by the processor, the distortion region can be adjusted, and the user can replace the projection surface to ensure the distortion-free region of the projection image, which is beneficial to improving the user. Viewing experience.
图8是根据本公开的实施例的一种投影装置的框图。参见图8,该投影装置800包括:FIG. 8 is a block diagram of a projection apparatus in accordance with an embodiment of the present disclosure. Referring to FIG. 8, the projection apparatus 800 includes:
畸变位置确定电路801,被配置成确定投影图像中畸变区域的位置;a distortion position determining circuit 801 configured to determine a position of the distortion region in the projected image;
畸变图像调整电路802,被配置成基于所述畸变区域的位置,根据设定的策略调整投影到所述畸变区域中的图像。The distortion image adjustment circuit 802 is configured to adjust an image projected into the distortion region according to a set policy based on a position of the distortion region.
图9是根据本公开的实施例的图8示出的畸变位置确定电路的框图。参见图9,所述畸变位置确定电路801包括:9 is a block diagram of the distortion position determining circuit illustrated in FIG. 8 in accordance with an embodiment of the present disclosure. Referring to FIG. 9, the distortion position determining circuit 801 includes:
触发信号监测子电路901,被配置成用于获取触发信号,其中所述触发信号基于用户的移动操作生成的;a trigger signal monitoring sub-circuit 901 configured to acquire a trigger signal, wherein the trigger signal is generated based on a user's moving operation;
编辑窗口调整子电路902,被配置成基于所述触发信号调整编辑窗口的位置;Editing window adjustment sub-circuit 902, configured to adjust a position of the editing window based on the trigger signal;
畸变位置确定子电路903,被配置成在用户的移动操作完成后,确定所述编辑窗口的位置为畸变区域的位置。The distortion position determining sub-circuit 903 is configured to determine the position of the editing window as the position of the distortion area after the user's movement operation is completed.
图10是根据本公开的实施例的图8中示出的畸变图像调整电路的框图。参见图10,所述畸变图像调整电路802包括:FIG. 10 is a block diagram of the distortion image adjustment circuit shown in FIG. 8 according to an embodiment of the present disclosure. Referring to FIG. 10, the distortion image adjustment circuit 802 includes:
调整信号获取子电路1001,被配置成获取调整信号,其中所述调整信号基于用户的调整操作生成;The adjustment signal acquisition sub-circuit 1001 is configured to acquire an adjustment signal, wherein the adjustment signal is generated based on a user adjustment operation;
畸变参数调整子电路1002,被配置成基于所述调整信号调整所述 畸变区域中图像的畸变参数。The distortion parameter adjustment sub-circuit 1002 is configured to adjust a distortion parameter of the image in the distortion region based on the adjustment signal.
图11是根据本公开的实施例的图8示出的畸变位置确定电路的框图。参见图11,所述畸变位置确定电路801包括:11 is a block diagram of the distortion position determining circuit illustrated in FIG. 8 in accordance with an embodiment of the present disclosure. Referring to FIG. 11, the distortion position determining circuit 801 includes:
投影图像获取子电路1101,被配置成获取投影区域的投影图像;a projection image acquisition sub-circuit 1101 configured to acquire a projection image of the projection area;
畸变位置确定子电路1102,被配置成利用预先设置的图像识别算法从所述投影图像中确定出畸变区域的位置。The distortion position determining sub-circuit 1102 is configured to determine a position of the distortion region from the projection image using a preset image recognition algorithm.
图12是根据本公开的实施例的图8中示出的畸变图像调整电路的框图。参见图12,所述畸变图像调整电路802包括:FIG. 12 is a block diagram of the distortion image adjustment circuit shown in FIG. 8 according to an embodiment of the present disclosure. Referring to FIG. 12, the distortion image adjustment circuit 802 includes:
畸变类型确定子电路1201,被配置成根据所述待显示图像和所述畸变区域内的图像确定出所述畸变区域内图像的畸变类型;The distortion type determining sub-circuit 1201 is configured to determine a distortion type of the image in the distortion region according to the image to be displayed and the image in the distortion region;
畸变参数调整子电路1202,被配置成基于畸变类型和畸变参数的对应关系,调整畸变区域中图像的与该畸变类型对应的畸变参数。The distortion parameter adjustment sub-circuit 1202 is configured to adjust the distortion parameter of the image in the distortion region corresponding to the distortion type based on the correspondence between the distortion type and the distortion parameter.
应当理解,图8-12中描述的各种电路子电路可以是各种软件模块或是处理器、专用集成电路、可编程逻辑器件等等具有处理功能的各种硬件。可理解的是,本公开的实施例提供的投影装置与上述投影方法相对应,具体内容可以参考投影方法各实施例的内容,在此不再赘述。It should be understood that the various circuit sub-circuits depicted in Figures 8-12 can be various software modules or various hardware having processing functions such as processors, application specific integrated circuits, programmable logic devices, and the like. It is to be understood that the projection device provided by the embodiment of the present disclosure corresponds to the above-mentioned projection method, and the specific content may refer to the content of each embodiment of the projection method, and details are not described herein again.
图13是根据本公开的实施例的一种电子设备的示意框图。参见图13,电子设备1300包括:FIG. 13 is a schematic block diagram of an electronic device in accordance with an embodiment of the present disclosure. Referring to FIG. 13, the electronic device 1300 includes:
处理器1301;The processor 1301;
用于存储所述处理器1301可执行指令的存储器1302;a memory 1302 for storing executable instructions of the processor 1301;
投影模组1303,用于将待显示图像投影到投影区域;a projection module 1303, configured to project an image to be displayed to a projection area;
其中,所述处理器1301被配置为执行所述存储器1302中的可执行指令以实现上述各方法实施例中的方法的步骤。The processor 1301 is configured to execute executable instructions in the memory 1302 to implement the steps of the methods in the foregoing method embodiments.
继续参见图13,在一些实施例中,上述电子设备1300还可以包括重力传感器1304。参见图14,所述投影模组1303至少包括重力平衡器件1401和旋转投影镜头1402。该旋转投影镜头1402安装在镜头槽1403中。重力传感器1304被配置成获取所述电子设备1300的旋转向量;所述重力平衡器件1401被配置成根据所述旋转向量调整所述旋转投影镜头1402与所述投影区域之间的投影角度。本实施例中,通过设置重力传感器和重力平衡器件,可以使得旋转投影镜头在电子设备旋转时能够作相应的调整,从而保证投影图像不旋转,有利于提升观看 体验。With continued reference to FIG. 13, in some embodiments, the electronic device 1300 described above can also include a gravity sensor 1304. Referring to FIG. 14, the projection module 1303 includes at least a gravity balancing device 1401 and a rotating projection lens 1402. The rotary projection lens 1402 is mounted in the lens slot 1403. Gravity sensor 1304 is configured to acquire a rotation vector of the electronic device 1300; the gravity balancing device 1401 is configured to adjust a projection angle between the rotational projection lens 1402 and the projection area in accordance with the rotation vector. In this embodiment, by providing the gravity sensor and the gravity balance device, the rotary projection lens can be adjusted correspondingly when the electronic device rotates, thereby ensuring that the projected image does not rotate, which is beneficial to enhance the viewing experience.
继续参见图13,在一些实施例中,上述电子设备1300还可以包括:手动调整模组1305;所述手动调整模组1305与所述处理器1301连接,并可以被配置成监测用户的移动操作以生成触发信号,并将所述触发信号发送给所述处理器1301;或者,可以配置成监测用户的调整操作以生成调整信号,并将所述调整信号发送给所述处理器1301。本实施例中,可以通过用户与电子设备的交互操作来调整畸变区域的图像的畸变参数,从而使畸变区域内的图像与投影图像中其他区域的图像相一致,无需更换投射面即可保证投影图像的完整性,提升用户的观看体验。With continued reference to FIG. 13 , in some embodiments, the electronic device 1300 may further include: a manual adjustment module 1305; the manual adjustment module 1305 is coupled to the processor 1301 and configured to monitor a user's mobile operation. Generating a trigger signal and transmitting the trigger signal to the processor 1301; or, configured to monitor a user's adjustment operation to generate an adjustment signal, and transmitting the adjustment signal to the processor 1301. In this embodiment, the distortion parameter of the image of the distortion area can be adjusted by the interaction operation between the user and the electronic device, so that the image in the distortion area is consistent with the image of other areas in the projection image, and the projection can be ensured without replacing the projection surface. Image integrity enhances the user's viewing experience.
参见图15,在一实施例中,上述手动调整模组1305还可以包括设置在电子设备1300正面(面向用户的显示侧)的顶部或者底部的摇杆1501,可以根据用户向各方向晃动摇杆的倾角而生成触发信号,并且处理器根据触发信号移动编辑窗口。Referring to FIG. 15 , in an embodiment, the manual adjustment module 1305 may further include a rocker 1501 disposed at the top or bottom of the front surface of the electronic device 1300 (facing the display side of the user), and the rocker may be shaken according to the user in various directions. The tilt angle generates a trigger signal, and the processor moves the edit window according to the trigger signal.
继续参见图13,在一些实施例中,上述电子设备1300还可以包括:图像采集模组1306。所述图像采集模组1306与所述处理器1301连接,并被配置成采集所述投影区域的投影图像,并将所述采集的投影图像发送给所述处理器1301。处理器1301可以利用图像识别算法识别出畸变区域,并根据待显示图像和畸变区域内的图像确定畸变区域内图像的畸变类型,然后基于畸变类型和畸变参数的对应关系,调整畸变区域中图像的与该畸变类型对应的畸变参数,使调整后的畸变区域内的图像与周围区域保持一致。With continued reference to FIG. 13 , in some embodiments, the electronic device 1300 may further include: an image acquisition module 1306 . The image acquisition module 1306 is coupled to the processor 1301 and configured to acquire a projection image of the projection area and transmit the acquired projection image to the processor 1301. The processor 1301 may identify the distortion region by using an image recognition algorithm, and determine the distortion type of the image in the distortion region according to the image to be displayed and the image in the distortion region, and then adjust the image in the distortion region based on the correspondence between the distortion type and the distortion parameter. The distortion parameter corresponding to the distortion type is such that the image in the adjusted distortion region is consistent with the surrounding area.
可理解的是,在上述方法实施例的描述中已经对电子设备的结构和各器件之间的功能作了详细描述,具体参考对应的内容即可,在此不再赘述。It should be understood that the structure of the electronic device and the functions between the devices have been described in detail in the description of the foregoing method embodiments, and the specific content may be specifically referred to, and details are not described herein again.
应当理解,为清楚起见,参考不同的功能单元对本公开的实施例进行了描述。然而,将明显的是,在不偏离本公开的情况下,每个功能单元的功能性可以被实施在单个单元中、实施在多个单元中或作为其它功能单元的一部分被实施。例如,被说明成由单个单元执行的功能性可以由多个不同的单元来执行。因此,对特定功能单元的参考仅被视为对用于提供所描述的功能性的适当单元的参考,而不是表明严格的逻辑或物理结构或组织。因此,本公开可以被实施在单个单元中, 或者可以在物理上和功能上被分布在不同的单元和电路之间。It should be understood that the embodiments of the present disclosure have been described with reference to various functional units for clarity. However, it will be apparent that the functionality of each functional unit can be implemented in a single unit, implemented in a plurality of units, or implemented as part of other functional units without departing from the disclosure. For example, functionality illustrated to be performed by a single unit can be performed by a plurality of different units. Therefore, references to specific functional units are only to be considered as a reference to the appropriate elements for providing the described functionality, rather than a strict logical or physical structure or organization. Accordingly, the present disclosure may be implemented in a single unit or may be physically and functionally distributed between different units and circuits.
将理解的是,尽管第一、第二、第三等术语在本文中可以用来描述各种设备、元件、部件或部分,但是这些设备、元件、部件或部分不应当由这些术语限制。这些术语仅用来将一个设备、元件、部件或部分与另一个设备、元件、部件或部分相区分。It will be understood that, although the terms first, second, third, etc. may be used herein to describe various devices, components, components or portions, these devices, components, components or portions should not be limited by these terms. These terms are only used to distinguish one device, component, component or component from another device, component, component or part.
尽管已经结合一些实施例描述了本公开,但是其不旨在被限于在本文中所阐述的特定形式。相反,本公开的范围仅由所附权利要求来限制。附加地,尽管单独的特征可以被包括在不同的权利要求中,但是这些可以可能地被有利地组合,并且包括在不同权利要求中不暗示特征的组合不是可行的和/或有利的。特征在权利要求中的次序不暗示特征必须以其工作的任何特定次序。此外,在权利要求中,词“包括”不排除其它元件,并且不定冠词“一”或“一个”不排除多个。权利要求中的附图标记仅作为明确的例子被提供,不应该被解释为以任何方式限制权利要求的范围。Although the present disclosure has been described in connection with some embodiments, it is not intended to be limited to the specific forms set forth herein. Instead, the scope of the disclosure is limited only by the appended claims. Additionally, although individual features may be included in different claims, these may be advantageously combined, and the combination of the features is not implied and/or advantageous in the different claims. The order of the features in the claims does not imply that the features must be in any particular order in which they function. In addition, the word "comprising" does not exclude the s The reference signs in the claims are only provided as an example, and are not intended to limit the scope of the claims in any way.

Claims (16)

  1. 一种投影方法,包括:A projection method comprising:
    确定投影图像中畸变区域的位置;Determining the position of the distortion area in the projected image;
    基于所述畸变区域的位置,根据设定的策略调整投影到所述畸变区域中的图像。Based on the position of the distorted area, an image projected into the distorted area is adjusted according to a set policy.
  2. 根据权利要求1所述的投影方法,其中,确定投影图像中畸变区域的位置包括:The projection method according to claim 1, wherein determining the position of the distortion area in the projection image comprises:
    获取触发信号,其中所述触发信号是基于用户的移动操作生成的;Acquiring a trigger signal, wherein the trigger signal is generated based on a user's moving operation;
    基于所述触发信号调整编辑窗口的位置;Adjusting a position of the editing window based on the trigger signal;
    在用户操作完成后,确定所述编辑窗口的位置为畸变区域的位置。After the user operation is completed, it is determined that the position of the editing window is the position of the distortion area.
  3. 根据权利要求2所述的投影方法,其中,根据设定策略调整所述畸变区域中的图像包括:The projection method according to claim 2, wherein adjusting the image in the distortion region according to the setting policy comprises:
    获取调整信号,其中所述调整信号是基于用户的调整操作生成的;Acquiring an adjustment signal, wherein the adjustment signal is generated based on a user adjustment operation;
    基于所述调整信号调整所述畸变区域中图像的畸变参数。A distortion parameter of the image in the distortion region is adjusted based on the adjustment signal.
  4. 根据权利要求1所述的投影方法,其中,确定投影图像中畸变区域的位置包括:The projection method according to claim 1, wherein determining the position of the distortion area in the projection image comprises:
    获取投影区域的投影图像;Obtaining a projected image of the projected area;
    利用预先设置的图像识别算法从所述投影图像中确定出畸变区域的位置。The position of the distorted area is determined from the projected image using a preset image recognition algorithm.
  5. 根据权利要求4所述的投影方法,其中,根据设定策略调整所述畸变区域中的图像包括:The projection method according to claim 4, wherein adjusting the image in the distortion region according to the setting policy comprises:
    根据待显示图像和所述畸变区域内的图像确定出所述畸变区域内的图像的畸变类型;Determining a type of distortion of the image in the distortion region according to the image to be displayed and the image in the distortion region;
    基于畸变类型和畸变参数的对应关系,调整畸变区域中的图像的与该畸变类型对应的畸变参数。The distortion parameter corresponding to the distortion type of the image in the distortion region is adjusted based on the correspondence between the distortion type and the distortion parameter.
  6. 根据权利要求2所述投影方法,其中,位于该编辑窗口内的图像的畸变参数是可调整的。The projection method of claim 2, wherein the distortion parameter of the image located within the editing window is adjustable.
  7. 一种投影装置,包括:A projection device comprising:
    畸变位置确定电路,被配置成确定投影图像中畸变区域的位置;a distortion position determining circuit configured to determine a position of the distortion region in the projected image;
    畸变图像调整电路,被配置成基于所述畸变区域的位置,根据设定策略调整投影到所述畸变区域中的图像。The distortion image adjustment circuit is configured to adjust an image projected into the distortion region according to a setting policy based on a position of the distortion region.
  8. 根据权利要求7述的投影装置,其中,所述畸变位置确定电路包括:The projection apparatus according to claim 7, wherein said distortion position determining circuit comprises:
    触发信号监测子电路,被配置成获取触发信号,其中所述触发信号是基于用户的移动操作生成的;a trigger signal monitoring sub-circuit configured to acquire a trigger signal, wherein the trigger signal is generated based on a user's moving operation;
    编辑窗口调整子电路,被配置成基于所述触发信号调整编辑窗口的位置;Editing a window adjustment sub-circuit configured to adjust a position of the edit window based on the trigger signal;
    畸变位置确定子电路,被配置成在用户操作完成后,确定所述编辑窗口的位置为畸变区域的位置。The distortion position determining sub-circuit is configured to determine the position of the editing window as the position of the distortion area after the user operation is completed.
  9. 根据权利要求8所述的投影装置,其中,所述畸变图像调整电路包括:The projection apparatus according to claim 8, wherein the distortion image adjustment circuit comprises:
    调整信号获取子电路,被配置成获取调整信号,其中所述调整信号基于用户的调整操作生成的;Adjusting a signal acquisition sub-circuit configured to acquire an adjustment signal, wherein the adjustment signal is generated based on a user adjustment operation;
    畸变参数调整子电路,被配置成基于所述调整信号调整所述畸变区域中图像的畸变参数。The distortion parameter adjustment sub-circuit is configured to adjust a distortion parameter of the image in the distortion region based on the adjustment signal.
  10. 根据权利要求7所述的投影装置,其中,所述畸变位置确定电路包括:The projection apparatus according to claim 7, wherein the distortion position determining circuit comprises:
    投影图像获取子电路,被配置成获取投影区域的投影图像;a projection image acquisition sub-circuit configured to acquire a projection image of the projection area;
    畸变位置确定子电路,被配置成利用预先设置的图像识别算法从所述投影图像中确定出畸变区域的位置。The distortion position determining sub-circuit is configured to determine a position of the distortion region from the projection image using a preset image recognition algorithm.
  11. 根据权利要求10所述的投影装置,其中,所述畸变图像调整电路包括:The projection apparatus according to claim 10, wherein the distortion image adjustment circuit comprises:
    畸变类型确定子电路,被配置成根据所述待显示图像和所述畸变区域内的图像确定出所述畸变区域内的图像的畸变类型;a distortion type determining sub-circuit configured to determine a distortion type of an image in the distortion region according to the image to be displayed and an image in the distortion region;
    畸变参数调整子电路,被配置成基于畸变类型和畸变参数的对应关系,调整畸变区域中图像的与该畸变类型对应的畸变参数。The distortion parameter adjustment sub-circuit is configured to adjust the distortion parameter of the image in the distortion region corresponding to the distortion type based on the correspondence between the distortion type and the distortion parameter.
  12. 一种电子设备,包括:An electronic device comprising:
    处理器;processor;
    存储器,被配置成存储所述处理器可执行指令;a memory configured to store the processor executable instructions;
    投影模组,被配置成将待显示图像投影到投影区域;a projection module configured to project an image to be displayed to a projection area;
    其中,所述处理器被配置成执行所述存储器中的可执行指令以执行权利要求1~6中任一项所述方法。Wherein the processor is configured to execute executable instructions in the memory to perform the method of any one of claims 1 to 6.
  13. 根据权利要求12所述的电子设备,其中,所述电子设备还包 括重力传感器,并且所述投影模组至少包括重力平衡器件和旋转投影镜头;其中所述重力传感器被配置成获取所述电子设备的旋转向量;所述重力平衡器件被配置成根据所述旋转向量调整所述旋转投影镜头与所述投影区域之间的投影角度。The electronic device of claim 12, wherein the electronic device further comprises a gravity sensor, and the projection module comprises at least a gravity balancing device and a rotary projection lens; wherein the gravity sensor is configured to acquire the electronic device a rotation vector; the gravity balancing device is configured to adjust a projection angle between the rotary projection lens and the projection area according to the rotation vector.
  14. 根据权利要求12所述的电子设备,其中,所述电子设备还包括:手动调整模组;其中所述手动调整模组被配置成监测用户的移动操作生成的触发信号,基于其编辑窗口被调整。The electronic device according to claim 12, wherein the electronic device further comprises: a manual adjustment module; wherein the manual adjustment module is configured to monitor a trigger signal generated by a user's movement operation, and is adjusted based on an edit window thereof .
  15. 根据权利要求12所述的电子设备,其中,所述电子设备还包括:手动调整模组;其中所述手动调整模组与所述处理器连接,并且被配置成监测用户的调整操作生成的调整信号,基于其所述畸变区域中图像的畸变参数被调整。The electronic device of claim 12, wherein the electronic device further comprises: a manual adjustment module; wherein the manual adjustment module is coupled to the processor and configured to monitor an adjustment generated by a user's adjustment operation The signal is adjusted based on the distortion parameter of the image in its distorted region.
  16. 根据权利要求12所述的电子设备,其中,所述电子设备还包括:图像采集模组,其中所述图像采集模组与所述处理器连接,并且被配置成采集所述投影区域的投影图像。The electronic device of claim 12, wherein the electronic device further comprises: an image acquisition module, wherein the image acquisition module is coupled to the processor and configured to acquire a projected image of the projection area .
PCT/CN2019/079224 2018-03-30 2019-03-22 Projection method and apparatus, and electronic device WO2019184811A1 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201810286709.0A CN108769636B (en) 2018-03-30 2018-03-30 Projection method and device and electronic equipment
CN201810286709.0 2018-03-30

Publications (1)

Publication Number Publication Date
WO2019184811A1 true WO2019184811A1 (en) 2019-10-03

Family

ID=63980701

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2019/079224 WO2019184811A1 (en) 2018-03-30 2019-03-22 Projection method and apparatus, and electronic device

Country Status (2)

Country Link
CN (1) CN108769636B (en)
WO (1) WO2019184811A1 (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113310438A (en) * 2020-02-26 2021-08-27 广东博智林机器人有限公司 Flatness measuring method, flatness measuring device, computer equipment and storage medium

Families Citing this family (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108769636B (en) * 2018-03-30 2022-07-01 京东方科技集团股份有限公司 Projection method and device and electronic equipment
CN110809141A (en) * 2019-09-29 2020-02-18 深圳市火乐科技发展有限公司 Trapezoidal correction method and device, projector and storage medium
CN115905237B (en) * 2022-12-09 2024-03-22 江苏泽景汽车电子股份有限公司 Image processing method, device, HUD and storage medium

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106296565A (en) * 2015-06-23 2017-01-04 三星电子株式会社 Graphic pipeline method and equipment
CN107105209A (en) * 2017-05-22 2017-08-29 长春华懋科技有限公司 Projected image geometric distortion automatic correction system and its bearing calibration
CN108769636A (en) * 2018-03-30 2018-11-06 京东方科技集团股份有限公司 Projecting method and device, electronic equipment

Family Cites Families (20)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP3731663B2 (en) * 2002-12-04 2006-01-05 セイコーエプソン株式会社 Image processing system, projector, and image processing method
JPWO2008156050A1 (en) * 2007-06-21 2010-08-26 株式会社ニコン Image processing method, image processing program, image processing apparatus, image processing system, electronic camera, and electronic apparatus
US8212945B2 (en) * 2010-04-01 2012-07-03 Seiko Epson Corporation Method and apparatus for calibrating a projector for image warping
CN102162979B (en) * 2011-04-08 2013-12-04 广东威创视讯科技股份有限公司 Method and device for automatically adjusting image projected by projector
US20130113975A1 (en) * 2011-11-04 2013-05-09 Peter Gabris Projector Image Correction Method and System
DE102012010814A1 (en) * 2012-06-01 2013-12-05 Heiko Cornelius Method for automatic image correction of a projector
CN103634544B (en) * 2012-08-20 2019-03-29 联想(北京)有限公司 A kind of projecting method and electronic equipment
CN103686107B (en) * 2013-12-13 2017-01-25 华为技术有限公司 Processing method and device based on projected image
CN105323517A (en) * 2014-07-16 2016-02-10 腾讯科技(深圳)有限公司 Projection picture automatic calibration method and projection picture automatic calibration device
CN105704412A (en) * 2014-11-25 2016-06-22 原相科技股份有限公司 Projection method and projection system
CN106657848A (en) * 2015-07-27 2017-05-10 联想(北京)有限公司 Projection method and electronic equipment
CN205092918U (en) * 2015-09-25 2016-03-16 深圳市智歌科技有限公司 Projector with automatic balance regulatory function
CN106559629B (en) * 2015-09-29 2020-08-04 中兴通讯股份有限公司 Projection method, device and equipment
CN107613280A (en) * 2016-07-12 2018-01-19 中兴通讯股份有限公司 A kind of projected picture method of adjustment, device and projection terminal
CN106162124B (en) * 2016-08-02 2018-06-08 上海唱风信息科技有限公司 Projector exports the calibration method of image
CN106162125B (en) * 2016-08-23 2019-07-09 深圳市Tcl高新技术开发有限公司 A kind of gentle curve projection correction method and its system
CN106507077B (en) * 2016-11-28 2018-07-24 江苏鸿信系统集成有限公司 Preventing collision method is corrected and blocked to projecting apparatus picture based on image analysis
CN206339824U (en) * 2016-12-30 2017-07-18 江苏紫米电子技术有限公司 A kind of automatic balancing arrangement suitable for projecting apparatus
CN106937101A (en) * 2017-03-22 2017-07-07 成都市极米科技有限公司 View field's bearing calibration and system
CN107749979B (en) * 2017-09-20 2021-08-31 神画科技(深圳)有限公司 Left-right trapezoidal correction method for projector

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106296565A (en) * 2015-06-23 2017-01-04 三星电子株式会社 Graphic pipeline method and equipment
CN107105209A (en) * 2017-05-22 2017-08-29 长春华懋科技有限公司 Projected image geometric distortion automatic correction system and its bearing calibration
CN108769636A (en) * 2018-03-30 2018-11-06 京东方科技集团股份有限公司 Projecting method and device, electronic equipment

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113310438A (en) * 2020-02-26 2021-08-27 广东博智林机器人有限公司 Flatness measuring method, flatness measuring device, computer equipment and storage medium
CN113310438B (en) * 2020-02-26 2023-04-07 广东博智林机器人有限公司 Flatness measuring method, flatness measuring device, computer equipment and storage medium

Also Published As

Publication number Publication date
CN108769636A (en) 2018-11-06
CN108769636B (en) 2022-07-01

Similar Documents

Publication Publication Date Title
WO2019184811A1 (en) Projection method and apparatus, and electronic device
EP3633975B1 (en) Photographic method, photographic apparatus, and mobile terminal
CN106937045B (en) Display method of preview image, terminal equipment and computer storage medium
EP3129849B1 (en) Systems and methods of eye tracking calibration
US9282239B2 (en) Apparatus and method for photographing portrait in portable terminal having camera
AU2014221568B2 (en) Apparatus and method for positioning image area using image sensor location
CN102591451B (en) Image processor and image display
CN107357540B (en) Display direction adjusting method and mobile terminal
CN106250839B (en) A kind of iris image perspective correction method, apparatus and mobile terminal
CN106572389A (en) Method and apparatus for adjusting display image
JP6452440B2 (en) Image display system, image display apparatus, image display method, and program
US10070048B2 (en) Panorama photographing method, panorama displaying method, and image capturing method
JP2004521551A (en) Remote camera control device
WO2020080107A1 (en) Information processing device, information processing method, and program
CN107948498B (en) A kind of elimination camera Morie fringe method and mobile terminal
WO2021238564A1 (en) Display device and distortion parameter determination method, apparatus and system thereof, and storage medium
WO2018198499A1 (en) Information processing device, information processing method, and recording medium
JP2009003576A (en) Appliance control device and control method
CN112328091A (en) Barrage display method and device, terminal and storage medium
CN114008582A (en) Information processing apparatus, information processing method, and program
CN105657500A (en) Video playing control method and device
CN109688325A (en) A kind of image display method and terminal device
CN106550226A (en) Projected picture correcting method and device
WO2018112838A1 (en) Head-mounted display apparatus, and visual-aid providing method thereof
CN109167921B (en) Shooting method, shooting device, shooting terminal and storage medium

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: 19778018

Country of ref document: EP

Kind code of ref document: A1

122 Ep: pct application non-entry in european phase

Ref document number: 19778018

Country of ref document: EP

Kind code of ref document: A1

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 08.04.2021)

122 Ep: pct application non-entry in european phase

Ref document number: 19778018

Country of ref document: EP

Kind code of ref document: A1