WO2014056440A1 - 一种摄像设备变换焦距的方法、装置和摄像设备 - Google Patents

一种摄像设备变换焦距的方法、装置和摄像设备 Download PDF

Info

Publication number
WO2014056440A1
WO2014056440A1 PCT/CN2013/084954 CN2013084954W WO2014056440A1 WO 2014056440 A1 WO2014056440 A1 WO 2014056440A1 CN 2013084954 W CN2013084954 W CN 2013084954W WO 2014056440 A1 WO2014056440 A1 WO 2014056440A1
Authority
WO
WIPO (PCT)
Prior art keywords
image
touch screen
finger
user
imaging device
Prior art date
Application number
PCT/CN2013/084954
Other languages
English (en)
French (fr)
Inventor
朱晨
王程
李�诚
Original Assignee
腾讯科技(深圳)有限公司
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by 腾讯科技(深圳)有限公司 filed Critical 腾讯科技(深圳)有限公司
Publication of WO2014056440A1 publication Critical patent/WO2014056440A1/zh
Priority to US14/678,902 priority Critical patent/US9883094B2/en
Priority to US15/847,502 priority patent/US10341569B2/en

Links

Classifications

    • 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
    • G06F3/04883Interaction 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 for inputting data by handwriting, e.g. gesture or text
    • 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
    • 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/0484Interaction techniques based on graphical user interfaces [GUI] for the control of specific functions or operations, e.g. selecting or manipulating an object, an image or a displayed text element, setting a parameter value or selecting a range
    • G06F3/04847Interaction techniques to control parameter settings, e.g. interaction with sliders or dials
    • 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
    • H04N23/00Cameras or camera modules comprising electronic image sensors; Control thereof
    • H04N23/60Control of cameras or camera modules
    • H04N23/62Control of parameters via user interfaces
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N23/00Cameras or camera modules comprising electronic image sensors; Control thereof
    • H04N23/60Control of cameras or camera modules
    • H04N23/63Control of cameras or camera modules by using electronic viewfinders
    • H04N23/631Graphical user interfaces [GUI] specially adapted for controlling image capture or setting capture parameters
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N23/00Cameras or camera modules comprising electronic image sensors; Control thereof
    • H04N23/60Control of cameras or camera modules
    • H04N23/67Focus control based on electronic image sensor signals
    • H04N23/675Focus control based on electronic image sensor signals comprising setting of focusing regions
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N23/00Cameras or camera modules comprising electronic image sensors; Control thereof
    • H04N23/60Control of cameras or camera modules
    • H04N23/69Control of means for changing angle of the field of view, e.g. optical zoom objectives or electronic zooming
    • 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/04806Zoom, i.e. interaction techniques or interactors for controlling the zooming operation

Definitions

  • the present invention relates to the field of computers, and in particular, to a method, apparatus, and imaging apparatus for converting a focal length of an imaging apparatus.
  • a camera can be integrated on the mobile phone to enable the mobile phone to have a camera function.
  • the user when the user uses the camera function included in the mobile phone to perform the camera, if the user needs to change the focal length of the mobile phone camera, the user can use the two fingers of one hand to make a gesture of separation or contraction on the touch screen of the mobile phone.
  • the focal length of the mobile phone camera for example, the user's two fingers make a separate gesture on the touch screen to lengthen the focal length of the mobile phone camera, and make a contraction gesture on the touch screen to shorten the focal length of the mobile phone camera, assuming that the user is in the picture
  • a separate gesture is made in the touch screen shown in Fig. 1, and the focal length of the camera of the mobile phone is made longer, so that the image shown in Fig. 1 taken by the mobile phone camera is enlarged to the image shown in Fig. 2.
  • the user uses at least one hand to take a mobile phone for videography, and needs to separately use the other hand to make a separate or contraction gesture on the touch screen of the mobile phone to change the focal length of the mobile phone camera, and the operation convenience is poor.
  • the present invention provides a method, apparatus, and imaging apparatus for changing the focal length of an imaging apparatus.
  • the technical solution is as follows: A method for converting a focal length by an imaging device, the method comprising:
  • the image currently captured by the image pickup apparatus is scaled according to the image zoom magnification to realize shifting the focal length of the image pickup apparatus.
  • An apparatus for converting a focal length of an imaging apparatus comprising:
  • a first acquiring module configured to acquire a position of a touch screen of the image capturing device by a finger of the user
  • a second acquiring module configured to acquire an image zooming multiple according to a distance and a direction in which the one finger of the user slides in a touch screen of the imaging device
  • a zooming module configured to zoom in a position of the touch screen of the image capturing device with one finger of the user, and to scale an image currently captured by the image capturing device according to the image zooming magnification to implement conversion of the image capturing device The focal length.
  • An imaging apparatus comprising: a memory, one or more processors, and one or more program instructions, wherein one or more program instructions are stored in a memory and configured to be Executed by more than one processor, the one or more program instructions include:
  • a position obtaining instruction configured to acquire a position of a touch screen of the image capturing device by a finger of the user
  • a zoom obtaining instruction configured to acquire an image zooming multiple according to a distance and a direction in which the one finger of the user slides in a touch screen of the image capturing apparatus
  • a scaling instruction configured to zoom in an image of a current position of the image capturing device by using a finger of the user contacting the touch screen of the image capturing device, to perform image conversion on the image capturing device
  • the focal length In the embodiment of the present invention, the position of the touch screen of the image capturing device is touched by one finger of the user, and the image zooming magnification is obtained according to the distance and direction of sliding of one finger of the user in the touch screen of the image capturing device, and is touched by one finger of the user.
  • the position of the touch screen of the image capturing apparatus is centered, and the image currently captured by the image capturing apparatus is scaled according to the image zooming magnification to realize the focal length of the transforming image capturing apparatus. In this way, the user can use a finger included in the hand of the imaging device to contact and slide the touch screen of the imaging device to realize the focal length of the image capturing device, thereby improving the operation convenience.
  • FIG. 1 is a schematic diagram of a conversion focal length provided by the prior art
  • FIG. 2 is a schematic diagram of a variable length focal length provided by the prior art
  • FIG. 3 is a flow chart of a method for changing a focal length of an image pickup apparatus according to Embodiment 1 of the present invention
  • FIG. 4 is a flowchart of a method for changing a focal length of an image pickup apparatus according to Embodiment 2 of the present invention
  • FIG. 6 is a schematic diagram of an enlarged image of a variable length focal length according to Embodiment 2 of the present invention.
  • FIG. 7 is a schematic diagram of an image taken by an image pickup apparatus according to Embodiment 2 of the present invention
  • FIG. 8 is a schematic enlarged view of an image provided by Embodiment 2 of the present invention
  • FIG. 9 is a flow chart of a method for changing a focal length of an image pickup apparatus according to Embodiment 3 of the present invention.
  • FIG. 10 is a schematic diagram of a variable short focal length according to Embodiment 3 of the present invention.
  • FIG. 11 is a schematic diagram of a reduced focal length reduction image provided by Embodiment 3 of the present invention.
  • FIG. 12 is a schematic diagram of an image captured by an image pickup apparatus according to Embodiment 3 of the present invention
  • FIG. 13 is a schematic diagram of a reduced image provided by Embodiment 3 of the present invention
  • FIG. 14 is a schematic diagram showing a left border of an image provided by Embodiment 3 of the present invention and a left border of the touch screen;
  • FIG. 15 is a schematic diagram showing a position of changing a user's contact with a touch screen when a left boundary of an image coincides with a left boundary of the touch screen according to Embodiment 3 of the present invention
  • FIG. 16 is a diagram showing a case where the left boundary of the image coincides with the left boundary of the touch screen according to Embodiment 3 of the present invention. Reduce the image schema;
  • FIG. 17 is a schematic diagram showing a right border of an image provided by Embodiment 3 of the present invention and a right border of the touch screen;
  • FIG. 18 is a schematic diagram showing a position of changing a user's contact with a touch screen when a right border of an image coincides with a right border of the touch screen according to Embodiment 3 of the present invention
  • FIG. 19 is a schematic diagram showing a reduced image when the right border of the image coincides with the right border of the touch screen according to Embodiment 3 of the present invention.
  • FIG. 20 is a schematic diagram showing an upper boundary of an image provided by Embodiment 3 of the present invention and an upper boundary of the touch screen;
  • FIG. 21 is a schematic diagram showing a position of changing a user's contact with a touch screen when an upper boundary of an image coincides with an upper boundary of the touch screen according to Embodiment 3 of the present invention
  • FIG. 22 is a schematic diagram showing a reduced image when the upper boundary of the image coincides with the upper boundary of the touch screen according to Embodiment 3 of the present invention.
  • FIG. 23 is a schematic diagram showing a superposition of a lower boundary of an image provided by Embodiment 3 of the present invention and a lower boundary of the touch screen;
  • FIG. 24 is a schematic diagram showing a position of changing a user's contact with a touch screen when a lower boundary of an image coincides with a lower boundary of the touch screen according to Embodiment 3 of the present invention
  • 25 is a schematic diagram showing a reduced image when the lower boundary of the image coincides with the lower boundary of the touch screen according to Embodiment 3 of the present invention.
  • FIG. 26 is a schematic structural diagram of an apparatus for changing a focal length of an imaging apparatus according to Embodiment 4 of the present invention
  • FIG. 27 is a schematic structural diagram of an imaging apparatus according to an embodiment of the present invention.
  • Example 1 As shown in FIG. 3, an embodiment of the present invention provides a method for changing a focal length of an imaging device, including: Step 101: Acquire a position of a touch screen of a camera device with a finger of a user;
  • Step 102 Obtain an image zooming factor according to a distance and a direction in which the user's one finger slides in the touch screen of the imaging device;
  • Step 103 Centering on the position of the touch screen of the image capturing device with one finger of the user, and zooming the image currently captured by the image capturing device according to the image zooming magnification to realize the focal length of the image capturing device.
  • the position of the touch screen of the image capturing device is touched by one finger of the user, and the image zooming magnification is obtained according to the distance and direction of sliding of one finger of the user in the touch screen of the image capturing device, and is touched by one finger of the user.
  • the position of the touch screen of the image capturing apparatus is centered, and the image currently captured by the image capturing apparatus is scaled according to the image zooming magnification to realize the focal length of the transforming image capturing apparatus. Therefore, the user can use the finger included in the hand of the imaging device to contact and slide the touch screen of the imaging device to realize the focal length of the image capturing device, thereby improving the operation convenience.
  • Embodiments of the present invention provide a method for transforming a focal length of an imaging apparatus.
  • the user needs to lengthen the focal length of the imaging device when capturing an image using the imaging device, and the user can lengthen the focal length of the imaging device by the method of the embodiment.
  • the method may include:
  • Step 201 When the image capturing device captures an image, the touch screen of the image capturing device is monitored in real time. If one finger of the user is touched to touch the touch screen of the image capturing device, the position of the touch screen of the image capturing device is obtained by one finger of the user;
  • the image capturing apparatus includes at least a touch screen and an image capturing lens, and the image capturing apparatus captures an image through the image capturing lens and displays the currently captured image on the touch screen of the image capturing apparatus.
  • the image capturing device corresponds to an image zooming range, and when the image capturing device captures the image, the image capturing device may zoom the current captured image according to the image zooming factor included in the image zooming range corresponding thereto, and then display the zoomed image in itself.
  • the camera device may be a mobile phone, a camera or a camera with a camera function.
  • the user touches the touch screen of the imaging device with one finger of the user and slides along the preset focal length.
  • Step 202 If it is monitored that one finger of the user slides on the touch screen of the imaging device, periodically collect the first coordinate of one finger of the user currently in the touch screen of the imaging device;
  • the second coordinate of one finger of the user in the touch screen of the imaging device is collected, and the collected second coordinate is stored; If the time of the timer reaches the preset period length, the first coordinate of the user's finger currently in the touch screen of the camera device is collected, and the timer is set to restart timing.
  • one finger of the user contacts the touch screen of the imaging device and starts to slide upward; correspondingly, when one finger of the user is touched to touch the touch screen of the imaging device, one finger of the user is collected at the imaging device.
  • the second coordinate in the touch screen is (5, 5), and the timer is set to perform timing; when the user's one finger is sliding in the touch screen of the imaging device, when the timer is timed to reach the preset period length,
  • the first coordinate of the user's one finger currently in the touch screen of the camera device is (5, 3), and the timer is set to restart the timing.
  • Step 203 Calculate a distance that one finger of the user slides in the touch screen of the imaging device according to the stored second coordinate and the first coordinate of the finger of the user currently in the touch screen of the imaging device, and determine a finger of the user. The direction of sliding in the touch screen of the imaging device;
  • the stored second coordinates are updated to the first coordinates of one of the user's fingers currently in the touch screen of the imaging device.
  • one finger of the user is calculated in the touch screen of the imaging device.
  • the sliding distance is 2, and determining that the direction in which the user's one finger slides in the touch screen of the imaging device is the upward direction; updating the stored second coordinate to the user's one finger currently in the touch screen of the imaging device A coordinate (5, 3).
  • Step 204 Calculate a distance according to a distance that the user's one finger slides in the touch screen of the imaging device Like the zoom factor change;
  • the sliding distance of one finger of the user in the touch screen of the image capturing apparatus is multiplied by the preset image scaling factor to obtain an image zooming magnification change amount.
  • the distance 2 of the user's finger sliding in the touch screen of the imaging device is multiplied by the preset image scaling factor 1.5, and the image zoom magnification is changed to 3.
  • Step 205 Determine a direction in which the user's one finger slides in the touch screen of the image capturing device, and determine that the direction in which the user's one finger slides in the touch screen of the image capturing device is the preset focal length becoming longer, and step 206 is performed. ;
  • the preset focal length change direction may be an upward direction, a downward direction, a left direction or a right direction; correspondingly, there is also a preset focal length shortening direction, and the preset focal length shortening direction may be upward Direction, down direction, left direction or right direction, and if the preset focal length becomes longer direction, the preset focal length becomes shorter direction, if the preset focal length becomes longer downward direction In the direction, the preset focal length is shortened to the upward direction. If the preset focal length is changed to the left direction, the preset focal length is shortened to the right direction. If the preset focal length is longer, the direction is the rightward direction. In the direction, the preset focal length is shortened to the left direction.
  • the preset focal length becomes the upward direction, and the direction in which the user's one finger slides in the touch screen of the imaging device is determined in the upward direction, and it is determined that one finger of the user slides in the touch screen of the imaging device.
  • the direction of the preset focal length is longer, and the following step 206 is performed.
  • Step 206 Calculate a first difference between an image zoom magnification of a current zoom image of the camera device and an upper limit of an image zoom factor range corresponding to the camera device;
  • the image capturing device stores an image zooming magnification of the current zoomed image.
  • the image capturing device scales the currently captured image according to the stored image zooming magnification of the current zoomed image.
  • the image zoom magnification of the current zoom map stored in the image capturing apparatus is 5, and the image zoom magnification range corresponding to the image capturing apparatus is greater than or equal to 2 and less than or equal to 15;
  • the first difference between the image scaling factor 5 of the current zoomed image of the device and the upper limit 15 of the image zoom factor range corresponding to the camera device is 10.
  • Step 207 Compare the size between the first difference value and the image zoom magnification change amount. If the first difference value is less than or equal to the image zoom magnification change amount, perform step 208, if the first difference value is greater than the image zoom factor , step 209 is performed;
  • Step 208 determining that the image zoom factor is the upper limit of the image zoom factor range corresponding to the image capturing device, and performing step 210;
  • Step 209 Combine the image scaling factor of the currently zoomed image of the camera device with the image zoom factor conversion amount to obtain an image zoom factor
  • comparing the magnitude between the first difference value 10 and the image zoom magnification change amount 3 comparing the first difference value to the image zoom magnification change amount, and changing the image zoom magnification 5 of the current zoom image of the camera device and the image zoom factor
  • the amount 3 is summed to obtain an image scaling factor of 8.
  • Step 210 Centering on the position of the touch screen of the image capturing device with one finger of the user, and scaling the image captured by the image capturing device according to the image zooming magnification to realize the focal length of the image capturing device.
  • the image zoom factor of the current zoom image stored by the image capturing device is updated to the image zoom factor, and the image captured by the image capturing device is performed according to the image zooming magnification centered on the position of the touch screen of the image capturing device of the user. Zoom in to achieve the focal length of the variable length camera.
  • the image of the imaging device as shown in FIG. 5 is enlarged by taking the position of the touch screen of the imaging device with the finger of the user as the center, and the enlarged image as shown in FIG. 6 is obtained.
  • the focal length of the variable length camera device is achieved.
  • the position of the touch screen of the user touching the image capturing device is the position S
  • the position of the touch screen of the image capturing device is touched by the user's one finger as the position S, and the camera device is photographed according to the image zooming magnification.
  • the image is enlarged to obtain an enlarged image as shown in FIG.
  • the process returns to step 202 to start execution; if the user's finger is detected to leave the camera The touch screen of the device ends the operation.
  • the image capturing device captures an image
  • the distance that one finger of the user slides in the touch screen of the imaging device is periodically collected.
  • the image zoom factor according to the distance and direction of the user's one finger sliding in the touch screen of the camera device to obtain the image zoom factor, with the user's finger touching the position of the touch screen of the camera device as the center, according to the image zoom factor, the current shooting of the camera device
  • the image is scaled to achieve the focal length of the transforming camera device. In this way, the user can use a finger included in the hand of the imaging device to contact and slide the touch screen of the imaging device to realize the focal length of the image capturing device, thereby improving the operation convenience.
  • Embodiments of the present invention provide a method for transforming a focal length of an imaging apparatus.
  • the user needs to shorten the focal length of the imaging device when capturing an image using the imaging device, and the user can shorten the focal length of the imaging device by the method of the embodiment.
  • the method can include:
  • Step 301 When the image capturing device captures an image, the touch screen of the imaging device is monitored in real time. If one finger of the user is touched to touch the touch screen of the imaging device, a position of the touch screen of the imaging device is obtained by one finger of the user;
  • step 301 is the same as step 201, and details are not described herein again.
  • the user touches the touch screen of the imaging device with one finger of the user and slides in a shorter direction along the preset focal length.
  • step 302 is performed.
  • Step 302 If it is monitored that one finger of the user slides on the touch screen of the imaging device, periodically collect the first coordinate of one finger of the user currently in the touch screen of the imaging device;
  • step 302 is the same as step 202, and details are not described herein again.
  • one finger of the user touches the touch screen of the imaging device and starts to slide down;
  • the second coordinate of the one finger of the collecting user in the touch screen of the image capturing apparatus is (10, 10), and the timer is set to perform timing;
  • the first coordinate of the user's one finger currently in the touch screen of the camera device is (10, 8), set the timer to restart timing.
  • Step 303 Calculate a distance that one finger of the user slides in the touch screen of the imaging device according to the stored second coordinate and the first coordinate of the finger of the user currently in the touch screen of the imaging device, and determine a finger of the user. The direction of sliding in the touch screen of the imaging device;
  • step 303 is the same as step 203, and details are not described herein again.
  • one finger of the user is calculated in the touch screen of the imaging device.
  • the sliding distance is 2, and determining that the direction in which the user's one finger slides in the touch screen of the imaging device is the downward direction; updating the stored second coordinate to the user's one finger is currently in the touch screen of the imaging device
  • Step 304 Calculate an image zoom magnification change amount according to a distance that the user's one finger slides in the touch screen of the image capturing apparatus;
  • step 304 is the same as step 204, and details are not described herein again.
  • the distance 2 of the user's finger sliding in the touch screen of the imaging device is multiplied by the preset image scaling factor 1.5, and the image zoom magnification is changed to 3.
  • Step 305 Determine a direction in which a finger of the user slides in the touch screen of the image capturing device, and determine that a direction in which the user's one finger slides in the touch screen of the image capturing device is a preset focal length shortening direction, and step 306 is performed. ;
  • the preset focal length shortening direction may be an upward direction, a downward direction, a left direction or a right direction; correspondingly, there is also a preset focal length variable length direction, and the preset focal length variable length direction may be upward Direction, down direction, left direction or right direction, and if the preset focal length becomes shorter, the direction is upward In the direction, the preset focal length becomes the downward direction, and if the preset focal length becomes the downward direction, the preset focal length becomes the upward direction, if the preset focal length becomes the short direction to the left In the direction, the preset focal length is changed to the right direction. If the preset focal length is shortened to the right direction, the preset focal length is changed to the left direction.
  • the preset focal length is shortened in the downward direction, and the direction in which one finger of the user slides in the touch screen of the imaging device is determined in the downward direction, and the touch screen of the user's finger on the imaging device is determined.
  • the direction of the middle slide is the preset focal length shortening direction, and the following step 306 is performed.
  • Step 306 Calculate a second difference between an image zoom magnification of the current zoomed image of the camera device and a lower limit of the image zoom factor range corresponding to the camera device;
  • step 306 is the same as step 206, and details are not described herein again.
  • the image zoom magnification of the current zoom map stored in the image capturing apparatus is 10
  • the image zoom magnification range corresponding to the image capturing apparatus is greater than or equal to 2 and less than or equal to 15; therefore, the image zoom magnification of the current zoom image of the image capturing apparatus is calculated.
  • the second difference between the lower limit 2 of the image zoom factor range corresponding to the imaging device is 8.
  • Step 307 Compare the magnitude between the second difference value and the image zoom magnification change amount. If the second difference value is less than or equal to the image zoom magnification change amount, perform step 308, if the second difference value is greater than the image zoom factor , step 309 is performed;
  • Step 308 determining that the image zoom factor is the lower limit of the image zoom factor range corresponding to the image capturing device, and performing step 310;
  • Step 309 Perform a difference operation between the image scaling factor of the current zoomed image of the camera device and the image zoom factor conversion amount to obtain an image zoom factor;
  • comparing the magnitude between the second difference 8 and the image zoom factor change amount 3 comparing the second difference value to the image zoom magnification change amount, and changing the image zoom magnification 10 of the current zoom image of the image capturing device to the image zoom factor
  • the amount 3 is subjected to a difference operation to obtain an image scaling factor of 7.
  • Step 310 Focusing on the position of the touch screen of the image capturing device with one finger of the user, and scaling the image captured by the image capturing device according to the image zooming magnification to realize the focus of the converting camera device Distance.
  • step 310 is the same as step 210, and details are not described herein again.
  • the image shown in FIG. 10 captured by the imaging device is reduced according to the image zoom factor 7 to obtain a reduced image as shown in FIG. In order to achieve a shorter focal length of the imaging device.
  • the image of the camera device is zoomed according to the position of the touch screen of the camera device, and the image captured by the camera device is zoomed according to the zoom factor of the image, which may be specifically:
  • the position of the touch screen of the user's finger contacting the imaging device is the position S, and its coordinate is (Xs, Ys), directly centered on the position S of the touch screen of the imaging device of the user's finger.
  • the image captured by the image pickup apparatus is reduced in accordance with the image zoom magnification to obtain a reduced image as shown in FIG.
  • the abscissa of the position where the touch screen of the camera device is touched by one finger of the user is set to zero, and one finger of the user contacts the camera device
  • the position of the touch screen is centered, and the image currently captured by the image capturing device is reduced according to the image zooming magnification;
  • the left boundary of the image currently captured by the imaging device coincides with the left boundary of the touch screen of the imaging device, and the abscissa Xs of the position S of the touch screen of the touch device of the user is set to 0, see FIG.
  • the coordinate (Xs, Ys) of the position S of the touch screen of the user's finger touching the image pickup device is (0, Ys), centered on the position s of the touch screen of the image pickup device with one finger of the user, according to the image zoom factor
  • the image currently captured by the camera device is zoomed out to obtain The reduced image shown in Figure 16.
  • the abscissa of the position of the touch screen of the image capturing apparatus is set to the width of the touch screen of the image capturing apparatus.
  • the finger touches the position of the touch screen of the image capturing device as a center, and the image currently captured by the image capturing device is reduced according to the image zooming magnification;
  • the right border of the image currently captured by the image capturing apparatus coincides with the right border of the touch screen of the image pickup apparatus, and the abscissa Xs of the position S of the touch screen of the touch screen of the image pickup apparatus is set to the width of the touch screen of the image pickup apparatus.
  • L referring to FIG. 18, the coordinates (Xs, Ys) of the position S of the touch screen of the user's finger touching the imaging device are (L, Ys), centering on the position S of the touch screen of the image pickup device with one finger of the user.
  • the image currently captured by the image capturing apparatus is reduced according to the image zooming magnification, and an image reduced as shown in FIG. 19 is obtained.
  • the ordinate of the position where the touch screen of the image device is touched by one finger of the user is set to zero, and the finger of the user contacts the camera device with one finger of the user.
  • the position of the touch screen is centered, and the image currently captured by the image capturing device is reduced according to the image zooming magnification;
  • the upper boundary of the image currently captured by the imaging device coincides with the upper boundary of the touch screen of the imaging device, and the ordinate Ys of the position S of the touch screen of the touch device of the user is set to 0, see FIG.
  • the coordinate (Xs, Ys) of the position S of the touch screen of the user's finger touching the image pickup device is (Xs, 0), centered on the position S of the touch screen of the image pickup device with one finger of the user, according to the image zoom factor
  • the image currently captured by the imaging apparatus is zoomed out to obtain an image reduced as shown in FIG.
  • the ordinate of the position of the touch screen of the camera device that touches one finger of the user is the height of the touch screen of the imaging device, The position where the finger touches the touch screen of the image capturing apparatus is centered, and the image currently captured by the image capturing apparatus is reduced according to the image zooming magnification.
  • the lower boundary of the image currently captured by the imaging device and the touch screen of the imaging device The lower boundary overlaps, and the ordinate Ys of the position S of the touch screen of the image pickup device is set by one finger of the user to contact the position of the touch screen of the image pickup device.
  • the position of the touch screen of the image pickup device is touched by one finger of the user.
  • the coordinates (Xs, Ys) are (Xs, H), and the user's finger touches the position S of the touch screen of the image capturing device as the center, and the image currently captured by the image capturing device is reduced according to the image zooming magnification, and the image obtained as shown in FIG. 25 is obtained. Show a reduced image.
  • the boundary of the image currently captured by the image capturing apparatus coincides with the boundary of the touch screen of the image capturing apparatus, if the position of the touch screen of the image capturing apparatus is directly touched by one finger of the user, the image currently captured by the image capturing apparatus according to the image zooming magnification is used.
  • the coordinates of the position of the touch screen of the camera device are first changed, and then the transformed user's position is changed.
  • One finger touches the position of the touch screen of the image capturing apparatus as a center, and the image currently captured by the image capturing apparatus is reduced according to the image zooming magnification, so that the image of the image currently captured by the image capturing apparatus that coincides with the boundary of the touch screen of the image capturing apparatus is not scaled, Thereby avoiding the above problems.
  • setting the abscissa of the position of the touch screen of the imaging device with one finger of the user is the width of the touch screen of the imaging device, The finger touches the position of the touch screen of the image capturing device as a center, and the image currently captured by the image capturing device is reduced according to the image zooming magnification;
  • the left boundary of the image currently captured by the image capturing apparatus coincides with the left border of the touch screen of the image pickup apparatus, and the abscissa Xs of the position S of the touch screen of the touch screen of the image pickup apparatus is set to the width of the touch screen of the image pickup apparatus.
  • L referring to FIG. 15, the coordinate (Xs, Ys) of the position S of the touch screen of the user's finger touching the imaging device is (L, Ys), centering on the position S of the touch screen of the image pickup device with one finger of the user.
  • the image currently captured by the image capturing apparatus is reduced according to the image zooming magnification, and an image reduced as shown in FIG. 16 is obtained.
  • the right border of the image currently captured by the image capturing apparatus coincides with the right border of the touch screen of the image pickup apparatus, and the abscissa Xs of the position S of the touch screen of the touch screen of the image pickup apparatus is set to be 0, see FIG.
  • the coordinate (Xs, Ys) of the position S of the touch screen of the user's finger touching the image pickup device is (Xs, 0), centered on the position S of the touch screen of the image pickup device with one finger of the user, according to the image zoom factor
  • the image currently captured by the imaging apparatus is zoomed out to obtain an image reduced as shown in FIG.
  • the ordinate of the position where the touch screen of the image device is touched by one finger of the user is set to zero, and the finger of the user contacts the camera device with one finger of the user.
  • the position of the touch screen is centered, and the image currently captured by the image capturing device is reduced according to the image zooming magnification;
  • the upper boundary of the image currently captured by the imaging device coincides with the upper boundary of the touch screen of the imaging device, and the ordinate Ys of the position S of the touch screen of the touch device of the user is set to 0, see FIG.
  • the coordinate (Xs, Ys) of the position S of the touch screen of the user's finger touching the image pickup device is (Xs, 0), centered on the position S of the touch screen of the image pickup device with one finger of the user, according to the image zoom factor
  • the image currently captured by the imaging apparatus is zoomed out to obtain an image reduced as shown in FIG.
  • the ordinate of the position of the touch screen of the camera device that touches one finger of the user is the height of the touch screen of the imaging device, The position where the finger touches the touch screen of the image capturing apparatus is centered, and the image currently captured by the image capturing apparatus is reduced according to the image zooming magnification.
  • the lower boundary of the image currently captured by the imaging device coincides with the lower boundary of the touch screen of the imaging device, and the ordinate of the position S of the touch screen of the imaging device is touched by one finger of the user.
  • Ys is the height H of the touch screen of the imaging device.
  • the coordinates (Xs, Ys) of the position S of the touch screen of the user's finger touching the imaging device are (Xs, H), and the user touches the camera with one finger.
  • the position S of the touch screen of the device is centered, and the image currently captured by the image capturing apparatus is reduced according to the image zooming magnification, and an image reduced as shown in FIG. 25 is obtained.
  • the abscissa of the position where the touch screen of the camera device is touched by one finger of the user is set to zero, and one finger of the user contacts the camera device
  • the position of the touch screen is centered, and the image currently captured by the image capturing device is reduced according to the image zooming magnification;
  • the left boundary of the image currently captured by the imaging device coincides with the left boundary of the touch screen of the imaging device, and the abscissa Xs of the position S of the touch screen of the touch device of the user is set to 0, see FIG.
  • the coordinate (Xs, Ys) of the position S of the touch screen of the user's finger touching the image pickup device is (0, Ys), centered on the position s of the touch screen of the image pickup device with one finger of the user, according to the image zoom factor
  • the image currently captured by the imaging apparatus is zoomed out to obtain an image reduced as shown in FIG.
  • the abscissa of the position of the touch screen of the image capturing apparatus is set to the width of the touch screen of the image capturing apparatus.
  • the finger touches the position of the touch screen of the image capturing device as a center, and the image currently captured by the image capturing device is reduced according to the image zooming magnification;
  • the right border of the image currently captured by the image capturing apparatus coincides with the right border of the touch screen of the image pickup apparatus, and the abscissa Xs of the position S of the touch screen of the touch screen of the image pickup apparatus is set to the width of the touch screen of the image pickup apparatus.
  • L referring to FIG. 18, the coordinates (Xs, Ys) of the position S of the touch screen of the user's finger touching the imaging device are (L, Ys), centering on the position S of the touch screen of the image pickup device with one finger of the user.
  • the current shooting of the camera device The image is reduced to obtain a reduced image as shown in FIG.
  • the ordinate of the position of the touch screen of the camera device that touches one finger of the user is set to the height of the touch screen of the imaging device, The finger touches the position of the touch screen of the image capturing device as a center, and the image currently captured by the image capturing device is reduced according to the image zooming magnification;
  • the upper boundary of the image currently captured by the image capturing apparatus coincides with the upper boundary of the touch screen of the image capturing apparatus, and the vertical coordinate Ys of the position S of the touch screen of the touch screen of the image pickup apparatus is set to the height of the touch screen of the image pickup apparatus.
  • the coordinate (Xs, Ys) of the position S of the touch screen of the user's finger touching the image pickup device is (Xs, 0), centering on the position S of the touch screen of the image pickup device with one finger of the user.
  • the image currently captured by the imaging apparatus is reduced according to the image zoom magnification, and an image reduced as shown in FIG. 22 is obtained.
  • the ordinate of the position where the touch screen of the image device is touched by one finger of the user is set to be zero, and the finger of the user contacts the camera device
  • the position of the touch screen is centered, and the image currently captured by the imaging device is reduced according to the image zoom factor.
  • the lower boundary of the image currently captured by the imaging device coincides with the lower boundary of the touch screen of the imaging apparatus, and the ordinate Ys of the position S of the touch screen of the touch screen of the imaging device is set to 0, see FIG.
  • the coordinate (Xs, Ys) of the position S of the touch screen of the user's finger touching the image pickup device is (Xs, 0), centered on the position S of the touch screen of the image pickup device with one finger of the user, according to the image zoom factor
  • the image currently captured by the imaging apparatus is zoomed out to obtain an image reduced as shown in FIG.
  • the imaging device If the left boundary of the image currently captured by the imaging device coincides with the left boundary of the touch screen of the imaging device, setting the abscissa of the position of the touch screen of the imaging device with one finger of the user is the imaging device.
  • the width of the touch screen is centered on the position of the touch screen of the image capturing device with one finger of the user, and the image currently captured by the image capturing device is reduced according to the image zooming magnification;
  • the left boundary of the image currently captured by the image capturing apparatus coincides with the left border of the touch screen of the image pickup apparatus, and the abscissa Xs of the position S of the touch screen of the touch screen of the image pickup apparatus is set to the width of the touch screen of the image pickup apparatus.
  • L referring to FIG. 15, the coordinate (Xs, Ys) of the position S of the touch screen of the user's finger touching the imaging device is (L, Ys), centering on the position S of the touch screen of the image pickup device with one finger of the user.
  • the image currently captured by the image capturing apparatus is reduced according to the image zooming magnification, and an image reduced as shown in FIG. 16 is obtained.
  • the right border of the image currently captured by the image capturing apparatus coincides with the right border of the touch screen of the image pickup apparatus, and the abscissa Xs of the position S of the touch screen of the touch screen of the image pickup apparatus is set to be 0, see FIG.
  • the coordinate (Xs, Ys) of the position S of the touch screen of the user's finger touching the image pickup device is (Xs, 0), centered on the position S of the touch screen of the image pickup device with one finger of the user, according to the image zoom factor
  • the image currently captured by the imaging apparatus is zoomed out to obtain an image reduced as shown in FIG.
  • the ordinate of the position of the touch screen of the camera device that touches one finger of the user is set to the height of the touch screen of the imaging device, The finger touches the position of the touch screen of the image capturing device as a center, and the image currently captured by the image capturing device is reduced according to the image zooming magnification;
  • the upper boundary of the image currently captured by the image capturing apparatus coincides with the upper boundary of the touch screen of the image capturing apparatus, and the vertical coordinate Ys of the position S of the touch screen of the touch screen of the image pickup apparatus is set to the height of the touch screen of the image pickup apparatus.
  • H referring to FIG. 21, the coordinate (Xs, Ys) of the position S of the touch screen of the user's finger touching the imaging device is (Xs, H), and is connected by one finger of the user.
  • the position S of the touch screen of the touch imaging device is centered, and the image currently captured by the image pickup apparatus is reduced according to the image zoom magnification, and an image reduced as shown in FIG. 22 is obtained.
  • the ordinate of the position where the touch screen of the image device is touched by one finger of the user is set to be zero, and the finger of the user contacts the camera device
  • the position of the touch screen is centered, and the image currently captured by the imaging device is reduced according to the image zoom factor.
  • the lower boundary of the image currently captured by the imaging device coincides with the lower boundary of the touch screen of the imaging apparatus, and the ordinate Ys of the position S of the touch screen of the touch screen of the imaging device is set to 0, see FIG.
  • the coordinate (Xs, Ys) of the position S of the touch screen of the user's finger touching the image pickup device is (Xs, 0), centered on the position S of the touch screen of the image pickup device with one finger of the user, according to the image zoom factor
  • the image currently captured by the imaging apparatus is zoomed out to obtain an image reduced as shown in FIG.
  • step 302 When the first coordinate of the user's finger in the touch screen of the imaging device is currently collected in the next cycle, the process returns to step 302 to start execution; if one finger of the user is detected to leave the touch screen of the camera device, the operation ends.
  • the image capturing device captures an image
  • the distance that one finger of the user slides in the touch screen of the imaging device is periodically collected.
  • the image zoom factor according to the distance and direction of the user's one finger sliding in the touch screen of the camera device to obtain the image zoom factor, with the user's finger touching the position of the touch screen of the camera device as the center, according to the image zoom factor, the current shooting of the camera device
  • the image is scaled to achieve the focal length of the transforming camera device. In this way, the user can use a finger included in the hand of the imaging device to contact and slide the touch screen of the imaging device to realize the focal length of the image capturing device, thereby improving the operation convenience.
  • an embodiment of the present invention provides an apparatus for converting a focal length of an imaging apparatus, including:
  • the first obtaining module 401 is configured to acquire a position of a touch screen of the image capturing device by one finger of the user;
  • the second obtaining module 402 is configured to acquire an image zooming multiple according to a distance and a direction in which the one finger of the user slides in the touch screen of the imaging device;
  • the zooming module 403 is configured to take a position of the touch screen of the image capturing device with a finger of the user as a center, and scale an image currently captured by the image capturing device according to the image zooming magnification to realize transforming a focal length of the image capturing device.
  • the first obtaining module 402 determines the zooming multiple change amount of the image according to the distance, and the scaling module 403 determines whether the image is enlarged or reduced according to the direction.
  • the device further includes:
  • the collecting module is configured to periodically collect a distance and a direction in which the one finger of the user slides in the touch screen of the imaging device when one finger of the user contacts the touch screen of the imaging device and slides.
  • the collection module includes:
  • a collecting unit configured to periodically collect a first coordinate of a finger of the user currently in a touch screen of the imaging device
  • a calculation determining unit configured to calculate, according to the stored second coordinates and a first coordinate of a finger of the user currently in the touch screen of the imaging device, a touch screen of the user's finger on the imaging device The distance of the middle slide and the direction in which one finger of the user slides in the touch screen of the image pickup apparatus;
  • the second coordinate is the most recent period before the current period, when the coordinates of one finger of the user in the touch screen of the imaging device or the finger of the user just touch the touch screen of the imaging device are collected. The coordinates of one finger of the user in the touch screen of the imaging device.
  • the device further includes:
  • the first obtaining module 402 includes:
  • a first calculating unit configured to calculate an image zooming magnification change amount according to a distance that a finger of the user slides in a touch screen of the imaging device
  • a second calculating unit configured to calculate an image zoom factor of the current zoom image of the image capturing device, if the direction in which the finger of the user slides in the touch screen of the image capturing device is a preset focal length lengthwise direction a first difference between the upper limit of the range of image scaling factors corresponding to the image capturing device; the first determining unit, configured to determine the image zoom factor as the image if the first difference is less than or equal to the image zoom factor change amount The upper limit of the range of the image zoom ratio corresponding to the image capturing device; the first computing unit, configured to: if the first difference value is greater than the image zoom factor change amount, the image zoom ratio of the current zoom image of the image capturing device The image zoom factor is added and summed to obtain an image scaling factor.
  • the first obtaining module 402 includes:
  • a first calculating unit configured to calculate an image zooming magnification change amount according to a distance that a finger of the user slides in a touch screen of the imaging device
  • a third calculating unit configured to calculate an image zooming magnification of the current zoomed image of the image capturing apparatus if the direction in which the finger of the user slides in the touch screen of the image capturing apparatus is a preset focal length shortening direction a second difference between the lower limit of the image zoom factor range corresponding to the image capturing device; the second determining unit, configured to determine the image zoom factor as the image if the second difference is less than or equal to the image zoom factor change amount a lower limit of the image zooming range corresponding to the image capturing device; a second computing unit, configured to: if the second difference is greater than the image zooming factor change amount, the image zooming magnification of the currently zoomed image of the image capturing device The image scaling factor conversion amount is subjected to a difference operation to obtain an image scaling factor.
  • the scaling module includes:
  • a first setting unit configured to: if a left boundary of an image currently captured by the imaging device coincides with a left boundary of a touch screen of the imaging device or a right boundary of an image currently captured by the imaging device and a touch screen of the imaging device If the right border coincides, then one finger of the user is set to contact the camera
  • the abscissa of the position of the touch screen of the device is zero or the width of the touch screen of the image capturing apparatus
  • the second setting unit is configured to overlap an upper boundary of the image currently captured by the image capturing apparatus with an upper boundary of the touch screen of the image capturing apparatus Or the lower boundary of the image currently captured by the imaging device coincides with the lower boundary of the touch screen of the imaging device, and then the ordinate of the position of the touch screen of the user of the user is set to zero or the The height of the touch screen of the camera device;
  • a reduction unit configured to reduce an image currently captured by the imaging device according to the image zoom factor, centering on a position of the touch screen of the image capturing device with one finger of the user.
  • the first calculating unit is specifically configured to perform a product operation of multiplying a distance of one finger of the user in the touch screen of the image capturing device with a preset image scaling factor to obtain an image zooming magnification change amount.
  • the image capturing device when the image capturing device captures an image, if one finger of the user contacts the touch screen of the imaging device and slides, the distance and direction of one finger of the user sliding in the touch screen of the imaging device are periodically collected. Obtaining an image zoom factor according to a distance and a direction in which the user's one finger slides in the touch screen of the image capturing device, centering on the position of the touch screen of the image capturing device touched by one finger of the user, and the image currently captured by the image capturing device according to the image zooming magnification Zooming is performed to achieve the focal length of the transforming camera device.
  • FIG. 27 is a schematic structural diagram of an image pickup apparatus according to an embodiment of the present invention, and the terminal apparatus can be used to implement a method for converting a focal length of an image pickup apparatus provided in the above embodiment. Specifically:
  • the imaging device 2700 may include an RF (Radio Frequency) circuit 110, a memory 120 including one or more computer readable storage media, an input unit 130, a display unit 140, a sensor 150, an audio circuit 160, and a WiFi (wireless fidelity,
  • the Wireless Fidelity module 170 includes a processor 180 having one or more processing cores, and a power supply 190 and the like. It will be understood by those skilled in the art that the terminal device structure shown in FIG. 27 does not constitute a limitation on the terminal device, and may include more or less components than those illustrated, or combine some components, or different components. Arrangement. among them:
  • the RF circuit 110 can be used for receiving and transmitting signals during the transmission or reception of information or during a call. Specifically, after receiving the downlink information of the base station, the downlink information is processed by one or more processors 180. In addition, the data related to the uplink is sent to the base station. .
  • the RF circuit 110 includes, but is not limited to, an antenna, at least one amplifier, a tuner, one or more oscillators, a Subscriber Identity Module (SIM) card, a transceiver, a coupler, an LNA (Low Noise Amplifier). , duplexer, etc.
  • RF circuitry 110 can also communicate with the network and other devices via wireless communication.
  • the wireless communication may use any communication standard or protocol, including but not limited to GSM (Global System of Mobile communication), GPRS (General Packet Radio Service), CDMA (Code Division Multiple Access). , Code Division Multiple Access), WCDMA (Wideband Code Division Multiple Access), LTE (Long Term Evolution), e-mail, SMS (Short Messaging Service), and so on.
  • GSM Global System of Mobile communication
  • GPRS General Packet Radio Service
  • CDMA Code Division Multiple Access
  • WCDMA Wideband Code Division Multiple Access
  • LTE Long Term Evolution
  • e-mail Short Messaging Service
  • the memory 120 can be used to store software programs and modules, and the processor 180 executes various functional applications and data processing by running software programs and modules stored in the memory 120.
  • the memory 120 may mainly include a storage program area and a storage data area, wherein the storage program area may store an operating system, an application required for at least one function (such as a sound playing function, an image playing function, etc.), and the like; the storage data area may be stored according to Data (such as audio data, phone book, etc.) created by the use of the imaging device 2700.
  • memory 120 can include high speed random access memory, and can also include non-volatile memory, such as at least one magnetic disk storage device, flash memory device, or other volatile solid state storage device. Accordingly, memory 120 can also include a memory controller to provide processor 180 access to memory 120.
  • the display unit 140 can be used to display information input by the user or information provided to the user and various graphical user interfaces of the camera device 2700, which can be composed of graphics, text, icons, video, and any combination thereof.
  • the display unit 140 may include a display panel 141.
  • an LCD Liquid Crystal Display
  • OLED Organic Light-Emitting
  • the display panel 141 is configured in the form of a Diode, an organic light emitting diode, or the like.
  • the processor 180 is a control center of the camera device 2700 that connects various portions of the entire handset with various interfaces and lines, by running or executing software programs and/or modules stored in the memory 120, and recalling data stored in the memory 120.
  • the various functions and processing data of the imaging device 2700 are executed to perform overall monitoring of the mobile phone.
  • the processor 180 may include one or more processing cores.
  • the processor 180 may integrate an application processor and a modem processor, where the application processor mainly processes an operating system, a user interface, an application, and the like.
  • the modem processor primarily handles wireless communications. It will be appreciated that the above described modem processor may also not be integrated into the processor 180.
  • the display unit of the image capturing apparatus is a touch screen display
  • the image capturing apparatus further includes a memory, and one or more program instructions, wherein one or more program instructions are stored in the memory, and are configured to be Or executed by one or more processors, the one or more program instructions comprising:
  • a position obtaining instruction configured to acquire a position of a touch screen of the image capturing device by a finger of the user
  • a zoom obtaining instruction configured to acquire an image zooming multiple according to a distance and a direction in which the one finger of the user slides in a touch screen of the image capturing apparatus
  • a scaling instruction configured to zoom in an image of a current position of the image capturing device by using a finger of the user contacting the touch screen of the image capturing device, to perform image conversion on the image capturing device The focal length.
  • program is also stored in the memory for executing the program instructions of any of the foregoing embodiments 1, 2, and 3.
  • the embodiments of the present invention are not described herein again.

Landscapes

  • Engineering & Computer Science (AREA)
  • General Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Human Computer Interaction (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Multimedia (AREA)
  • Signal Processing (AREA)
  • Studio Devices (AREA)
  • User Interface Of Digital Computer (AREA)

Abstract

本发明公开了一种摄像设备变换焦距的方法、装置和摄像设备,属于计算机领域。所述方法包括:获取用户的一只手指接触所述摄像设备的触摸屏的位置;根据所述用户的一只手指在摄像设备的触摸屏中滑动的距离和方向获取图像缩放倍数;以所述用户的一只手指接触所述摄像设备的触摸屏的位置为中心,根据所述图像缩放倍数对所述摄像设备当前拍摄的图像进行缩放,以实现变换所述摄像设备的焦距。所述装置包括:第一获取模块、第二获取模块和缩放模块。本发明提高变换焦距的操作便捷性。

Description

一种摄像设备变换焦距的方法、 装置和摄像设备 本申请要求于 2012 年 10 月 10 日提交中国专利局、 申请号为 2012103821133、 发明名称为 "一种摄像设备变换焦距的方法及装置" 的中国 专利申请的优先权, 其全部内容通过引用结合在本申请中。 技术领域
本发明涉及计算机领域, 特别涉及一种摄像设备变换焦距的方法、 装置和 摄像设备。
背景技术
随着手机技术的快速发展, 使得手机包括的功能越来越多, 例如, 可以在 手机上集成摄像头使手机具有摄像功能。
参见图 1 , 目前当用户在使用手机包括的摄像功能进行摄像时, 如果用户 需要变换手机摄像头的焦距, 则用户可以用一只手的两只手指在手机的触摸屏 上做分开或收缩的手势来变换手机摄像头的焦距; 例如, 用户的两只手指在触 摸屏上做分开的手势来将手机摄像头的焦距变长,在触摸屏上做收缩的手势来 将手机摄像头的焦距变短, 假设, 用户在图 1所示的触摸屏中做分开的手势, 将手机的摄像头的焦距变长,使得到手机摄像头拍摄的图 1所示图像放大为图 2所示的图像。
目前用户至少用一只手来拿手机进行摄像, 需要单独用另一只手在手机的 触摸屏上做分开或收缩的手势来变换手机摄像头的焦距, 操作便捷性较差。
发明内容
为了提高变换摄像设备的焦距的操作便捷性, 本发明提供了一种摄像设备 变换焦距的方法、 装置和摄像设备。 所述技术方案如下: 一种摄像设备变换焦距的方法, 所述方法包括:
获取用户的一只手指接触所述摄像设备的触摸屏的位置;
根据所述用户的所述一只手指在摄像设备的触摸屏中滑动的距离和方向 获取图像缩放倍数;
以所述用户的一只手指接触所述摄像设备的触摸屏的位置为中心,根据所 述图像缩放倍数对所述摄像设备当前拍摄的图像进行缩放, 以实现变换所述摄 像设备的焦距。
一种摄像设备变换焦距的装置, 所述装置包括:
第一获取模块, 用于获取用户的一只手指接触所述摄像设备的触摸屏的位 置;
第二获取模块, 用于根据所述用户的一只手指在摄像设备的触摸屏中滑动 的距离和方向获取图像缩放倍数;
缩放模块, 用于以所述用户的一只手指接触所述摄像设备的触摸屏的位置 为中心, 根据所述图像缩放倍数对所述摄像设备当前拍摄的图像进行缩放, 以 实现变换所述摄像设备的焦距。
一种摄像设备, 所述摄像设备包括有存储器, 一个或者一个以上处理器, 以及一个或者一个以上的程序指令, 其中一个或者一个以上程序指令存储于存 储器中, 且经配置以由所述一个或者一个以上处理器执行, 所述一个或者一个 以上程序指令包括:
位置获取指令, 用于获取用户的一只手指接触所述摄像设备的触摸屏的位 置;
缩放获取指令, 用于根据所述用户的所述一只手指在摄像设备的触摸屏中 滑动的距离和方向获取图像缩放倍数;
缩放指令, 用于以所述用户的一只手指接触所述摄像设备的触摸屏的位置 为中心, 根据所述图像缩放倍数对所述摄像设备当前拍摄的图像进行缩放, 以 实现变换所述摄像设备的焦距。 在本发明实施例中, 获取用户的一只手指接触摄像设备的触摸屏的位置, 根据用户的一只手指在摄像设备的触摸屏中滑动的距离和方向获取图像缩放 倍数, 以用户的一只手指接触摄像设备的触摸屏的位置为中心, 根据该图像缩 放倍数对摄像设备当前拍摄的图像进行缩放, 以实现变换摄像设备的焦距。 如 此, 用户可以使用拿摄像设备的手包括的一只手指来接触并滑动摄像设备的触 摸屏来实现变换摄像设备的焦距, 提高操作便捷性。
附图说明
图 1是现有技术提供的变换焦距示意图;
图 2是现有技术提供的变长焦距示意图;
图 3是本发明实施例 1提供的一种摄像设备变换焦距的方法流程图; 图 4是本发明实施例 2提供的一种摄像设备变换焦距的方法流程图; 图 5是本发明实施例 2提供的一种变长焦距示意图;
图 6是本发明实施例 2提供的一种变长焦距放大图像示意图;
图 7是本发明实施例 2提供的一种摄像设备拍摄的图像示意图; 图 8是本发明实施例 2提供的放大后的图像示意图;
图 9是本发明实施例 3提供的一种摄像设备变换焦距的方法流程图; 图 10是本发明实施例 3提供的一种变短焦距示意图;
图 11是本发明实施例 3提供的一种变短焦距缩小图像示意图;
图 12是本发明实施例 3提供的一种摄像设备拍摄的图像示意图; 图 13是本发明实施例 3提供的一种缩小后的图像示意图;
图 14是本发明实施例 3提供的图像的左边界与触摸屏的左边界重合示意 图;
图 15是本发明实施例 3提供的在图像的左边界与触摸屏的左边界重合时 变换用户接触触摸屏的位置示意图;
图 16是本发明实施例 3提供的在图像的左边界与触摸屏的左边界重合时 缩小图像示意图;
图 17是本发明实施例 3提供的图像的右边界与触摸屏的右边界重合示意 图;
图 18是本发明实施例 3提供的在图像的右边界与触摸屏的右边界重合时 变换用户接触触摸屏的位置示意图;
图 19是本发明实施例 3提供的在图像的右边界与触摸屏的右边界重合时 缩小图像示意图;
图 20是本发明实施例 3提供的图像的上边界与触摸屏的上边界重合示意 图;
图 21是本发明实施例 3提供的在图像的上边界与触摸屏的上边界重合时 变换用户接触触摸屏的位置示意图;
图 22是本发明实施例 3提供的在图像的上边界与触摸屏的上边界重合时 缩小图像示意图;
图 23是本发明实施例 3提供的图像的下边界与触摸屏的下边界重合示意 图;
图 24是本发明实施例 3提供的在图像的下边界与触摸屏的下边界重合时 变换用户接触触摸屏的位置示意图;
图 25是本发明实施例 3提供的在图像的下边界与触摸屏的下边界重合时 缩小图像示意图;
图 26是本发明实施例 4提供的一种摄像设备变换焦距的装置结构示意图; 图 27为本发明实施例所涉及的摄像设备的结构示意图。
具体实施方式
为使本发明的技术方案更加清楚, 下面将结合附图对本发明实施方式作进 一步地详细描述。
实施例 1 如图 3所示, 本发明实施例提供了一种摄像设备变换焦距的方法, 包括: 步骤 101 : 获取用户的一只手指接触摄像设备的触摸屏的位置;
步骤 102: 根据用户的一只手指在摄像设备的触摸屏中滑动的距离和方向 获取图像缩放倍数;
步骤 103: 以用户的一只手指接触摄像设备的触摸屏的位置为中心, 根据 该图像缩放倍数对摄像设备当前拍摄的图像进行缩放, 以实现变换摄像设备的 焦距。
在本发明实施例中, 获取用户的一只手指接触摄像设备的触摸屏的位置, 根据用户的一只手指在摄像设备的触摸屏中滑动的距离和方向获取图像缩放 倍数, 以用户的一只手指接触摄像设备的触摸屏的位置为中心, 根据该图像缩 放倍数对摄像设备当前拍摄的图像进行缩放, 以实现变换摄像设备的焦距。 如 此, 用户可以使用拿摄像设备的手包括的一只手指来接触并滑动摄像设备的触 摸屏来实现变换摄像设备的焦距, 提高操作便捷性。 实施例 2
本发明实施例提供了一种摄像设备变换焦距的方法。其中,在本实施例中, 用户在使用摄像设备拍摄图像时需要变长摄像设备的焦距, 用户可以通过本实 施例的方法将摄像设备的焦距变长。 参见图 4, 该方法, 可以包括:
步骤 201 : 在摄像设备拍摄图像时, 对摄像设备的触摸屏进行实时监控, 如果监控出用户的一只手指接触摄像设备的触摸屏时, 获取用户的一只手指接 触摄像设备的触摸屏的位置;
其中, 摄像设备至少包括触摸屏和摄像镜头, 摄像设备通过摄像镜头拍摄 图像并将当前拍摄的图像显示在摄像设备的触摸屏上。
其中, 摄像设备对应一个图像缩放倍数范围, 摄像设备当拍摄到图像时, 可以根据自身对应的图像缩放倍数范围中包括的图像缩放倍数对当前拍摄的 图像进行缩放, 然后将缩放的图像显示在自身的触摸屏上。 其中, 摄像设备可以为具有摄像功能的手机、 照机或摄像机等设备。
其中, 在本实施例中, 假设用户的需要变长摄像设备的焦距, 则用户使用 自身的一只手指接触摄像设备的触摸屏并沿预设的焦距变长方向滑动。
步骤 202: 如果监控出用户的一只手指在摄像设备的触摸屏上滑动时, 周 期性地采集用户的一只手指当前在摄像设备的触摸屏中的第一坐标;
其中, 如果检测出用户的一只手指刚接触摄像设备的触摸屏, 则采集用户 的一只手指在摄像设备的触摸屏中的第二坐标, 并存储采集的第二坐标; 同时 设置一个计时器开始计时, 如果计时的时间达到预设周期长度, 则采集用户的 手指当前在摄像设备的触摸屏中的第一坐标, 并设置该计时器重新开始计时。
例如,参见图 5 ,用户的一只手指接触摄像设备的触摸屏并开始向上滑动; 相应地, 当监控出用户的一只手指接触到摄像设备的触摸屏时, 采集用户的一 只手指在摄像设备的触摸屏中的第二坐标为 (5 , 5 ), 同时设置计时器进行计 时; 在用户的一只手指在摄像设备的触摸屏中滑动过程中, 当该计时器计时的 时间达到预设周期长度时, 采集用户的一只手指当前在摄像设备的触摸屏中的 第一坐标为 (5 , 3 ), 同时设置该计时器重新开始计时。
步骤 203: 根据已存储的第二坐标和用户的一只手指当前在摄像设备的触 摸屏中的第一坐标, 计算用户的一只手指在摄像设备的触摸屏中滑动的距离以 及确定用户的一只手指在摄像设备的触摸屏中滑动的方向;
进一步地,将已存储的第二坐标更新为用户的一只手指当前在摄像设备的 触摸屏中的第一坐标。
例如, 根据已存储的第二坐标(5 , 5 )和用户的一只手指当前在摄像设备 的触摸屏中的第一坐标(5 , 3 ), 计算出用户的一只手指在摄像设备的触摸屏 中滑动的距离为 2, 以及确定出用户的一只手指在摄像设备的触摸屏中滑动的 方向为向上方向; 将已存储的第二坐标更新为用户的一只手指当前在摄像设备 的触摸屏中的第一坐标(5 , 3 )。
步骤 204: 根据用户的一只手指在摄像设备的触摸屏中滑动的距离计算图 像缩放倍数变化量;
具体地,将用户的一只手指在摄像设备的触摸屏中的滑动的距离与预设图 像缩放系数做乘积运算, 得到图像缩放倍数变化量。
例如, 假设预设图像缩放系数为 1.5 , 将用户的一只手指在摄像设备的触 摸屏中滑动的距离 2与预设图像缩放系数 1.5做乘积运算, 得到图像缩放倍数 变化量为 3。
步骤 205:对用户的一只手指在摄像设备的触摸屏中滑动的方向进行判断, 并判断出用户的一只手指在摄像设备的触摸屏中滑动的方向为预设的焦距变 长方向, 执行步骤 206;
其中, 预设的焦距变长方向可以为向上方向、 向下方向、 向左方向或向右 方向; 相对应地, 还存在预设的焦距变短方向, 预设的焦距变短方向可以为向 上方向、 向下方向、 向左方向或向右方向, 且如果预设的焦距变长方向为向上 方向,则预设焦距变短方向为向下方向,如果预设的焦距变长方向为向下方向, 则预设的焦距变短方向为向上方向, 如果预设的焦距变长方向为向左方向, 则 预设焦距变短方向为向右方向, 如果预设的焦距变长方向为向右方向, 则预设 的焦距变短方向为向左方向。
例如, 假设, 预设的焦距变长方向为向上方向, 对用户的一只手指在摄像 设备的触摸屏中滑动的方向为向上方向进行判断, 判断出用户的一只手指在摄 像设备的触摸屏中滑动的方向为预设的焦距变长方向, 执行如下步骤 206。
步骤 206: 计算摄像设备当前缩放图像的图像缩放倍数与摄像设备对应的 图像缩放倍数范围的上限之间的第一差值;
其中, 摄像设备内存储一个当前缩放图像的图像缩放倍数, 每当摄像设备 拍摄到一张图像时,摄像设备根据存储的当前缩放图像的图像缩放倍数对当前 拍摄的图像进行缩放。
例如, 假设, 摄像设备内存储的当前缩放图的图像缩放倍数为 5 , 以及摄 像设备对应的图像缩放倍数范围为大于或等于 2且小于或等于 15;所以计算摄 像设备当前缩放图像的图像缩放倍数 5与摄像设备对应的图像缩放倍数范围的 上限 15之间的第一差值为 10。
步骤 207: 比较第一差值与该图像缩放倍数变化量之间的大小, 如果第一 差值小于或等于该图像缩放倍数变化量, 则执行步骤 208, 如果第一差值大于 该图像缩放倍数, 则执行步骤 209;
步骤 208:确定图像缩放倍数为摄像设备对应的图像缩放倍数范围的上限, 执行步骤 210;
步骤 209: 将摄像设备当前缩放图像的图像缩放倍数与该图像缩放倍数变 换量取和运算, 得到图像缩放倍数;
例如, 比较第一差值 10与图像缩放倍数变化量 3之间的大小, 比较出第 一差值大于图像缩放倍数变化量, 将摄像设备当前缩放图像的图像缩放倍数 5 与该图像缩放倍数变化量 3取和运算, 得到图像缩放倍数为 8。
步骤 210: 以用户的一只手指接触摄像设备的触摸屏的位置为中心, 根据 该图像缩放倍数对摄像设备拍摄的图像进行缩放, 以实现变换摄像设备的焦 距。
具体地,将摄像设备存储的当前缩放图像的图像缩放倍数更新为该图像缩 放倍数, 以用户的一只手指接触摄像设备的触摸屏的位置为中心, 根据该图像 缩放倍数对摄像设备拍摄的图像进行放大, 以实现变长摄像设备的焦距。
例如, 根据该图像缩放倍数 8, 以用户的一只手指接触摄像设备的触摸屏 的位置为中心, 对摄像设备拍摄如图 5所示的图像进行放大, 得到如图 6所示 放大后的图像, 以实现变长摄像设备的焦距。
再如, 参见图 7, 用户的一只手指接触摄像设备的触摸屏的位置为位置 S, 以用户的一只手指接触摄像设备的触摸屏的位置为位置 S为中心,根据图像缩 放倍数对摄像设备拍摄的图像进行放大, 得到如图 8所示放大后的图像。
其中, 当在下一个周期采集到用户的一只手指当前在摄像设备的触摸屏中 的第一坐标时, 返回步骤 202开始执行; 如果监控出用户的一只手指离开摄像 设备的触摸屏, 则结束操作。
在本发明实施例中, 在摄像设备拍摄图像时, 如果监控出用户的一只手指 接触摄像设备的触摸屏并滑动时, 周期性地采集用户的一只手指在摄像设备的 触摸屏中滑动的距离和方向,根据用户的一只手指在摄像设备的触摸屏中滑动 的距离和方向获取图像缩放倍数, 以用户的一只手指接触摄像设备的触摸屏的 位置为中心, 根据该图像缩放倍数对摄像设备当前拍摄的图像进行缩放, 以实 现变换摄像设备的焦距。 如此, 用户可以使用拿摄像设备的手包括的一只手指 来接触并滑动摄像设备的触摸屏来实现变换摄像设备的焦距, 提高操作便捷 性。 实施例 3
本发明实施例提供了一种摄像设备变换焦距的方法。其中,在本实施例中, 用户在使用摄像设备拍摄图像时需要变短摄像设备的焦距, 用户可以通过本实 施例的方法将摄像设备的焦距变短。 参见图 9, 该方法可以包括:
步骤 301 : 在摄像设备拍摄图像时, 对摄像设备的触摸屏进行实时监控, 如果监控出用户的一只手指接触摄像设备的触摸屏时, 获取用户的一只手指接 触摄像设备的触摸屏的位置;
该步骤 301与步骤 201同理, 在此不再赘述。
其中, 在本实施例中, 假设用户的需要变短摄像设备的焦距, 则用户使用 自身的一只手指接触摄像设备的触摸屏并沿预设的焦距变短方向滑动。
相应地,当监控出用户的一只手指接触摄像设备的触摸屏时,执行如下 302 的步骤。
步骤 302: 如果监控出用户的一只手指在摄像设备的触摸屏上滑动时, 周 期性地采集用户的一只手指当前在摄像设备的触摸屏中的第一坐标;
该步骤 302与步骤 202同理, 在此不再赘述。
例如,参见图 10,用户的一只手指接触摄像设备的触摸屏并开始向下滑动; 相应地, 当监控出用户的一只手指接触到摄像设备的触摸屏时, 采集用户的一 只手指在摄像设备的触摸屏中的第二坐标为 (10, 10 ), 同时设置计时器进行 计时; 在用户的一只手指在摄像设备的触摸屏中滑动过程中, 当该计时器计时 的时间达到预设周期长度时, 采集用户的一只手指当前在摄像设备的触摸屏中 的第一坐标为 (10, 8 ), 同时设置该计时器重新开始计时。
步骤 303: 根据已存储的第二坐标和用户的一只手指当前在摄像设备的触 摸屏中的第一坐标, 计算用户的一只手指在摄像设备的触摸屏中滑动的距离以 及确定用户的一只手指在摄像设备的触摸屏中滑动的方向;
该步骤 303与步骤 203同理, 在此不再赘述。
例如, 根据已存储的第二坐标( 10, 10 )和用户的一只手指当前在摄像设 备的触摸屏中的第一坐标(10, 8 ), 计算出用户的一只手指在摄像设备的触摸 屏中滑动的距离为 2, 以及确定出用户的一只手指在摄像设备的触摸屏中滑动 的方向为向下方向; 将已存储的第二坐标更新为用户的一只手指当前在摄像设 备的触摸屏中的第一坐标(10, 8 )。
步骤 304: 根据用户的一只手指在摄像设备的触摸屏中滑动的距离计算图 像缩放倍数变化量;
该步骤 304与步骤 204同理, 在此不再赘述。
例如, 假设预设图像缩放系数为 1.5 , 将用户的一只手指在摄像设备的触 摸屏中滑动的距离 2与预设图像缩放系数 1.5做乘积运算, 得到图像缩放倍数 变化量为 3。
步骤 305:对用户的一只手指在摄像设备的触摸屏中滑动的方向进行判断, 并判断出用户的一只手指在摄像设备的触摸屏中滑动的方向为预设的焦距变 短方向, 执行步骤 306;
其中, 预设的焦距变短方向可以为向上方向、 向下方向、 向左方向或向右 方向; 相对应地, 还存在预设的焦距变长方向, 预设的焦距变长方向可以为向 上方向、 向下方向、 向左方向或向右方向, 且如果预设的焦距变短方向为向上 方向,则预设焦距变长方向为向下方向,如果预设的焦距变短方向为向下方向, 则预设的焦距变长方向为向上方向, 如果预设的焦距变短方向为向左方向, 则 预设焦距变长方向为向右方向, 如果预设的焦距变短方向为向右方向, 则预设 的焦距变长方向为向左方向。
例如, 假设, 预设的焦距变短方向为向下方向, 对用户的一只手指在摄像 设备的触摸屏中滑动的方向为向下方向进行判断, 判断出用户的一只手指在摄 像设备的触摸屏中滑动的方向为预设的焦距变短方向, 执行如下步骤 306。
步骤 306: 计算摄像设备当前缩放图像的图像缩放倍数与摄像设备对应的 图像缩放倍数范围的下限之间的第二差值;
该步骤 306与步骤 206同理, 在此不再赘述。
例如, 假设,摄像设备内存储的当前缩放图的图像缩放倍数为 10, 以及摄 像设备对应的图像缩放倍数范围为大于或等于 2且小于或等于 15;所以计算摄 像设备当前缩放图像的图像缩放倍数 10与摄像设备对应的图像缩放倍数范围 的下限 2之间的第二差值为 8。
步骤 307: 比较第二差值与该图像缩放倍数变化量之间的大小, 如果第二 差值小于或等于该图像缩放倍数变化量, 则执行步骤 308, 如果第二差值大于 该图像缩放倍数, 则执行步骤 309;
步骤 308:确定图像缩放倍数为摄像设备对应的图像缩放倍数范围的下限, 执行步骤 310;
步骤 309: 将摄像设备当前缩放图像的图像缩放倍数与该图像缩放倍数变 换量做差运算, 得到图像缩放倍数;
例如, 比较第二差值 8与图像缩放倍数变化量 3之间的大小, 比较出第二 差值大于图像缩放倍数变化量, 将摄像设备当前缩放图像的图像缩放倍数 10 与该图像缩放倍数变化量 3做差运算, 得到图像缩放倍数为 7。
步骤 310: 以用户的一只手指接触摄像设备的触摸屏的位置为中心, 根据 该图像缩放倍数对摄像设备拍摄的图像进行缩放, 以实现变换摄像设备的焦 距。
该步骤 310与步骤 210同理, 在此不再赘述。
例如, 以用户的一只手指接触摄像设备的触摸屏的位置为中心, 根据该图 像缩放倍数 7对摄像设备拍摄的如图 10所示的图像进行缩小, 得到如图 11所 示的缩小的图像, 以实现变短摄像设备的焦距。
其中, 以用户的一只指接触摄像设备的触摸屏的位置为中心, 根据该图像 缩放倍数对摄像设备拍摄的图像进行缩放, 可以具体为:
如果摄像设备当前拍摄的图像的边界没有与摄像设备的触摸屏的边界重 合的情况, 则直接以用户的一只指接触摄像设备的触摸屏的位置为中心, 根据 该图像缩放倍数对摄像设备拍摄的图像进行缩小。
例如,参见图 12,用户的一只手指接触摄像设备的触摸屏的位置为位置 S, 且其坐标为 (Xs, Ys ), 直接以用户的一只指接触摄像设备的触摸屏的位置 S 为中心, 根据该图像缩放倍数对摄像设备拍摄的图像进行缩小, 得到如图 13 所示的缩小的图像。
其中, 当摄像设备内部存在一个坐标系的坐标原点为摄像设备的触摸屏的 左上角时, 以用户的一只指接触摄像设备的触摸屏的位置为中心, 根据该图像 缩放倍数对摄像设备拍摄的图像进行缩放, 可以具体为:
如果摄像设备当前拍摄的图像的左边界与摄像设备的触摸屏的左边界重 合, 则设置用户的一只手指接触摄像设备的触摸屏的位置的横坐标为零, 以用 户的一只手指接触摄像设备的触摸屏的位置为中心,根据图像缩放倍数对摄像 设备当前拍摄的图像进行缩小;
例如,参见图 14,摄像设备当前拍摄的图像的左边界与摄像设备的触摸屏 的左边界重合,设置用户的一只手指接触摄像设备的触摸屏的位置 S的横坐标 Xs为 0, 参见图 15 , 得到用户的一只手指接触摄像设备的触摸屏的位置 S的 坐标 (Xs, Ys ) 为 (0, Ys ), 以用户的一只手指接触摄像设备的触摸屏的位 置 s为中心, 根据图像缩放倍数对摄像设备当前拍摄的图像进行缩小, 得到如 图 16所示缩小的图像。
如果摄像设备当前拍摄的图像的右边界与摄像设备的触摸屏的右边界重 合, 则设置用户的一只手指接触摄像设备的触摸屏的位置的横坐标为摄像设备 的触摸屏的宽度, 以用户的一只手指接触摄像设备的触摸屏的位置为中心, 根 据图像缩放倍数对摄像设备当前拍摄的图像进行缩小;
例如,参见图 17,摄像设备当前拍摄的图像的右边界与摄像设备的触摸屏 的右边界重合,设置用户的一只手指接触摄像设备的触摸屏的位置 S的横坐标 Xs为摄像设备的触摸屏的宽度 L, 参见图 18, 得到用户的一只手指接触摄像 设备的触摸屏的位置 S的坐标(Xs, Ys ) 为 (L, Ys ), 以用户的一只手指接 触摄像设备的触摸屏的位置 S为中心,根据图像缩放倍数对摄像设备当前拍摄 的图像进行缩小, 得到如图 19所示缩小的图像。
如果摄像设备当前拍摄的图像的上边界与摄像设备的触摸屏的上边界重 合, 则设置用户的一只手指接触摄像设备的触摸屏的位置的纵坐标为零, 以用 户的一只手指接触摄像设备的触摸屏的位置为中心,根据图像缩放倍数对摄像 设备当前拍摄的图像进行缩小;
例如,参见图 20,摄像设备当前拍摄的图像的上边界与摄像设备的触摸屏 的上边界重合,设置用户的一只手指接触摄像设备的触摸屏的位置 S的纵坐标 Ys为 0, 参见图 21 , 得到用户的一只手指接触摄像设备的触摸屏的位置 S的 坐标(Xs, Ys ) 为 (Xs, 0 ), 以用户的一只手指接触摄像设备的触摸屏的位 置 S为中心, 根据图像缩放倍数对摄像设备当前拍摄的图像进行缩小, 得到如 图 22所示缩小的图像。
如果摄像设备当前拍摄的图像的下边界与摄像设备的触摸屏的下边界重 合, 则设置用户的一只手指接触摄像设备的触摸屏的位置的纵坐标为摄像设备 的触摸屏的高度, 以用户的一只手指接触摄像设备的触摸屏的位置为中心, 根 据图像缩放倍数对摄像设备当前拍摄的图像进行缩小。
例如,参见图 23 ,摄像设备当前拍摄的图像的下边界与摄像设备的触摸屏 的下边界重合,设置用户的一只手指接触摄像设备的触摸屏的位置 S的纵坐标 Ys为摄像设备的触摸屏的高度 H, 参见图 24, 得到用户的一只手指接触摄像 设备的触摸屏的位置 S的坐标(Xs, Ys ) 为 (Xs, H ), 以用户的一只手指接 触摄像设备的触摸屏的位置 S为中心,根据图像缩放倍数对摄像设备当前拍摄 的图像进行缩小, 得到如图 25所示缩小的图像。
其中, 当摄像设备当前拍摄的图像的边界与摄像设备的触摸屏的边界重合 时, 如果直接以用户的一只手指接触摄像设备的触摸屏的位置为中心, 根据图 像缩放倍数对摄像设备当前拍摄的图像进行缩小,会在摄像设备的触摸屏中出 现黑色区域的问题, 而在本发明实施例中, 先对用户的一只手指接触摄像设备 的触摸屏的位置的坐标进行变换,再以变换后的用户的一只手指接触摄像设备 的触摸屏的位置为中心,根据图像缩放倍数对摄像设备当前拍摄的图像进行缩 小,使得摄像设备当前拍摄的图像中与摄像设备的触摸屏的边界重合的一边图 像不进行缩放, 从而避免产生上述问题。
其中, 当摄像设备内部存在一个坐标系的坐标原点为摄像设备的触摸屏的 右上角时, 以用户的一只指接触摄像设备的触摸屏的位置为中心, 根据该图像 缩放倍数对摄像设备拍摄的图像进行缩放, 可以具体为:
如果摄像设备当前拍摄的图像的左边界与摄像设备的触摸屏的左边界重 合, 则设置用户的一只手指接触摄像设备的触摸屏的位置的横坐标为摄像设备 的触摸屏的宽度, 以用户的一只手指接触摄像设备的触摸屏的位置为中心, 根 据图像缩放倍数对摄像设备当前拍摄的图像进行缩小;
例如,参见图 14,摄像设备当前拍摄的图像的左边界与摄像设备的触摸屏 的左边界重合,设置用户的一只手指接触摄像设备的触摸屏的位置 S的横坐标 Xs为摄像设备的触摸屏的宽度 L, 参见图 15 , 得到用户的一只手指接触摄像 设备的触摸屏的位置 S的坐标(Xs, Ys ) 为 (L, Ys ), 以用户的一只手指接 触摄像设备的触摸屏的位置 S为中心,根据图像缩放倍数对摄像设备当前拍摄 的图像进行缩小, 得到如图 16所示缩小的图像。 如果摄像设备当前拍摄的图像的右边界与摄像设备的触摸屏的右边界重 合, 则设置用户的一只手指接触摄像设备的触摸屏的位置的横坐标为零, 以用 户的一只手指接触摄像设备的触摸屏的位置为中心,根据图像缩放倍数对摄像 设备当前拍摄的图像进行缩小;
例如,参见图 17,摄像设备当前拍摄的图像的右边界与摄像设备的触摸屏 的右边界重合,设置用户的一只手指接触摄像设备的触摸屏的位置 S的横坐标 Xs为 0, 参见图 18, 得到用户的一只手指接触摄像设备的触摸屏的位置 S的 坐标 (Xs, Ys ) 为 (Xs, 0 ), 以用户的一只手指接触摄像设备的触摸屏的位 置 S为中心, 根据图像缩放倍数对摄像设备当前拍摄的图像进行缩小, 得到如 图 19所示缩小的图像。
如果摄像设备当前拍摄的图像的上边界与摄像设备的触摸屏的上边界重 合, 则设置用户的一只手指接触摄像设备的触摸屏的位置的纵坐标为零, 以用 户的一只手指接触摄像设备的触摸屏的位置为中心,根据图像缩放倍数对摄像 设备当前拍摄的图像进行缩小;
例如,参见图 20,摄像设备当前拍摄的图像的上边界与摄像设备的触摸屏 的上边界重合,设置用户的一只手指接触摄像设备的触摸屏的位置 S的纵坐标 Ys为 0, 参见图 21 , 得到用户的一只手指接触摄像设备的触摸屏的位置 S的 坐标 (Xs, Ys ) 为 (Xs, 0 ), 以用户的一只手指接触摄像设备的触摸屏的位 置 S为中心, 根据图像缩放倍数对摄像设备当前拍摄的图像进行缩小, 得到如 图 22所示缩小的图像。
如果摄像设备当前拍摄的图像的下边界与摄像设备的触摸屏的下边界重 合, 则设置用户的一只手指接触摄像设备的触摸屏的位置的纵坐标为摄像设备 的触摸屏的高度, 以用户的一只手指接触摄像设备的触摸屏的位置为中心, 根 据图像缩放倍数对摄像设备当前拍摄的图像进行缩小。
例如,参见图 23 ,摄像设备当前拍摄的图像的下边界与摄像设备的触摸屏 的下边界重合,设置用户的一只手指接触摄像设备的触摸屏的位置 S的纵坐标 Ys为摄像设备的触摸屏的高度 H, 参见图 24, 得到用户的一只手指接触摄像 设备的触摸屏的位置 S的坐标(Xs, Ys ) 为 (Xs, H ), 以用户的一只手指接 触摄像设备的触摸屏的位置 S为中心,根据图像缩放倍数对摄像设备当前拍摄 的图像进行缩小, 得到如图 25所示缩小的图像。
其中, 当摄像设备内部存在一个坐标系的坐标原点为摄像设备的触摸屏的 左下角时, 以用户的一只指接触摄像设备的触摸屏的位置为中心, 根据该图像 缩放倍数对摄像设备拍摄的图像进行缩放, 可以具体为:
如果摄像设备当前拍摄的图像的左边界与摄像设备的触摸屏的左边界重 合, 则设置用户的一只手指接触摄像设备的触摸屏的位置的横坐标为零, 以用 户的一只手指接触摄像设备的触摸屏的位置为中心,根据图像缩放倍数对摄像 设备当前拍摄的图像进行缩小;
例如,参见图 14,摄像设备当前拍摄的图像的左边界与摄像设备的触摸屏 的左边界重合,设置用户的一只手指接触摄像设备的触摸屏的位置 S的横坐标 Xs为 0, 参见图 15 , 得到用户的一只手指接触摄像设备的触摸屏的位置 S的 坐标 (Xs, Ys ) 为 (0, Ys ), 以用户的一只手指接触摄像设备的触摸屏的位 置 s为中心, 根据图像缩放倍数对摄像设备当前拍摄的图像进行缩小, 得到如 图 16所示缩小的图像。
如果摄像设备当前拍摄的图像的右边界与摄像设备的触摸屏的右边界重 合, 则设置用户的一只手指接触摄像设备的触摸屏的位置的横坐标为摄像设备 的触摸屏的宽度, 以用户的一只手指接触摄像设备的触摸屏的位置为中心, 根 据图像缩放倍数对摄像设备当前拍摄的图像进行缩小;
例如,参见图 17,摄像设备当前拍摄的图像的右边界与摄像设备的触摸屏 的右边界重合,设置用户的一只手指接触摄像设备的触摸屏的位置 S的横坐标 Xs为摄像设备的触摸屏的宽度 L, 参见图 18, 得到用户的一只手指接触摄像 设备的触摸屏的位置 S的坐标(Xs, Ys ) 为 (L, Ys ), 以用户的一只手指接 触摄像设备的触摸屏的位置 S为中心,根据图像缩放倍数对摄像设备当前拍摄 的图像进行缩小, 得到如图 19所示缩小的图像。
如果摄像设备当前拍摄的图像的上边界与摄像设备的触摸屏的上边界重 合, 则设置用户的一只手指接触摄像设备的触摸屏的位置的纵坐标为摄像设备 的触摸屏的高度, 以用户的一只手指接触摄像设备的触摸屏的位置为中心, 根 据图像缩放倍数对摄像设备当前拍摄的图像进行缩小;
例如,参见图 20,摄像设备当前拍摄的图像的上边界与摄像设备的触摸屏 的上边界重合,设置用户的一只手指接触摄像设备的触摸屏的位置 S的纵坐标 Ys为摄像设备的触摸屏的高度 H, 参见图 21 , 得到用户的一只手指接触摄像 设备的触摸屏的位置 S 的坐标(Xs, Ys ) 为 (Xs, 0 ), 以用户的一只手指接 触摄像设备的触摸屏的位置 S为中心,根据图像缩放倍数对摄像设备当前拍摄 的图像进行缩小, 得到如图 22所示缩小的图像。
如果摄像设备当前拍摄的图像的下边界与摄像设备的触摸屏的下边界重 合, 则设置用户的一只手指接触摄像设备的触摸屏的位置的纵坐标为零, 以用 户的一只手指接触摄像设备的触摸屏的位置为中心,根据图像缩放倍数对摄像 设备当前拍摄的图像进行缩小。
例如,参见图 23 ,摄像设备当前拍摄的图像的下边界与摄像设备的触摸屏 的下边界重合,设置用户的一只手指接触摄像设备的触摸屏的位置 S的纵坐标 Ys为 0, 参见图 24, 得到用户的一只手指接触摄像设备的触摸屏的位置 S的 坐标(Xs, Ys ) 为 (Xs, 0 ), 以用户的一只手指接触摄像设备的触摸屏的位 置 S为中心, 根据图像缩放倍数对摄像设备当前拍摄的图像进行缩小, 得到如 图 25所示缩小的图像。
其中, 当摄像设备内部存在一个坐标系的坐标原点为摄像设备的触摸屏的 右下角时, 以用户的一只指接触摄像设备的触摸屏的位置为中心, 根据该图像 缩放倍数对摄像设备拍摄的图像进行缩放, 可以具体为:
如果摄像设备当前拍摄的图像的左边界与摄像设备的触摸屏的左边界重 合, 则设置用户的一只手指接触摄像设备的触摸屏的位置的横坐标为摄像设备 的触摸屏的宽度, 以用户的一只手指接触摄像设备的触摸屏的位置为中心, 根 据图像缩放倍数对摄像设备当前拍摄的图像进行缩小;
例如,参见图 14,摄像设备当前拍摄的图像的左边界与摄像设备的触摸屏 的左边界重合,设置用户的一只手指接触摄像设备的触摸屏的位置 S的横坐标 Xs为摄像设备的触摸屏的宽度 L, 参见图 15 , 得到用户的一只手指接触摄像 设备的触摸屏的位置 S的坐标(Xs, Ys ) 为 (L, Ys ), 以用户的一只手指接 触摄像设备的触摸屏的位置 S为中心,根据图像缩放倍数对摄像设备当前拍摄 的图像进行缩小, 得到如图 16所示缩小的图像。
如果摄像设备当前拍摄的图像的右边界与摄像设备的触摸屏的右边界重 合, 则设置用户的一只手指接触摄像设备的触摸屏的位置的横坐标为零, 以用 户的一只手指接触摄像设备的触摸屏的位置为中心,根据图像缩放倍数对摄像 设备当前拍摄的图像进行缩小;
例如,参见图 17,摄像设备当前拍摄的图像的右边界与摄像设备的触摸屏 的右边界重合,设置用户的一只手指接触摄像设备的触摸屏的位置 S的横坐标 Xs为 0, 参见图 18, 得到用户的一只手指接触摄像设备的触摸屏的位置 S的 坐标(Xs, Ys ) 为 (Xs, 0 ), 以用户的一只手指接触摄像设备的触摸屏的位 置 S为中心, 根据图像缩放倍数对摄像设备当前拍摄的图像进行缩小, 得到如 图 19所示缩小的图像。
如果摄像设备当前拍摄的图像的上边界与摄像设备的触摸屏的上边界重 合, 则设置用户的一只手指接触摄像设备的触摸屏的位置的纵坐标为摄像设备 的触摸屏的高度, 以用户的一只手指接触摄像设备的触摸屏的位置为中心, 根 据图像缩放倍数对摄像设备当前拍摄的图像进行缩小;
例如,参见图 20,摄像设备当前拍摄的图像的上边界与摄像设备的触摸屏 的上边界重合,设置用户的一只手指接触摄像设备的触摸屏的位置 S的纵坐标 Ys为摄像设备的触摸屏的高度 H, 参见图 21 , 得到用户的一只手指接触摄像 设备的触摸屏的位置 S的坐标(Xs, Ys ) 为 (Xs, H ), 以用户的一只手指接 触摄像设备的触摸屏的位置 S为中心,根据图像缩放倍数对摄像设备当前拍摄 的图像进行缩小, 得到如图 22所示缩小的图像。
如果摄像设备当前拍摄的图像的下边界与摄像设备的触摸屏的下边界重 合, 则设置用户的一只手指接触摄像设备的触摸屏的位置的纵坐标为零, 以用 户的一只手指接触摄像设备的触摸屏的位置为中心,根据图像缩放倍数对摄像 设备当前拍摄的图像进行缩小。
例如,参见图 23 ,摄像设备当前拍摄的图像的下边界与摄像设备的触摸屏 的下边界重合,设置用户的一只手指接触摄像设备的触摸屏的位置 S的纵坐标 Ys为 0, 参见图 24, 得到用户的一只手指接触摄像设备的触摸屏的位置 S的 坐标 (Xs , Ys ) 为 (Xs , 0 ), 以用户的一只手指接触摄像设备的触摸屏的位 置 S为中心, 根据图像缩放倍数对摄像设备当前拍摄的图像进行缩小, 得到如 图 25所示缩小的图像。
其中, 当在下一个周期采集到用户的一只手指当前在摄像设备的触摸屏中 的第一坐标时, 返回步骤 302开始执行; 如果监控出用户的一只手指离开摄像 设备的触摸屏, 则结束操作。
在本发明实施例中, 在摄像设备拍摄图像时, 如果监控出用户的一只手指 接触摄像设备的触摸屏并滑动时, 周期性地采集用户的一只手指在摄像设备的 触摸屏中滑动的距离和方向,根据用户的一只手指在摄像设备的触摸屏中滑动 的距离和方向获取图像缩放倍数, 以用户的一只手指接触摄像设备的触摸屏的 位置为中心, 根据该图像缩放倍数对摄像设备当前拍摄的图像进行缩放, 以实 现变换摄像设备的焦距。 如此, 用户可以使用拿摄像设备的手包括的一只手指 来接触并滑动摄像设备的触摸屏来实现变换摄像设备的焦距, 提高操作便捷 性。 实施例 4
如图 10所示, 本发明实施例提供了一种摄像设备变换焦距的装置, 包括: 第一获取模块 401 , 用于获取用户的一只手指接触摄像设备的触摸屏的位 置;
第二获取模块 402, 用于根据所述用户的一只手指在所述摄像设备的触摸 屏中滑动的距离和方向获取图像缩放倍数;
缩放模块 403 , 用于以用户的一只手指接触摄像设备的触摸屏的位置为中 心, 根据所述图像缩放倍数对所述摄像设备当前拍摄的图像进行缩放, 以实现 变换所述摄像设备的焦距。
其中, 第一获取模块 402根据所述距离确定所述图像的缩放倍数变化量, 缩放模块 403根据所述方向确定所述图像是放大还是缩小。
进一步地, 所述装置还包括:
采集模块, 用于检测到用户的一只手指接触所述摄像设备的触摸屏并滑动 时, 周期性地采集所述用户的一只手指在所述摄像设备的触摸屏中滑动的距离 和方向。
其中, 所述采集模块包括:
采集单元, 用于周期性地采集所述用户的一只手指当前在所述摄像设备的 触摸屏中的第一坐标;
计算确定单元, 用于根据已存储的第二坐标和所述用户的一只手指当前在 所述摄像设备的触摸屏中的第一坐标,计算所述用户的一只手指在所述摄像设 备的触摸屏中滑动的距离以及确定所述用户的一只手指在所述摄像设备的触 摸屏中滑动的方向;
其中, 所述第二坐标为当前周期之前最近一个周期采集所述用户的一只手 指在所述摄像设备的触摸屏中的坐标或所述用户的一只手指刚接触所述摄像 设备的触摸屏时所述用户的一只手指在所述摄像设备的触摸屏中的坐标。
进一步地, 所述装置还包括:
更新模块, 用于将已存储的所述第二坐标更新为所述用户的一只手指当前 在所述摄像设备的触摸屏中的第一坐标。 其中, 所述第一获取模块 402包括:
第一计算单元, 用于根据所述用户的一只手指在所述摄像设备的触摸屏中 滑动的距离计算图像缩放倍数变化量;
第二计算单元, 用于如果所述用户的一只手指在所述摄像设备的触摸屏中 滑动的方向为预设的焦距变长方向,计算所述摄像设备当前缩放图像的图像缩 放倍数与所述摄像设备对应的图像缩放倍数范围的上限之间的第一差值; 第一确定单元,用于如果所述第一差值小于或等于所述图像缩放倍数变化 量, 则确定图像缩放倍数为所述摄像设备对应的图像缩放倍数范围的上限; 第一运算单元, 用于如果所述第一差值大于所述图像缩放倍数变化量, 则 将所述摄像设备当前缩放图像的图像缩放倍数与所述图像缩放倍数变换量取 和运算, 得到图像缩放倍数。
其中, 所述第一获取模块 402包括:
第一计算单元, 用于根据所述用户的一只手指在所述摄像设备的触摸屏中 滑动的距离计算图像缩放倍数变化量;
第三计算单元, 用于如果所述用户的一只手指在所述摄像设备的触摸屏中 滑动的方向为预设的焦距变短方向,计算所述摄像设备当前缩放图像的图像缩 放倍数与所述摄像设备对应的图像缩放倍数范围的下限之间的第二差值; 第二确定单元, 用于如果所述第二差值小于或等于所述图像缩放倍数变化 量, 则确定图像缩放倍数为所述摄像设备对应的图像缩放倍数范围的下限; 第二运算单元, 用于如果所述第二差值大于所述图像缩放倍数变化量, 则 将所述摄像设备当前缩放图像的图像缩放倍数与所述图像缩放倍数变换量做 差运算, 得到图像缩放倍数。
所述缩放模块包括:
第一设置单元, 用于如果所述摄像设备当前拍摄的图像的左边界与所述摄 像设备的触摸屏的左边界重合或所述摄像设备当前拍摄的图像的右边界与所 述摄像设备的触摸屏的右边界重合, 则设置所述用户的一只手指接触所述摄像 设备的触摸屏的位置的横坐标为零或所述摄像设备的触摸屏的宽度; 第二设置单元, 用于如果所述摄像设备当前拍摄的图像的上边界与所述摄 像设备的触摸屏的上边界重合或所述摄像设备当前拍摄的图像的下边界与所 述摄像设备的触摸屏的下边界重合, 则设置所述用户的一只手指接触所述摄像 设备的触摸屏的位置的纵坐标为零或所述摄像设备的触摸屏的高度;
缩小单元, 用于以所述用户的一只手指接触所述摄像设备的触摸屏的位置 为中心, 根据所述图像缩放倍数对所述摄像设备当前拍摄的图像进行缩小。
所述第一计算单元, 具体用于将所述用户的一只手指在所述摄像设备的触 摸屏中滑动的距离与预设的图像缩放系数做乘积运算,得到图像缩放倍数变化 量。
在本发明实施例中, 在摄像设备拍摄图像时, 如果用户的一只手指接触摄 像设备的触摸屏并滑动时, 周期性地采集用户的一只手指在摄像设备的触摸屏 中滑动的距离和方向,根据用户的一只手指在摄像设备的触摸屏中滑动的距离 和方向获取图像缩放倍数, 以用户的一只手指接触摄像设备的触摸屏的位置为 中心, 根据该图像缩放倍数对摄像设备当前拍摄的图像进行缩放, 以实现变换 摄像设备的焦距。 如此, 用户可以使用拿摄像设备的手包括的一只手指来接触 并滑动摄像设备的触摸屏来实现变换摄像设备的焦距, 提高操作便捷性。 图 27为本发明实施例所涉及的摄像设备的结构示意图, 该终端设备可以 用于实施上述实施例中提供的摄像设备变换焦距的方法。 具体来讲:
摄像设备 2700可以包括 RF ( Radio Frequency, 射频 ) 电路 110、 包括有 一个或一个以上计算机可读存储介质的存储器 120、 输入单元 130、 显示单元 140、 传感器 150、 音频电路 160、 WiFi(wireless fidelity, 无线保真)模块 170、 包括有一个或者一个以上处理核心的处理器 180、 以及电源 190等部件。 本领 域技术人员可以理解, 图 27 中示出的终端设备结构并不构成对终端设备的限 定, 可以包括比图示更多或更少的部件, 或者组合某些部件, 或者不同的部件 布置。 其中:
RF电路 110可用于收发信息或通话过程中, 信号的接收和发送, 特别地, 将基站的下行信息接收后, 交由一个或者一个以上处理器 180处理; 另外, 将 涉及上行的数据发送给基站。 通常, RF电路 110包括但不限于天线、 至少一 个放大器、 调谐器、 一个或多个振荡器、 用户身份模块(SIM )卡、 收发信机、 耦合器、 LNA ( Low Noise Amplifier, 低噪声放大器)、 双工器等。 此外, RF 电路 110还可以通过无线通信与网络和其他设备通信。 所述无线通信可以使用 任一通信标准或协议, 包括但不限于 GSM(Global System of Mobile communication, 全球移动通讯***)、 GPRS (General Packet Radio Service , 通 用分组无线服务)、 CDMA(Code Division Multiple Access , 码分多址)、 WCDMA(Wideband Code Division Multiple Access, 宽带码分多址)、 LTE(Long Term Evolution,长期演进)、 电子邮件、 SMS (Short Messaging Service, 短消息服 务)等。
存储器 120可用于存储软件程序以及模块, 处理器 180通过运行存储在存 储器 120的软件程序以及模块, 从而执行各种功能应用以及数据处理。 存储器 120可主要包括存储程序区和存储数据区,其中,存储程序区可存储操作***、 至少一个功能所需的应用程序(比如声音播放功能、 图像播放功能等)等; 存 储数据区可存储根据摄像设备 2700的使用所创建的数据(比如音频数据、 电 话本等)等。 此外, 存储器 120可以包括高速随机存取存储器, 还可以包括非 易失性存储器, 例如至少一个磁盘存储器件、 闪存器件、 或其他易失性固态存 储器件。 相应地, 存储器 120还可以包括存储器控制器, 以提供处理器 180对 存储器 120的访问。
显示单元 140可用于显示由用户输入的信息或提供给用户的信息以及摄像 设备 2700的各种图形用户接口, 这些图形用户接口可以由图形、 文本、 图标、 视频和其任意组合来构成。 显示单元 140可包括显示面板 141 , 可选的, 可以 采用 LCD(Liquid Crystal Display, 液晶显示器)、 OLED(Organic Light-Emitting Diode,有机发光二极管)等形式来配置显示面板 141。
处理器 180是摄像设备 2700的控制中心, 利用各种接口和线路连接整个 手机的各个部分, 通过运行或执行存储在存储器 120内的软件程序和 /或模块, 以及调用存储在存储器 120内的数据, 执行摄像设备 2700的各种功能和处理 数据, 从而对手机进行整体监控。 可选的, 处理器 180可包括一个或多个处理 核心; 优选的, 处理器 180可集成应用处理器和调制解调处理器, 其中, 应用 处理器主要处理操作***、 用户界面和应用程序等, 调制解调处理器主要处理 无线通信。可以理解的是,上述调制解调处理器也可以不集成到处理器 180中。
具体在本实施例中, 摄像设备的显示单元是触摸屏显示器, 摄像设备还包 括有存储器, 以及一个或者一个以上的程序指令, 其中一个或者一个以上程序 指令存储于存储器中, 且经配置以由一个或者一个以上处理器执行, 所述一个 或者一个以上程序指令包含:
位置获取指令, 用于获取用户的一只手指接触所述摄像设备的触摸屏的位 置;
缩放获取指令, 用于根据所述用户的所述一只手指在摄像设备的触摸屏中 滑动的距离和方向获取图像缩放倍数;
缩放指令, 用于以所述用户的一只手指接触所述摄像设备的触摸屏的位置 为中心, 根据所述图像缩放倍数对所述摄像设备当前拍摄的图像进行缩放, 以 实现变换所述摄像设备的焦距。
当然, 该存储器中还存储有用于执行上述实施例 1、 2和 3中任一个实施 例的程序指令, 本发明实施例在此不再赘述。
本领域普通技术人员可以理解实现上述实施例的全部或部分步骤可以通 过硬件来完成, 也可以通过程序来指令相关的硬件完成, 所述的程序可以存储 于一种计算机可读存储介质中, 上述提到的存储介质可以是只读存储器, 磁盘 或光盘等。 以上所述仅为本发明的较佳实施例, 并不用以限制本发明, 凡在本发明的 精神和原则之内, 所作的任何修改、 等同替换、 改进等, 均应包含在本发明的 保护范围之内。

Claims

权 利 要 求 书
1、 一种摄像设备变换焦距的方法, 其特征在于, 所述方法包括:
获取用户的一只手指接触所述摄像设备的触摸屏的位置;
根据所述用户的所述一只手指在摄像设备的触摸屏中滑动的距离和方向获 取图像缩放倍数;
以所述用户的一只手指接触所述摄像设备的触摸屏的位置为中心, 根据所 述图像缩放倍数对所述摄像设备当前拍摄的图像进行缩放, 以实现变换所述摄 像设备的焦距。
2、 如权利要求 1所述的方法, 其特征在于, 根据所述距离确定所述图像的 缩放倍数变化量, 根据所述方向确定所述图像是放大还是缩小。
3、 如权利要求 1或 2所述的方法, 其特征在于, 在根据用户的一只手指在 摄像设备的触摸屏中滑动的距离和方向获取图像缩放倍数的步骤之前, 还包括: 检测到用户的一只手指接触所述摄像设备的触摸屏并滑动时, 周期性地采 集所述用户的一只手指在所述摄像设备的触摸屏中滑动的距离和方向。
4、 如权利要求 3所述的方法, 其特征在于, 所述周期性地采集所述用户的 一只手指在所述摄像设备的触摸屏中滑动的距离和方向, 包括:
周期性地采集所述用户的一只手指当前在所述摄像设备的触摸屏中的第一 坐标;
根据已存储的第二坐标和所述用户的一只手指当前在所述摄像设备的触摸 屏中的第一坐标, 计算所述用户的一只手指在所述摄像设备的触摸屏中滑动的 距离以及确定所述用户的一只手指在所述摄像设备的触摸屏中滑动的方向; 其中, 所述第二坐标为当前周期之前最近一个周期采集所述用户的一只手 指在所述摄像设备的触摸屏中的坐标或所述用户的一只手指刚接触所述摄像设 备的触摸屏时所述用户的一只手指在所述摄像设备的触摸屏中的坐标。
5、 如权利要求 4所述的方法, 其特征在于, 所述计算所述用户的一只手指 在所述摄像设备的触摸屏中滑动的距离以及确定所述用户的一只手指在所述摄 像设备的触摸屏中滑动的方向之后, 还包括:
将已存储的所述第二坐标更新为所述用户的一只手指当前在所述摄像设备 的触摸屏中的第一坐标。
6、 如权利要求 1或 2所述的方法, 其特征在于, 所述根据所述用户的一只 手指在所述摄像设备的触摸屏中滑动的距离和方向获取图像缩放倍数, 包括: 根据所述用户的一只手指在所述摄像设备的触摸屏中滑动的距离计算图像 缩放倍数变化量;
如果所述用户的一只手指在所述摄像设备的触摸屏中滑动的方向为预设的 焦距变长方向, 计算所述摄像设备当前缩放图像的图像缩放倍数与所述摄像设 备对应的图像缩放倍数范围的上限之间的第一差值;
如果所述第一差值小于或等于所述图像缩放倍数变化量, 则确定图像缩放 倍数为所述摄像设备对应的图像缩放倍数范围的上限;
如果所述第一差值大于所述图像缩放倍数变化量, 则将所述摄像设备当前 缩放图像的图像缩放倍数与所述图像缩放倍数变换量取和运算, 得到图像缩放 倍数。
7、 如权利要求 1或 2所述的方法, 其特征在于, 所述根据所述用户的一只 手指在所述摄像设备的触摸屏中滑动的距离和方向获取图像缩放倍数, 包括: 根据所述用户的一只手指在所述摄像设备的触摸屏中滑动的距离计算图像 缩放倍数变化量; 如果所述用户的一只手指在所述摄像设备的触摸屏中滑动的方向为预设的 焦距变短方向, 计算所述摄像设备当前缩放图像的图像缩放倍数与所述摄像设 备对应的图像缩放倍数范围的下限之间的第二差值;
如果所述第二差值小于或等于所述图像缩放倍数变化量, 则确定图像缩放 倍数为所述摄像设备对应的图像缩放倍数范围的下限;
如果所述第二差值大于所述图像缩放倍数变化量, 则将所述摄像设备当前 缩放图像的图像缩放倍数与所述图像缩放倍数变换量做差运算, 得到图像缩放 倍数。
8、 如权利要求 7所述的方法, 其特征在于, 所述以所述用户的一只手指接 触所述摄像设备的触摸屏的位置为中心, 根据所述图像缩放倍数对所述摄像设 备当前拍摄的图像进行缩放, 包括:
如果所述摄像设备当前拍摄的图像的左边界与所述摄像设备的触摸屏的左 边界重合或所述摄像设备当前拍摄的图像的右边界与所述摄像设备的触摸屏的 右边界重合, 则设置所述用户的一只手指接触所述摄像设备的触摸屏的位置的 横坐标为零或所述摄像设备的触摸屏的宽度;
如果所述摄像设备当前拍摄的图像的上边界与所述摄像设备的触摸屏的上 边界重合或所述摄像设备当前拍摄的图像的下边界与所述摄像设备的触摸屏的 下边界重合, 则设置所述用户的一只手指接触所述摄像设备的触摸屏的位置的 纵坐标为零或所述摄像设备的触摸屏的高度;
以所述用户的一只手指接触所述摄像设备的触摸屏的位置为中心, 根据所 述图像缩放倍数对所述摄像设备当前拍摄的图像进行缩小。
9、 如权利要求 6或 7所述的方法, 其特征在于, 所述根据所述用户的一只 手指在所述摄像设备的触摸屏中滑动的距离计算图像缩放倍数变化量, 包括: 将所述用户的一只手指在所述摄像设备的触摸屏中滑动的距离与预设的图 像缩放系数做乘积运算, 得到图像缩放倍数变化量。
10、 一种摄像设备变换焦距的装置, 其特征在于, 所述装置包括: 第一获取模块, 用于获取用户的一只手指接触所述摄像设备的触摸屏的位 置;
第二获取模块, 用于根据所述用户的一只手指在摄像设备的触摸屏中滑动 的距离和方向获取图像缩放倍数;
缩放模块, 用于以所述用户的一只手指接触所述摄像设备的触摸屏的位置 为中心, 根据所述图像缩放倍数对所述摄像设备当前拍摄的图像进行缩放, 以 实现变换所述摄像设备的焦距。
11、 如权利要求 10所述的装置, 其特征在于,
所述第一获取模块根据所述距离确定所述图像的缩放倍数变化量, 所述缩 放模块根据所述方向确定所述图像是放大还是缩小。
12、 如权利要求 10或 11所述的装置, 其特征在于, 所述装置还包括: 采集模块, 用于检测到用户的一只手指接触所述摄像设备的触摸屏并滑动 时, 周期性地采集所述用户的一只手指在所述摄像设备的触摸屏中滑动的距离 和方向。
13、 如权利要求 12所述的装置, 其特征在于, 所述采集模块包括: 采集单元, 用于周期性地采集所述用户的一只手指当前在所述摄像设备的 触摸屏中的第一坐标;
计算确定单元, 用于根据已存储的第二坐标和所述用户的一只手指当前在 所述摄像设备的触摸屏中的第一坐标, 计算所述用户的一只手指在所述摄像设 备的触摸屏中滑动的距离以及确定所述用户的一只手指在所述摄像设备的触摸 屏中滑动的方向; 其中, 所述第二坐标为当前周期之前最近一个周期采集所述用户的一只手 指在所述摄像设备的触摸屏中的坐标或所述用户的一只手指刚接触所述摄像设 备的触摸屏时所述用户的一只手指在所述摄像设备的触摸屏中的坐标。
14、 如权利要求 13所述的装置, 其特征在于, 所述装置还包括: 更新模块, 用于将已存储的所述第二坐标更新为所述用户的一只手指当前 在所述摄像设备的触摸屏中的第一坐标。
15、 如权利要求 10或 11所述的装置, 其特征在于, 所述第一获取模块包 括:
第一计算单元, 用于根据所述用户的一只手指在所述摄像设备的触摸屏中 滑动的距离计算图像缩放倍数变化量;
第二计算单元, 用于如果所述用户的一只手指在所述摄像设备的触摸屏中 滑动的方向为预设的焦距变长方向, 计算所述摄像设备当前缩放图像的图像缩 放倍数与所述摄像设备对应的图像缩放倍数范围的上限之间的第一差值;
第一确定单元, 用于如果所述第一差值小于或等于所述图像缩放倍数变化 量, 则确定图像缩放倍数为所述摄像设备对应的图像缩放倍数范围的上限; 第一运算单元, 用于如果所述第一差值大于所述图像缩放倍数变化量, 则 将所述摄像设备当前缩放图像的图像缩放倍数与所述图像缩放倍数变换量取和 运算, 得到图像缩放倍数。
16、 如权利要求 10或 11所述的装置, 其特征在于, 所述第一获取模块包 括:
第一计算单元, 用于根据所述用户的一只手指在所述摄像设备的触摸屏中 滑动的距离计算图像缩放倍数变化量;
第三计算单元, 用于如果所述用户的一只手指在所述摄像设备的触摸屏中 滑动的方向为预设的焦距变短方向, 计算所述摄像设备当前缩放图像的图像缩 放倍数与所述摄像设备对应的图像缩放倍数范围的下限之间的第二差值;
第二确定单元, 用于如果所述第二差值小于或等于所述图像缩放倍数变化 量, 则确定图像缩放倍数为所述摄像设备对应的图像缩放倍数范围的下限; 第二运算单元, 用于如果所述第二差值大于所述图像缩放倍数变化量, 则 将所述摄像设备当前缩放图像的图像缩放倍数与所述图像缩放倍数变换量做差 运算, 得到图像缩放倍数。
17、 如权利要求 10所述的装置, 其特征在于, 所述缩放模块包括: 第一设置单元, 用于如果所述摄像设备当前拍摄的图像的左边界与所述摄 像设备的触摸屏的左边界重合或所述摄像设备当前拍摄的图像的右边界与所述 摄像设备的触摸屏的右边界重合, 则设置所述用户的一只手指接触所述摄像设 备的触摸屏的位置的横坐标为零或所述摄像设备的触摸屏的宽度;
第二设置单元, 用于如果所述摄像设备当前拍摄的图像的上边界与所述摄 像设备的触摸屏的上边界重合或所述摄像设备当前拍摄的图像的下边界与所述 摄像设备的触摸屏的下边界重合, 则设置所述用户的一只手指接触所述摄像设 备的触摸屏的位置的纵坐标为零或所述摄像设备的触摸屏的高度;
缩小单元, 用于以所述用户的一只手指接触所述摄像设备的触摸屏的位置 为中心, 根据所述图像缩放倍数对所述摄像设备当前拍摄的图像进行缩小。
18、 如权利要求 15或 16所述的装置, 其特征在于,
所述第一计算单元, 具体用于将所述用户的一只手指在所述摄像设备的触 摸屏中滑动的距离与预设的图像缩放系数做乘积运算, 得到图像缩放倍数变化 量。 种摄像设备, 其特征在于, 所述摄像设备包括有存储器, 一个或者 一个以上处理器, 以及一个或者一个以上的程序指令, 其中一个或者一个以上 程序指令存储于存储器中, 且经配置以由所述一个或者一个以上处理器执行, 所述一个或者一个以上程序指令包括: 位置获取指令, 用于获取用户的一只手指接触所述摄像设备的触摸屏的位 置;
缩放获取指令, 用于根据所述用户的所述一只手指在摄像设备的触摸屏中 滑动的距离和方向获取图像缩放倍数;
缩放指令, 用于以所述用户的一只手指接触所述摄像设备的触摸屏的位置 为中心, 根据所述图像缩放倍数对所述摄像设备当前拍摄的图像进行缩放, 以 实现变换所述摄像设备的焦距。
PCT/CN2013/084954 2012-10-10 2013-10-10 一种摄像设备变换焦距的方法、装置和摄像设备 WO2014056440A1 (zh)

Priority Applications (2)

Application Number Priority Date Filing Date Title
US14/678,902 US9883094B2 (en) 2012-10-10 2015-04-03 Method and apparatus for varying focal length of camera device, and camera device
US15/847,502 US10341569B2 (en) 2012-10-10 2017-12-19 Method and apparatus for varying focal length of camera device, and camera device

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201210382113.3 2012-10-10
CN201210382113.3A CN103729128B (zh) 2012-10-10 2012-10-10 一种摄像设备变换焦距的方法及装置

Related Child Applications (1)

Application Number Title Priority Date Filing Date
US14/678,902 Continuation US9883094B2 (en) 2012-10-10 2015-04-03 Method and apparatus for varying focal length of camera device, and camera device

Publications (1)

Publication Number Publication Date
WO2014056440A1 true WO2014056440A1 (zh) 2014-04-17

Family

ID=50453223

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2013/084954 WO2014056440A1 (zh) 2012-10-10 2013-10-10 一种摄像设备变换焦距的方法、装置和摄像设备

Country Status (3)

Country Link
US (2) US9883094B2 (zh)
CN (1) CN103729128B (zh)
WO (1) WO2014056440A1 (zh)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2016056177A1 (en) 2014-10-10 2016-04-14 Canon Kabushiki Kaisha Control apparatus, method of controlling the same and program
US20170310882A1 (en) * 2014-10-10 2017-10-26 Canon Kabushiki Kaisha Control apparatus, method of controlling the same and program

Families Citing this family (27)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
USD749085S1 (en) * 2011-08-23 2016-02-09 Sony Corporation Display panel or screen with graphical user interface
USD783675S1 (en) * 2013-11-18 2017-04-11 Mitsubishi Electric Corporation Information display for an automotive vehicle with a computer generated icon
EP3159722A1 (en) * 2014-07-30 2017-04-26 Yulong Computer Telecommunication Scientific (Shenzhen) Co., Ltd. Focusing method and focusing apparatus
CN104461288B (zh) * 2014-11-28 2017-11-10 广东欧珀移动通信有限公司 使用不同视场角摄像头拍照的方法和终端
US9784994B2 (en) * 2014-12-06 2017-10-10 Winthrop Childers Device interaction for correcting presbyopia
CN104767935A (zh) * 2015-03-25 2015-07-08 深圳市金立通信设备有限公司 一种终端
CN104767936A (zh) * 2015-03-25 2015-07-08 深圳市金立通信设备有限公司 一种调节焦距的方法
WO2016191938A1 (zh) * 2015-05-29 2016-12-08 华为技术有限公司 通过触控板调节移动终端拍照焦距的方法和移动终端
CN105049640B (zh) * 2015-08-31 2018-05-08 努比亚技术有限公司 一种实现调焦的装置和方法
CN105120179B (zh) * 2015-09-22 2019-01-11 三星电子(中国)研发中心 一种拍照方法和装置
USD855676S1 (en) * 2016-01-16 2019-08-06 Hella Aglaia Mobile Vision Gmbh Stereo camera
CN106101532B (zh) * 2016-06-13 2019-12-10 惠州Tcl移动通信有限公司 基于移动终端侧边多功能按键调整相机焦距的方法及***
USD861030S1 (en) * 2016-08-30 2019-09-24 Canon Kabushiki Kaisha Display screen with animated graphical user interface
CN106303258A (zh) * 2016-09-19 2017-01-04 深圳市金立通信设备有限公司 一种基于双摄像头的拍摄方法和终端
CN106657572B (zh) * 2016-09-19 2020-04-21 美艾(重庆)科技发展有限公司 终端及显示方法
JP6836305B2 (ja) * 2017-01-13 2021-02-24 キヤノン株式会社 撮像制御装置およびその制御方法
CN107622793A (zh) * 2017-09-15 2018-01-23 泾县麦蓝网络技术服务有限公司 一种基于移动端控制的健康监护方法和***
CN107566799A (zh) * 2017-09-15 2018-01-09 泾县麦蓝网络技术服务有限公司 基于移动终端控制的家庭环境监控方法和***
CN107591210A (zh) * 2017-09-15 2018-01-16 泾县麦蓝网络技术服务有限公司 一种基于智能终端控制的健康监护方法和***
CN107483896A (zh) * 2017-09-15 2017-12-15 泾县麦蓝网络技术服务有限公司 一种基于智能终端控制的家庭环境监控方法和***
CN107371002A (zh) * 2017-09-15 2017-11-21 泾县麦蓝网络技术服务有限公司 一种基于移动端控制的家庭环境监控方法和***
CN108111750B (zh) * 2017-12-12 2020-04-07 维沃移动通信有限公司 一种变焦调节方法、移动终端及计算机可读存储介质
CN108304116A (zh) * 2018-02-27 2018-07-20 北京酷我科技有限公司 一种单手指触控交互的方法
CN108965709B (zh) * 2018-07-25 2020-08-14 维沃移动通信有限公司 一种对焦方法及终端
CN111866381B (zh) * 2020-07-08 2022-05-10 Oppo广东移动通信有限公司 一种调焦方法、装置、设备及计算机可读存储介质
CN112367468B (zh) * 2020-10-30 2022-02-01 维沃移动通信有限公司 图像处理方法、装置及电子设备
CN113259615B (zh) * 2021-04-01 2024-05-28 海南视联通信技术有限公司 一种焦距调整方法、装置、终端设备和存储介质

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7089507B2 (en) * 2002-08-12 2006-08-08 International Business Machines Corporation System and method for display views using a single stroke control
CN101667089A (zh) * 2008-09-04 2010-03-10 比亚迪股份有限公司 一种触摸手势的识别方法和装置
US20100156806A1 (en) * 2008-12-19 2010-06-24 Verizon Data Services Llc Zooming techniques for touch screens
CN102460364A (zh) * 2009-06-10 2012-05-16 高通股份有限公司 提供连续缩放功能性的用户接口方法
CN102566908A (zh) * 2011-12-13 2012-07-11 鸿富锦精密工业(深圳)有限公司 电子设备及其页面缩放方法

Family Cites Families (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20100073303A1 (en) * 2008-09-24 2010-03-25 Compal Electronics, Inc. Method of operating a user interface
US20100097322A1 (en) * 2008-10-16 2010-04-22 Motorola, Inc. Apparatus and method for switching touch screen operation
JP5326802B2 (ja) * 2009-05-19 2013-10-30 ソニー株式会社 情報処理装置、画像拡大縮小方法及びそのプログラム
KR101567785B1 (ko) * 2009-05-28 2015-11-11 삼성전자주식회사 휴대단말에서 줌 기능 제어 방법 및 장치
US8723988B2 (en) * 2009-07-17 2014-05-13 Sony Corporation Using a touch sensitive display to control magnification and capture of digital images by an electronic device
JP2011028345A (ja) * 2009-07-22 2011-02-10 Olympus Imaging Corp 条件変更装置、カメラ、携帯機器、およびプログラム
KR20110055244A (ko) * 2009-11-19 2011-05-25 삼성전자주식회사 디지털 촬영 장치 및 그 제어 방법 및 이를 실행하기 위한 프로그램을 저장한 기록매체
CN101776968A (zh) * 2010-01-18 2010-07-14 华为终端有限公司 触控方法和装置
US9250800B2 (en) * 2010-02-18 2016-02-02 Rohm Co., Ltd. Touch-panel input device
JP5502584B2 (ja) * 2010-04-26 2014-05-28 ローム株式会社 デジタルカメラ
JP5451944B2 (ja) * 2011-10-07 2014-03-26 パナソニック株式会社 撮影装置及び撮影方法

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7089507B2 (en) * 2002-08-12 2006-08-08 International Business Machines Corporation System and method for display views using a single stroke control
CN101667089A (zh) * 2008-09-04 2010-03-10 比亚迪股份有限公司 一种触摸手势的识别方法和装置
US20100156806A1 (en) * 2008-12-19 2010-06-24 Verizon Data Services Llc Zooming techniques for touch screens
CN102460364A (zh) * 2009-06-10 2012-05-16 高通股份有限公司 提供连续缩放功能性的用户接口方法
CN102566908A (zh) * 2011-12-13 2012-07-11 鸿富锦精密工业(深圳)有限公司 电子设备及其页面缩放方法

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2016056177A1 (en) 2014-10-10 2016-04-14 Canon Kabushiki Kaisha Control apparatus, method of controlling the same and program
US20170310882A1 (en) * 2014-10-10 2017-10-26 Canon Kabushiki Kaisha Control apparatus, method of controlling the same and program
EP3205083A4 (en) * 2014-10-10 2018-08-15 Canon Kabushiki Kaisha Control apparatus, method of controlling the same and program
US10841481B2 (en) 2014-10-10 2020-11-17 Canon Kabushiki Kaisha Control apparatus, method of controlling the same and program

Also Published As

Publication number Publication date
CN103729128A (zh) 2014-04-16
US20180109721A1 (en) 2018-04-19
US9883094B2 (en) 2018-01-30
US20150215524A1 (en) 2015-07-30
CN103729128B (zh) 2017-12-22
US10341569B2 (en) 2019-07-02

Similar Documents

Publication Publication Date Title
WO2014056440A1 (zh) 一种摄像设备变换焦距的方法、装置和摄像设备
CN109981965B (zh) 对焦的方法和电子设备
US9697622B2 (en) Interface adjustment method, apparatus, and terminal
RU2616536C2 (ru) Способ, устройство и терминальное устройство для отображения сообщений
US10122942B2 (en) Photo shooting method, device, and mobile terminal
CN107077239B (zh) 通过触控板调节移动终端拍照焦距的方法和移动终端
WO2018068483A1 (zh) 一种终端设备的搜网显示的方法、装置和终端设备
EP3015978A1 (en) Gesture-based conversation processing method, apparatus, and terminal device
US10095666B2 (en) Method and terminal for adding quick link
CN104967801A (zh) 一种视频数据处理方法和装置
US20150212693A1 (en) Interaction method and apparatus for listing data on mobile terminal
CN110825302A (zh) 一种响应操作轨迹的方法以及操作轨迹响应装置
CN107450841B (zh) 交互对象控制方法及装置
CN106856543B (zh) 一种图片显示方法、装置及移动终端
TW201516844A (zh) 一種物件選擇的方法和裝置
US20150077437A1 (en) Method for Implementing Electronic Magnifier and User Equipment
CN104166614A (zh) 一种移动设备的帧率探测方法和相关装置
CN107957841B (zh) 滚动截屏方法及装置
CN110163051B (zh) 文本提取方法、装置及存储介质
CN106372076B (zh) 浏览器中网页切换方法及装置
WO2015014135A1 (zh) 鼠标指针的控制方法、装置及终端设备
CN103885692A (zh) 页面切换方法、装置及终端
CN110278481A (zh) 画中画实现方法、终端及计算机可读存储介质
CN110022405A (zh) 射频参数调整方法、装置及存储介质
CN103501373A (zh) 发起呼叫的方法、装置及终端

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

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

32PN Ep: public notification in the ep bulletin as address of the adressee cannot be established

Free format text: NOTING OF LOSS OF RIGHTS PURSUANT TO RULE 112(1) EPC (EPO FORM 1205A DATED 18/08/2015)

122 Ep: pct application non-entry in european phase

Ref document number: 13845560

Country of ref document: EP

Kind code of ref document: A1