WO2014161313A1 - Shooting region determination method and system - Google Patents

Shooting region determination method and system Download PDF

Info

Publication number
WO2014161313A1
WO2014161313A1 PCT/CN2013/087103 CN2013087103W WO2014161313A1 WO 2014161313 A1 WO2014161313 A1 WO 2014161313A1 CN 2013087103 W CN2013087103 W CN 2013087103W WO 2014161313 A1 WO2014161313 A1 WO 2014161313A1
Authority
WO
WIPO (PCT)
Prior art keywords
area
touch screen
enlarged
touch
user
Prior art date
Application number
PCT/CN2013/087103
Other languages
French (fr)
Chinese (zh)
Inventor
潘明东
Original Assignee
中兴通讯股份有限公司
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by 中兴通讯股份有限公司 filed Critical 中兴通讯股份有限公司
Publication of WO2014161313A1 publication Critical patent/WO2014161313A1/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
    • 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/04886Interaction 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 by partitioning the display area of the touch-screen or the surface of the digitising tablet into independently controllable areas, e.g. virtual keyboards or menus
    • 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
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04MTELEPHONIC COMMUNICATION
    • H04M1/00Substation equipment, e.g. for use by subscribers
    • H04M1/72Mobile telephones; Cordless telephones, i.e. devices for establishing wireless links to base stations without route selection
    • H04M1/725Cordless telephones
    • 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 terminal imaging, and in particular, to a method and system for determining a shooting area.
  • the embodiment of the invention provides a method and a system for determining a shooting area, which does not need to enlarge the icon separately, so that the preview interface is more tidy, and the area that the user arbitrarily selects on the preview interface can be enlarged.
  • An embodiment of the present invention provides a method for determining a shooting area, which is applied to a touch screen terminal having a photographing or/and a photographing function, including:
  • the display content of the demarcated area is enlarged.
  • the displaying the content of the delimited area includes:
  • the display content of the demarcated area is enlarged to the preview interface of the entire touch screen.
  • the method further includes:
  • the enlarged display content is in the Centered on the preview interface of the touch screen.
  • the display content of the delimited area includes:
  • the display content is enlarged.
  • the detecting a touch operation of the user on the preview interface includes:
  • the delineation area is determined according to the coordinates of the pressing operation and the coordinates of the lifting operation.
  • Determining the delineation area according to the coordinates of the pressing operation and the lifting operation comprises:
  • the area between the coordinates of the pressing operation and the coordinates of the lifting operation is determined as the defined rectangular area.
  • the method further includes:
  • the method further includes:
  • the enlarged area is scaled; wherein the scaling the enlarged area includes: Detecting an operation of scaling the enlarged area on the touch screen; and detecting an operation of scaling the enlarged area on the touch screen, scaling the enlarged area according to a scaling ratio.
  • the scaling is determined according to an area of the delineated area and an area of a preview interface of the touch screen, or the scaling is a preset fixed ratio.
  • scaling the enlarged area according to the zoom ratio includes:
  • the enlarged area is scaled according to the scaling.
  • An embodiment of the present invention further provides a determining system for a shooting area, including:
  • a touch operation detecting module configured to: after opening a photographing or photographing function of the terminal, and displaying a preview interface on the touch screen, detecting a touch operation of the user on the preview interface; and an amplifying module configured to: After the touch operation detecting module detects the touch operation of the user in the demarcated area on the preview interface, the display content of the demarcated area is enlarged.
  • system further includes:
  • the center display module is configured to: display the enlarged display content of the zoom module on the preview interface of the touch screen.
  • system further includes:
  • a focusing module configured to: focus the center of the delineated area before the enlarging module enlarges the display content of the delineated area.
  • the touch operation detecting module is further configured to: detect a pressing operation and a lifting operation of the user on the touch screen, and determine whether an abscissa of the lifting operation is smaller than an abscissa of the pressing operation, And whether the ordinate of the lifting operation is smaller than the ordinate of the pressing operation;
  • the system also includes:
  • the original interface recovery module is configured to: when the touch operation detecting module detects that the abscissa of the lifting operation is smaller than the abscissa of the pressing operation, and the ordinate of the lifting operation is smaller than the pressing When the ordinate of the operation is operated, the preview interface on the touch screen is restored to the original interface.
  • the touch operation detection module is further configured to: detect a zoom operation of the user on the touch screen; the system further includes:
  • a zooming module configured to: after the touch operation detecting module detects the zoom operation of the user on the touch screen, scale the enlarged area according to the zoom ratio.
  • the user can zoom in on the designated area on the touch screen, and the icon is not required to be enlarged, so that the preview interface is more tidy.
  • the image of the user in the defined area on the touch screen can be automatically focused, thereby improving the sharpness of the image.
  • FIG. 1 is a flowchart of a method for determining a shooting area according to an embodiment of the present invention
  • FIG. 2 is a flowchart of a method for determining a shooting area according to Embodiment 2 of the present invention
  • FIG. 3 is a shooting area according to Embodiment 3 of the present invention
  • FIG. 4 is a block diagram of a determination system of a shooting area according to Embodiment 4 of the present invention
  • Figure 5 is a block diagram of a determination system of a shooting area in accordance with Embodiment 5 of the present invention.
  • FIG. 6 is a schematic diagram of an original preview interface in Embodiment 1 of the present invention.
  • FIG. 7 is a schematic diagram showing a region delineated on the preview interface in FIG. 6 according to the first embodiment of the present invention
  • FIG. 8 is a schematic diagram showing an enlarged view of the display content of the delineation region in FIG. 7 according to the first embodiment of the present invention.
  • Embodiment 1 In an embodiment of the present invention, a method for determining a shooting area is provided. As shown in FIG. 1, the method includes the following steps:
  • Step S101 After the camera or the camera function of the terminal is turned on, and the preview interface is displayed on the touch screen, the touch operation of the user on the preview interface is detected.
  • the preview interface is displayed on the touch screen of the terminal, and the user can perform the operation of defining the area on the touch screen.
  • a delineation area is provided.
  • the method that is, detecting a user's pressing operation and lifting operation on the touch screen, recording the coordinates of the pressing operation and the lifting operation on the touch screen, taking the upper left of the touch screen as the coordinate zero point, if and only if the lifting operation is horizontal
  • the coordinate is greater than the abscissa of the pressing operation
  • the ordinate of the lifting operation is greater than the ordinate of the pressing operation, that is, when the ordinate is pressed from the upper left to the lower right of the touch screen, the operation is effective.
  • the coordinate line of the two points is diagonal, forming a rectangular area having a length of XI - X0 and a width of Y1 - Y0, where (XI , Y1 ) is the coordinate of the lifting operation , (X0, Y0 ) is the coordinate of the pressed operation.
  • (XI , Y1 ) is the coordinate of the lifting operation
  • (X0, Y0 ) is the coordinate of the pressed operation.
  • the user wants to return to the initial interface of the preview, the user can slide from the lower right direction of the screen to the upper left side, that is, after the terminal detects the user pressing and lifting operations on the touch screen, the terminal is judged to lift up. Whether the horizontal coordinate of the operation is smaller than the abscissa of the pressing operation, and whether the vertical coordinate of the lifting operation is smaller than the vertical coordinate of the pressing operation, and if so, the preview interface on the touch screen is restored to the original interface.
  • Step S102 After detecting a touch operation of the user in the demarcated area on the preview interface, focus on the center of the delineation area.
  • the abscissa of the center of the rectangular area in step S101 is (XI - X0 ) /2, and the ordinate is (Yl - Y0 ) /2.
  • Step S103 After focusing on the center of the delineated area and obtaining a clear display content, the content is enlarged and displayed.
  • the enlarged area of the display content in this embodiment may be determined according to the size of the preview interface of the touch screen and the size of the delineated area.
  • the formula for calculating the magnification is:
  • A K ( S1/S2 ) ;
  • A is the magnification of the display content of the delineated area ( ⁇ > 1)
  • K is the preset magnification factor
  • S1 is the area of the preview interface of the touch screen
  • S2 is the area of the delineated area
  • the value of K is preferably 0 ⁇ K 1 (K depends on the combination of different screens and cameras, can be fixed in the factory settings, of course, can also be opened to different users for advanced settings).
  • FIG. 6 is an original preview interface, and B and a are on the interface.
  • the user can be delimited.
  • Step S104 The enlarged display content is displayed centrally on the preview interface of the touch screen.
  • the embodiment provides a method for determining a shooting area. As shown in FIG. 2, the method includes the following steps: S201: Turn on the camera or camera function of the terminal, and display the preview interface on the touch screen, and detect the touch of the user on the preview interface. operating.
  • the display content of the delineation area is directly enlarged, that is, the focusing step before enlarging the display content is omitted.
  • the display content is not displayed on the preview interface of the touch screen, but the display content is directly stored, and the display content can be directly imaged after the display content is stored, and other subsequent operations can be performed.
  • the embodiment provides a method for scaling the shooting area, which is implemented on the basis of the first embodiment, that is, a method for scaling the enlarged area in the first embodiment, as shown in FIG. The following steps:
  • the user zooms the enlarged area as:
  • zoom operations can also be set, for example, long-pressing the area, the terminal detects a long press, and zooms in on the enlarged area when the pressed time is greater than the preset time threshold.
  • the zoomed area is scaled around the center of the enlarged area.
  • the embodiment of the present invention provides a system for determining a shooting area.
  • the method includes: a touch operation detecting module 41, configured to: open a photographing or photographing function of the terminal, and display a preview interface on the touch screen Detecting a user's touch operation on the preview interface; the focusing module 42 is configured to: after the touch operation detection module 41 detects a touch operation of the user in the designated area on the preview interface, Focus on the center of the area;
  • the amplifying module 43 is configured to: after the focusing module 42 focuses on the center of the delineated area and obtain clear display content, enlarge the display content;
  • a center display module 44 configured to: display the enlarged display content of the zoom module 43 on the preview interface of the touch screen;
  • the original interface recovery module 45 is configured to: detect, by the touch operation detecting module 41, a lifting operation and a pressing operation on the touch screen, and determine that an abscissa of the lifting operation is smaller than an abscissa of the pressing operation And when the ordinate of the lifting operation is smaller than the ordinate of the pressing operation, returning the preview interface on the touch screen to the original interface.
  • the embodiment of the present invention provides a system for determining a shooting area.
  • the method includes: a touch operation detecting module 41, configured to: open a photographing or photographing function of the terminal, and display a preview interface on the touch screen Detecting a user's touch operation on the preview interface; the focusing module 42 is configured to: after the touch operation detection module 41 detects a touch operation of the user in the designated area on the preview interface, Focus on the center of the area;
  • the amplifying module 43 is configured to: after the focusing module 42 focuses on the center of the delineated area and obtain a clear display content, enlarge the display content;
  • the zooming module 46 is configured to: after the touch operation detecting module 41 detects a zoom operation of the user on the touch screen, scale the enlarged area according to a zoom ratio. Optionally, the user zooms the enlarged area as:
  • zoom operations can also be set, for example, long-pressing the area, the terminal detects a long press, and zooms in on the enlarged area when the pressed time is greater than the preset time threshold.
  • the zoomed area is scaled around the center of the enlarged area.
  • the zoomed area is scaled by 1/2.
  • modules or steps of the above embodiments of the present invention can be implemented by a general computing device, which can be concentrated on a single computing device or distributed among multiple computing devices. On the network, optionally, they may be implemented by program code executable by the computing device such that they may be stored in the storage device by the computing device and, in some cases, may be different from The steps shown or described are performed sequentially, or they are separately fabricated into individual integrated circuit modules, or a plurality of modules or steps thereof are fabricated into a single integrated circuit module. Thus, embodiments of the invention are not limited to any particular combination of hardware and software.

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)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • User Interface Of Digital Computer (AREA)
  • Studio Devices (AREA)

Abstract

A shooting region determination method and system. The method is applied to a touchscreen terminal with a photographing or/and shooting function, and comprises: enabling a photographing or shooting function of the terminal, and after displaying a previewing interface on a touchscreen, detecting a touch operation of a user on the previewing interface; and after detecting the touch operation of the user in a designated region on the previewing interface, amplifying the display content of the designated region.

Description

一种拍摄区域的确定方法和系统  Method and system for determining shooting area
技术领域 Technical field
本发明涉及终端摄像领域, 尤其涉及一种拍摄区域的确定方法和系统。  The present invention relates to the field of terminal imaging, and in particular, to a method and system for determining a shooting area.
背景技术 Background technique
目前手机基本都具有拍照和摄像功能, 拍照和摄像功能是人们经常使用 的功能之一, 在拍照和摄像时, 手机屏幕上会呈现预览界面, 目前使用的手 机菜单中有一个对预览内容进行放大的图标, 拍照预览时, 可以拖动此图标 对预览内容进行放大,但是图标对预览内容会有一定遮挡,而且相关技术中, 只能对预览区域的中心进行放大, 如果用户想对非中心的影像进行放大, 必 须移动摄像头, 让预览界面的中心对准需要放大的影像, 不方便用户操作。 发明内容  At present, mobile phones basically have camera and camera functions. Photographing and camera functions are one of the functions that people often use. When taking photos and videos, a preview interface is displayed on the screen of the mobile phone. Currently, there is a preview of the preview content in the mobile phone menu. Icon, when taking a photo preview, you can drag this icon to enlarge the preview content, but the icon will have some occlusion on the preview content, and related art can only zoom in on the center of the preview area, if the user wants to be non-centered To zoom in on the image, you must move the camera to align the center of the preview interface with the image you want to enlarge, which is not convenient for the user. Summary of the invention
本发明实施例提供了一种拍摄区域的确定方法和系统, 不需要单独地放 大图标, 使预览界面更加整洁, 而且可以对用户在预览界面上任意选取的区 域进行放大。  The embodiment of the invention provides a method and a system for determining a shooting area, which does not need to enlarge the icon separately, so that the preview interface is more tidy, and the area that the user arbitrarily selects on the preview interface can be enlarged.
本发明实施例提供了一种拍摄区域的确定方法,应用于具有拍照或 /和摄 像功能的触摸屏终端, 包括:  An embodiment of the present invention provides a method for determining a shooting area, which is applied to a touch screen terminal having a photographing or/and a photographing function, including:
开启所述终端的拍照或摄像功能, 并在触摸屏上显示预览界面后, 检测 用户在所述预览界面上的触摸操作; 以及  Opening a photographing or photographing function of the terminal, and displaying a preview interface on the touch screen, detecting a touch operation of the user on the preview interface;
检测到用户在所述预览界面上的划定区域的触摸操作后, 放大所述划定 区域的显示内容。  After the touch operation of the user in the demarcated area on the preview interface is detected, the display content of the demarcated area is enlarged.
可选地, 所述放大所述划定区域的显示内容包括:  Optionally, the displaying the content of the delimited area includes:
将所述划定区域的显示内容放大至整个触摸屏的预览界面。  The display content of the demarcated area is enlarged to the preview interface of the entire touch screen.
可选地, 所述方法还包括:  Optionally, the method further includes:
所述放大所述划定区域的显示内容之后, 将所述放大后的显示内容在所 述触摸屏的预览界面上居中显示。 After the display content of the delineated area is enlarged, the enlarged display content is in the Centered on the preview interface of the touch screen.
可选地 ,  Optionally,
所述当检测到用户在所述预览界面上的划定区域的触摸操作后, 放大所 述划定区域的显示内容包括:  After the touch operation of the demarcated area on the preview interface is detected, the display content of the delimited area includes:
当检测到用户在所述预览界面上的划定区域的触摸操作后, 对所述划定 区域的中心对焦; 以及  Focusing on the center of the delineated area after detecting a touch operation of the user in the delineated area on the preview interface;
对所述划定区域的中心对焦并得到清晰显示内容后,放大所述显示内容。 可选地 ,  After focusing on the center of the delineated area and obtaining a clear display content, the display content is enlarged. Optionally,
所述检测用户在预览界面上的触摸操作包括:  The detecting a touch operation of the user on the preview interface includes:
检测到用户在触摸屏上的按下操作和抬起操作后, 记录所述按下操作和 抬起操作在触摸屏上的坐标; 以及  After detecting the pressing operation and the lifting operation of the user on the touch screen, recording the coordinates of the pressing operation and the lifting operation on the touch screen;
根据所述按下操作的坐标和抬起操作的坐标确定所述划定区域。  The delineation area is determined according to the coordinates of the pressing operation and the coordinates of the lifting operation.
可选地 ,  Optionally,
所述根据按下操作和抬起操作的坐标确定所述划定区域包括:  Determining the delineation area according to the coordinates of the pressing operation and the lifting operation comprises:
判断所述抬起操作的横坐标是否大于所述按下操作的横坐标, 以及所述 抬起操作的纵坐标是否大于所述按下操作的纵坐标;  Determining whether the abscissa of the lifting operation is greater than the abscissa of the pressing operation, and whether the ordinate of the lifting operation is greater than the ordinate of the pressing operation;
若是, 则将所述按下操作的坐标和抬起操作的坐标之间的区域确定为划 定的矩形区域。  If so, the area between the coordinates of the pressing operation and the coordinates of the lifting operation is determined as the defined rectangular area.
可选地, 所述方法还包括:  Optionally, the method further includes:
所述划定区域形成之后, 检测到用户在触摸屏上的按下操作和抬起操作 后, 判断所述抬起操作的横坐标是否小于所述按下操作的横坐标, 以及所述 抬起操作的纵坐标是否小于所述按下操作的纵坐标;  After the forming of the demarcated area is detected, after detecting a pressing operation and a lifting operation on the touch screen by the user, determining whether the abscissa of the lifting operation is smaller than the abscissa of the pressing operation, and the lifting operation Whether the ordinate is smaller than the ordinate of the pressing operation;
若是, 则将所述触摸屏上的预览界面恢复至原始界面。  If yes, the preview interface on the touch screen is restored to the original interface.
可选地, 所述方法还包括:  Optionally, the method further includes:
所述放大所述划定区域的显示内容之后, 对放大后的区域进行缩放; 其中, 所述对放大后的区域进行缩放包括: 检测触摸屏上的对所述放大后的区域进行缩放的操作; 以及 检测到触摸屏上的对所述放大后的区域进行缩放的操作后, 根据缩放比 例将所述放大后的区域进行缩放。 After the display content of the delineated area is enlarged, the enlarged area is scaled; wherein the scaling the enlarged area includes: Detecting an operation of scaling the enlarged area on the touch screen; and detecting an operation of scaling the enlarged area on the touch screen, scaling the enlarged area according to a scaling ratio.
可选地 ,  Optionally,
所述缩放比例根据所述划定区域的面积与所述触摸屏的预览界面的面积 确定, 或者所述缩放比例为预设的固定比例。  The scaling is determined according to an area of the delineated area and an area of a preview interface of the touch screen, or the scaling is a preset fixed ratio.
可选地 ,  Optionally,
所述检测到触摸屏上的对所述放大后的区域进行缩放的操作后, 根据缩 放比例将所述放大后的区域进行缩放包括:  After detecting the operation of scaling the enlarged area on the touch screen, scaling the enlarged area according to the zoom ratio includes:
检测到用户在触摸屏上的按下操作和抬起操作后, 判断所述抬起操作的 横坐标是否小于所述按下操作的横坐标, 以及所述抬起操作的纵坐标是否小 于所述按下操作的纵坐标;  After detecting the pressing operation and the lifting operation of the user on the touch screen, determining whether the abscissa of the lifting operation is smaller than the abscissa of the pressing operation, and whether the ordinate of the lifting operation is smaller than the pressing The ordinate of the lower operation;
若是, 则根据缩放比例将所述放大后的区域进行缩放。  If so, the enlarged area is scaled according to the scaling.
本发明实施例还提供了一种拍摄区域的确定系统, 包括:  An embodiment of the present invention further provides a determining system for a shooting area, including:
触摸操作检测模块, 其设置成: 在开启所述终端的拍照或摄像功能, 并 在触摸屏上显示预览界面后, 检测用户在所述预览界面上的触摸操作; 以及 放大模块, 其设置成: 所述触摸操作检测模块检测到用户在所述预览界 面上的划定区域的触摸操作后, 放大所述划定区域的显示内容。  a touch operation detecting module, configured to: after opening a photographing or photographing function of the terminal, and displaying a preview interface on the touch screen, detecting a touch operation of the user on the preview interface; and an amplifying module configured to: After the touch operation detecting module detects the touch operation of the user in the demarcated area on the preview interface, the display content of the demarcated area is enlarged.
可选地, 所述系统还包括:  Optionally, the system further includes:
居中显示模块, 其设置成: 将所述放大模块放大后的显示内容在所述触 摸屏的预览界面上居中显示。  The center display module is configured to: display the enlarged display content of the zoom module on the preview interface of the touch screen.
可选地, 所述系统还包括:  Optionally, the system further includes:
聚焦模块, 其设置成: 在所述放大模块放大所述划定区域的显示内容之 前, 对所述划定区域的中心进行对焦。  And a focusing module configured to: focus the center of the delineated area before the enlarging module enlarges the display content of the delineated area.
可选地,  Optionally,
所述触摸操作检测模块还设置成: 检测用户在触摸屏上的按下操作和抬 起操作, 并判断所述抬起操作的横坐标是否小于所述按下操作的横坐标, 以 及所述抬起操作的纵坐标是否小于所述按下操作的纵坐标; The touch operation detecting module is further configured to: detect a pressing operation and a lifting operation of the user on the touch screen, and determine whether an abscissa of the lifting operation is smaller than an abscissa of the pressing operation, And whether the ordinate of the lifting operation is smaller than the ordinate of the pressing operation;
所述系统还包括:  The system also includes:
原始界面恢复模块, 其设置成: 在所述触摸操作检测模块检测到所述抬 起操作的横坐标小于所述按下操作的横坐标, 以及所述抬起操作的纵坐标小 于所述按下操作的纵坐标时, 将所述触摸屏上的预览界面恢复至原始界面。  The original interface recovery module is configured to: when the touch operation detecting module detects that the abscissa of the lifting operation is smaller than the abscissa of the pressing operation, and the ordinate of the lifting operation is smaller than the pressing When the ordinate of the operation is operated, the preview interface on the touch screen is restored to the original interface.
可选地 ,  Optionally,
所述触摸操作检测模块还设置成: 检测用户在触摸屏上的缩放操作; 所述系统还包括:  The touch operation detection module is further configured to: detect a zoom operation of the user on the touch screen; the system further includes:
缩放模块, 其设置成: 在所述触摸操作检测模块检测到用户在触摸屏上 的缩放操作后, 根据缩放比例将放大后的区域进行缩放。  And a zooming module, configured to: after the touch operation detecting module detects the zoom operation of the user on the touch screen, scale the enlarged area according to the zoom ratio.
本发明实施例中, 可对用户在触摸屏上的划定区域进行放大, 不需要单 独地放大图标, 使预览界面更加整洁。  In the embodiment of the present invention, the user can zoom in on the designated area on the touch screen, and the icon is not required to be enlarged, so that the preview interface is more tidy.
本发明实施例中, 可对用户在触摸屏上的划定区域内的影像自动对焦, 提高了影像的清晰度。  In the embodiment of the invention, the image of the user in the defined area on the touch screen can be automatically focused, thereby improving the sharpness of the image.
在触摸屏上划定区域时, 一个触摸动作就可以完成, 提高了用户体验。 附图概述  When the area is delineated on the touch screen, a touch action can be completed, improving the user experience. BRIEF abstract
图 1为根据本发明实施例一中拍摄区域的确定方法的流程图; 图 2为根据本发明实施例二中拍摄区域的确定方法的流程图; 图 3为根据本发明实施例三中拍摄区域的缩放的方法的流程图; 图 4为根据本发明实施例四中拍摄区域的确定系统的框图;  1 is a flowchart of a method for determining a shooting area according to an embodiment of the present invention; FIG. 2 is a flowchart of a method for determining a shooting area according to Embodiment 2 of the present invention; FIG. 3 is a shooting area according to Embodiment 3 of the present invention; FIG. 4 is a block diagram of a determination system of a shooting area according to Embodiment 4 of the present invention; FIG.
图 5为根据本发明实施例五中拍摄区域的确定系统的框图。  Figure 5 is a block diagram of a determination system of a shooting area in accordance with Embodiment 5 of the present invention.
图 6为本发明实施例一中原始预览界面的示意图;  6 is a schematic diagram of an original preview interface in Embodiment 1 of the present invention;
图 7为本发明实施例一中在图 6中的预览界面上划定区域的示意图; 图 8为本发明实施例一中在图 7中的对划定区域的显示内容进行放大的 示意图。 本发明的较佳实施方式 FIG. 7 is a schematic diagram showing a region delineated on the preview interface in FIG. 6 according to the first embodiment of the present invention; FIG. 8 is a schematic diagram showing an enlarged view of the display content of the delineation region in FIG. 7 according to the first embodiment of the present invention. Preferred embodiment of the invention
下文中将结合附图对本发明的实施例进行详细说明。 需要说明的是, 在 不冲突的情况下, 本申请中的实施例及实施例中的特征可以相互任意组合。  Embodiments of the present invention will be described in detail below with reference to the accompanying drawings. It should be noted that, in the case of no conflict, the features in the embodiments and the embodiments in the present application may be arbitrarily combined with each other.
方法实施例  Method embodiment
实施例一 本发明的一个实施例中,提供了一种拍摄区域的确定方法,如图 1所示, 包括如下步骤:  Embodiment 1 In an embodiment of the present invention, a method for determining a shooting area is provided. As shown in FIG. 1, the method includes the following steps:
步骤 S101、开启终端的拍照或摄像功能,并在触摸屏上显示预览界面后, 检测用户在预览界面上的触摸操作。  Step S101: After the camera or the camera function of the terminal is turned on, and the preview interface is displayed on the touch screen, the touch operation of the user on the preview interface is detected.
在操作时, 首选要启动终端的拍照或者摄像功能, 启动后, 终端的触摸 屏上会显示预览界面, 用户可在触摸屏上进行划定区域的操作, 本实施例中 提供了一种划定区域的方法, 即, 检测用户在触摸屏上的按下操作和抬起操 作, 记录按下操作和抬起操作在触摸屏上的坐标, 以触摸屏的左上方为坐标 零点, 当且仅当抬起操作的横坐标大于按下操作的横坐标, 以及抬起操作的 纵坐标大于按下操作的纵坐标时为有效操作, 即, 从触摸屏的左上方向右下 方划时, 操作有效。 当操作有效时, 以这两点的坐标连线为对角线, 形成矩 形区域, 该矩形区域的长度为 XI - X0, 宽度为 Y1 - Y0, 其中 (XI , Y1 ) 为抬起操作的坐标, (X0, Y0 )为按下操作的坐标。 当用户需要划定区域时, 只需要在触摸屏上进行划线操作即可形成一个矩形的区域, 方便操作, 当然 也可以形成其他形状, 例如, 圓形。 也可以使用除了划线操作之外的其他操 作来确定划定区域。  In operation, it is preferred to activate the camera or camera function of the terminal. After the startup, the preview interface is displayed on the touch screen of the terminal, and the user can perform the operation of defining the area on the touch screen. In this embodiment, a delineation area is provided. The method, that is, detecting a user's pressing operation and lifting operation on the touch screen, recording the coordinates of the pressing operation and the lifting operation on the touch screen, taking the upper left of the touch screen as the coordinate zero point, if and only if the lifting operation is horizontal The coordinate is greater than the abscissa of the pressing operation, and the ordinate of the lifting operation is greater than the ordinate of the pressing operation, that is, when the ordinate is pressed from the upper left to the lower right of the touch screen, the operation is effective. When the operation is valid, the coordinate line of the two points is diagonal, forming a rectangular area having a length of XI - X0 and a width of Y1 - Y0, where (XI , Y1 ) is the coordinate of the lifting operation , (X0, Y0 ) is the coordinate of the pressed operation. When the user needs to define the area, it is only necessary to perform a scribing operation on the touch screen to form a rectangular area, which is convenient for operation, and may of course form other shapes, for example, a circle. Other operations than the scribing operation can also be used to determine the delineation area.
在划定区域形成后, 如果用户想回到预览的初始界面, 可以从屏幕的右 下方向左上方滑动, 即, 终端检测到用户在触摸屏上的按下操作和抬起操作 后, 判断抬起操作的横坐标是否小于按下操作的横坐标, 以及抬起操作的纵 坐标是否小于按下操作的纵坐标, 若是, 则将触摸屏上的预览界面恢复至原 始界面。 当然, 也可以设置其他触发恢复原始界面的方法, 例如, 长按划定 区域, 终端检测到长按操作, 并且按下时间大于预设的时间阔值时, 恢复当 前预览界面至原始预览界面。 步骤 S102、 当检测到用户在预览界面上的划定区域的触摸操作后, 对划 定区域的中心对焦。 After the designated area is formed, if the user wants to return to the initial interface of the preview, the user can slide from the lower right direction of the screen to the upper left side, that is, after the terminal detects the user pressing and lifting operations on the touch screen, the terminal is judged to lift up. Whether the horizontal coordinate of the operation is smaller than the abscissa of the pressing operation, and whether the vertical coordinate of the lifting operation is smaller than the vertical coordinate of the pressing operation, and if so, the preview interface on the touch screen is restored to the original interface. Of course, other methods for triggering the restoration of the original interface may be set, for example, long-pressing the designated area, and the terminal detects the long-press operation, and when the pressing time is greater than the preset time threshold, the current preview interface is restored to the original preview interface. Step S102: After detecting a touch operation of the user in the demarcated area on the preview interface, focus on the center of the delineation area.
在对划定区域的中心进行对焦时, 首先要确定划定区域的中心点坐标, 例如, 在步骤 S101 中的矩形区域中心的横坐标为 (XI - X0 ) /2, 纵坐标为 ( Yl - Y0 ) /2。  When focusing on the center of the delineated area, first determine the coordinates of the center point of the delineated area. For example, the abscissa of the center of the rectangular area in step S101 is (XI - X0 ) /2, and the ordinate is (Yl - Y0 ) /2.
步骤 S103、对划定区域的中心对焦并得到清晰显示内容后, 放大显示内 容。  Step S103: After focusing on the center of the delineated area and obtaining a clear display content, the content is enlarged and displayed.
本实施例中的显示内容放大后的面积可以根据触摸屏的预览界面的大小 和划定区域的大小确定。 计算放大倍数的公式为:  The enlarged area of the display content in this embodiment may be determined according to the size of the preview interface of the touch screen and the size of the delineated area. The formula for calculating the magnification is:
A=K ( S1/S2 ) ;  A=K ( S1/S2 ) ;
其中, A为划定区域的显示内容的放大倍数(Α > 1 ) , K为预设的放大 系数, S1 为触摸屏的预览界面的面积, S2为划定区域的面积, K的取值优 选为 0 < K 1( K根据不同屏幕与摄像头的搭配而定,可在出厂设置中固定, 当然也可以开放给不同用户, 进行高级设置) 。  Where A is the magnification of the display content of the delineated area (Α > 1), K is the preset magnification factor, S1 is the area of the preview interface of the touch screen, and S2 is the area of the delineated area, and the value of K is preferably 0 < K 1 (K depends on the combination of different screens and cameras, can be fixed in the factory settings, of course, can also be opened to different users for advanced settings).
下面以附图 6、 附图 7和附图 8举例说明, 附图 6为原始预览界面, 界 面上有 B和 a, 此时, 用户若想放大屏幕左上角的 a, 可以划定 a所在的区域 (如附图 7所示) , 假设划定的面积为 Sa=l cm 2, 触摸屏的预览界面的面积 为 S=5 cm 2 , 预设的放大系数为 K=3/5, 则放大倍数为 Α= ( 3/5 ) 5=3 , 即, 将 a所在的区域的显示内容放大 3倍, 附图 7为 a所在的区域的显示内容放 大后的示意图。 6, FIG. 7 and FIG. 8 are exemplified. FIG. 6 is an original preview interface, and B and a are on the interface. At this time, if the user wants to enlarge a in the upper left corner of the screen, the user can be delimited. Area (as shown in Figure 7), assuming that the delimited area is Sa=l cm 2 , the area of the preview interface of the touch screen is S=5 cm 2 , and the preset magnification factor is K=3/5, then the magnification is For Α = ( 3/5 ) 5 = 3 , that is, the display content of the area where a is located is magnified by 3 times, and FIG. 7 is a schematic enlarged view of the display content of the area where a is located.
步骤 S104、 将放大后的显示内容在触摸屏的预览界面上居中显示。  Step S104: The enlarged display content is displayed centrally on the preview interface of the touch screen.
实施例二 Embodiment 2
本实施例提供了一种拍摄区域的确定方法,如图 2所示,包括如下步骤: S201、 开启终端的拍照或摄像功能, 并在触摸屏上显示预览界面后, 检 测用户在预览界面上的触摸操作。  The embodiment provides a method for determining a shooting area. As shown in FIG. 2, the method includes the following steps: S201: Turn on the camera or camera function of the terminal, and display the preview interface on the touch screen, and detect the touch of the user on the preview interface. operating.
S202、 当检测到用户在预览界面上的划定区域的触摸操作后, 放大划定 区域的显示内容并存储。 本实施例与实施例一中主要有两点不同: S202. After detecting a touch operation of the user in the demarcated area on the preview interface, the display content of the demarcated area is enlarged and stored. There are two main differences between this embodiment and the first embodiment:
1、在检测到用户在预览界面上的划定区域的触摸操作后,直接放大划定 区域的显示内容, 即, 省略了放大显示内容之前的聚焦步骤。  1. After detecting the touch operation of the user in the demarcated area on the preview interface, the display content of the delineation area is directly enlarged, that is, the focusing step before enlarging the display content is omitted.
2、放大划定区域的显示内容后,并未将该显示内容在触摸屏的预览界面 上显示, 而是直接将显示内容存储, 存储显示内容后可以直接成像, 也可以 进行后续的其他操作。  2. After zooming in the display content of the delineated area, the display content is not displayed on the preview interface of the touch screen, but the display content is directly stored, and the display content can be directly imaged after the display content is stored, and other subsequent operations can be performed.
实施例三 Embodiment 3
本实施例提供了一种拍摄区域的缩放的方法, 在上述的实施例一的基础 上实施,即,为对实施例一中的放大后的区域进行缩放的方法,如图 3所示, 包括如下步骤:  The embodiment provides a method for scaling the shooting area, which is implemented on the basis of the first embodiment, that is, a method for scaling the enlarged area in the first embodiment, as shown in FIG. The following steps:
5301、 检测触摸屏上的对放大后的区域进行缩放的操作。  5301. Detect an operation of scaling the enlarged area on the touch screen.
可选地, 用户对放大后的区域进行缩放的操作为:  Optionally, the user zooms the enlarged area as:
检测到触摸屏上的按下操作和抬起操作后, 判断抬起操作的横坐标是否 小于所述按下操作的横坐标, 以及抬起操作的纵坐标是否小于所述按下操作 的纵坐标, 若是, 则用户对放大后的区域进行缩放的操作。  After detecting the pressing operation and the lifting operation on the touch screen, determining whether the abscissa of the lifting operation is smaller than the abscissa of the pressing operation, and whether the ordinate of the lifting operation is smaller than the ordinate of the pressing operation, If so, the user zooms the enlarged area.
当然, 也可以设置其他缩放的操作, 例如, 长按划定区域, 终端检测到 长按操作,并且按下时间大于预设的时间阔值时,对放大后的区域进行缩放。  Of course, other zoom operations can also be set, for example, long-pressing the area, the terminal detects a long press, and zooms in on the enlarged area when the pressed time is greater than the preset time threshold.
5302、 检测到触摸屏上的对放大后的区域进行缩放的操作后, 根据缩放 比例将所述放大后的区域进行缩放。  5302. After detecting an operation of scaling the enlarged area on the touch screen, scaling the enlarged area according to a scaling ratio.
在缩放时, 以放大后的区域的中心为中心对放大区域进行缩放, 本实施 例中缩放比例可以根据触摸屏的预览界面的面积和划定区域的面积确定, 例 如, A=K ( S3/S1 ) , 其中, A为缩放比例, K为缩放系数, S1为触摸屏的 预览界面的面积, S3为划定区域的面积(K根据不同屏幕与摄像头的搭配而 定, 可在出厂设置中固定, 当然也可以开放给不同用户, 进行高级设置) 。  In zooming, the zoomed area is scaled around the center of the enlarged area. In this embodiment, the zoom ratio may be determined according to the area of the preview interface of the touch screen and the area of the defined area, for example, A=K (S3/S1) ), where A is the zoom ratio, K is the zoom factor, S1 is the area of the preview interface of the touch screen, and S3 is the area of the delineated area (K is determined according to the combination of different screens and cameras, and can be fixed in the factory settings, of course It can also be opened to different users for advanced settings).
当然, 也可以在终端中预设固定的缩放比例, 例如, 检测到用户的缩放 操作后, 将放大后的区域缩放 1/2。 装置实施例 Of course, it is also possible to preset a fixed zoom ratio in the terminal. For example, after detecting the zoom operation of the user, the enlarged area is scaled by 1/2. Device embodiment
实施例四  Embodiment 4
本实施例提供了一种拍摄区域的确定系统, 如图 4所示, 包括: 触摸操作检测模块 41 , 其用于: 在开启所述终端的拍照或摄像功能, 并 在触摸屏上显示预览界面后, 检测用户在所述预览界面上的触摸操作; 聚焦模块 42 , 其用于: 在所述触摸操作检测模块 41检测到用户在所述 预览界面上的划定区域的触摸操作后, 对划定区域的中心进行对焦;  The embodiment of the present invention provides a system for determining a shooting area. As shown in FIG. 4, the method includes: a touch operation detecting module 41, configured to: open a photographing or photographing function of the terminal, and display a preview interface on the touch screen Detecting a user's touch operation on the preview interface; the focusing module 42 is configured to: after the touch operation detection module 41 detects a touch operation of the user in the designated area on the preview interface, Focus on the center of the area;
放大模块 43 , 其用于: 在所述聚焦模块 42在对划定区域的中心进行对 焦并得到清晰的显示内容后, 放大显示内容;  The amplifying module 43 is configured to: after the focusing module 42 focuses on the center of the delineated area and obtain clear display content, enlarge the display content;
居中显示模块 44, 其用于: 将所述放大模块 43放大后的显示内容在触 摸屏的预览界面上居中显示; 以及  a center display module 44, configured to: display the enlarged display content of the zoom module 43 on the preview interface of the touch screen; and
原始界面恢复模块 45 , 其用于: 在所述触摸操作检测模块 41检测到触 摸屏上的抬起操作和按下操作, 并确定所述抬起操作的横坐标小于所述按下 操作的横坐标, 以及所述抬起操作的纵坐标小于所述按下操作的纵坐标时, 将所述触摸屏上的预览界面恢复至原始界面。  The original interface recovery module 45 is configured to: detect, by the touch operation detecting module 41, a lifting operation and a pressing operation on the touch screen, and determine that an abscissa of the lifting operation is smaller than an abscissa of the pressing operation And when the ordinate of the lifting operation is smaller than the ordinate of the pressing operation, returning the preview interface on the touch screen to the original interface.
实施例五 Embodiment 5
本实施例提供了一种拍摄区域的确定系统, 如图 5所示, 包括: 触摸操作检测模块 41 , 其用于: 在开启所述终端的拍照或摄像功能, 并 在触摸屏上显示预览界面后, 检测用户在所述预览界面上的触摸操作; 聚焦模块 42 , 其用于: 在所述触摸操作检测模块 41检测到用户在所述 预览界面上的划定区域的触摸操作后, 对划定区域的中心进行对焦;  The embodiment of the present invention provides a system for determining a shooting area. As shown in FIG. 5, the method includes: a touch operation detecting module 41, configured to: open a photographing or photographing function of the terminal, and display a preview interface on the touch screen Detecting a user's touch operation on the preview interface; the focusing module 42 is configured to: after the touch operation detection module 41 detects a touch operation of the user in the designated area on the preview interface, Focus on the center of the area;
放大模块 43 , 其用于: 在所述聚焦模块 42在对划定区域的中心进行对 焦并得到清晰的显示内容后, 放大显示内容; 以及  The amplifying module 43 is configured to: after the focusing module 42 focuses on the center of the delineated area and obtain a clear display content, enlarge the display content;
缩放模块 46 , 其用于: 在所述触摸操作检测模块 41检测到用户在触摸 屏上的缩放操作后, 根据缩放比例将所述放大后的区域进行缩放。 可选地, 用户对放大后的区域进行缩放的操作为: The zooming module 46 is configured to: after the touch operation detecting module 41 detects a zoom operation of the user on the touch screen, scale the enlarged area according to a zoom ratio. Optionally, the user zooms the enlarged area as:
检测到触摸屏上的按下操作和抬起操作后, 判断抬起操作的横坐标是否 小于所述按下操作的横坐标, 以及抬起操作的纵坐标是否小于所述按下操作 的纵坐标, 若是, 则用户对放大后的区域进行缩放的操作。  After detecting the pressing operation and the lifting operation on the touch screen, determining whether the abscissa of the lifting operation is smaller than the abscissa of the pressing operation, and whether the ordinate of the lifting operation is smaller than the ordinate of the pressing operation, If so, the user zooms the enlarged area.
当然, 也可以设置其他缩放的操作, 例如, 长按划定区域, 终端检测到 长按操作,并且按下时间大于预设的时间阔值时,对放大后的区域进行缩放。  Of course, other zoom operations can also be set, for example, long-pressing the area, the terminal detects a long press, and zooms in on the enlarged area when the pressed time is greater than the preset time threshold.
在缩放时, 以放大后的区域的中心为中心对放大区域进行缩放, 本实施 例中缩放比例可以根据触摸屏的预览界面的面积和划定区域的面积确定, 例 如, A=K ( S3/S1 ) , 其中, A为缩放比例, K为缩放系数, S1为触摸屏的 预览界面的面积, S3为划定区域的面积(K根据不同屏幕与摄像头的搭配而 定, 可在出厂设置中固定, 当然也可以开放给不同用户, 进行高级设置) 。  In zooming, the zoomed area is scaled around the center of the enlarged area. In this embodiment, the zoom ratio may be determined according to the area of the preview interface of the touch screen and the area of the defined area, for example, A=K (S3/S1) ), where A is the zoom ratio, K is the zoom factor, S1 is the area of the preview interface of the touch screen, and S3 is the area of the delineated area (K is determined according to the combination of different screens and cameras, and can be fixed in the factory settings, of course It can also be opened to different users for advanced settings).
当然, 也可以在终端中预设固定的缩放比例, 例如, 检测到用户的缩放 操作后, 将放大后的区域缩放 1/2。  Of course, it is also possible to preset a fixed zoom ratio in the terminal. For example, after detecting the user's zoom operation, the zoomed area is scaled by 1/2.
显然, 本领域的技术人员应该明白, 上述本发明实施例的各模块或各步 骤可以用通用的计算装置来实现, 它们可以集中在单个的计算装置上, 或者 分布在多个计算装置所组成的网络上, 可选地, 它们可以用计算装置可执行 的程序代码来实现,从而,可以将它们存储在存储装置中由计算装置来执行, 并且在某些情况下, 可以以不同于此处的顺序执行所示出或描述的步骤, 或 者将它们分别制作成各个集成电路模块, 或者将它们中的多个模块或步骤制 作成单个集成电路模块来实现。 这样, 本发明实施例不限制于任何特定的硬 件和软件结合。 Obviously, those skilled in the art should understand that the modules or steps of the above embodiments of the present invention can be implemented by a general computing device, which can be concentrated on a single computing device or distributed among multiple computing devices. On the network, optionally, they may be implemented by program code executable by the computing device such that they may be stored in the storage device by the computing device and, in some cases, may be different from The steps shown or described are performed sequentially, or they are separately fabricated into individual integrated circuit modules, or a plurality of modules or steps thereof are fabricated into a single integrated circuit module. Thus, embodiments of the invention are not limited to any particular combination of hardware and software.
以上仅为本发明的优选实施例而已, 并不用于限制本发明。 对于本领域 的技术人员来说, 本发明实施例可以有各种更改和变化。 凡在本发明实施例 的精神和原则之内, 所作的任何修改、 等同替换、 改进等, 均应包含在本发 明所附权利要求的保护范围之内。  The above are only the preferred embodiments of the present invention and are not intended to limit the present invention. Various modifications and changes may be made to the embodiments of the invention. All modifications, equivalents, improvements, etc., made within the spirit and scope of the embodiments of the present invention are intended to be included within the scope of the appended claims.
工业实用性 Industrial applicability
釆用本发明实施例的方法和系统, 不需要单独地放大图标, 使预览界面 更加整洁, 而且可以对用户在预览界面上任意选取的区域进行放大。  With the method and system of the embodiment of the present invention, it is not necessary to separately enlarge the icon to make the preview interface more tidy, and the area that the user arbitrarily selects on the preview interface can be enlarged.

Claims

权利要求书 Claim
1、 一种拍摄区域的确定方法, 应用于具有拍照或 /和摄像功能的触摸屏 终端, 包括:  1. A method for determining a shooting area, applied to a touch screen terminal having a photographing or/and a camera function, comprising:
开启所述终端的拍照或摄像功能, 并在触摸屏上显示预览界面后, 检测 用户在所述预览界面上的触摸操作; 以及  Opening a photographing or photographing function of the terminal, and displaying a preview interface on the touch screen, detecting a touch operation of the user on the preview interface;
检测到所述用户在所述预览界面上的划定区域的触摸操作后, 放大所述 划定区域的显示内容。  After detecting the touch operation of the user in the demarcated area on the preview interface, the display content of the demarcated area is enlarged.
2、 如权利要求 1所述的方法, 其中:  2. The method of claim 1 wherein:
所述放大所述划定区域的显示内容包括:  The displaying content of the zoomed area includes:
将所述划定区域的显示内容放大至整个触摸屏的预览界面。  The display content of the demarcated area is enlarged to the preview interface of the entire touch screen.
3、 如权利要求 1所述的方法, 还包括:  3. The method of claim 1 further comprising:
所述放大所述划定区域的显示内容之后, 将所述放大后的显示内容在所 述触摸屏的预览界面上居中显示。  After the display content of the delineated area is enlarged, the enlarged display content is displayed centrally on the preview interface of the touch screen.
4、 如权利要求 1或 2所述的方法, 其中:  4. The method of claim 1 or 2, wherein:
所述当检测到所述用户在所述预览界面上的划定区域的触摸操作后, 放 大所述划定区域的显示内容包括:  After the touch operation of the user in the demarcated area on the preview interface is detected, the display content of the delimited area includes:
当检测到所述用户在所述预览界面上的划定区域的触摸操作后, 对所述 划定区域的中心对焦; 以及  After detecting a touch operation of the user in the delineated area on the preview interface, focusing on a center of the delineation area;
对所述划定区域的中心对焦并得到清晰显示内容后,放大所述显示内容。  After focusing on the center of the delineated area and obtaining a clear display content, the display content is enlarged.
5、 如权利要求 1所述的方法, 其中: 5. The method of claim 1 wherein:
所述检测用户在预览界面上的触摸操作包括:  The detecting a touch operation of the user on the preview interface includes:
检测到所述用户在所述触摸屏上的按下操作和抬起操作后, 记录所述按 下操作和所述抬起操作在所述触摸屏上的坐标; 以及 根据所述按下操作的坐标和所述抬起操作的坐标确定所述划定区域。  After detecting the pressing operation and the lifting operation of the user on the touch screen, recording coordinates of the pressing operation and the lifting operation on the touch screen; and according to coordinates of the pressing operation The coordinates of the lifting operation determine the delineation area.
6、 如权利要求 5所述的方法, 其中: 6. The method of claim 5, wherein:
所述根据所述按下操作和所述抬起操作的坐标确定所述划定区域包括: 判断所述抬起操作的横坐标是否大于所述按下操作的横坐标, 以及所述 抬起操作的纵坐标是否大于所述按下操作的纵坐标; Determining the delineation area according to the pressing operation and coordinates of the lifting operation comprises: Determining whether the abscissa of the lifting operation is greater than the abscissa of the pressing operation, and whether the ordinate of the lifting operation is greater than the ordinate of the pressing operation;
若是, 则将所述按下操作的坐标和所述抬起操作的坐标之间的区域确定 为划定的矩形区域。  If so, the area between the coordinates of the pressing operation and the coordinates of the lifting operation is determined as a defined rectangular area.
7、 如权利要求 1所述的方法, 还包括:  7. The method of claim 1 further comprising:
所述划定区域形成之后, 检测到所述用户在所述触摸屏上的按下操作和 抬起操作后, 判断所述抬起操作的横坐标是否小于所述按下操作的横坐标, 以及所述抬起操作的纵坐标是否小于所述按下操作的纵坐标;  After the demarcated area is formed, after detecting the pressing operation and the lifting operation of the user on the touch screen, determining whether the abscissa of the lifting operation is smaller than the abscissa of the pressing operation, and Whether the ordinate of the lifting operation is smaller than the ordinate of the pressing operation;
若是, 则将所述触摸屏上的预览界面恢复至原始界面。  If yes, the preview interface on the touch screen is restored to the original interface.
8、 如权利要求 1所述的方法, 还包括:  8. The method of claim 1 further comprising:
所述放大所述划定区域的显示内容之后, 对放大后的区域进行缩放; 其中, 所述对放大后的区域进行缩放包括:  After the display content of the delineated area is enlarged, the enlarged area is scaled; wherein the scaling the enlarged area includes:
检测所述触摸屏上的对所述放大后的区域进行缩放的操作; 以及 检测到所述触摸屏上的对所述放大后的区域进行缩放的操作后, 根据缩 放比例将所述放大后的区域进行缩放。  Detecting an operation of scaling the enlarged area on the touch screen; and detecting an operation of scaling the enlarged area on the touch screen, performing the enlarged area according to a scaling ratio Zoom.
9、 如权利要求 8所述的方法, 其中:  9. The method of claim 8 wherein:
所述缩放比例根据所述划定区域的面积与所述触摸屏的预览界面的面积 确定, 或者所述缩放比例为预设的固定比例。  The scaling is determined according to an area of the delineated area and an area of a preview interface of the touch screen, or the scaling is a preset fixed ratio.
10、 如权利要求 8所述的方法, 其中:  10. The method of claim 8 wherein:
所述检测到所述触摸屏上的对所述放大后的区域进行缩放的操作后, 根 检测到所述用户在所述触摸屏上的按下操作和抬起操作后, 判断所述抬 起操作的横坐标是否小于所述按下操作的横坐标, 以及所述抬起操作的纵坐 标是否小于所述按下操作的纵坐标;  After detecting the operation of zooming the enlarged area on the touch screen, after detecting the pressing operation and the lifting operation of the user on the touch screen, determining the lifting operation Whether the abscissa is smaller than the abscissa of the pressing operation, and whether the ordinate of the lifting operation is smaller than the ordinate of the pressing operation;
11、 一种拍摄区域的确定系统, 包括: 11. A system for determining a shooting area, comprising:
触摸操作检测模块, 其设置成: 在开启终端的拍照或摄像功能, 并在触 摸屏上显示预览界面后, 检测用户在所述预览界面上的触摸操作; 以及 放大模块, 其设置成: 所述触摸操作检测模块检测到所述用户在所述预 览界面上的划定区域的触摸操作后, 放大所述划定区域的显示内容。 Touch operation detection module, which is set to: open the camera or camera function of the terminal, and touch After the preview interface is displayed on the screen, the touch operation of the user on the preview interface is detected; and the zooming module is configured to: the touch operation detecting module detects the designated area of the user on the preview interface After the touch operation, the display content of the demarcated area is enlarged.
12、 如权利要求 11所述的系统, 还包括:  12. The system of claim 11 further comprising:
居中显示模块, 其设置成: 将所述放大模块放大后的显示内容在所述触 摸屏的预览界面上居中显示。  The center display module is configured to: display the enlarged display content of the zoom module on the preview interface of the touch screen.
13、 如权利要求 11或 12所述的系统, 还包括:  13. The system of claim 11 or 12, further comprising:
聚焦模块, 其设置成: 在所述放大模块放大所述划定区域的显示内容之 前, 对所述划定区域的中心进行对焦。  And a focusing module configured to: focus the center of the delineated area before the enlarging module enlarges the display content of the delineated area.
14、 如权利要求 11所述的系统, 其中:  14. The system of claim 11 wherein:
所述触摸操作检测模块还设置成: 检测所述用户在所述触摸屏上的按下 操作和抬起操作, 并判断所述抬起操作的横坐标是否小于所述按下操作的横 坐标, 以及所述抬起操作的纵坐标是否 d、于所述按下操作的纵坐标;  The touch operation detecting module is further configured to: detect a pressing operation and a lifting operation of the user on the touch screen, and determine whether an abscissa of the lifting operation is smaller than an abscissa of the pressing operation, and Whether the ordinate of the lifting operation is d, and the ordinate of the pressing operation;
所述系统还包括:  The system also includes:
原始界面恢复模块, 其设置成: 在所述触摸操作检测模块检测到所述抬 起操作的横坐标小于所述按下操作的横坐标, 以及所述抬起操作的纵坐标小 于所述按下操作的纵坐标时, 将所述触摸屏上的预览界面恢复至原始界面。  The original interface recovery module is configured to: when the touch operation detecting module detects that the abscissa of the lifting operation is smaller than the abscissa of the pressing operation, and the ordinate of the lifting operation is smaller than the pressing When the ordinate of the operation is operated, the preview interface on the touch screen is restored to the original interface.
15、 如权利要求 11所述的系统, 其中:  15. The system of claim 11 wherein:
所述触摸操作检测模块还设置成: 检测所述用户在所述触摸屏上的缩放 操作;  The touch operation detecting module is further configured to: detect a zoom operation of the user on the touch screen;
所述系统还包括:  The system also includes:
缩放模块, 其设置成: 在所述触摸操作检测模块检测到所述用户在所述 触摸屏上的缩放操作后, 根据缩放比例将放大后的区域进行缩放。  And a zooming module, configured to: after the touch operation detecting module detects the zoom operation of the user on the touch screen, scale the enlarged area according to the zoom ratio.
PCT/CN2013/087103 2013-07-30 2013-11-14 Shooting region determination method and system WO2014161313A1 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201310324902.6A CN104346089A (en) 2013-07-30 2013-07-30 Method and system for determining shooting area
CN201310324902.6 2013-07-30

Publications (1)

Publication Number Publication Date
WO2014161313A1 true WO2014161313A1 (en) 2014-10-09

Family

ID=51657502

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2013/087103 WO2014161313A1 (en) 2013-07-30 2013-11-14 Shooting region determination method and system

Country Status (2)

Country Link
CN (1) CN104346089A (en)
WO (1) WO2014161313A1 (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108111649A (en) * 2017-12-25 2018-06-01 广东欧珀移动通信有限公司 Electronic device, photographic method and Related product

Families Citing this family (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104679394A (en) * 2013-11-26 2015-06-03 中兴通讯股份有限公司 Method and device for amplifying selected region of preview interface
KR20160133781A (en) * 2015-05-13 2016-11-23 엘지전자 주식회사 Mobile terminal and method for controlling the same
CN106331463B (en) * 2015-06-26 2019-05-14 小米科技有限责任公司 Camera focal length amplification method and device
CN105930077A (en) * 2016-04-12 2016-09-07 广东欧珀移动通信有限公司 Method and device for adjusting size of objects displayed by screens
WO2018209524A1 (en) * 2017-05-15 2018-11-22 深圳市永恒丰科技有限公司 Shooting processing method for photo and shooting processing device for photo
CN107809581A (en) * 2017-09-29 2018-03-16 天津远翥科技有限公司 Image processing method, device, terminal device and unmanned plane
CN108536364A (en) * 2017-12-28 2018-09-14 努比亚技术有限公司 A kind of image pickup method, terminal and computer readable storage medium
CN108304134A (en) * 2018-01-31 2018-07-20 上海与德科技有限公司 Preview interface processing method and electronic equipment
CN110113525B (en) * 2019-04-18 2021-01-05 惠州Tcl移动通信有限公司 Shooting preview method and device, storage medium and mobile terminal
CN111142765A (en) * 2019-11-14 2020-05-12 北京无限光场科技有限公司 Image display method and device and electronic equipment

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6567102B2 (en) * 2001-06-05 2003-05-20 Compal Electronics Inc. Touch screen using pressure to control the zoom ratio
CN101827211A (en) * 2008-12-19 2010-09-08 三星电子株式会社 Photographing method using multi-input scheme and photographing apparatus using the same
US20100299641A1 (en) * 2009-05-21 2010-11-25 Research In Motion Limited Portable electronic device and method of controlling same
CN102084327A (en) * 2009-05-19 2011-06-01 索尼公司 Digital image processing device and associated methodology of performing touch-based image scaling
CN102855063A (en) * 2012-08-09 2013-01-02 鸿富锦精密工业(深圳)有限公司 Electronic equipment and image zooming method thereof
US20130176245A1 (en) * 2012-01-11 2013-07-11 Samsung Electronics Co., Ltd Apparatus and method for zooming touch screen in electronic device

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6567102B2 (en) * 2001-06-05 2003-05-20 Compal Electronics Inc. Touch screen using pressure to control the zoom ratio
CN101827211A (en) * 2008-12-19 2010-09-08 三星电子株式会社 Photographing method using multi-input scheme and photographing apparatus using the same
CN102084327A (en) * 2009-05-19 2011-06-01 索尼公司 Digital image processing device and associated methodology of performing touch-based image scaling
US20100299641A1 (en) * 2009-05-21 2010-11-25 Research In Motion Limited Portable electronic device and method of controlling same
US20130176245A1 (en) * 2012-01-11 2013-07-11 Samsung Electronics Co., Ltd Apparatus and method for zooming touch screen in electronic device
CN102855063A (en) * 2012-08-09 2013-01-02 鸿富锦精密工业(深圳)有限公司 Electronic equipment and image zooming method thereof

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108111649A (en) * 2017-12-25 2018-06-01 广东欧珀移动通信有限公司 Electronic device, photographic method and Related product

Also Published As

Publication number Publication date
CN104346089A (en) 2015-02-11

Similar Documents

Publication Publication Date Title
WO2014161313A1 (en) Shooting region determination method and system
WO2015096311A1 (en) Method and device for amplifying selected region of previewing interface
KR101969424B1 (en) Photographing device for displaying image and methods thereof
US8675113B2 (en) User interface for a digital camera
US10628010B2 (en) Quick review of captured image data
US10222903B2 (en) Display control apparatus and control method thereof
WO2014183552A1 (en) Method and apparatus for zooming in on selected area of preview interface
JP5982884B2 (en) Display control apparatus, display control method, and computer-readable recording medium
WO2016115805A1 (en) Shooting method, shooting device, mobile terminal and computer storage medium
WO2015139469A1 (en) Webpage adjustment method and device, and electronic device
WO2014026632A1 (en) Picture display processing method and device
WO2017063133A1 (en) Shooting method and mobile device
JP6978826B2 (en) Display control device and its control method, program, and storage medium
WO2015081544A1 (en) Touchscreen display control method and mobile device
US20200310638A1 (en) Method and apparatus for responding to gesture operation and storage medium
JP6198459B2 (en) Display control device, display control device control method, program, and storage medium
WO2016188199A1 (en) Method and device for clipping pictures
CA2807866C (en) User interface for a digital camera
CN105808102B (en) Add the method and device of frame
CN104636040A (en) Image display processing method and device
JP2019191988A (en) Electronic apparatus, control method of electronic apparatus, program, and storage medium
KR101083158B1 (en) Contents conversion method for mobile terminal with touch screen
JP2012243266A (en) Electronic apparatus and display method
JP2016187105A (en) Electronic apparatus, method of controlling photographing with electronic apparatus, and program for controlling photographing with electronic apparatus
JP2017204718A (en) Imaging apparatus and zoom control method thereof

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

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 13881184

Country of ref document: EP

Kind code of ref document: A1