WO2017114255A1 - Touch method and device for projected image - Google Patents

Touch method and device for projected image Download PDF

Info

Publication number
WO2017114255A1
WO2017114255A1 PCT/CN2016/111251 CN2016111251W WO2017114255A1 WO 2017114255 A1 WO2017114255 A1 WO 2017114255A1 CN 2016111251 W CN2016111251 W CN 2016111251W WO 2017114255 A1 WO2017114255 A1 WO 2017114255A1
Authority
WO
WIPO (PCT)
Prior art keywords
display
touch
image
touch area
sub
Prior art date
Application number
PCT/CN2016/111251
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 WO2017114255A1 publication Critical patent/WO2017114255A1/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/3188Scale or resolution adjustment
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/03Arrangements for converting the position or the displacement of a member into a coded form
    • G06F3/041Digitisers, e.g. for touch screens or touch pads, characterised by the transducing means
    • G06F3/0416Control or interface arrangements specially adapted for digitisers
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/048Interaction techniques based on graphical user interfaces [GUI]
    • G06F3/0487Interaction techniques based on graphical user interfaces [GUI] using specific features provided by the input device, e.g. functions controlled by the rotation of a mouse with dual sensing arrangements, or of the nature of the input device, e.g. tap gestures based on pressure sensed by a digitiser
    • G06F3/0488Interaction techniques based on graphical user interfaces [GUI] using specific features provided by the input device, e.g. functions controlled by the rotation of a mouse with dual sensing arrangements, or of the nature of the input device, e.g. tap gestures based on pressure sensed by a digitiser using a touch-screen or digitiser, e.g. input of commands through traced gestures
    • 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]
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F2203/00Indexing scheme relating to G06F3/00 - G06F3/048
    • G06F2203/048Indexing scheme relating to G06F3/048
    • G06F2203/04803Split screen, i.e. subdividing the display area or the window area into separate subareas

Definitions

  • the present invention relates to the field of projection technologies, and in particular, to a touch method and apparatus for projecting images.
  • Projection devices are widely used in daily life and work, such as displaying meeting content with a projection device during a meeting, or playing a movie with a projection device at home.
  • users are increasingly demanding projection devices.
  • the user wants to be able to view not only the projected image but also the projected image.
  • a touchable projection device has appeared, and the user can control the projection picture through the touch panel.
  • the projection screen and the touchpad are separated, and the user can only perform simple control on the projected image, and it is difficult to accurately operate the buttons, icons, and the like on the projected image.
  • the embodiment of the invention discloses a touch method and device for projecting images, which are used for solving the problem that the precise operation of the projected image is difficult.
  • the technical solutions are as follows:
  • the embodiment of the present application discloses a touch method for projecting an image, which is applied to a projection device including a touch panel and a display screen, wherein the touch panel and the display screen have the same resolution, and the method includes the following steps:
  • a horizontal display ratio m and a vertical display ratio n between the image displayed by the display screen and the current projected image, wherein the horizontal display ratio m: a lateral component of the display resolution and a current projected image resolution The lateral component is determined, the longitudinal display ratio n: determined by a longitudinal component of the resolution of the display screen and a longitudinal component of the resolution of the current projected image;
  • the display image is superimposed by a first preset number of display sub-interfaces, and each of the display sub-interfaces is separately controlled by an independent switch;
  • the current projected image is superimposed by a second predetermined number of projection sub-interfaces, and each of the projection sub-interfaces is controlled by a separate switch for independent projection.
  • the determining, according to the horizontal display ratio m and the vertical display ratio n, the third touch area corresponding to the second touch area on the current projected image including :
  • the parsing the touch command according to the third touch area and the current projected image includes:
  • the touch method for the projected image further includes:
  • Determining, according to the horizontal display ratio m and the vertical display ratio n, the third touch area corresponding to the second touch area on the current projected image including:
  • the embodiment of the present application discloses a touch device for projecting an image, which is applied to a projection device including a touch panel and a display screen, wherein the touch panel and the display screen have the same resolution, and the device includes:
  • a second touch area obtaining module configured to obtain, according to a resolution of the touch panel and a resolution of the display screen, a second touch area corresponding to the first touch area for the image displayed on the display screen, where The first touch area is a touch area corresponding to the touch command received by the touch panel;
  • a display ratio obtaining module configured to obtain a horizontal display ratio m and a vertical display ratio n between the image displayed by the display screen and the current projected image, wherein the horizontal display ratio m: a horizontal direction by the resolution of the display screen Determining a component and a lateral component of the resolution of the current projected image, the longitudinal display ratio n: determined by a longitudinal component of the resolution of the display screen and a longitudinal component of the resolution of the current projected image;
  • a third touch area determining module configured to determine, according to the horizontal display ratio m and the vertical display ratio n, a third touch area corresponding to the second touch area on the current projected image
  • the touch command analysis module is configured to parse the touch command according to the third touch area and the current projected image
  • the touch command response module is configured to respond to the touch command with respect to the current projected image according to the analysis result.
  • the display image is superimposed by a first preset number of display sub-interfaces, and each of the display sub-interfaces is separately controlled by an independent switch;
  • the current projected image is superimposed by a second predetermined number of projection sub-interfaces, and each of the projection sub-interfaces is controlled by a separate switch for independent projection.
  • the third touch area determining module includes:
  • a sub-module obtained by the projection sub-interface configured to obtain a first projection sub-interface corresponding to the first display sub-interface
  • a third touch area determining sub-module configured to determine, according to the horizontal display ratio m and the vertical display ratio n, a third touch area corresponding to the second touch area on the first projection sub-interface ;
  • the touch instruction parsing module is specifically configured to:
  • the touch device for projecting an image further includes:
  • An operation instruction receiving module configured to receive an operation instruction for the projection device
  • a sub-interface determining module configured to determine, according to the operation instruction and a current mode of the projection device, a display sub-interface included in the image to be displayed on the display screen and a projection sub-interface included in the image to be projected;
  • an image display module configured to display the image to be displayed on the display screen according to the determined display sub-interface, and display the image to be projected according to the determined projection sub-interface.
  • the third touch area determining module includes:
  • a fourth touch area determining submodule configured to determine according to the horizontal display ratio m and the vertical display ratio n
  • the second touch area corresponds to a fourth touch area on the preset partial image
  • the third touch area obtaining sub-module is configured to obtain, according to the position of the preset partial image in the current projected image and the fourth touch area, the second touch area corresponding to the current projected image. Three touch areas.
  • the embodiment of the present invention provides a touch method and device for projecting an image.
  • the first touch is obtained for the image displayed on the display screen.
  • a second touch area corresponding to the control area; obtaining a horizontal display ratio m and a vertical display ratio n between the image displayed by the display screen and the current projected image; according to the horizontal display ratio m and the vertical display ratio n, Determining a third touch area corresponding to the second touch area on the current projected image; parsing the touch instruction according to the third touch area and the current projected image; and responding to the current projected image according to the parsing result The touch instruction.
  • the touch panel and the current projected image can be accurately matched, thereby realizing the current projection. Precise control of the image.
  • FIG. 1 is a schematic flowchart diagram of a touch method for a projected image according to an embodiment of the present invention.
  • FIG. 2 is a schematic flow chart of another touch method for projecting an image according to an embodiment of the present invention.
  • FIG. 3 is a schematic flowchart diagram of another touch method for projecting an image according to an embodiment of the present invention.
  • FIG. 4 is a schematic structural diagram of a touch device for projecting an image according to an embodiment of the present invention.
  • FIG. 5 is a schematic structural diagram of another touch device for projecting an image according to an embodiment of the present invention.
  • FIG. 6 is a schematic structural diagram of another touch device for projecting an image according to an embodiment of the present invention.
  • An embodiment of the present invention provides a touch method and apparatus for a projected image, which are applied to a projection device including a touch panel and a display screen, wherein the resolution of the touch panel and the display screen are the same.
  • a horizontal display ratio m and a vertical display ratio n between the image displayed by the display screen and the current projected image, wherein the horizontal display ratio m: a lateral component of the display resolution and a current projected image resolution The lateral component is determined, the longitudinal display ratio n: determined by a longitudinal component of the resolution of the display screen and a longitudinal component of the resolution of the current projected image;
  • FIG. 1 is a schematic flowchart of a touch method for a projected image according to an embodiment of the present disclosure, which is applied to a projection device including a touch panel and a display screen, wherein the touch panel and the display screen have the same resolution. Including the following steps:
  • Step S101 Obtain a second touch area corresponding to the first touch area for the image displayed on the display screen according to the resolution of the touch panel and the resolution of the display screen.
  • the first touch area is a touch area corresponding to the touch instruction received by the touch panel.
  • the touch command may be an instruction generated by a user performing a click, slide, or the like on the touch panel. It should be noted that the present application is only described by taking the above as an example. The specific generation manner of the touch command in the actual application is not limited to this.
  • the resolution of the display screen can be understood as simply the precision of the image displayed on the display screen, that is, the number of pixels that the display screen can display, and the lateral component can be used.
  • the vertical component indicates, for example, that the resolution of the display screen is 300 ⁇ 200, and the pixels that the display screen can display are: 300 pixels in width and 200 pixels in height.
  • the touch panel and the display screen have the same resolution, for example, the resolution of the display screen is 300 ⁇ 200, and the resolution of the touch panel is also 300 ⁇ 200.
  • the touch area may be a regularly shaped area or an irregularly shaped area.
  • the touch area may be represented by pixel coordinates of respective pixel points constituting the area; and in the case where the touch area is a regularly shaped area, the regular shape may be used.
  • the coordinate representation of the feature point corresponding to the area For example, when the touch area is a rectangle, the feature point may be a top left corner and a bottom right corner of the rectangle, and the like.
  • the second touch area corresponding to the first touch area can be obtained for the image displayed on the display screen according to the relationship between the resolutions.
  • the corresponding area of the first touch area on the touch panel and the coordinates of each pixel in the area are generally corresponding to the corresponding area of the second touch area on the image displayed on the display screen and each pixel in the area.
  • the coordinates are the same.
  • the user performs a click operation on the touch panel, and the touch panel receives the touch command.
  • the first touch area is a rectangular area
  • the processor obtains the coordinates of the upper left corner of the first touch area corresponding to the touch instruction as 120. ⁇ 100, the coordinates of the vertices in the lower right corner are 140 ⁇ 120. Since the resolution of the touch panel and the resolution of the display screen are equal, the second touch area in the display image can also be obtained as a rectangular area, and the second touch area is The coordinates of the vertices in the upper left corner are also 120 ⁇ 100, and the coordinates of the vertices in the lower right corner are also 140 ⁇ 120.
  • Step S102 Obtain a horizontal display ratio m and a vertical display ratio n between the image displayed by the display screen and the current projected image.
  • the horizontal display ratio m is determined by a lateral component of the resolution of the display screen and a lateral component of the resolution of the current projected image
  • the vertical display ratio n a longitudinal component and a current projection by the resolution of the display screen The longitudinal component of the image resolution is determined.
  • the specific content of the image displayed on the display screen may be exactly the same as the specific content of the current projected image. In this case,
  • the lateral display ratio m may be equal to a ratio between a lateral component of the resolution of the current projected image and a lateral component of the resolution of the display screen;
  • the portrait display ratio n may be equal to a ratio between a longitudinal component of the current projected image resolution and a longitudinal component of the display screen resolution.
  • the resolution of the projected image mentioned in the present application can be understood as the resolution of the projection device.
  • the solution provided by the embodiment of the present application is applicable to a projection device with adjustable resolution, and is also applicable to a projection device whose resolution is not adjustable, which is not limited in this application.
  • the horizontal display ratio m may be equal to or smaller than the vertical display ratio n.
  • the width and height of the projected image are proportional to the width and height of the image displayed on the display screen, so that the user sees on the projection background.
  • the image is consistent and undistorted from the image seen on the display.
  • the values of the horizontal display ratio m and the vertical display ratio n may be integers or non-integers.
  • the horizontal display ratio m and the vertical display ratio n are both positive integers, such that one pixel in the image displayed on the display screen may correspond to a positive integer number of pixels in the projected image. Thus, there is no deviation between pixel points when determining the correspondence between pixel points.
  • Step S103 Determine, according to the horizontal display ratio m and the vertical display ratio n, a third touch area corresponding to the second touch area on the current projected image.
  • the specific content of the image displayed on the display screen may be exactly the same as the specific content of the current projected image, and the horizontal display ratio m may be equal to the horizontal component of the resolution of the current projected image and the lateral component of the resolution of the display screen.
  • the ratio, the vertical display scale n may be equal to the ratio between the longitudinal component of the current projected image resolution and the longitudinal component of the display resolution.
  • the horizontal component of the coordinates of each pixel in the third touch area may be obtained by multiplying the horizontal component of the coordinates of the corresponding pixel in the second touch area by the horizontal display ratio m;
  • the longitudinal component of the coordinates of each pixel in the third touch region may be obtained by multiplying the longitudinal component of the coordinates of the corresponding pixel in the second touch region by the vertical display ratio n.
  • the horizontal display ratio m and/or the vertical display ratio n is a non-integer
  • determining that the second touch area corresponds to the third touch area on the current projected image There may be pixel deviations, resulting in slight deviations of the third touch area from the second touch area.
  • a person skilled in the art can set the appropriate current projected image resolution such that the horizontal display ratio m and the vertical display ratio n are integers, so that the third touch can be avoided. Subtle deviations in the area.
  • Step S104 Parse the touch instruction according to the third touch area and the current projected image.
  • the image is analyzed according to the image content of the third touch area on the current projected image and the touch command, and the analysis result is obtained.
  • the third touch area is obtained as a rectangular area from the step S103, and the image content corresponding to the rectangular area in the current projected image is a video application icon, and the touch instruction is generated by a click operation, so that the analysis result can be obtained. To open the video app.
  • Step S105 Respond to the touch instruction for the current projected image according to the analysis result.
  • the result of the step of obtaining the touch command is to open a certain video application.
  • the video application in response to the touch command, can be opened, and the interface after the video application is opened can be displayed in the further projected image.
  • the touch panel and the current projected image can be accurately matched, thereby achieving Precise control of the current projected image.
  • the image displayed by the foregoing display screen may be superimposed by a first preset number of display sub-interfaces, and each display sub-interface may be separately controlled by a separate switch.
  • the above display image is superimposed by three display sub-interfaces, and each display sub-interface is separately displayed and controlled by an independent switch. If one of the display sub-interfaces is turned off, the display image changes and becomes superimposed by the two display sub-interfaces.
  • the current projected image may be superimposed by a second preset number of projection sub-interfaces, and each projection sub-interface may be separately projected and controlled by an independent switch.
  • each projection sub-interface is controlled by a separate switch for independent projection. For example, the current projected image is superimposed by three projection sub-interfaces. If one of the projection sub-interfaces is turned off, the current projected image changes and becomes superimposed by two projection sub-interfaces.
  • the first preset number and the second preset number may be equal.
  • the display image is superimposed by three display sub-interfaces, and the current projection image is also superposed by three projection sub-interfaces.
  • the display image is the same as the content displayed by the current projected image.
  • the first preset number and the second preset number may also be unequal.
  • the display image and the current projected image display content are different.
  • the display image is superimposed by three display sub-interfaces, and the three display sub-interfaces respectively display video content, video control buttons, and system time
  • the current projection image is superimposed by two projection sub-interfaces, two The projection sub-interface respectively displays the video content, the system time, and a video control button display sub-interface corresponding to the projection sub-interface is not projected.
  • step S103 includes:
  • Step S103A Obtain a first display sub-interface corresponding to the second touch area.
  • the size of the display sub-interfaces constituting the display image may be equal or unequal, and the present application does not limit this.
  • the first display sub-interface corresponding to the touch area the first display sub-interface can be obtained by checking whether the position corresponding to the second touch area in each sub-interface includes a content screen. Specifically, the second touch can be determined.
  • the sub-interface corresponding to the location corresponding to the content screen is the first display sub-interface described above.
  • each display sub-interface When the size of each display sub-interface is not equal, when the first display sub-interface corresponding to the second touch area is obtained, the sub-interface corresponding to the position of the second touch area may be directly used as the first display sub-interface.
  • Step S103B Obtain a first projection sub-interface corresponding to the first display sub-interface.
  • the first projection sub-interface corresponding to the first display sub-interface may be obtained according to the identifier of the first display sub-interface, the correspondence between the display sub-interface and the projection sub-interface, and the like.
  • the first display sub-interface is obtained as a video control button display sub-interface by step S103A, so that the first projection sub-interface corresponding to the video control button display sub-interface is obtained as a video control button projection sub-interface.
  • Step S103C Determine a third touch area corresponding to the second touch area on the first projection sub-interface according to the horizontal display ratio m and the vertical display ratio n.
  • the coordinates of any pixel point P in the third touch region are
  • the lateral component may be obtained by multiplying the lateral component of the coordinates of the corresponding pixel point in the second touch region by the horizontal display ratio m; the coordinates of any pixel point P in the third touch region
  • the longitudinal component can be obtained by multiplying the longitudinal component of the coordinates of the corresponding pixel point in the second touch region by the pixel point P by the vertical display ratio n.
  • the method for determining the corresponding pixel point of the second touch area in the third touch area is used as an example, and the method for determining the third touch area corresponding to the second touch area on the first projection sub-interface is briefly described. as follows:
  • Step S104 is specifically
  • Step S104A Parse the touch instruction according to the third touch area and the first projection sub-interface.
  • the image is analyzed according to the image content of the third touch area on the first projection sub-interface and the touch instruction, Get the result of the analysis.
  • the content corresponding to the third touch area in the first projection sub-interface is a video pause button, and the touch command is generated by a click operation, so that the analysis result is that the current video is paused.
  • the touch method for the projected image may further include:
  • Receiving an operation instruction for the projection device determining, according to the operation instruction and a current mode of the projection device, a display sub-interface included in the image to be displayed of the display screen and a projection sub-interface included in the image to be projected, according to the determined
  • the display sub-interface displays the image to be displayed on the display screen, and displays the image to be projected according to the determined projection sub-interface.
  • the operation instruction may be an operation instruction for waking up the projection device in a sleep state by a click operation, or may be an operation instruction for starting the projection device by sliding on a projection device in a standby state, etc., limited.
  • the current mode of the projection device may be a sleep mode, a standby mode, or the like, which is not limited in this application.
  • the projection device is currently in a sleep mode, and the operation instruction is an instruction to wake up the projection device by clicking the projection device, thereby determining that the display sub-interface of the image to be displayed on the display screen comprises: a main image display sub-interface, time The sub-interface is displayed, and the image to be projected has no projection sub-interface.
  • the operation instruction is an instruction to start the projection device by sliding on the projection device, thereby determining that the display sub-interface of the image to be displayed on the display screen comprises: a main image display sub-interface
  • the time display sub-interface, the projection sub-interface of the image to be projected includes: a main image display sub-interface, and a time display sub-interface.
  • the determined display sub-interface includes: a main image display sub-interface, a time display sub-interface, and a projection without a sub-interface
  • the main image and the time are displayed on the display screen, and no projection image is displayed on the projection screen.
  • the determined display sub-interface includes: a main image display sub-interface and a time display sub-interface
  • the determined projection sub-interface includes: a main image display sub-interface, a time display sub-interface, a main image and a time display on the display screen, and a projection screen The main image and time are also projected on the top.
  • the display image may be different from the current projected image, and the user may separately display and project according to the need, and the touch panel and the current projection may be performed by the horizontal display ratio m and the vertical display ratio n.
  • the images are accurately matched to achieve precise control of the current projected image, which is more suitable for the user's needs.
  • FIG. 3 is a schematic flow chart of another touch method for projecting an image according to an embodiment of the present invention, applied to a projection device including a touch panel and a display screen, wherein the touch panel and the display screen have the same resolution
  • the display image corresponds to a preset partial image in the current projected image.
  • the specific position of the partial image can be preset according to the current projected image.
  • the partial image may be a video button area in the current video image, and the video button area is in a different video image. In a fixed position.
  • Step S103 includes step S103D and step S103E, where
  • Step S103D Determine a fourth touch area corresponding to the second touch area on the preset partial image according to the horizontal display ratio m and the vertical display ratio n.
  • the horizontal display ratio m is determined by a lateral component of the display screen resolution, a lateral component of the current projected image resolution, and a lateral component of the preset partial image resolution;
  • the vertical display ratio n determined by a longitudinal component of the resolution of the display screen, a longitudinal component of the resolution of the current projected image, and a longitudinal component of the resolution of the predetermined partial image.
  • the resolution of the display screen is 300 ⁇ 200
  • the resolution of the current projected image is 1200 ⁇ 800
  • the horizontal component of the coordinates of each pixel in the fourth touch area may be obtained by multiplying the horizontal component of the coordinates of the corresponding pixel in the second touch area by the horizontal display ratio m;
  • the longitudinal component of the coordinates of each pixel in the three touch regions can be obtained by multiplying the longitudinal component of the coordinates of the corresponding pixel in the second touch region by the vertical display ratio n.
  • Step S103E Obtain a third touch area corresponding to the second touch area on the current projected image according to the position of the preset partial image in the current projected image and the fourth touch area.
  • the displacement amount of the preset partial image may be obtained, including a lateral displacement amount and a longitudinal displacement amount; and a lateral component of the coordinate of the third touch region
  • the horizontal component of the coordinates of the fourth touch region and the lateral displacement of the preset partial image may be obtained; the longitudinal component of the coordinate of the third touch region may pass through the longitudinal direction of the coordinate of the fourth touch region.
  • the component is obtained by adding the amount of longitudinal displacement of the preset partial image.
  • the lateral displacement amount of the preset partial image is 200, and the longitudinal displacement is 500.
  • Obtaining the coordinates of one pixel point P in the fourth touch area from the step S103D is 300 ⁇ 100, and obtaining the coordinates of the corresponding pixel point of the pixel point P in the third touch area is 500 ⁇ 600.
  • the display image is a preset partial image in the current projected image, and only the partial image in the current projected image is displayed in the display screen, and the horizontal display ratio m, the vertical display ratio n, and the preset local portion are displayed.
  • the position of the image in the current projected image can accurately correspond the touch panel and the current projected image, thereby achieving precise control of the current projected image, further improving the user experience.
  • FIG. 4 is a schematic structural diagram of a touch device for projecting an image according to an embodiment of the present disclosure, which is applied to a projection device including a touch panel and a display screen, wherein the touch panel and the display screen have the same resolution.
  • a projection device including a touch panel and a display screen
  • the touch panel and the display screen have the same resolution.
  • the second touch area obtaining module 401 is configured to obtain, according to the resolution of the touch panel and the resolution of the display screen, the second touch corresponding to the first touch area for the image displayed on the display screen.
  • a display ratio obtaining module 402 configured to obtain a horizontal display ratio m and a vertical display ratio n between the image displayed by the display screen and the current projected image, wherein the horizontal display ratio m: by the resolution of the display screen
  • the horizontal display ratio m by the resolution of the display screen
  • the longitudinal display scale n determined by the longitudinal component of the display resolution and the longitudinal component of the current projected image resolution.
  • the third touch area determining module 403 is configured to determine, according to the horizontal display ratio m and the vertical display ratio n, the third touch area corresponding to the second touch area on the current projected image.
  • the touch command parsing module 404 is configured to parse the touch command according to the third touch area and the current projected image.
  • the touch command response module 405 is configured to respond to the touch instruction for the current projected image according to the analysis result.
  • the horizontal display ratio m and the vertical display ratio n between the image displayed by the display screen and the current projected image can accurately correspond the touch panel and the current projected image, thereby achieving Precise control of the current projected image.
  • FIG. 5 is a schematic structural diagram of another touch device for projecting an image according to an embodiment of the present invention, applied to a projection device including a touch panel and a display screen, wherein the touch panel and the display screen have the same resolution
  • the second touch area obtaining module 401, the display ratio obtaining module 402, the third touch area determining module 403, the touch command analyzing module 404, and the touch command response module 405 are included.
  • the display image is superimposed by a first preset number of display sub-interfaces, and each of the display sub-interfaces is separately controlled by an independent switch;
  • the current projected image is superimposed by a second predetermined number of projection sub-interfaces, and each of the projection sub-interfaces is controlled by a separate switch for independent projection.
  • the third touch area determining module 403 includes: a display sub-interface obtaining sub-module, a projection sub-interface obtaining sub-module, and a third touch area determining sub-module.
  • the display sub-interface obtains a sub-module, configured to obtain a first display sub-interface corresponding to the second touch area;
  • the projection sub-interface obtains a sub-module, configured to obtain a first projection sub-interface corresponding to the first display sub-interface;
  • the third touch area determining submodule is configured to display the scale m and the vertical display scale n according to the horizontal display area Determining a third touch area corresponding to the second touch area on the first projection sub-interface.
  • the touch instruction parsing module 404 is specifically configured to:
  • the apparatus further includes: an operation instruction receiving module, a sub-interface determining module, and an image display module.
  • the operation instruction receiving module is configured to receive an operation instruction for the projection device
  • the sub-interface determining module is configured to determine, according to the operation instruction and a current mode of the projection device, a display sub-interface included in the image to be displayed of the display screen and a projection sub-interface included in the image to be projected;
  • the image display module is configured to display the image to be displayed on the display screen according to the determined display sub-interface, and display the image to be projected according to the determined projection sub-interface.
  • the display image may be different from the current projected image, and the user may separately display and project according to the need, and the touch panel and the current projection may be performed by the horizontal display ratio m and the vertical display ratio n.
  • the images are accurately matched to achieve precise control of the current projected image, which is more suitable for the user's needs.
  • FIG. 6 is a schematic structural diagram of another touch device for projecting an image according to an embodiment of the present invention, applied to a projection device including a touch panel and a display screen, wherein the touch panel and the display screen have the same resolution
  • the display image corresponds to the preset partial image in the current projected image, and corresponds to the flow shown in FIG. 3, and includes a second touch area obtaining module 401, a display ratio obtaining module 402, and a third touch area determining module. 403.
  • the third touch area determining module 403 includes: a fourth touch area determining sub-module and a third touch area obtaining sub-module.
  • the fourth touch area determining sub-module is configured to determine, according to the horizontal display ratio m and the vertical display ratio n, the fourth touch corresponding to the second touch area on the preset partial image. region;
  • the third touch area obtaining sub-module is configured to obtain, according to the position of the preset partial image in the current projected image and the fourth touch area, the second touch area corresponding to the current projected image.
  • the third touch area is configured to obtain, according to the position of the preset partial image in the current projected image and the fourth touch area, the second touch area corresponding to the current projected image.
  • the display image is a preset partial image in the current projected image, and only the partial image in the current projected image is displayed in the display screen, and the horizontal display ratio m, the vertical display ratio n, and the preset local portion are displayed.
  • the position of the image in the current projected image can accurately correspond the touch panel and the current projected image, thereby achieving precise control of the current projected image, further improving the user experience.

Landscapes

  • Engineering & Computer Science (AREA)
  • General Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Multimedia (AREA)
  • Signal Processing (AREA)
  • Human Computer Interaction (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Controls And Circuits For Display Device (AREA)
  • Position Input By Displaying (AREA)
  • User Interface Of Digital Computer (AREA)

Abstract

Disclosed are a touch method and device for a projected image, which relate to the technical field of projection and are applied to a projection device comprising a touch panel and a display screen. The method comprises the steps of: according to the resolution of a touch panel and the resolution of a display screen, obtaining a second touch region corresponding to a first touch region for an image displayed by the display screen; obtaining a transverse display proportion m and a longitudinal display proportion n between the image displayed by the display screen and a currently-projected image; determining a third touch region corresponding to the second touch region on the currently-projected image according to the transverse display proportion m and the longitudinal display proportion n; parsing a touch instruction according to the third touch region and the currently-projected image; and responding to the touch instruction for the currently-projected image according to the parsing result. A touch panel is precisely corresponding to a currently-projected image, and accordingly the currently-projected image is precisely controlled.

Description

一种针对投影图像的触控方法及装置Touch method and device for projected image
本申请要求了申请日为2015年12月31日,申请号为201511034186.3,发明名称为“一种针对投影图像的触控方法及装置”的中国专利申请的优先权,其全部内容通过引用结合在本申请中。The present application claims priority to Chinese Patent Application No. 201511034186.3, the entire disclosure of which is incorporated herein by reference. In this application.
技术领域Technical field
本发明涉及投影技术领域,特别涉及一种针对投影图像的触控方法及装置。The present invention relates to the field of projection technologies, and in particular, to a touch method and apparatus for projecting images.
背景技术Background technique
投影设备在日常生活和工作中应用广泛,例如在开会时用投影设备展示会议内容,或者在家里用投影设备播放影片。随着投影设备的普及,用户对投影设备的要求也越来越高。用户希望不仅能观看投影图像,还能对投影图像进行控制。Projection devices are widely used in daily life and work, such as displaying meeting content with a projection device during a meeting, or playing a movie with a projection device at home. With the popularity of projection devices, users are increasingly demanding projection devices. The user wants to be able to view not only the projected image but also the projected image.
目前已出现可触控的投影设备,用户可以通过触摸板对投影画面进行控制。但是其投影屏幕和触摸板是分离的,用户只能对投影图像进行简单的控制,很难对投影图像上的按钮、图标等进行精确操作。At present, a touchable projection device has appeared, and the user can control the projection picture through the touch panel. However, the projection screen and the touchpad are separated, and the user can only perform simple control on the projected image, and it is difficult to accurately operate the buttons, icons, and the like on the projected image.
发明内容Summary of the invention
本发明实施例公开了一种针对投影图像的触控方法及装置,用于解决对投影图像精确操作困难的问题。技术方案如下:The embodiment of the invention discloses a touch method and device for projecting images, which are used for solving the problem that the precise operation of the projected image is difficult. The technical solutions are as follows:
本申请实施例公开了一种针对投影图像的触控方法,应用于包括触摸板和显示屏的投影设备,其中,所述触摸板和所述显示屏的分辨率相同,所述方法包括步骤:The embodiment of the present application discloses a touch method for projecting an image, which is applied to a projection device including a touch panel and a display screen, wherein the touch panel and the display screen have the same resolution, and the method includes the following steps:
根据所述触摸板的分辨率和所述显示屏的分辨率,针对所述显示屏所显示图像获得第一触控区域对应的第二触控区域,其中,所述第一触控区域为所述触摸板接收到的触控指令对应的触控区域;Obtaining, according to the resolution of the touch panel and the resolution of the display screen, a second touch area corresponding to the first touch area for the image displayed on the display screen, where the first touch area is a touch area corresponding to the touch command received by the touch panel;
获得所述显示屏所显示图像与当前投影图像之间的横向显示比例m和纵向显示比例n,其中,所述横向显示比例m:由所述显示屏分辨率的横向分量和当前投影图像分辨率的横向分量确定,所述纵向显示比例n:由所述显示屏分辨率的纵向分量和当前投影图像分辨率的纵向分量确定;Obtaining a horizontal display ratio m and a vertical display ratio n between the image displayed by the display screen and the current projected image, wherein the horizontal display ratio m: a lateral component of the display resolution and a current projected image resolution The lateral component is determined, the longitudinal display ratio n: determined by a longitudinal component of the resolution of the display screen and a longitudinal component of the resolution of the current projected image;
根据所述横向显示比例m和所述纵向显示比例n,确定所述第二触控区域在当前投影图像上对应的第三触控区域;Determining, according to the horizontal display ratio m and the vertical display ratio n, a third touch area corresponding to the second touch area on the current projected image;
根据所述第三触控区域和当前投影图像,解析所述触控指令;Parsing the touch instruction according to the third touch area and the current projected image;
根据解析结果,针对当前投影图像响应所述触控指令。 And responding to the touch instruction for the current projected image according to the analysis result.
在本申请的一种具体实现方式中,所述显示图像由第一预设数量个显示子界面叠加而成,每个所述显示子界面通过独立的开关进行单独的显示控制;In a specific implementation manner of the present application, the display image is superimposed by a first preset number of display sub-interfaces, and each of the display sub-interfaces is separately controlled by an independent switch;
当前投影图像由第二预设数量个投影子界面叠加而成,每个所述投影子界面通过独立的开关进行单独的投影控制。The current projected image is superimposed by a second predetermined number of projection sub-interfaces, and each of the projection sub-interfaces is controlled by a separate switch for independent projection.
在本申请的一种具体实现方式中,所述根据所述横向显示比例m和所述纵向显示比例n,确定所述第二触控区域在当前投影图像上对应的第三触控区域,包括:In a specific implementation manner of the present application, the determining, according to the horizontal display ratio m and the vertical display ratio n, the third touch area corresponding to the second touch area on the current projected image, including :
获得所述第二触控区域对应的第一显示子界面;Obtaining a first display sub-interface corresponding to the second touch area;
获得所述第一显示子界面对应的第一投影子界面;Obtaining a first projection sub-interface corresponding to the first display sub-interface;
根据所述横向显示比例m和所述纵向显示比例n,确定所述第二触控区域在所述第一投影子界面上对应的第三触控区域;Determining, according to the horizontal display ratio m and the vertical display ratio n, a third touch area corresponding to the second touch area on the first projection sub-interface;
所述根据所述第三触控区域和当前投影图像,解析所述触控指令,包括:The parsing the touch command according to the third touch area and the current projected image includes:
根据所述第三触控区域和所述第一投影子界面,解析所述触控指令。And parsing the touch instruction according to the third touch area and the first projection sub-interface.
在本申请的一种具体实现方式中,所述针对投影图像的触控方法还包括:In a specific implementation manner of the present application, the touch method for the projected image further includes:
接收针对所述投影设备的操作指令;Receiving an operation instruction for the projection device;
根据所述操作指令以及所述投影设备的当前模式,确定所述显示屏待显示图像包括的显示子界面以及待投影图像包括的投影子界面;Determining, according to the operation instruction and a current mode of the projection device, a display sub-interface included in the image to be displayed of the display screen and a projection sub-interface included in the image to be projected;
根据所确定的显示子界面在所述显示屏上显示所述待显示图像,并根据所确定的投影子界面显示所述待投影图像。Displaying the image to be displayed on the display screen according to the determined display sub-interface, and displaying the image to be projected according to the determined projection sub-interface.
在本申请的一种具体实现方式中,所述显示图像对应于当前投影图像中的预设局部图像的情况下,In a specific implementation manner of the present application, in a case where the display image corresponds to a preset partial image in a current projected image,
所述根据所述横向显示比例m和所述纵向显示比例n,确定所述第二触控区域在当前投影图像上对应的第三触控区域,包括:Determining, according to the horizontal display ratio m and the vertical display ratio n, the third touch area corresponding to the second touch area on the current projected image, including:
根据所述横向显示比例m和所述纵向显示比例n,确定所述第二触控区域在所述预设局部图像上对应的第四触控区域;Determining, according to the horizontal display ratio m and the vertical display ratio n, a fourth touch area corresponding to the second touch area on the preset partial image;
根据所述预设局部图像在当前投影图像中的位置以及所述第四触控区域,获得所述第二触控区域在当前投影图像上对应的第三触控区域。And obtaining, according to the position of the preset partial image in the current projected image and the fourth touch area, a third touch area corresponding to the second touch area on the current projected image.
本申请实施例公开了一种针对投影图像的触控装置,应用于包括触摸板和显示屏的投影设备,其中,所述触摸板和所述显示屏的分辨率相同,所述装置包括:The embodiment of the present application discloses a touch device for projecting an image, which is applied to a projection device including a touch panel and a display screen, wherein the touch panel and the display screen have the same resolution, and the device includes:
第二触控区域获得模块,用于根据所述触摸板的分辨率和所述显示屏的分辨率,针对所述显示屏所显示图像获得第一触控区域对应的第二触控区域,其中,所述第一触控区域为所 述触摸板接收到的触控指令对应的触控区域;a second touch area obtaining module, configured to obtain, according to a resolution of the touch panel and a resolution of the display screen, a second touch area corresponding to the first touch area for the image displayed on the display screen, where The first touch area is a touch area corresponding to the touch command received by the touch panel;
显示比例获得模块,用于获得所述显示屏所显示图像与当前投影图像之间的横向显示比例m和纵向显示比例n,其中,所述横向显示比例m:由所述显示屏分辨率的横向分量和当前投影图像分辨率的横向分量确定,所述纵向显示比例n:由所述显示屏分辨率的纵向分量和当前投影图像分辨率的纵向分量确定;a display ratio obtaining module, configured to obtain a horizontal display ratio m and a vertical display ratio n between the image displayed by the display screen and the current projected image, wherein the horizontal display ratio m: a horizontal direction by the resolution of the display screen Determining a component and a lateral component of the resolution of the current projected image, the longitudinal display ratio n: determined by a longitudinal component of the resolution of the display screen and a longitudinal component of the resolution of the current projected image;
第三触控区域确定模块,用于根据所述横向显示比例m和所述纵向显示比例n,确定所述第二触控区域在当前投影图像上对应的第三触控区域;a third touch area determining module, configured to determine, according to the horizontal display ratio m and the vertical display ratio n, a third touch area corresponding to the second touch area on the current projected image;
触控指令解析模块,用于根据所述第三触控区域和当前投影图像,解析所述触控指令;The touch command analysis module is configured to parse the touch command according to the third touch area and the current projected image;
触控指令响应模块,用于根据解析结果,针对当前投影图像响应所述触控指令。The touch command response module is configured to respond to the touch command with respect to the current projected image according to the analysis result.
在本申请的一种具体实现方式中,所述显示图像由第一预设数量个显示子界面叠加而成,每个所述显示子界面通过独立的开关进行单独的显示控制;In a specific implementation manner of the present application, the display image is superimposed by a first preset number of display sub-interfaces, and each of the display sub-interfaces is separately controlled by an independent switch;
当前投影图像由第二预设数量个投影子界面叠加而成,每个所述投影子界面通过独立的开关进行单独的投影控制。The current projected image is superimposed by a second predetermined number of projection sub-interfaces, and each of the projection sub-interfaces is controlled by a separate switch for independent projection.
在本申请的一种具体实现方式中,所述第三触控区域确定模块,包括:In a specific implementation manner of the application, the third touch area determining module includes:
显示子界面获得子模块,用于获得所述第二触控区域对应的第一显示子界面;Displaying a sub-interface obtaining sub-module, configured to obtain a first display sub-interface corresponding to the second touch area;
投影子界面获得子模块,用于获得所述第一显示子界面对应的第一投影子界面;a sub-module obtained by the projection sub-interface, configured to obtain a first projection sub-interface corresponding to the first display sub-interface;
第三触控区域确定子模块,用于根据所述横向显示比例m和所述纵向显示比例n,确定所述第二触控区域在所述第一投影子界面上对应的第三触控区域;a third touch area determining sub-module, configured to determine, according to the horizontal display ratio m and the vertical display ratio n, a third touch area corresponding to the second touch area on the first projection sub-interface ;
所述触控指令解析模块,具体用于:The touch instruction parsing module is specifically configured to:
根据所述第三触控区域和所述第一投影子界面,解析所述触控指令。And parsing the touch instruction according to the third touch area and the first projection sub-interface.
在本申请的一种具体实现方式中,所述针对投影图像的触控装置还包括:In a specific implementation manner of the present application, the touch device for projecting an image further includes:
操作指令接收模块,用于接收针对所述投影设备的操作指令;An operation instruction receiving module, configured to receive an operation instruction for the projection device;
子界面确定模块,用于根据所述操作指令以及所述投影设备的当前模式,确定所述显示屏待显示图像包括的显示子界面以及待投影图像包括的投影子界面;a sub-interface determining module, configured to determine, according to the operation instruction and a current mode of the projection device, a display sub-interface included in the image to be displayed on the display screen and a projection sub-interface included in the image to be projected;
图像显示模块,用于根据所确定的显示子界面在所述显示屏上显示所述待显示图像,并根据所确定的投影子界面显示所述待投影图像。And an image display module, configured to display the image to be displayed on the display screen according to the determined display sub-interface, and display the image to be projected according to the determined projection sub-interface.
在本申请的一种具体实现方式中,所述显示图像对应于当前投影图像中的预设局部图像的情况下,In a specific implementation manner of the present application, in a case where the display image corresponds to a preset partial image in a current projected image,
所述第三触控区域确定模块,包括:The third touch area determining module includes:
第四触控区域确定子模块,用于根据所述横向显示比例m和所述纵向显示比例n,确定 所述第二触控区域在所述预设局部图像上对应的第四触控区域;a fourth touch area determining submodule, configured to determine according to the horizontal display ratio m and the vertical display ratio n The second touch area corresponds to a fourth touch area on the preset partial image;
第三触控区域获得子模块,用于根据所述预设局部图像在当前投影图像中的位置以及所述第四触控区域,获得所述第二触控区域在当前投影图像上对应的第三触控区域。The third touch area obtaining sub-module is configured to obtain, according to the position of the preset partial image in the current projected image and the fourth touch area, the second touch area corresponding to the current projected image. Three touch areas.
由以上可见,本发明实施例提供一种针对投影图像的触控方法及装置,根据所述触摸板的分辨率和所述显示屏的分辨率,针对所述显示屏所显示图像获得第一触控区域对应的第二触控区域;获得所述显示屏所显示图像与当前投影图像之间的横向显示比例m和纵向显示比例n;根据所述横向显示比例m和所述纵向显示比例n,确定所述第二触控区域在当前投影图像上对应的第三触控区域;根据所述第三触控区域和当前投影图像,解析所述触控指令;根据解析结果,针对当前投影图像响应所述触控指令。It can be seen from the above that the embodiment of the present invention provides a touch method and device for projecting an image. According to the resolution of the touch panel and the resolution of the display screen, the first touch is obtained for the image displayed on the display screen. a second touch area corresponding to the control area; obtaining a horizontal display ratio m and a vertical display ratio n between the image displayed by the display screen and the current projected image; according to the horizontal display ratio m and the vertical display ratio n, Determining a third touch area corresponding to the second touch area on the current projected image; parsing the touch instruction according to the third touch area and the current projected image; and responding to the current projected image according to the parsing result The touch instruction.
可见,本发明实施例中,根据所述显示屏所显示图像与当前投影图像之间的横向显示比例m和纵向显示比例n,可以将触摸板和当前投影图像进行精确对应,从而实现对当前投影图像的精确控制。It can be seen that, in the embodiment of the present invention, according to the horizontal display ratio m and the vertical display ratio n between the image displayed by the display screen and the current projected image, the touch panel and the current projected image can be accurately matched, thereby realizing the current projection. Precise control of the image.
附图说明DRAWINGS
为了更清楚地说明本发明实施例或现有技术中的技术方案,下面将对实施例或现有技术描述中所需要使用的附图作简单地介绍,显而易见地,下面描述中的附图仅仅是本发明的一些实施例,对于本领域普通技术人员来讲,在不付出创造性劳动的前提下,还可以根据这些附图获得其他的附图。In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings used in the embodiments or the description of the prior art will be briefly described below. Obviously, the drawings in the following description are only It is a certain embodiment of the present invention, and other drawings can be obtained from those skilled in the art without any creative work.
图1为本发明实施例提供的一种针对投影图像的触控方法的流程示意图。FIG. 1 is a schematic flowchart diagram of a touch method for a projected image according to an embodiment of the present invention.
图2为本发明实施例提供的另一种针对投影图像的触控方法的流程示意图。2 is a schematic flow chart of another touch method for projecting an image according to an embodiment of the present invention.
图3为本发明实施例提供的另一种针对投影图像的触控方法的流程示意图。FIG. 3 is a schematic flowchart diagram of another touch method for projecting an image according to an embodiment of the present invention.
图4为本发明实施例提供的一种针对投影图像的触控装置的结构示意图。FIG. 4 is a schematic structural diagram of a touch device for projecting an image according to an embodiment of the present invention.
图5为本发明实施例提供的另一种针对投影图像的触控装置的结构示意图。FIG. 5 is a schematic structural diagram of another touch device for projecting an image according to an embodiment of the present invention.
图6为本发明实施例提供的另一种针对投影图像的触控装置的结构示意图。FIG. 6 is a schematic structural diagram of another touch device for projecting an image according to an embodiment of the present invention.
具体实施方式detailed description
下面将结合本发明实施例中的附图,对本发明实施例中的技术方案进行清楚、完整地描述,显然,所描述的实施例仅仅是本发明一部分实施例,而不是全部的实施例。基于本发明中的实施例,本领域普通技术人员在没有作出创造性劳动前提下所获得的所有其他实施例,都属于本发明保护的范围。The technical solutions in the embodiments of the present invention are clearly and completely described in the following with reference to the accompanying drawings in the embodiments of the present invention. It is obvious that the described embodiments are only a part of the embodiments of the present invention, but not all embodiments. All other embodiments obtained by those skilled in the art based on the embodiments of the present invention without creative efforts are within the scope of the present invention.
本发明实施例提供了一种针对投影图像的触控方法及装置,应用于包括触摸板和显示屏的投影设备,其中,所述触摸板和所述显示屏的分辨率相同,该方案中, An embodiment of the present invention provides a touch method and apparatus for a projected image, which are applied to a projection device including a touch panel and a display screen, wherein the resolution of the touch panel and the display screen are the same.
根据所述触摸板的分辨率和所述显示屏的分辨率,针对所述显示屏所显示图像获得第一触控区域对应的第二触控区域,其中,所述第一触控区域为所述触摸板接收到的触控指令对应的触控区域;Obtaining, according to the resolution of the touch panel and the resolution of the display screen, a second touch area corresponding to the first touch area for the image displayed on the display screen, where the first touch area is a touch area corresponding to the touch command received by the touch panel;
获得所述显示屏所显示图像与当前投影图像之间的横向显示比例m和纵向显示比例n,其中,所述横向显示比例m:由所述显示屏分辨率的横向分量和当前投影图像分辨率的横向分量确定,所述纵向显示比例n:由所述显示屏分辨率的纵向分量和当前投影图像分辨率的纵向分量确定;Obtaining a horizontal display ratio m and a vertical display ratio n between the image displayed by the display screen and the current projected image, wherein the horizontal display ratio m: a lateral component of the display resolution and a current projected image resolution The lateral component is determined, the longitudinal display ratio n: determined by a longitudinal component of the resolution of the display screen and a longitudinal component of the resolution of the current projected image;
根据所述横向显示比例m和所述纵向显示比例n,确定所述第二触控区域在当前投影图像上对应的第三触控区域;Determining, according to the horizontal display ratio m and the vertical display ratio n, a third touch area corresponding to the second touch area on the current projected image;
根据所述第三触控区域和当前投影图像,解析所述触控指令;Parsing the touch instruction according to the third touch area and the current projected image;
根据解析结果,针对当前投影图像响应所述触控指令。And responding to the touch instruction for the current projected image according to the analysis result.
下面通过具体实施例,对本发明进行详细说明。The invention will now be described in detail by way of specific examples.
图1为本发明实施例提供的一种针对投影图像的触控方法的流程示意图,应用于包括触摸板和显示屏的投影设备,其中,所述触摸板和所述显示屏的分辨率相同,包括如下步骤:FIG. 1 is a schematic flowchart of a touch method for a projected image according to an embodiment of the present disclosure, which is applied to a projection device including a touch panel and a display screen, wherein the touch panel and the display screen have the same resolution. Including the following steps:
步骤S101:根据所述触摸板的分辨率和所述显示屏的分辨率,针对所述显示屏所显示图像获得第一触控区域对应的第二触控区域。Step S101: Obtain a second touch area corresponding to the first touch area for the image displayed on the display screen according to the resolution of the touch panel and the resolution of the display screen.
其中,所述第一触控区域为所述触摸板接收到的触控指令对应的触控区域。The first touch area is a touch area corresponding to the touch instruction received by the touch panel.
所述触控指令可以是用户在触摸板上进行点击、滑动等操作而生成的指令。需要说明的是,本申请只是以上述为例进行说明,实际应用中触控指令的具体生成方式并不仅限于此。The touch command may be an instruction generated by a user performing a click, slide, or the like on the touch panel. It should be noted that the present application is only described by taking the above as an example. The specific generation manner of the touch command in the actual application is not limited to this.
本领域内的技术人员可以理解的是,显示屏的分辨率简单的可以理解为:显示屏所能够显示图像的精密度,也就是指显示屏所能显示的像素的多少,可以用横向分量×纵向分量来表示,例如,显示屏分辨率为300×200,则该显示屏所能显示的像素为:宽度300个像素点、高度200个像素点。It will be understood by those skilled in the art that the resolution of the display screen can be understood as simply the precision of the image displayed on the display screen, that is, the number of pixels that the display screen can display, and the lateral component can be used. The vertical component indicates, for example, that the resolution of the display screen is 300×200, and the pixels that the display screen can display are: 300 pixels in width and 200 pixels in height.
本发明方案中所述触摸板和所述显示屏的分辨率相同,例如显示屏分辨率为300×200,触摸板的分辨率也为300×200。In the solution of the present invention, the touch panel and the display screen have the same resolution, for example, the resolution of the display screen is 300×200, and the resolution of the touch panel is also 300×200.
具体的,上述触控区域可以是规则形状的区域,还可以是不规则形状的区域。在上述触控区域为不规则形状的区域的情况下,可以以构成该区域的各个像素点的像素点坐标表示;在上述触控区域为规则形状的区域的情况下,可以以该规则形状的区域对应的特征点的坐标表示,例如,上述触控区域为矩形时,上述特征点可以是矩形的左上角顶点和右下角顶点等等。 Specifically, the touch area may be a regularly shaped area or an irregularly shaped area. In the case where the touch area is an irregularly shaped area, it may be represented by pixel coordinates of respective pixel points constituting the area; and in the case where the touch area is a regularly shaped area, the regular shape may be used. The coordinate representation of the feature point corresponding to the area. For example, when the touch area is a rectangle, the feature point may be a top left corner and a bottom right corner of the rectangle, and the like.
由于触摸板的分辨率与显示屏的分辨率相同,所以可以直接根据该分辨率之间的关系,针对显示屏所显示图像获得第一触控区域对应的第二触控区域。Since the resolution of the touch panel is the same as the resolution of the display screen, the second touch area corresponding to the first touch area can be obtained for the image displayed on the display screen according to the relationship between the resolutions.
具体的,上述第一触控区域在触摸板上对应的区域以及区域内各个像素点的坐标,通常与上述第二触控区域在显示屏所显示图像上的对应区域以及区域内各个像素点的坐标相同。Specifically, the corresponding area of the first touch area on the touch panel and the coordinates of each pixel in the area are generally corresponding to the corresponding area of the second touch area on the image displayed on the display screen and each pixel in the area. The coordinates are the same.
例如:用户在触摸板上进行点击操作,触摸板接收到触控指令,上述第一触控区域为矩形区域,处理器获得该触控指令对应的第一触控区域的左上角顶点坐标为120×100、右下角顶点坐标为140×120,因为触摸板的分辨率和显示屏的分辨率相等,所以可以获得显示图像中的第二触控区域也为矩形区域,且第二触控区域的左上角顶点坐标也为120×100、右下角顶点坐标也为140×120。For example, the user performs a click operation on the touch panel, and the touch panel receives the touch command. The first touch area is a rectangular area, and the processor obtains the coordinates of the upper left corner of the first touch area corresponding to the touch instruction as 120. ×100, the coordinates of the vertices in the lower right corner are 140×120. Since the resolution of the touch panel and the resolution of the display screen are equal, the second touch area in the display image can also be obtained as a rectangular area, and the second touch area is The coordinates of the vertices in the upper left corner are also 120×100, and the coordinates of the vertices in the lower right corner are also 140×120.
步骤S102:获得所述显示屏所显示图像与当前投影图像之间的横向显示比例m和纵向显示比例n。Step S102: Obtain a horizontal display ratio m and a vertical display ratio n between the image displayed by the display screen and the current projected image.
其中,所述横向显示比例m:由所述显示屏分辨率的横向分量和当前投影图像分辨率的横向分量确定,所述纵向显示比例n:由所述显示屏分辨率的纵向分量和当前投影图像分辨率的纵向分量确定。Wherein the horizontal display ratio m is determined by a lateral component of the resolution of the display screen and a lateral component of the resolution of the current projected image, the vertical display ratio n: a longitudinal component and a current projection by the resolution of the display screen The longitudinal component of the image resolution is determined.
在本申请的一种具体实现方式中,显示屏所显示图像的具体内容可以与当前投影图像的具体内容完全相同,这种情况下,In a specific implementation manner of the present application, the specific content of the image displayed on the display screen may be exactly the same as the specific content of the current projected image. In this case,
所述横向显示比例m可以等于当前投影图像分辨率的横向分量与所述显示屏分辨率的横向分量之间的比值;The lateral display ratio m may be equal to a ratio between a lateral component of the resolution of the current projected image and a lateral component of the resolution of the display screen;
所述纵向显示比例n可以等于当前投影图像分辨率的纵向分量与所述显示屏分辨率的纵向分量之间的比值。The portrait display ratio n may be equal to a ratio between a longitudinal component of the current projected image resolution and a longitudinal component of the display screen resolution.
例如:当前投影图像分辨率为1500×900,显示屏分辨率为300×200,则显示屏所显示图像与当前投影图像之间的横向显示比例m=1500/300=5,显示屏所显示图像与当前投影图像之间的纵向显示比例n=900/200=4.5。For example, if the current projected image resolution is 1500×900 and the display resolution is 300×200, the horizontal display ratio between the image displayed on the display screen and the current projected image is m=1500/300=5, and the image displayed on the display screen. The vertical display ratio n=900/200=4.5 with the current projected image.
需要说明的是,本申请中所提及的投影图像的分辨率可以理解为投影设备的分辨率。It should be noted that the resolution of the projected image mentioned in the present application can be understood as the resolution of the projection device.
另外,本申请实施例所提供的方案适用于分辨率可调的投影设备,也适用于分辨率不可调的投影设备,本申请并不对此进行限定。In addition, the solution provided by the embodiment of the present application is applicable to a projection device with adjustable resolution, and is also applicable to a projection device whose resolution is not adjustable, which is not limited in this application.
进一步的,上述横向显示比例m可以与上述纵向显示比例n相等,也可以不相等。Further, the horizontal display ratio m may be equal to or smaller than the vertical display ratio n.
较佳的,在上述横向显示比例m和上述纵向显示比例n相等的情况下,投影图像的宽度和高度与显示屏所显示图像的宽度和高度成等比例,这样用户在投影背景上看到的图像与在显示屏上看到的图像是一致的、无畸变的。 Preferably, in the case where the horizontal display ratio m and the vertical display ratio n are equal, the width and height of the projected image are proportional to the width and height of the image displayed on the display screen, so that the user sees on the projection background. The image is consistent and undistorted from the image seen on the display.
本领域内的技术人员可以理解的,上述横向显示比例m和纵向显示比例n的取值可以为整数,也可以为非整数。It can be understood by those skilled in the art that the values of the horizontal display ratio m and the vertical display ratio n may be integers or non-integers.
在本申请的一种较佳实现方式中,上述横向显示比例m和上述纵向显示比例n均为正整数,这样显示屏所显示图像中的一个像素点可以正好对应于投影图像中正整数个像素点,这样在确定像素点之间的对应关系时不会出现像素点之间的偏差。In a preferred implementation of the present application, the horizontal display ratio m and the vertical display ratio n are both positive integers, such that one pixel in the image displayed on the display screen may correspond to a positive integer number of pixels in the projected image. Thus, there is no deviation between pixel points when determining the correspondence between pixel points.
步骤S103:根据所述横向显示比例m和所述纵向显示比例n,确定所述第二触控区域在当前投影图像上对应的第三触控区域。Step S103: Determine, according to the horizontal display ratio m and the vertical display ratio n, a third touch area corresponding to the second touch area on the current projected image.
由前述描述得知,显示屏所显示图像的具体内容可以与当前投影图像的具体内容完全相同,横向显示比例m可以等于当前投影图像分辨率的横向分量与显示屏分辨率的横向分量之间的比值,纵向显示比例n可以等于当前投影图像分辨率的纵向分量与显示屏分辨率的纵向分量之间的比值。所以,这种情况下,所述第三触控区域内各个像素点的坐标的横向分量可以通过第二触控区域内相应像素点的坐标的横向分量乘以所述横向显示比例m来获得;所述第三触控区域内各个像素点的坐标的纵向分量可以通过第二触控区域内相应像素点的坐标的纵向分量乘以所述纵向显示比例n来获得。It is known from the foregoing description that the specific content of the image displayed on the display screen may be exactly the same as the specific content of the current projected image, and the horizontal display ratio m may be equal to the horizontal component of the resolution of the current projected image and the lateral component of the resolution of the display screen. The ratio, the vertical display scale n may be equal to the ratio between the longitudinal component of the current projected image resolution and the longitudinal component of the display resolution. Therefore, in this case, the horizontal component of the coordinates of each pixel in the third touch area may be obtained by multiplying the horizontal component of the coordinates of the corresponding pixel in the second touch area by the horizontal display ratio m; The longitudinal component of the coordinates of each pixel in the third touch region may be obtained by multiplying the longitudinal component of the coordinates of the corresponding pixel in the second touch region by the vertical display ratio n.
假设,第二触控区域内一像素点P的坐标为120×100,横向显示比例m=5、纵向显示比例n=4.5,那么像素点P在第三触控区域内对应的像素点的坐标的横向分量为120×5=600、纵向分量为100×4.5=450,也就是像素点P在第三触控区域内对应的像素点的坐标为600×450。Assume that the coordinates of a pixel P in the second touch area are 120×100, the horizontal display ratio is m=5, and the vertical display ratio is n=4.5, then the coordinates of the corresponding pixel points of the pixel point P in the third touch region are determined. The horizontal component is 120×5=600, and the vertical component is 100×4.5=450, that is, the coordinate of the corresponding pixel point of the pixel point P in the third touch area is 600×450.
实际应用中,在所述横向显示比例m和/或所述纵向显示比例n为非整数的情况下,确定所述第二触控区域在当前投影图像上对应的第三触控区域时,由于可能会存在像素偏差,从而导致第三触控区域相对于第二触控区域存在细微偏差。但是,可以理解的是,本领域内的技术人员可以通过设置适当的当前投影图像分辨率,使得所述横向显示比例m和所述纵向显示比例n均为整数,这样可以避免确定第三触控区域时的细微偏差。In a practical application, when the horizontal display ratio m and/or the vertical display ratio n is a non-integer, determining that the second touch area corresponds to the third touch area on the current projected image, There may be pixel deviations, resulting in slight deviations of the third touch area from the second touch area. However, it can be understood that a person skilled in the art can set the appropriate current projected image resolution such that the horizontal display ratio m and the vertical display ratio n are integers, so that the third touch can be avoided. Subtle deviations in the area.
步骤S104:根据所述第三触控区域和当前投影图像,解析所述触控指令。Step S104: Parse the touch instruction according to the third touch area and the current projected image.
具体的,根据当前投影图像上的第三触控区域的图像内容以及触控指令,进行解析,得到解析结果。Specifically, the image is analyzed according to the image content of the third touch area on the current projected image and the touch command, and the analysis result is obtained.
例如:从步骤S103获得第三触控区域为一矩形区域,当前投影图像中该矩形区域对应的图像内容为某视频应用图标,所述触控指令为由点击操作生成的,因此可以得到解析结果为打开该视频应用。For example, the third touch area is obtained as a rectangular area from the step S103, and the image content corresponding to the rectangular area in the current projected image is a video application icon, and the touch instruction is generated by a click operation, so that the analysis result can be obtained. To open the video app.
步骤S105:根据解析结果,针对当前投影图像响应所述触控指令。 Step S105: Respond to the touch instruction for the current projected image according to the analysis result.
例如:从步骤S104获得触控指令的解析结果为打开某视频应用,本步骤中响应上述触控指令,可以理解为打开该视频应用,并且进一步的投影图像中可以显示该视频应用打开后的界面。For example, the result of the step of obtaining the touch command is to open a certain video application. In this step, in response to the touch command, the video application can be opened, and the interface after the video application is opened can be displayed in the further projected image. .
由以上可见,本发明实施例中,根据所述显示屏所显示图像与当前投影图像之间的横向显示比例m和纵向显示比例n,可以将触摸板和当前投影图像进行精确对应,从而实现对当前投影图像的精确控制。It can be seen from the above that in the embodiment of the present invention, according to the horizontal display ratio m and the vertical display ratio n between the image displayed by the display screen and the current projected image, the touch panel and the current projected image can be accurately matched, thereby achieving Precise control of the current projected image.
具体的,前述显示屏所显示图像可以由第一预设数量个显示子界面叠加而成,并且每个显示子界面可以通过独立的开关进行单独的显示控制。Specifically, the image displayed by the foregoing display screen may be superimposed by a first preset number of display sub-interfaces, and each display sub-interface may be separately controlled by a separate switch.
例如:上述显示图像由三个显示子界面叠加而成,每个显示子界面通过独立的开关进行单独的显示控制。如果关断其中一个显示子界面,那么显示图像就发生了变化,变成由两个显示子界面叠加而成。For example, the above display image is superimposed by three display sub-interfaces, and each display sub-interface is separately displayed and controlled by an independent switch. If one of the display sub-interfaces is turned off, the display image changes and becomes superimposed by the two display sub-interfaces.
上述当前投影图像可以由第二预设数量个投影子界面叠加而成,每个投影子界面可以通过独立的开关进行单独的投影控制。The current projected image may be superimposed by a second preset number of projection sub-interfaces, and each projection sub-interface may be separately projected and controlled by an independent switch.
和上述显示图像相似,每个投影子界面通过独立的开关进行单独的投影控制。例如:当前投影图像由三个投影子界面叠加而成,如果关断其中一个投影子界面,那么当前投影图像就发生了变化,变成由两个投影子界面叠加而成。Similar to the above display image, each projection sub-interface is controlled by a separate switch for independent projection. For example, the current projected image is superimposed by three projection sub-interfaces. If one of the projection sub-interfaces is turned off, the current projected image changes and becomes superimposed by two projection sub-interfaces.
本发明方案中,上述第一预设数量和上述第二预设数量可以相等,例如:显示图像由三个显示子界面叠加而成,当前投影图像也由三个投影子界面叠加而成,此时,所述显示图像和当前投影图像显示的内容相同。In the solution of the present invention, the first preset number and the second preset number may be equal. For example, the display image is superimposed by three display sub-interfaces, and the current projection image is also superposed by three projection sub-interfaces. The display image is the same as the content displayed by the current projected image.
所述第一预设数量和所述第二预设数量也可以不相等,此时,所述显示图像和当前投影图像显示的内容不相同。例如:显示图像由三个显示子界面叠加而成,三个显示子界面分别对应显示的是视频内容、视频控制按钮、***时间,而当前投影图像由两个投影子界面叠加而成,两个投影子界面分别对应显示的是视频内容、***时间,还有一个视频控制按钮显示子界面对应的投影子界面未投影显示出来。The first preset number and the second preset number may also be unequal. At this time, the display image and the current projected image display content are different. For example, the display image is superimposed by three display sub-interfaces, and the three display sub-interfaces respectively display video content, video control buttons, and system time, and the current projection image is superimposed by two projection sub-interfaces, two The projection sub-interface respectively displays the video content, the system time, and a video control button display sub-interface corresponding to the projection sub-interface is not projected.
基于上述描述,在本申请的一种具体实现方式中,参见图2,提供了另一种针对投影图像的触控方法的流程示意图,应用于包括触摸板和显示屏的投影设备,其中,所述触摸板和所述显示屏的分辨率相同,与前述实施例相比,本实施例中,步骤S103包括:Based on the above description, in a specific implementation manner of the present application, referring to FIG. 2, another schematic flowchart of a touch method for projecting an image is provided, which is applied to a projection device including a touch panel and a display screen, where The resolution of the touch panel and the display screen are the same. Compared with the foregoing embodiment, in the embodiment, step S103 includes:
步骤S103A:获得所述第二触控区域对应的第一显示子界面。Step S103A: Obtain a first display sub-interface corresponding to the second touch area.
本领域内的技术人员可以理解的是,构成上述显示图像的显示子界面的大小可以相等,也可以不相等,本申请并不对此进行限定。 It can be understood by those skilled in the art that the size of the display sub-interfaces constituting the display image may be equal or unequal, and the present application does not limit this.
在各个显示子界面的大小相等的情况下,为了保证用户能够清晰的看到各个子界面中的内容,通常情况下,各个子界面中包含内容画面的部分是不重合的,所以,获得第二触控区域对应的第一显示子界面时,可以通过查看各个子界面中第二触控区域对应的位置是否包含内容画面的方式获得上述第一显示子界面,具体的,可以确定第二触控区域对应的位置包含内容画面的子界面为上述第一显示子界面。In the case where the sizes of the respective display sub-interfaces are equal, in order to ensure that the user can clearly see the content in each sub-interface, in general, the parts of the sub-interfaces that contain the content screen are not coincident, so the second is obtained. When the first display sub-interface corresponding to the touch area is used, the first display sub-interface can be obtained by checking whether the position corresponding to the second touch area in each sub-interface includes a content screen. Specifically, the second touch can be determined. The sub-interface corresponding to the location corresponding to the content screen is the first display sub-interface described above.
在各个显示子界面的大小不相等的情况下,获得第二触控区域对应的第一显示子界面时,可以直接根据第二触控区域的位置对应的子界面为上述第一显示子界面。When the size of each display sub-interface is not equal, when the first display sub-interface corresponding to the second touch area is obtained, the sub-interface corresponding to the position of the second touch area may be directly used as the first display sub-interface.
步骤S103B:获得所述第一显示子界面对应的第一投影子界面。Step S103B: Obtain a first projection sub-interface corresponding to the first display sub-interface.
具体的,可以根据上述第一显示子界面的标识、显示子界面与投影子界面之间的对应关系等等获得第一显示子界面对应的第一投影子界面。Specifically, the first projection sub-interface corresponding to the first display sub-interface may be obtained according to the identifier of the first display sub-interface, the correspondence between the display sub-interface and the projection sub-interface, and the like.
例如:通过步骤S103A获得第一显示子界面为视频控制按钮显示子界面,从而获得视频控制按钮显示子界面对应的第一投影子界面为视频控制按钮投影子界面。For example, the first display sub-interface is obtained as a video control button display sub-interface by step S103A, so that the first projection sub-interface corresponding to the video control button display sub-interface is obtained as a video control button projection sub-interface.
步骤S103C:根据所述横向显示比例m和所述纵向显示比例n,确定所述第二触控区域在所述第一投影子界面上对应的第三触控区域。Step S103C: Determine a third touch area corresponding to the second touch area on the first projection sub-interface according to the horizontal display ratio m and the vertical display ratio n.
在实际应用中,和前述实施例中S103中所描述的方法相类似,在显示屏显示的图像与投影图像完全相同的情况下,所述第三触控区域中任一像素点P的坐标的横向分量,可以通过像素点P在第二触控区域中对应像素点的坐标的横向分量乘以所述横向显示比例m来获得;所述第三触控区域中任一像素点P的坐标的纵向分量,可以通过像素点P在第二触控区域中对应像素点的坐标的纵向分量乘以所述纵向显示比例n来获得。所不同的是,前述实施例中,确定的第三触控区域在当前投影图像上,而本实施例中,确定的第三触控区域在所述的第一投影子界面上。In practical applications, similar to the method described in S103 in the foregoing embodiment, in the case where the image displayed on the display screen is identical to the projected image, the coordinates of any pixel point P in the third touch region are The lateral component may be obtained by multiplying the lateral component of the coordinates of the corresponding pixel point in the second touch region by the horizontal display ratio m; the coordinates of any pixel point P in the third touch region The longitudinal component can be obtained by multiplying the longitudinal component of the coordinates of the corresponding pixel point in the second touch region by the pixel point P by the vertical display ratio n. The difference is that, in the foregoing embodiment, the determined third touch area is on the current projected image, and in this embodiment, the determined third touch area is on the first projected sub-interface.
以确定第二触控区域中任一像素点在第三触控区域中的对应像素点为例,简述确定第二触控区域在第一投影子界面上对应的第三触控区域的方法如下:For example, the method for determining the corresponding pixel point of the second touch area in the third touch area is used as an example, and the method for determining the third touch area corresponding to the second touch area on the first projection sub-interface is briefly described. as follows:
假设,第二触控区域中一像素点P的坐标为150×100,上述横向显示比例m=4、上述纵向显示比例n=4,那么可以确定像素点P在第三触控区域中对应的像素点的坐标的横向分量为150×4=600、纵向分量为100×4=400,也就是像素点P在第三触控区域中对应的像素点的坐标为600×400。It is assumed that the coordinates of a pixel point P in the second touch area are 150×100, the horizontal display ratio m=4, and the vertical display ratio n=4, so that the corresponding pixel point P in the third touch area can be determined. The horizontal component of the coordinates of the pixel is 150×4=600, and the vertical component is 100×4=400, that is, the coordinate of the corresponding pixel point of the pixel point P in the third touch area is 600×400.
步骤S104具体为Step S104 is specifically
步骤S104A:根据所述第三触控区域和所述第一投影子界面,解析所述触控指令。Step S104A: Parse the touch instruction according to the third touch area and the first projection sub-interface.
具体的,根据第一投影子界面上的第三触控区域的图像内容以及触控指令,进行解析, 得到解析结果。Specifically, the image is analyzed according to the image content of the third touch area on the first projection sub-interface and the touch instruction, Get the result of the analysis.
例如:第一投影子界面中第三触控区域对应的内容为视频暂停按钮,所述触控指令为由点击操作生成的,因此可以得到解析结果为暂停播放当前视频。For example, the content corresponding to the third touch area in the first projection sub-interface is a video pause button, and the touch command is generated by a click operation, so that the analysis result is that the current video is paused.
在本发明的一种可选实现方式中,上述针对投影图像的触控方法还可以包括:In an optional implementation manner of the present invention, the touch method for the projected image may further include:
接收针对所述投影设备的操作指令,根据所述操作指令以及所述投影设备的当前模式,确定所述显示屏待显示图像包括的显示子界面以及待投影图像包括的投影子界面,根据所确定的显示子界面在所述显示屏上显示所述待显示图像,并根据所确定的投影子界面显示所述待投影图像。Receiving an operation instruction for the projection device, determining, according to the operation instruction and a current mode of the projection device, a display sub-interface included in the image to be displayed of the display screen and a projection sub-interface included in the image to be projected, according to the determined The display sub-interface displays the image to be displayed on the display screen, and displays the image to be projected according to the determined projection sub-interface.
具体的,上述操作指令可以是通过点击操作唤醒处于休眠状态的投影设备的操作指令,也可以是通过在处于待机状态的投影设备上滑动启动该投影设备的操作指令等等,本申请对此不作限定。Specifically, the operation instruction may be an operation instruction for waking up the projection device in a sleep state by a click operation, or may be an operation instruction for starting the projection device by sliding on a projection device in a standby state, etc., limited.
所述投影设备的当前模式可以是休眠模式、待机模式等等,本申请对此不作限定。The current mode of the projection device may be a sleep mode, a standby mode, or the like, which is not limited in this application.
例如:所述投影设备当前处于休眠模式,所述操作指令为通过点击该投影设备唤醒该投影设备的指令,由此可以确定显示屏待显示图像的显示子界面包括:主图像显示子界面、时间显示子界面,待投影图像无投影子界面。当所述投影设备处于待机模式时,所述操作指令为通过在该投影设备上滑动以启动该投影设备的指令,由此可以确定显示屏待显示图像的显示子界面包括:主图像显示子界面、时间显示子界面,待投影图像的投影子界面包括:主图像显示子界面、时间显示子界面。For example, the projection device is currently in a sleep mode, and the operation instruction is an instruction to wake up the projection device by clicking the projection device, thereby determining that the display sub-interface of the image to be displayed on the display screen comprises: a main image display sub-interface, time The sub-interface is displayed, and the image to be projected has no projection sub-interface. When the projection device is in the standby mode, the operation instruction is an instruction to start the projection device by sliding on the projection device, thereby determining that the display sub-interface of the image to be displayed on the display screen comprises: a main image display sub-interface The time display sub-interface, the projection sub-interface of the image to be projected includes: a main image display sub-interface, and a time display sub-interface.
当确定的显示子界面包括:主图像显示子界面、时间显示子界面,投影无子界面时,显示屏上显示主图像和时间,投影屏幕上无投影图像。当确定的显示子界面包括:主图像显示子界面、时间显示子界面,确定的投影子界面包括:主图像显示子界面、时间显示子界面时,显示屏上显示主图像和时间,且投影屏幕上也投影显示主图像和时间。When the determined display sub-interface includes: a main image display sub-interface, a time display sub-interface, and a projection without a sub-interface, the main image and the time are displayed on the display screen, and no projection image is displayed on the projection screen. When the determined display sub-interface includes: a main image display sub-interface and a time display sub-interface, the determined projection sub-interface includes: a main image display sub-interface, a time display sub-interface, a main image and a time display on the display screen, and a projection screen The main image and time are also projected on the top.
由以上可见,本发明实施例中,显示图像可以和当前投影图像不相同,用户可以根据需要分别进行显示和投影,通过所述横向显示比例m和纵向显示比例n,可以将触摸板和当前投影图像进行精确对应,从而实现对当前投影图像的精确控制,更加贴合用户的需求。It can be seen from the above that in the embodiment of the present invention, the display image may be different from the current projected image, and the user may separately display and project according to the need, and the touch panel and the current projection may be performed by the horizontal display ratio m and the vertical display ratio n. The images are accurately matched to achieve precise control of the current projected image, which is more suitable for the user's needs.
图3为本发明实施例提供的另一种针对投影图像的触控方法的流程示意图,应用于包括触摸板和显示屏的投影设备,其中,所述触摸板和所述显示屏的分辨率相同,与图1所示实施例相比,本实施例中,所述显示图像对应于当前投影图像中的预设局部图像。3 is a schematic flow chart of another touch method for projecting an image according to an embodiment of the present invention, applied to a projection device including a touch panel and a display screen, wherein the touch panel and the display screen have the same resolution Compared with the embodiment shown in FIG. 1, in the embodiment, the display image corresponds to a preset partial image in the current projected image.
局部图像的具***置可以根据当前投影图像来预先设定。例如:当前投影图像为视频时,上述局部图像可以为当前视频图像中的视频按钮区域,该视频按钮区域在不同的视频图像中 处于固定的位置。The specific position of the partial image can be preset according to the current projected image. For example, when the current projected image is a video, the partial image may be a video button area in the current video image, and the video button area is in a different video image. In a fixed position.
步骤S103包括步骤S103D、步骤S103E,其中,Step S103 includes step S103D and step S103E, where
步骤S103D:根据所述横向显示比例m和所述纵向显示比例n,确定所述第二触控区域在所述预设局部图像上对应的第四触控区域。Step S103D: Determine a fourth touch area corresponding to the second touch area on the preset partial image according to the horizontal display ratio m and the vertical display ratio n.
在本实施例中,所述横向显示比例m:由所述显示屏分辨率的横向分量、当前投影图像分辨率的横向分量以及预设局部图像分辨率的横向分量确定;所述纵向显示比例n:由所述显示屏分辨率的纵向分量、当前投影图像分辨率的纵向分量,以及预设局部图像分辨率的纵向分量确定。In this embodiment, the horizontal display ratio m is determined by a lateral component of the display screen resolution, a lateral component of the current projected image resolution, and a lateral component of the preset partial image resolution; the vertical display ratio n : determined by a longitudinal component of the resolution of the display screen, a longitudinal component of the resolution of the current projected image, and a longitudinal component of the resolution of the predetermined partial image.
例如:显示屏分辨率为300×200,当前投影图像分辨率为1200×800,预设局部图像的分辨率为600×200。所以可以得到,横向显示比例m=600/300=2,纵向显示比例n=200/200=1。For example, the resolution of the display screen is 300×200, the resolution of the current projected image is 1200×800, and the resolution of the preset partial image is 600×200. Therefore, it can be obtained that the horizontal display ratio is m=600/300=2, and the vertical display ratio is n=200/200=1.
具体的,所述第四触控区域内每一像素点的坐标的横向分量可以通过第二触控区域内对应像素点的坐标的横向分量乘以所述横向显示比例m来获得;所述第三触控区域内每一像素点的坐标的纵向分量可以通过第二触控区域内对应像素点的坐标的纵向分量乘以所述纵向显示比例n来获得。Specifically, the horizontal component of the coordinates of each pixel in the fourth touch area may be obtained by multiplying the horizontal component of the coordinates of the corresponding pixel in the second touch area by the horizontal display ratio m; The longitudinal component of the coordinates of each pixel in the three touch regions can be obtained by multiplying the longitudinal component of the coordinates of the corresponding pixel in the second touch region by the vertical display ratio n.
步骤S103E:根据所述预设局部图像在当前投影图像中的位置以及所述第四触控区域,获得所述第二触控区域在当前投影图像上对应的第三触控区域。Step S103E: Obtain a third touch area corresponding to the second touch area on the current projected image according to the position of the preset partial image in the current projected image and the fourth touch area.
具体的,根据所述预设局部图像在当前投影图像中的位置可以得到所述预设局部图像的位移量,包括横向位移量和纵向位移量;所述第三触控区域的坐标的横向分量可以通过第四触控区域的坐标的横向分量加上所述预设局部图像的横向位移量来获得;所述第三触控区域的坐标的纵向分量可以通过第四触控区域的坐标的纵向分量加上所述预设局部图像的纵向位移量来获得。Specifically, according to the position of the preset partial image in the current projected image, the displacement amount of the preset partial image may be obtained, including a lateral displacement amount and a longitudinal displacement amount; and a lateral component of the coordinate of the third touch region The horizontal component of the coordinates of the fourth touch region and the lateral displacement of the preset partial image may be obtained; the longitudinal component of the coordinate of the third touch region may pass through the longitudinal direction of the coordinate of the fourth touch region. The component is obtained by adding the amount of longitudinal displacement of the preset partial image.
例如:根据预设局部图像在当前投影图像中的位置,得到预设局部图像的横向位移量为200,纵向位移量为500。从步骤S103D获得第四触控区域中一个像素点P的坐标为300×100,可以得到像素点P在第三触控区域中对应像素点的坐标为500×600。For example, according to the position of the preset partial image in the current projected image, the lateral displacement amount of the preset partial image is 200, and the longitudinal displacement is 500. Obtaining the coordinates of one pixel point P in the fourth touch area from the step S103D is 300×100, and obtaining the coordinates of the corresponding pixel point of the pixel point P in the third touch area is 500×600.
由以上可见,本发明实施例中,显示图像是当前投影图像中的预设局部图像,显示屏中只显示当前投影图像中的局部图像,通过横向显示比例m、纵向显示比例n以及预设局部图像在当前投影图像中的位置,可以将触摸板和当前投影图像进行精确对应,从而实现对当前投影图像的精确控制,进一步提高了用户的体验。It can be seen from the above that in the embodiment of the present invention, the display image is a preset partial image in the current projected image, and only the partial image in the current projected image is displayed in the display screen, and the horizontal display ratio m, the vertical display ratio n, and the preset local portion are displayed. The position of the image in the current projected image can accurately correspond the touch panel and the current projected image, thereby achieving precise control of the current projected image, further improving the user experience.
图4为本发明实施例提供的一种针对投影图像的触控装置的结构示意图,应用于包括触摸板和显示屏的投影设备,其中,所述触摸板和所述显示屏的分辨率相同,与图1所示的流 程相对应,包括第二触控区域获得模块401、显示比例获得模块402、第三触控区域确定模块403、触控指令解析模块404、触控指令响应模块405。4 is a schematic structural diagram of a touch device for projecting an image according to an embodiment of the present disclosure, which is applied to a projection device including a touch panel and a display screen, wherein the touch panel and the display screen have the same resolution. With the flow shown in Figure 1 Corresponding to the second touch area obtaining module 401, the display ratio obtaining module 402, the third touch area determining module 403, the touch command analyzing module 404, and the touch command response module 405.
其中,第二触控区域获得模块401,用于根据所述触摸板的分辨率和所述显示屏的分辨率,针对所述显示屏所显示图像获得第一触控区域对应的第二触控区域,其中,所述第一触控区域为所述触摸板接收到的触控指令对应的触控区域。The second touch area obtaining module 401 is configured to obtain, according to the resolution of the touch panel and the resolution of the display screen, the second touch corresponding to the first touch area for the image displayed on the display screen. The area, where the first touch area is a touch area corresponding to the touch instruction received by the touch panel.
显示比例获得模块402,用于获得所述显示屏所显示图像与当前投影图像之间的横向显示比例m和纵向显示比例n,其中,所述横向显示比例m:由所述显示屏分辨率的横向分量和当前投影图像分辨率的横向分量确定,所述纵向显示比例n:由所述显示屏分辨率的纵向分量和当前投影图像分辨率的纵向分量确定。a display ratio obtaining module 402, configured to obtain a horizontal display ratio m and a vertical display ratio n between the image displayed by the display screen and the current projected image, wherein the horizontal display ratio m: by the resolution of the display screen The transverse component and the lateral component of the current projected image resolution are determined, the longitudinal display scale n: determined by the longitudinal component of the display resolution and the longitudinal component of the current projected image resolution.
第三触控区域确定模块403,用于根据所述横向显示比例m和所述纵向显示比例n,确定所述第二触控区域在当前投影图像上对应的第三触控区域。The third touch area determining module 403 is configured to determine, according to the horizontal display ratio m and the vertical display ratio n, the third touch area corresponding to the second touch area on the current projected image.
触控指令解析模块404,用于根据所述第三触控区域和当前投影图像,解析所述触控指令。The touch command parsing module 404 is configured to parse the touch command according to the third touch area and the current projected image.
触控指令响应模块405,用于根据解析结果,针对当前投影图像响应所述触控指令。The touch command response module 405 is configured to respond to the touch instruction for the current projected image according to the analysis result.
由以上可见,本发明实施例中,通过所述显示屏所显示图像与当前投影图像之间的横向显示比例m和纵向显示比例n,可以将触摸板和当前投影图像进行精确对应,从而实现对当前投影图像的精确控制。It can be seen from the above that in the embodiment of the present invention, the horizontal display ratio m and the vertical display ratio n between the image displayed by the display screen and the current projected image can accurately correspond the touch panel and the current projected image, thereby achieving Precise control of the current projected image.
图5为本发明实施例提供的另一种针对投影图像的触控装置的结构示意图,应用于包括触摸板和显示屏的投影设备,其中,所述触摸板和所述显示屏的分辨率相同,与图2所示的流程相对应,包括第二触控区域获得模块401、显示比例获得模块402、第三触控区域确定模块403、触控指令解析模块404、触控指令响应模块405。FIG. 5 is a schematic structural diagram of another touch device for projecting an image according to an embodiment of the present invention, applied to a projection device including a touch panel and a display screen, wherein the touch panel and the display screen have the same resolution Corresponding to the flow shown in FIG. 2, the second touch area obtaining module 401, the display ratio obtaining module 402, the third touch area determining module 403, the touch command analyzing module 404, and the touch command response module 405 are included.
其中,所述显示图像由第一预设数量个显示子界面叠加而成,每个所述显示子界面通过独立的开关进行单独的显示控制;The display image is superimposed by a first preset number of display sub-interfaces, and each of the display sub-interfaces is separately controlled by an independent switch;
当前投影图像由第二预设数量个投影子界面叠加而成,每个所述投影子界面通过独立的开关进行单独的投影控制。The current projected image is superimposed by a second predetermined number of projection sub-interfaces, and each of the projection sub-interfaces is controlled by a separate switch for independent projection.
第三触控区域确定模块403包括:显示子界面获得子模块、投影子界面获得子模块和第三触控区域确定子模块。The third touch area determining module 403 includes: a display sub-interface obtaining sub-module, a projection sub-interface obtaining sub-module, and a third touch area determining sub-module.
所述显示子界面获得子模块,用于获得所述第二触控区域对应的第一显示子界面;The display sub-interface obtains a sub-module, configured to obtain a first display sub-interface corresponding to the second touch area;
所述投影子界面获得子模块,用于获得所述第一显示子界面对应的第一投影子界面;The projection sub-interface obtains a sub-module, configured to obtain a first projection sub-interface corresponding to the first display sub-interface;
所述第三触控区域确定子模块,用于根据所述横向显示比例m和所述纵向显示比例n, 确定所述第二触控区域在所述第一投影子界面上对应的第三触控区域。The third touch area determining submodule is configured to display the scale m and the vertical display scale n according to the horizontal display area Determining a third touch area corresponding to the second touch area on the first projection sub-interface.
触控指令解析模块404,具体用于:The touch instruction parsing module 404 is specifically configured to:
根据所述第三触控区域和所述第一投影子界面,解析所述触控指令。And parsing the touch instruction according to the third touch area and the first projection sub-interface.
在本发明的一种可选实现方式中,所述装置还包括:操作指令接收模块、子界面确定模块和图像显示模块。In an optional implementation manner of the present invention, the apparatus further includes: an operation instruction receiving module, a sub-interface determining module, and an image display module.
所述操作指令接收模块,用于接收针对所述投影设备的操作指令;The operation instruction receiving module is configured to receive an operation instruction for the projection device;
所述子界面确定模块,用于根据所述操作指令以及所述投影设备的当前模式,确定所述显示屏待显示图像包括的显示子界面以及待投影图像包括的投影子界面;The sub-interface determining module is configured to determine, according to the operation instruction and a current mode of the projection device, a display sub-interface included in the image to be displayed of the display screen and a projection sub-interface included in the image to be projected;
所述图像显示模块,用于根据所确定的显示子界面在所述显示屏上显示所述待显示图像,并根据所确定的投影子界面显示所述待投影图像。The image display module is configured to display the image to be displayed on the display screen according to the determined display sub-interface, and display the image to be projected according to the determined projection sub-interface.
由以上可见,本发明实施例中,显示图像可以和当前投影图像不相同,用户可以根据需要分别进行显示和投影,通过所述横向显示比例m和纵向显示比例n,可以将触摸板和当前投影图像进行精确对应,从而实现对当前投影图像的精确控制,更加贴合用户的需求。It can be seen from the above that in the embodiment of the present invention, the display image may be different from the current projected image, and the user may separately display and project according to the need, and the touch panel and the current projection may be performed by the horizontal display ratio m and the vertical display ratio n. The images are accurately matched to achieve precise control of the current projected image, which is more suitable for the user's needs.
图6为本发明实施例提供的另一种针对投影图像的触控装置的结构示意图,应用于包括触摸板和显示屏的投影设备,其中,所述触摸板和所述显示屏的分辨率相同,所述显示图像对应于当前投影图像中的预设局部图像,与图3所示的流程相对应,包括第二触控区域获得模块401、显示比例获得模块402、第三触控区域确定模块403、触控指令解析模块404、触控指令响应模块405。FIG. 6 is a schematic structural diagram of another touch device for projecting an image according to an embodiment of the present invention, applied to a projection device including a touch panel and a display screen, wherein the touch panel and the display screen have the same resolution The display image corresponds to the preset partial image in the current projected image, and corresponds to the flow shown in FIG. 3, and includes a second touch area obtaining module 401, a display ratio obtaining module 402, and a third touch area determining module. 403. The touch command analysis module 404 and the touch command response module 405.
其中,所述第三触控区域确定模块403,包括:第四触控区域确定子模块和第三触控区域获得子模块。The third touch area determining module 403 includes: a fourth touch area determining sub-module and a third touch area obtaining sub-module.
所述第四触控区域确定子模块,用于根据所述横向显示比例m和所述纵向显示比例n,确定所述第二触控区域在所述预设局部图像上对应的第四触控区域;The fourth touch area determining sub-module is configured to determine, according to the horizontal display ratio m and the vertical display ratio n, the fourth touch corresponding to the second touch area on the preset partial image. region;
所述第三触控区域获得子模块,用于根据所述预设局部图像在当前投影图像中的位置以及所述第四触控区域,获得所述第二触控区域在当前投影图像上对应的第三触控区域。The third touch area obtaining sub-module is configured to obtain, according to the position of the preset partial image in the current projected image and the fourth touch area, the second touch area corresponding to the current projected image. The third touch area.
由以上可见,本发明实施例中,显示图像是当前投影图像中的预设局部图像,显示屏中只显示当前投影图像中的局部图像,通过横向显示比例m、纵向显示比例n以及预设局部图像在当前投影图像中的位置,可以将触摸板和当前投影图像进行精确对应,从而实现对当前投影图像的精确控制,进一步提高了用户的体验。It can be seen from the above that in the embodiment of the present invention, the display image is a preset partial image in the current projected image, and only the partial image in the current projected image is displayed in the display screen, and the horizontal display ratio m, the vertical display ratio n, and the preset local portion are displayed. The position of the image in the current projected image can accurately correspond the touch panel and the current projected image, thereby achieving precise control of the current projected image, further improving the user experience.
需要说明的是,在本文中,诸如第一和第二等之类的关系术语仅仅用来将一个实体或者操作与另一个实体或操作区分开来,而不一定要求或者暗示这些实体或操作之间存在任何这 种实际的关系或者顺序。而且,术语“包括”、“包含”或者其任何其他变体意在涵盖非排他性的包含,从而使得包括一系列要素的过程、方法、物品或者设备不仅包括那些要素,而且还包括没有明确列出的其他要素,或者是还包括为这种过程、方法、物品或者设备所固有的要素。在没有更多限制的情况下,由语句“包括一个……”限定的要素,并不排除在包括所述要素的过程、方法、物品或者设备中还存在另外的相同要素。It should be noted that, in this context, relational terms such as first and second are used merely to distinguish one entity or operation from another entity or operation, and do not necessarily require or imply such entities or operations. There is any between The actual relationship or order. Furthermore, the term "comprises" or "comprises" or "comprises" or any other variations thereof is intended to encompass a non-exclusive inclusion, such that a process, method, article, or device that comprises a plurality of elements includes not only those elements but also Other elements, or elements that are inherent to such a process, method, item, or device. An element that is defined by the phrase "comprising a ..." does not exclude the presence of additional equivalent elements in the process, method, item, or device that comprises the element.
本说明书中的各个实施例均采用相关的方式描述,各个实施例之间相同相似的部分互相参见即可,每个实施例重点说明的都是与其他实施例的不同之处。尤其,对于装置实施例而言,由于其基本相似于方法实施例,所以描述的比较简单,相关之处参见方法实施例的部分说明即可。The various embodiments in the present specification are described in a related manner, and the same or similar parts between the various embodiments may be referred to each other, and each embodiment focuses on the differences from the other embodiments. In particular, for the device embodiment, since it is basically similar to the method embodiment, the description is relatively simple, and the relevant parts can be referred to the description of the method embodiment.
本领域普通技术人员可以理解实现上述方法实施方式中的全部或部分步骤是可以通过程序来指令相关的硬件来完成,所述的程序可以存储于计算机可读取存储介质中,这里所称得的存储介质,如:ROM/RAM、磁碟、光盘等。One of ordinary skill in the art can understand that all or part of the steps in implementing the above method embodiments can be completed by a program to instruct related hardware, and the program can be stored in a computer readable storage medium, which is referred to herein. Storage media such as ROM/RAM, disk, CD, etc.
以上所述仅为本发明的较佳实施例而已,并非用于限定本发明的保护范围。凡在本发明的精神和原则之内所作的任何修改、等同替换、改进等,均包含在本发明的保护范围内。 The above is only the preferred embodiment of the present invention and is not intended to limit the scope of the present invention. Any modifications, equivalents, improvements, etc. made within the spirit and scope of the invention are intended to be included within the scope of the invention.

Claims (10)

  1. 一种针对投影图像的触控方法,其特征在于,应用于包括触摸板和显示屏的投影设备,其中,所述触摸板和所述显示屏的分辨率相同,所述方法包括步骤:A touch method for projecting images, which is applied to a projection device including a touch panel and a display screen, wherein the touch panel and the display screen have the same resolution, and the method includes the steps of:
    根据所述触摸板的分辨率和所述显示屏的分辨率,针对所述显示屏所显示图像获得第一触控区域对应的第二触控区域,其中,所述第一触控区域为所述触摸板接收到的触控指令对应的触控区域;Obtaining, according to the resolution of the touch panel and the resolution of the display screen, a second touch area corresponding to the first touch area for the image displayed on the display screen, where the first touch area is a touch area corresponding to the touch command received by the touch panel;
    获得所述显示屏所显示图像与当前投影图像之间的横向显示比例m和纵向显示比例n,其中,所述横向显示比例m:由所述显示屏分辨率的横向分量和当前投影图像分辨率的横向分量确定,所述纵向显示比例n:由所述显示屏分辨率的纵向分量和当前投影图像分辨率的纵向分量确定;Obtaining a horizontal display ratio m and a vertical display ratio n between the image displayed by the display screen and the current projected image, wherein the horizontal display ratio m: a lateral component of the display resolution and a current projected image resolution The lateral component is determined, the longitudinal display ratio n: determined by a longitudinal component of the resolution of the display screen and a longitudinal component of the resolution of the current projected image;
    根据所述横向显示比例m和所述纵向显示比例n,确定所述第二触控区域在当前投影图像上对应的第三触控区域;Determining, according to the horizontal display ratio m and the vertical display ratio n, a third touch area corresponding to the second touch area on the current projected image;
    根据所述第三触控区域和当前投影图像,解析所述触控指令;Parsing the touch instruction according to the third touch area and the current projected image;
    根据解析结果,针对当前投影图像响应所述触控指令。And responding to the touch instruction for the current projected image according to the analysis result.
  2. 根据权利要求1所述的方法,其特征在于,The method of claim 1 wherein
    所述显示图像由第一预设数量个显示子界面叠加而成,每个所述显示子界面通过独立的开关进行单独的显示控制;The display image is superimposed by a first preset number of display sub-interfaces, and each of the display sub-interfaces is controlled by a separate switch for display control;
    当前投影图像由第二预设数量个投影子界面叠加而成,每个所述投影子界面通过独立的开关进行单独的投影控制。The current projected image is superimposed by a second predetermined number of projection sub-interfaces, and each of the projection sub-interfaces is controlled by a separate switch for independent projection.
  3. 根据权利要求2所述的方法,其特征在于,所述根据所述横向显示比例m和所述纵向显示比例n,确定所述第二触控区域在当前投影图像上对应的第三触控区域,包括:The method according to claim 2, wherein the determining the third touch area corresponding to the second touch area on the current projected image according to the horizontal display ratio m and the vertical display ratio n ,include:
    获得所述第二触控区域对应的第一显示子界面;Obtaining a first display sub-interface corresponding to the second touch area;
    获得所述第一显示子界面对应的第一投影子界面;Obtaining a first projection sub-interface corresponding to the first display sub-interface;
    根据所述横向显示比例m和所述纵向显示比例n,确定所述第二触控区域在所述第一投影子界面上对应的第三触控区域;Determining, according to the horizontal display ratio m and the vertical display ratio n, a third touch area corresponding to the second touch area on the first projection sub-interface;
    所述根据所述第三触控区域和当前投影图像,解析所述触控指令,包括:The parsing the touch command according to the third touch area and the current projected image includes:
    根据所述第三触控区域和所述第一投影子界面,解析所述触控指令。And parsing the touch instruction according to the third touch area and the first projection sub-interface.
  4. 根据权利要求2或3所述的方法,其特征在于,所述方法还包括:The method according to claim 2 or 3, wherein the method further comprises:
    接收针对所述投影设备的操作指令; Receiving an operation instruction for the projection device;
    根据所述操作指令以及所述投影设备的当前模式,确定所述显示屏待显示图像包括的显示子界面以及待投影图像包括的投影子界面;Determining, according to the operation instruction and a current mode of the projection device, a display sub-interface included in the image to be displayed of the display screen and a projection sub-interface included in the image to be projected;
    根据所确定的显示子界面在所述显示屏上显示所述待显示图像,并根据所确定的投影子界面显示所述待投影图像。Displaying the image to be displayed on the display screen according to the determined display sub-interface, and displaying the image to be projected according to the determined projection sub-interface.
  5. 根据权利要求1所述的方法,其特征在于,所述显示图像对应于当前投影图像中的预设局部图像的情况下,The method according to claim 1, wherein the display image corresponds to a preset partial image in the current projected image,
    所述根据所述横向显示比例m和所述纵向显示比例n,确定所述第二触控区域在当前投影图像上对应的第三触控区域,包括:Determining, according to the horizontal display ratio m and the vertical display ratio n, the third touch area corresponding to the second touch area on the current projected image, including:
    根据所述横向显示比例m和所述纵向显示比例n,确定所述第二触控区域在所述预设局部图像上对应的第四触控区域;Determining, according to the horizontal display ratio m and the vertical display ratio n, a fourth touch area corresponding to the second touch area on the preset partial image;
    根据所述预设局部图像在当前投影图像中的位置以及所述第四触控区域,获得所述第二触控区域在当前投影图像上对应的第三触控区域。And obtaining, according to the position of the preset partial image in the current projected image and the fourth touch area, a third touch area corresponding to the second touch area on the current projected image.
  6. 一种针对投影图像的触控装置,其特征在于,应用于包括触摸板和显示屏的投影设备,其中,所述触摸板和所述显示屏的分辨率相同,所述装置包括:A touch device for projecting an image, which is applied to a projection device including a touch panel and a display screen, wherein the touch panel and the display screen have the same resolution, and the device includes:
    第二触控区域获得模块,用于根据所述触摸板的分辨率和所述显示屏的分辨率,针对所述显示屏所显示图像获得第一触控区域对应的第二触控区域,其中,所述第一触控区域为所述触摸板接收到的触控指令对应的触控区域;a second touch area obtaining module, configured to obtain, according to a resolution of the touch panel and a resolution of the display screen, a second touch area corresponding to the first touch area for the image displayed on the display screen, where The first touch area is a touch area corresponding to the touch instruction received by the touch panel;
    显示比例获得模块,用于获得所述显示屏所显示图像与当前投影图像之间的横向显示比例m和纵向显示比例n,其中,所述横向显示比例m:由所述显示屏分辨率的横向分量和当前投影图像分辨率的横向分量确定,所述纵向显示比例n:由所述显示屏分辨率的纵向分量和当前投影图像分辨率的纵向分量确定;a display ratio obtaining module, configured to obtain a horizontal display ratio m and a vertical display ratio n between the image displayed by the display screen and the current projected image, wherein the horizontal display ratio m: a horizontal direction by the resolution of the display screen Determining a component and a lateral component of the resolution of the current projected image, the longitudinal display ratio n: determined by a longitudinal component of the resolution of the display screen and a longitudinal component of the resolution of the current projected image;
    第三触控区域确定模块,用于根据所述横向显示比例m和所述纵向显示比例n,确定所述第二触控区域在当前投影图像上对应的第三触控区域;a third touch area determining module, configured to determine, according to the horizontal display ratio m and the vertical display ratio n, a third touch area corresponding to the second touch area on the current projected image;
    触控指令解析模块,用于根据所述第三触控区域和当前投影图像,解析所述触控指令;The touch command analysis module is configured to parse the touch command according to the third touch area and the current projected image;
    触控指令响应模块,用于根据解析结果,针对当前投影图像响应所述触控指令。The touch command response module is configured to respond to the touch command with respect to the current projected image according to the analysis result.
  7. 根据权利要求6所述的装置,其特征在于,The device of claim 6 wherein:
    所述显示图像由第一预设数量个显示子界面叠加而成,每个所述显示子界面通过独立的开关进行单独的显示控制;The display image is superimposed by a first preset number of display sub-interfaces, and each of the display sub-interfaces is controlled by a separate switch for display control;
    当前投影图像由第二预设数量个投影子界面叠加而成,每个所述投影子界面通过独立的开关进行单独的投影控制。 The current projected image is superimposed by a second predetermined number of projection sub-interfaces, and each of the projection sub-interfaces is controlled by a separate switch for independent projection.
  8. 根据权利要求7所述的装置,其特征在于,所述第三触控区域确定模块,包括:The device according to claim 7, wherein the third touch area determining module comprises:
    显示子界面获得子模块,用于获得所述第二触控区域对应的第一显示子界面;Displaying a sub-interface obtaining sub-module, configured to obtain a first display sub-interface corresponding to the second touch area;
    投影子界面获得子模块,用于获得所述第一显示子界面对应的第一投影子界面;a sub-module obtained by the projection sub-interface, configured to obtain a first projection sub-interface corresponding to the first display sub-interface;
    第三触控区域确定子模块,用于根据所述横向显示比例m和所述纵向显示比例n,确定所述第二触控区域在所述第一投影子界面上对应的第三触控区域;a third touch area determining sub-module, configured to determine, according to the horizontal display ratio m and the vertical display ratio n, a third touch area corresponding to the second touch area on the first projection sub-interface ;
    所述触控指令解析模块,具体用于:The touch instruction parsing module is specifically configured to:
    根据所述第三触控区域和所述第一投影子界面,解析所述触控指令。And parsing the touch instruction according to the third touch area and the first projection sub-interface.
  9. 根据权利要求7或8所述的装置,其特征在于,所述装置还包括:The device according to claim 7 or 8, wherein the device further comprises:
    操作指令接收模块,用于接收针对所述投影设备的操作指令;An operation instruction receiving module, configured to receive an operation instruction for the projection device;
    子界面确定模块,用于根据所述操作指令以及所述投影设备的当前模式,确定所述显示屏待显示图像包括的显示子界面以及待投影图像包括的投影子界面;a sub-interface determining module, configured to determine, according to the operation instruction and a current mode of the projection device, a display sub-interface included in the image to be displayed on the display screen and a projection sub-interface included in the image to be projected;
    图像显示模块,用于根据所确定的显示子界面在所述显示屏上显示所述待显示图像,并根据所确定的投影子界面显示所述待投影图像。And an image display module, configured to display the image to be displayed on the display screen according to the determined display sub-interface, and display the image to be projected according to the determined projection sub-interface.
  10. 根据权利要求6所述的装置,其特征在于,所述显示图像对应于当前投影图像中的预设局部图像的情况下,The apparatus according to claim 6, wherein said display image corresponds to a preset partial image in a current projected image,
    所述第三触控区域确定模块,包括:The third touch area determining module includes:
    第四触控区域确定子模块,用于根据所述横向显示比例m和所述纵向显示比例n,确定所述第二触控区域在所述预设局部图像上对应的第四触控区域;a fourth touch area determining sub-module, configured to determine, according to the horizontal display ratio m and the vertical display ratio n, a fourth touch area corresponding to the second touch area on the preset partial image;
    第三触控区域获得子模块,用于根据所述预设局部图像在当前投影图像中的位置以及所述第四触控区域,获得所述第二触控区域在当前投影图像上对应的第三触控区域。 The third touch area obtaining sub-module is configured to obtain, according to the position of the preset partial image in the current projected image and the fourth touch area, the second touch area corresponding to the current projected image. Three touch areas.
PCT/CN2016/111251 2015-12-31 2016-12-21 Touch method and device for projected image WO2017114255A1 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201511034186.3A CN106612423A (en) 2015-12-31 2015-12-31 Touch control method and device for projection image
CN201511034186.3 2015-12-31

Publications (1)

Publication Number Publication Date
WO2017114255A1 true WO2017114255A1 (en) 2017-07-06

Family

ID=58614512

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2016/111251 WO2017114255A1 (en) 2015-12-31 2016-12-21 Touch method and device for projected image

Country Status (2)

Country Link
CN (1) CN106612423A (en)
WO (1) WO2017114255A1 (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114356185A (en) * 2022-01-05 2022-04-15 京东方科技集团股份有限公司 Image display method and computer equipment
US11947789B2 (en) 2018-12-04 2024-04-02 Tencent Technology (Shenzhen) Company Limited Interactive control method and apparatus, storage medium, and electronic device

Families Citing this family (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
TWI635434B (en) * 2017-07-25 2018-09-11 英業達股份有限公司 Cursor control method
JP6992769B2 (en) * 2019-01-17 2022-01-13 セイコーエプソン株式会社 Display control method, display device and display system
CN111417007B (en) * 2020-03-25 2022-07-12 Oppo广东移动通信有限公司 Image transmission method, device, terminal and storage medium
CN112905104A (en) * 2021-03-25 2021-06-04 手易视控(深圳)科技有限公司 External touch device and method

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102985896A (en) * 2010-07-16 2013-03-20 高通股份有限公司 Methods and systems for interacting with projected user interface
CN103279320A (en) * 2013-06-19 2013-09-04 成都智元汇数码科技有限公司 Method for performing interactive display of multiple different-resolution screens of interactive projection system
CN103546181A (en) * 2012-07-17 2014-01-29 高寿谦 Wearable wireless intelligent electronic device with detachable and free combination functions
US20140298271A1 (en) * 2013-03-28 2014-10-02 Samsung Electronics Co., Ltd. Electronic device including projector and method for controlling the electronic device
CN104536678A (en) * 2015-01-26 2015-04-22 联想(北京)有限公司 Display effect regulating method and electronic device

Family Cites Families (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103365572B (en) * 2012-03-26 2018-07-03 联想(北京)有限公司 The remote control method and electronic equipment of a kind of electronic equipment
CN103076984A (en) * 2013-01-28 2013-05-01 广东威创视讯科技股份有限公司 Touch screen interaction method and system
CN103605436B (en) * 2013-10-17 2017-02-15 苏州芯创智汇电子科技有限公司 Interaction projection location method and interaction projection device
CN103777451B (en) * 2014-01-24 2015-11-11 京东方科技集团股份有限公司 Projection screen, remote terminal, projection arrangement, display device and optical projection system
CN104090664B (en) * 2014-07-29 2017-03-29 广景科技有限公司 A kind of interactive projection method, apparatus and system

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102985896A (en) * 2010-07-16 2013-03-20 高通股份有限公司 Methods and systems for interacting with projected user interface
CN103546181A (en) * 2012-07-17 2014-01-29 高寿谦 Wearable wireless intelligent electronic device with detachable and free combination functions
US20140298271A1 (en) * 2013-03-28 2014-10-02 Samsung Electronics Co., Ltd. Electronic device including projector and method for controlling the electronic device
CN103279320A (en) * 2013-06-19 2013-09-04 成都智元汇数码科技有限公司 Method for performing interactive display of multiple different-resolution screens of interactive projection system
CN104536678A (en) * 2015-01-26 2015-04-22 联想(北京)有限公司 Display effect regulating method and electronic device

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US11947789B2 (en) 2018-12-04 2024-04-02 Tencent Technology (Shenzhen) Company Limited Interactive control method and apparatus, storage medium, and electronic device
CN114356185A (en) * 2022-01-05 2022-04-15 京东方科技集团股份有限公司 Image display method and computer equipment

Also Published As

Publication number Publication date
CN106612423A (en) 2017-05-03

Similar Documents

Publication Publication Date Title
WO2017114255A1 (en) Touch method and device for projected image
US12047706B2 (en) Display apparatus and control methods thereof
US20180364865A1 (en) Touch control method, user equipment, input processing method, mobile terminal and intelligent terminal
WO2017063324A1 (en) Window displaying method and mobile terminal
WO2018010440A1 (en) Projection picture adjusting method and apparatus, and projection terminal
JP6429545B2 (en) Control device and control method
WO2015139408A1 (en) Method for managing application program icons, and terminal
US20140292724A1 (en) A display method, a display control method, and electric device
US9544556B2 (en) Projection control apparatus and projection control method
WO2017101391A1 (en) Method and device for magnifying video image
US20160378272A1 (en) Systems and methods for providing multi-focus to applications for collaboration
WO2018198703A1 (en) Display device
CN107861711B (en) Page adaptation method and device
US9639113B2 (en) Display method and electronic device
CN113282262A (en) Control method and device for screen projection display picture, mobile terminal and storage medium
WO2017096932A1 (en) Intelligent display method and device
US10698566B2 (en) Touch control based application launch
CN104166508B (en) A kind of touch-control implementation method and device
US10609305B2 (en) Electronic apparatus and operating method thereof
US20160321968A1 (en) Information processing method and electronic device
JP6579905B2 (en) Information processing apparatus, display control method for information processing apparatus, and program
US20220404879A1 (en) Screen projection method and apparatus based on wireless auxiliary stream device
US9798355B2 (en) Projection method and electronic device
WO2016033934A1 (en) Projection method, projection device and computer storage medium
WO2024032139A1 (en) Interface display method and apparatus, computer device 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: 16881044

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 16881044

Country of ref document: EP

Kind code of ref document: A1

122 Ep: pct application non-entry in european phase

Ref document number: 16881044

Country of ref document: EP

Kind code of ref document: A1