WO2014183552A1 - 一种预览界面选定区域放大的方法和装置 - Google Patents

一种预览界面选定区域放大的方法和装置 Download PDF

Info

Publication number
WO2014183552A1
WO2014183552A1 PCT/CN2014/076404 CN2014076404W WO2014183552A1 WO 2014183552 A1 WO2014183552 A1 WO 2014183552A1 CN 2014076404 W CN2014076404 W CN 2014076404W WO 2014183552 A1 WO2014183552 A1 WO 2014183552A1
Authority
WO
WIPO (PCT)
Prior art keywords
touch
touch screen
area
enlarged
coordinates
Prior art date
Application number
PCT/CN2014/076404
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 中兴通讯股份有限公司
Priority to JP2016532133A priority Critical patent/JP6302061B2/ja
Priority to KR1020167013537A priority patent/KR101893275B1/ko
Publication of WO2014183552A1 publication Critical patent/WO2014183552A1/zh

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/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/04845Interaction 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 for image manipulation, e.g. dragging, rotation, expansion or change of colour
    • 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
    • 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 apparatus for zooming in on a selected area of a preview interface. Background technique
  • embodiments of the present invention are directed to a method and apparatus for zooming in a selected area of a preview interface, which does not require a separate zoom-in button to make the preview interface more tidy; the focus function is increased, so that the user can set the focus target according to the object. Moreover, the function of moving the selected area is increased, and the user can accurately select the content to be enlarged on the preview interface.
  • the specific technical solution is:
  • the embodiment of the invention discloses a method for zooming in on a selected area of a preview interface, 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 according to a preset ratio.
  • the detecting the touch operation of the user in the demarcated area on the preview interface comprises: detecting the pressing operation and the lifting operation of the user on the touch screen, recording the pressing operation and the lifting operation on the touch screen coordinate of;
  • the delineation area is determined according to the coordinates of the pressing operation and the lifting operation.
  • the method further comprises: displaying the displayed content of the enlarged delineated area on the touch screen.
  • the method further includes:
  • Focusing is performed centering on the point according to the point of the touch operation.
  • the method further includes:
  • the detecting whether there is a touch operation in the enlarged designated area includes:
  • the embodiment of the invention further discloses a device for zooming in on a selected area of the preview interface, comprising: a touch operation detection module, configured to enable a photographing or photographing function of the terminal, and display a preview interface on the touch screen of the terminal, and detect the user in the The touch operation on the preview interface;
  • an amplifying module configured to: when the touch operation detecting module detects a touch operation of the user in the demarcated area on the preview interface, enlarge the display content of the demarcated area according to a preset ratio.
  • 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 record coordinates of the pressing operation and the lifting operation on the touch screen;
  • the apparatus further includes: a determining unit configured to determine the delineation area based on the coordinates of the pressing operation and the lifting operation.
  • the device further includes a display module, configured to display the enlarged display content of the amplification module on the touch screen.
  • the device further includes: a mobile module,
  • the moving module is configured to detect, after detecting whether there is a touch operation in the enlarged designated area, when detecting that the zoomed touch operation is performed in the enlarged designated area, according to the a displacement trajectory of the touch operation, moving the enlarged designated area;
  • the device further includes:
  • a focusing module configured to detect whether there is a touch operation in the enlarged designated area, and focus on the point according to the point of the touch operation.
  • the device further includes: an original interface recovery module,
  • the original interface recovery module is configured to: when there is a touch operation outside the enlarged area, the display content of the enlarged defined area is closed, and the preview interface on the touch screen is Restore to the original interface.
  • the touch operation detection module is further configured to:
  • the touch operation detection module, the amplification module, the determining unit, the display module, the moving module, the focusing module, and the original interface recovery module may use a central processing unit when performing processing ( CPU, Central Processing Unit), Digital Signal Processor (DSP), or Field-Programmable Gate Array (FPGA).
  • CPU Central Processing Unit
  • DSP Digital Signal Processor
  • FPGA Field-Programmable Gate Array
  • the positive progress of the invention is as follows:
  • the invention can enlarge the delineation area of the user on the touch screen, and does not need a separate magnifying icon; after zooming in, the user can directly focus on the object in the delineated area by clicking and touching, There is no need to move the body for focusing, and the user experience is improved.
  • the delineation area can be directly adjusted, and it is not necessary to select a suitable enlarging area, and the area is delimited many times to facilitate the user's operation.
  • FIG. 1 is a flow chart of a method for amplifying a selected area according to an embodiment of the present invention
  • 2 is a flow chart of a method for amplifying a selected area according to a second embodiment of the present invention
  • FIG. 3 is a flow chart of a method for moving and focusing a selected area according to an embodiment of the present invention
  • FIG. 4 is a block diagram of a selected area amplifying device according to Embodiment 4 of the present invention.
  • Figure 5 is a block diagram of a selected area amplifying device according to 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 of delineating an area on the preview interface of FIG. 6 according to the first embodiment of the present invention
  • FIG. 8 is a schematic diagram showing the display content of the delineated area in FIG. 7 enlarged and displayed in the first embodiment of the present invention
  • FIG. 9 is a schematic diagram of a process of moving the display content of the delineated area in FIG. 8 according to the third embodiment of the present invention.
  • FIG. 10 is a schematic diagram showing the content after adjusting the display content of the delineated area in FIG. 8 according to the third embodiment of the present invention. detailed description
  • a method for zooming in on a selected area of a preview interface includes:
  • Step S01 The camera or camera function of the terminal is turned on, and after the preview interface is displayed on the touch screen, the touch operation of the user on the preview interface is detected.
  • the preview interface will be displayed on the touch screen of the terminal, and the user can perform the operation of defining the area on the touch screen.
  • the embodiment discloses a method for zooming in on a selected area of the preview interface, that is, detecting a pressing operation and a lifting operation of the user on the touch screen, recording coordinates of the pressing operation and the lifting operation on the touch screen, to the upper left of the touch screen
  • the coordinate line connecting the two points is a diagonal line, and a rectangular area is formed, and the length of the rectangular area is I XI - X0 I , the width is I Y1 - Y0 I , where (Xl, Y1 ) is the coordinate of the lifting operation, and (X0, Y0) is the coordinate of the pressing operation (the coordinate origins in all the following embodiments are the upper left corner of the screen).
  • the coordinates of the pressing operation and the lifting operation on the touch screen are different, the coordinates of the pressing operation are taken as the center of the circle, and the coordinate lines of the two points are used as the radius to form a circular area, and the circular shape is formed.
  • the radius is r, where (X2, Y2) is the coordinate of the push operation, and (X3, Y3) is the coordinate of the lift operation.
  • the touch screen 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 or a circular area, which is convenient for operation.
  • the graphics drawn in this way are not limited to rectangles and circles, but also Other shapes can be formed.
  • other operations than the scribing operation can be used to determine the delineation area.
  • Step S02 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 according to a preset ratio.
  • the content of the determined delineation area is enlarged according to the coefficient set by the user in the setting option in advance, or according to the factory preset coefficient, such as 2 times or 4 times.
  • the center point of the rectangle is the focus.
  • the abscissa of the center of the rectangular area in S01 is (XI - X0 ) /2
  • the ordinate is (Y1 - Y0 ) /2.
  • Focus If the area to be drawn is a circle, focus on the center of the circle. For example, the coordinates of the center of the circle in S01 are (Xl, Y1), and focus is performed.
  • Step S03 Display the enlarged display content on the touch screen preview interface.
  • the user wants to return to the initial interface of the preview, he can touch the area outside the defined area of the enlarged display. That is, after the terminal detects the user pressing and lifting operations on the touch screen again, it is determined whether the coordinates of the lifting operation and the pressing operation are outside the designated area of the enlarged display, and if so, the preview interface on the touch screen is restored. To the original interface. Of course, you can also set other methods to trigger the recovery of the original interface.
  • FIG. 6 is the original preview interface, and there is A on the interface.
  • the area where A is located can be delineated, as shown in FIG.
  • the magnification factor is 2
  • FIG. 8 is a schematic diagram showing the content of the area where A is enlarged.
  • This embodiment discloses a method for zooming in on a selected area of the preview interface. As shown in FIG. 2, the method includes:
  • Step S11 The camera or camera function of the terminal is turned on, and after the preview interface is displayed on the touch screen, the touch operation of the user on the preview interface is detected.
  • Step S12 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 according to a preset ratio and stored.
  • the main difference between this embodiment and the first embodiment is that, in this embodiment, the content of the designated area is enlarged, and then directly imaged and stored, that is, the area is enlarged and photographed, and then returned to the preview interface, waiting for other operations. .
  • the embodiment discloses a method for zooming in the selected area of the preview interface, which is implemented on the basis of the first embodiment, that is, the enlarged area in the first embodiment is moved, the focus is performed, and the like, as shown in FIG. , including:
  • the defined area moves synchronously with it, for example: In S01, if the delineated area is a rectangle, the coordinates of the pressing operation are (X0, Y0), and the coordinates of the operation ( ⁇ 0, ⁇ 0) are pressed relative to the moving track.
  • This embodiment discloses a device for zooming in on a selected area of the preview interface, as shown in FIG. 4, Includes:
  • the touch operation detecting module is configured to detect a touch operation of the user on the preview interface after the photographing or photographing function of the terminal is turned on, and the preview interface is displayed on the touch screen.
  • an amplifying module configured to: when the touch operation detecting module detects a touch operation of the user in the demarcated area on the preview interface, enlarge the display content of the demarcated area according to a preset ratio.
  • a display module configured to display the enlarged display content of the amplification module on the touch screen. And closing the displayed content of the enlarged designated area, and restoring the preview interface on the touch screen to the original interface.
  • 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 record the pressing operation and the lifting operation on the touch screen. coordinate of;
  • the device further comprises: a determining unit, configured to determine the delineation area according to coordinates of the pressing operation and the lifting operation.
  • This embodiment discloses a device for zooming in on a selected area of the preview interface. As shown in FIG. 5, the method includes:
  • the touch operation detecting module is configured to detect a touch operation of the user on the preview interface after the photographing or photographing function of the terminal is turned on, and the preview interface is displayed on the touch screen.
  • an amplifying module configured to: when the touch operation detecting module detects a touch operation of the user in the demarcated area on the preview interface, enlarge the display content of the demarcated area according to a preset ratio.
  • a display module configured to display the enlarged display content of the amplification module on the touch screen.
  • a moving module configured to detect whether there is a touch operation in the enlarged designated area After the operation, when it is detected that there is a sliding touch operation in the delineated area, the enlarged delineated area is moved according to the displacement trajectory of the touch operation;
  • the device further includes:
  • a focusing module configured to detect whether there is a touch operation in the enlarged designated area, and focus on the point according to the point of the touch operation. And closing the displayed content of the enlarged designated area, and restoring the preview interface on the touch screen to the original interface.
  • the user's operation in the enlarged area is preferably:
  • the user's click operation in the enlarged area is preferably:
  • the touch operation detecting module is further configured to: detect, in a case where there is a touch operation in the enlarged designated area, detecting that the user presses on the touch screen After the lower operation and the lifting operation, the coordinates of the pressing operation and the lifting operation on the touch screen are recorded;
  • the embodiment of the invention can enlarge the demarcated area of the user on the touch screen, and does not need a separate magnifying icon; after zooming in, the user can directly focus on the object in the demarcated area by clicking and touching, without needing to focus. Move the body to improve the user experience; and directly adjust the delineated area, without having to select the appropriate magnified area, and delineate the area multiple times, which is convenient for the user's operation.

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)
  • User Interface Of Digital Computer (AREA)
  • Studio Devices (AREA)
  • Position Input By Displaying (AREA)
  • Telephone Function (AREA)
  • Camera Bodies And Camera Details Or Accessories (AREA)

Abstract

本发明公开了一种预览界面选定区域放大的方法,应用于具有拍照或/和摄像功能的触摸屏终端,包括:所述终端的拍照或摄像功能开启,并在触摸屏上显示预览界面后,检测用户在所述预览界面上的触摸操作;当检测到用户在所述预览界面上的划定区域的触摸操作后,根据预设比例放大所述划定区域的显示内容。本发明还公开了一种预览界面选定区域放大的装置,与上述方法相对应。

Description

一种预览界面选定区域放大的方法和装置 技术领域
本发明涉及终端摄像领域, 具体地, 涉及一种预览界面选定区域放大 的方法和装置。 背景技术
目前手机基本都具有拍照和摄像功能, 拍照和摄像功能是人们经常使 用的功能之一, 在拍照和摄像时, 手机屏幕上会呈现预览界面, 目前使用 的手机菜单中有一个对预览内容进行放大的功能, 拍照预览时, 可以拖动 该放大功能的按钮对预览内容进行放大, 此外, 还有一种在预览界面选择 矩形框进行放大显示的功能。 但是以上这些方式或多或少存在一定的缺陷, 比如: 功能键对预览内容会有一定遮挡; 只能对预览区域的中心进行放大; 若选中了矩形区域后, 其对焦点就已经固定, 即为矩形区域的中心, 不能 改变; 选择了矩形区域后, 其放大的内容就已经固定, 不能更改, 如果位 置选的不合适, 则需要重新选择区域, 操作不便。 发明内容
有鉴于此, 本发明实施例希望公开一种预览界面选定区域放大的方法 和装置, 不需要单独的放大按钮, 使预览界面更加整洁; 增加对焦功能, 使用户能够根据对象设定对焦目标, 而且增加移动选定区域的功能, 方便 用户在预览界面上精确选取需要放大的内容, 具体的技术方案为:
本发明实施例公开了一种预览界面选定区域放大的方法, 应用于具有 拍照或 /和摄像功能的触摸屏终端, 包括:
开启终端的拍照或摄像功能, 并在终端的触摸屏上显示预览界面后, 检测用户在所述预览界面上的触摸操作;
当检测到用户在所述预览界面上的划定区域的触摸操作后, 根据预设 比例放大所述划定区域的显示内容。
较佳地, 所述检测用户在预览界面上的划定区域的触摸操作包括: 检测到用户在触摸屏上的按下操作和抬起操作后, 记录所述按下操作 和抬起操作在触摸屏上的坐标;
根据所述按下操作和抬起操作的坐标确定所述划定区域。
较佳地, 在所述根据预设比例放大所述划定区域的显示内容之后, 所 述方法还包括: 在所述触摸屏上显示被放大后的所述划定区域的显示内容。
较佳地, 在所述触摸屏上显示被放大后的所述划定区域的显示内容后, 所述方法还包括:
检测在所述被放大后的所述划定区域内是否有触摸操作;
若有, 则根据所述触摸操作的位移轨迹, 移动所述被放大后的所述划 定区域; 或者,
根据所述触摸操作的点, 以所述点为中心, 进行对焦。
较佳地, 在所述触摸屏上显示被放大后的所述划定区域的显示内容后, 所述方法还包括:
检测在所述被放大后的所述划定区域外是否有触摸操作, 若有, 则关 闭所述被放大的所述划定区域的显示内容, 将所述触摸屏上的预览界面恢 复至原始界面。
较佳地, 所述检测在所述被放大后的所述划定区域内是否有触摸操作 包括:
检测到用户在触摸屏上的按下操作和抬起操作后, 记录所述按下操作 和抬起操作在触摸屏上的坐标;
若所述按下操作的坐标在所述被放大后的所述划定区域内, 则判断所 述按下操作和抬起操作在触摸屏上的坐标是否相同;
若所述按下操作和抬起操作在触摸屏上的坐标相同, 则记录所述按下 操作或抬起操作的坐标, 确定所述点;
若所述按下操作和抬起操作在触摸屏上的坐标不同, 则记录所述按下 操作和抬起操作过程中的所有坐标, 确定所述位移轨迹;
本发明实施例进一步公开了一种预览界面选定区域放大的装置, 包括: 触摸操作检测模块, 用于开启终端的拍照或摄像功能, 并在终端的触 摸屏上显示预览界面后, 检测用户在所述预览界面上的触摸操作;
放大模块, 用于当所述触摸操作检测模块检测到用户在所述预览界面 上的划定区域的触摸操作后, 根据预设比例放大所述划定区域的显示内容。
较佳地,
所述触摸操作检测模块还用于: 检测用户在触摸屏上的按下操作和抬 起操作, 并记录所述按下操作和抬起操作在触摸屏上的坐标;
所述装置还包括: 确定单元, 用于根据所述按下操作和抬起操作的坐 标确定所述划定区域。
较佳的, 所述装置还包括显示模块, 用于将所述放大模块放大后的显 示内容在所述触摸屏上显示。
较佳地, 所述装置还包括: 移动模块,
所述移动模块, 用于检测在所述被放大后的所述划定区域内是否有触 摸操作后, 当检测到所述被放大后的所述划定区域内有滑动触摸操作时, 根据所述触摸操作的位移轨迹, 移动所述被放大后的所述划定区域;
或者, 所述装置还包括:
聚焦模块, 用于检测在所述被放大后的所述划定区域内是否有触摸操 作后, 根据触摸操作的点, 以所述点为中心, 进行对焦。
较佳地, 所述装置还包括: 原始界面恢复模块, 所述原始界面恢复模块, 用于当所述被放大后的所述划定区域外有触 摸操作时, 关闭所述被放大的所述划定区域的显示内容, 将所述触摸屏上 的预览界面恢复至原始界面。
较佳地, 所述触摸操作检测模块还用于:
检测在所述被放大后的所述划定区域内是否有触摸操作的情况下, 检 测到用户在触摸屏上的按下操作和抬起操作后, 记录所述按下操作和抬起 操作在触摸屏上的坐标;
若所述按下操作的坐标在所述被放大后的所述划定区域内, 则判断所 述按下操作和抬起操作在触摸屏上的坐标是否相同;
若所述按下操作和抬起操作在触摸屏上的坐标相同, 则记录所述按下 操作或抬起操作的坐标, 确定所述点;
若所述按下操作和抬起操作在触摸屏上的坐标不同, 记录所述按下操 作和抬起操作过程中的所有坐标, 确定所述位移轨迹。
所述触摸操作检测模块、 所述放大模块、 所述确定单元、 所述显示模 块、 所述移动模块、 所述聚焦模块、 所述原始界面恢复模块在执行处理时, 可以釆用中央处理器( CPU, Central Processing Unit )、数字信号处理器( DSP, Digital Singnal Processor )或可编程逻辑阵列( FPGA, Field - Programmable Gate Array ) 实现。
本发明的积极进步效果在于: 本发明可对用户在触摸屏上的划定区域 进行放大, 不需要单独的放大图标; 放大后, 用户可以直接通过点击触摸 对划定区域内的物体进行自动对焦, 而不需要为了对焦而移动身体, 提高 用户体验; 而且可直接对划定区域进行调整, 不需要由于未能选择到合适 的放大区域, 而多次划定区域, 方便用户的操作。 附图说明
图 1为根据本发明实施例一中选定区域放大方法流程图; 图 2为根据本发明实施例二中选定区域放大方法流程图; 图 3 为根据本发明实施例三中被放大的选定区域的移动、 对焦的方法 流程图;
图 4为根据本发明实施例四中选定区域放大装置框图;
图 5为根据本发明实施例五中选定区域放大装置框图;
图 6为本发明实施例一中原始预览界面示意图;
图 7为本发明实施例一中在图 6中的预览界面上划定区域的示意图; 图 8为本发明实施例一中在图 7中的对划定区域的显示内容进行放大 并显示的示意图;
图 9为本发明实施例三中对图 8中的对划定区域的显示内容进行移动 的过程示意图;
图 10为本发明实施例三中对图 8中的对划定区域的显示内容进行移动 后所调整内容后显示的示意图。 具体实施方式
为使本发明的目的、 技术方案和优点更加清楚明白, 下文中将结合附 图对本发明的实施例进行详细说明。 需要说明的是, 在不冲突的情况下, 本申请中的实施例及实施例中的特征可以相互任意组合。
方法实施例
实施例一
本发明的一个实施例中, 公开了一种预览界面选定区域放大的方法, 如图 1所示, 包括:
步骤 S01、终端的拍照或摄像功能开启,并在触摸屏上显示预览界面后, 检测用户在预览界面上的触摸操作。
在具体操作时, 首选要启动终端的拍照或者摄像功能, 启动后, 终端 的触摸屏上会显示预览界面, 用户可在触摸屏上进行划定区域的操作, 本 实施例公开了一种预览界面选定区域放大的方法, 即, 检测用户在触摸屏 上的按下操作和抬起操作, 记录按下操作和抬起操作在触摸屏上的坐标, 以触摸屏的左上方为坐标零点, 当且所述按下操作和抬起操作在触摸屏上 的坐标不同时, 以这两点的坐标连线为对角线, 形成矩形区域, 该矩形区 域的长度为 I XI - X0 I , 宽度为 I Y1 - Y0 I , 其中 (Xl, Y1 ) 为抬起操 作的坐标, (X0, Y0 ) 为按下操作的坐标(以下所有实施例中的坐标原点 均为屏幕左上角 )。
此外, 还可以当所述按下操作和抬起操作在触摸屏上的坐标不同时, 以按下操作的坐标作为圓心, 以这两点的坐标连线为半径, 形成圓形区域, 该圓形的半径为 r,
Figure imgf000008_0001
, 其中 (X2, Y2 )为按下操作 的坐标, (X3, Y3 ) 为抬起操作的坐标。
当用户需要划定区域时, 只需要在触摸屏上进行划线操作即可形成一 个矩形或一个圓形的区域, 方便操作, 当然通过这种方式画出的图形, 不 仅限于矩形和圓形, 也可以形成其他形状。 同样, 也可以使用除了划线操 作之外的其他操作来确定划定区域。
步骤 S02、 当检测到用户在预览界面上的划定区域的触摸操作后,根据 预设的比例放大划定区域的显示内容。
根据用户预先在设置选项中设置的系数, 或者根据出厂预设系数, 比 如: 2倍或者 4倍, 将所确定的划定区域内容放大。 如果所划定的区域为矩 形, 则以矩形的中心点为焦点, 例如, 在 S01 中的矩形区域中心的横坐标 为 (XI - X0 ) /2, 纵坐标为 (Y1 - Y0 ) /2, 进行对焦。 如果所划定的区域 为圓形, 则以圓形的圓心为焦点, 例如, 在 S01 中的圓心的坐标为 (Xl, Y1 ), 进行对焦。
步骤 S03、 将放大后的显示内容在触摸屏预览界面上显示。 域被放大并显示在预览界面最上层后, 如果用户想回到预览的初始界面, 可以触摸放大显示的划定区域外的区域。 即终端检测到用户在触摸屏上的 再一次按下操作和抬起操作后, 判断抬起操作和按下操作的坐标是否在放 大显示的划定区域外, 若是, 则将触摸屏上的预览界面恢复至原始界面。 当然, 也可以设置其他触发恢复原始界面的方法。
下面以图 6、 图 7和图 8举例说明, 图 6为原始预览界面, 界面上有 A 和 此时, 用户若想放大屏幕左上角的 A, 可以划定 A所在的区域, 如 图 7所示, 根据用户的预先设置或者出厂设置, 假设放大系数为 2, 即将 A 所在的区域的显示内容放大 2倍, 图 8为 A所在的区域的内容放大后显示 的示意图。
实施例二
本实施例公开了一种预览界面选定区域放大的方法, 如图 2所示, 包 括:
步骤 S11、终端的拍照或摄像功能开启,并在触摸屏上显示预览界面后, 检测用户在预览界面上的触摸操作。
步骤 S12、 当检测到用户在预览界面上的划定区域的触摸操作后,根据 预设比例放大划定区域的显示内容并存储。
本实施例与实施例一的主要区别在于, 本实施例将所划定区域的内容 放大后, 直接成像并存储, 即: 对用户划定区域放大并拍照, 再返回预览 界面, 等待进行其他操作。
实施例三
本实施例公开了一种预览界面选定区域放大的方法, 在上述的实施例 一的基础上实施, 即对实施例一中的放大后的区域进行移动, 对焦等功能, 如图 3所示, 包括:
S101、 检测在所述被放大后的所述划定区域内是否有触摸操作。 用户对放大后区域内的操作优选为:
检测到用户在触摸屏上的按下操作和抬起操作后, 记录所述按下操作 和抬起操作在触摸屏上的坐标, 判断按下操作的坐标是否在最上层显示的 被放大的划定区域内, 若是, 则确定用户在所述被放大后的所述划定区域 内有触摸操作。
S102、 检测在所述被放大后的所述划定区域内有触摸操作后, 则根据 所述触摸操作的位移轨迹, 移动所述被放大后的所述划定区域, 或则根据 触摸操作的点, 以所述点为中心, 进行对焦。
实际操作时, 如果用户在所述被放大后的所述划定区域内有触摸操作, 进一步判断所述按下操作和抬起操作在触摸屏上的坐标是否相同; 若是, 则确定本次触摸操作为单击操作, 以这个单击点的坐标为中心, 进行对焦; 若否, 则确定本次触摸操作为滑动操作, 记录所述按下操作和抬起操作过 程中的所有坐标, 确定滑动操作的位移轨迹, 以这个位移轨迹移动被放大 后的划定区域, 如图 9 所示。 例如: 检测用户在触摸屏上的按下操作和抬 起操作, 记录按下操作坐标(X4, Y4 )和抬起操作坐标 (X5, Y5), 先判断 X4是否等于 X5, Y4是否等于 Y5; 若是, 以 (X4, Y4 )或者 (X5, Y5)为 焦点, 进行对焦; 若否, 则记录从(X4, Y4 )移动至 (X5, Y5)过程中所有 的坐标, 并形成一个移动轨迹, 所述划定区域与之同步移动, 例如: 在 S01 中, 若划定区域为矩形, 则按下操作的坐标为 (X0,Y0 ), 相对于移动轨迹, 按下操作的坐标(Χ0, Υ0 )移动至 [Χ0+(Χ5-Χ4), Υ0+(Υ5-Υ4)], 同理, 抬 起操作的坐标( XI, Y1 )移动至 [Χ1+(Χ5-Χ4), Υ1+(Υ5-Υ4)], 再以这两个 坐标点所围成的矩形区域为划定区域, 供放大并显示, 如图 10所示。
装置实施例
实施例四
本实施例公开了一种预览界面选定区域放大的装置, 如图 4所示, 包 括:
触摸操作检测模块, 用于在所述终端的拍照或摄像功能开启, 并在触 摸屏上显示预览界面后, 检测用户在所述预览界面上的触摸操作。
放大模块, 用于当所述触摸操作检测模块检测到用户在所述预览界面 上的划定区域的触摸操作后, 根据预设比例放大所述划定区域的显示内容。
显示模块, 用于将所述放大模块放大后的显示内容在所述触摸屏上显 示。 时, 关闭所述被放大的所述划定区域的显示内容, 将所述触摸屏上的预览 界面恢复至原始界面。
在本发明实施例一优选实施方式中, 所述触摸操作检测模块, 还用于: 检测用户在触摸屏上的按下操作和抬起操作, 并记录所述按下操作和 抬起操作在触摸屏上的坐标;
相应的, 所述装置还包括: 确定单元, 用于根据所述按下操作和抬起 操作的坐标确定所述划定区域。
实施例五
本实施例公开了一种预览界面选定区域放大的装置, 如图 5 所示, 包 括:
触摸操作检测模块, 用于在所述终端的拍照或摄像功能开启, 并在触 摸屏上显示预览界面后, 检测用户在所述预览界面上的触摸操作。
放大模块, 用于当所述触摸操作检测模块检测到用户在所述预览界面 上的划定区域的触摸操作后, 根据预设比例放大所述划定区域的显示内容。
显示模块, 用于将所述放大模块放大后的显示内容在所述触摸屏上显 示。
移动模块, 用于检测在所述被放大后的所述划定区域内是否有触摸操 作后, 当检测到所述被放大后的所述划定区域内有滑动触摸操作时, 根据 所述触摸操作的位移轨迹, 移动所述被放大后的所述划定区域;
或者, 所述装置还包括:
聚焦模块, 用于检测在所述被放大后的所述划定区域内是否有触摸操 作后, 根据触摸操作的点, 以所述点为中心, 进行对焦。 时, 关闭所述被放大的所述划定区域的显示内容, 将所述触摸屏上的预览 界面恢复至原始界面。
用户对放大后区域内的操作优选为:
检测到用户在触摸屏上的按下操作和抬起操作后, 记录所述按下操作 和抬起操作在触摸屏上的坐标, 判断按下操作的坐标是否在最上层显示的 被放大的划定区域内, 若是, 则确定用户在所述被放大后的所述划定区域 内有触摸操作。
用户对放大后区域内的单击操作优选为:
如果用户在所述被放大后的所述划定区域内有触摸操作, 进一步判断 所述按下操作和抬起操作在触摸屏上的坐标是否相同; 若是, 则确定本次 触摸操作为单击操作。
本发明实施例一优选实施方式中, 所述触摸操作检测模块还用于: 检测在所述被放大后的所述划定区域内是否有触摸操作的情况下, 检 测到用户在触摸屏上的按下操作和抬起操作后, 记录所述按下操作和抬起 操作在触摸屏上的坐标;
若所述按下操作的坐标在所述被放大后的所述划定区域内, 则判断所 述按下操作和抬起操作在触摸屏上的坐标是否相同;
若所述按下操作和抬起操作在触摸屏上的坐标相同, 则记录所述按下 操作或抬起操作的坐标, 确定所述点; 若所述按下操作和抬起操作在触摸屏上的坐标不同, 记录所述按下操 作和抬起操作过程中的所有坐标, 确定所述位移轨迹。
以上所述, 仅为本发明的较佳实施例而已, 并非用于限定本发明的保 护范围。 工业实用性
本发明实施例可对用户在触摸屏上的划定区域进行放大, 不需要单独 的放大图标; 放大后, 用户可以直接通过点击触摸对划定区域内的物体进 行自动对焦, 而不需要为了对焦而移动身体, 提高用户体验; 而且可直接 对划定区域进行调整, 不需要由于未能选择到合适的放大区域, 而多次划 定区域, 方便用户的操作。

Claims

权利要求书
1、 一种预览界面选定区域放大的方法, 所述方法包括:
开启拍照或摄像功能, 并在终端的触摸屏上显示预览界面后, 检测用 户在所述预览界面上的触摸操作;
当检测到用户在所述预览界面上的划定区域的触摸操作后, 根据预设 比例放大所述划定区域的显示内容。
2、 如权利要求 1所述的方法, 其中, 所述检测用户在预览界面上的划 定区域的触摸操作包括:
检测到用户在触摸屏上的按下操作和抬起操作后, 记录所述按下操作 和抬起操作在触摸屏上的坐标;
根据所述按下操作和抬起操作的坐标确定所述划定区域。
3、 如权利要求 2所述的方法, 其中, 在所述根据预设比例放大所述划 定区域的显示内容之后, 所述方法还包括:
在所述触摸屏上显示被放大后的所述划定区域的显示内容。
4、 如权利要求 3所述的方法, 其中, 在所述触摸屏上显示被放大后的 所述划定区域的显示内容后, 所述方法还包括:
检测在所述被放大后的所述划定区域内是否有触摸操作;
若有, 则根据所述触摸操作的位移轨迹, 移动所述被放大后的所述划 定区域; 或者,
根据触摸操作的点, 以所述点为中心, 进行对焦。
5、 如权利要求 3或 4所述的方法, 其中, 在所述触摸屏上显示被放大 后的所述划定区域的显示内容后, 所述方法还包括:
检测在所述被放大后的所述划定区域外是否有触摸操作, 若有, 则关 闭所述被放大的所述划定区域的显示内容, 将所述触摸屏上的预览界面恢 复至原始界面。
6、 如权利要求 4所述的方法, 其中, 所述检测在所述被放大后的所述 划定区域内是否有触摸操作包括:
检测到用户在触摸屏上的按下操作和抬起操作后, 记录所述按下操作 和抬起操作在触摸屏上的坐标;
若所述按下操作的坐标在所述被放大后的所述划定区域内, 则判断所 述按下操作和抬起操作在触摸屏上的坐标是否相同;
若所述按下操作和抬起操作在触摸屏上的坐标相同, 则记录所述按下 操作或抬起操作的坐标, 确定所述点;
若所述按下操作和抬起操作在触摸屏上的坐标不同, 记录所述按下操 作和抬起操作过程中的所有坐标, 确定所述位移轨迹。
7、 一种预览界面选定区域放大的装置, 所述装置包括:
触摸操作检测模块, 用于开启拍照或摄像功能, 并在终端的触摸屏上 显示预览界面后, 检测用户在所述预览界面上的触摸操作;
放大模块, 用于当所述触摸操作检测模块检测到用户在所述预览界面 上的划定区域的触摸操作后, 根据预设比例放大所述划定区域的显示内容。
8、如权利要求 7所述的装置, 其中, 所述触摸操作检测模块, 还用于: 检测用户在触摸屏上的按下操作和抬起操作, 并记录所述按下操作和 抬起操作在触摸屏上的坐标;
所述装置还包括: 确定单元, 用于根据所述按下操作和抬起操作的坐 标确定所述划定区域。
9、 根据权利要求 8所述的装置, 其中, 所述装置还包括显示模块, 用 于将所述放大模块放大后的显示内容在所述触摸屏上显示。
10、 如权利要求 9所述的装置, 其中, 所述装置还包括:
移动模块, 用于检测在所述被放大后的所述划定区域内是否有触摸操 作后, 当检测到所述被放大后的所述划定区域内有滑动触摸操作时, 根据 所述触摸操作的位移轨迹, 移动所述被放大后的所述划定区域; 或者, 所述装置还包括:
聚焦模块, 用于检测在所述被放大后的所述划定区域内是否有触摸操 作后, 根据触摸操作的点, 以所述点为中心, 进行对焦。
11、 如权利要求 9或 10所述的装置, 其中, 所述装置还包括: 所述原始界面恢复模块, 用于当所述被放大后的所述划定区域外有触 摸操作时, 关闭所述被放大的所述划定区域的显示内容, 将所述触摸屏上 的预览界面恢复至原始界面。
12、如权利要求 10所述的装置, 其中, 所述触摸操作检测模块还用于: 检测在所述被放大后的所述划定区域内是否有触摸操作的情况下, 检 测到用户在触摸屏上的按下操作和抬起操作后, 记录所述按下操作和抬起 操作在触摸屏上的坐标;
若所述按下操作的坐标在所述被放大后的所述划定区域内, 则判断所 述按下操作和抬起操作在触摸屏上的坐标是否相同;
若所述按下操作和抬起操作在触摸屏上的坐标相同, 则记录所述按下 操作或抬起操作的坐标, 确定所述点;
若所述按下操作和抬起操作在触摸屏上的坐标不同, 记录所述按下操 作和抬起操作过程中的所有坐标, 确定所述位移轨迹。
PCT/CN2014/076404 2013-11-26 2014-04-28 一种预览界面选定区域放大的方法和装置 WO2014183552A1 (zh)

Priority Applications (2)

Application Number Priority Date Filing Date Title
JP2016532133A JP6302061B2 (ja) 2013-11-26 2014-04-28 プレビューインターフェース選定領域拡大方法及び装置
KR1020167013537A KR101893275B1 (ko) 2013-11-26 2014-04-28 프리뷰 인터페이스 선택 영역의 줌인 방법 및 장치

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201310611563.XA CN104679394A (zh) 2013-11-26 2013-11-26 一种预览界面选定区域放大的方法和装置
CN201310611563.X 2013-11-26

Publications (1)

Publication Number Publication Date
WO2014183552A1 true WO2014183552A1 (zh) 2014-11-20

Family

ID=51897688

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2014/076404 WO2014183552A1 (zh) 2013-11-26 2014-04-28 一种预览界面选定区域放大的方法和装置

Country Status (4)

Country Link
JP (1) JP6302061B2 (zh)
KR (1) KR101893275B1 (zh)
CN (1) CN104679394A (zh)
WO (1) WO2014183552A1 (zh)

Families Citing this family (15)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105872816A (zh) * 2015-12-18 2016-08-17 乐视网信息技术(北京)股份有限公司 一种放大视频图像的方法及装置
CN106155523A (zh) * 2016-07-26 2016-11-23 深圳天珑无线科技有限公司 图像放大的方法及装置
CN106231182A (zh) * 2016-07-29 2016-12-14 维沃移动通信有限公司 一种拍照方法及移动终端
CN106775317A (zh) * 2016-12-19 2017-05-31 深圳天珑无线科技有限公司 一种终端控制方法和终端
CN108319411B (zh) * 2017-01-16 2021-08-27 阿里巴巴集团控股有限公司 一种图表局部放大的方法、装置及电子设备
EP3603480A4 (en) * 2017-03-29 2020-04-01 Sony Olympus Medical Solutions Inc. CONTROL DEVICE, EXTERNAL DEVICE, MEDICAL OBSERVATION SYSTEM, CONTROL METHOD, DISPLAY METHOD AND PROGRAM
CN108304134A (zh) * 2018-01-31 2018-07-20 上海与德科技有限公司 预览界面处理方法及电子设备
EP3767359B1 (en) 2018-03-16 2024-01-24 LG Electronics Inc. Liquid iris, optical device comprising same, and mobile terminal
CN109639972A (zh) * 2018-12-18 2019-04-16 北京百度网讯科技有限公司 拍照处理方法、装置及设备
KR102593569B1 (ko) 2019-01-08 2023-10-25 삼성전자주식회사 전자 장치 및 그 제어 방법
CN110113525B (zh) * 2019-04-18 2021-01-05 惠州Tcl移动通信有限公司 拍摄预览方法、装置、存储介质及移动终端
CN110049253B (zh) * 2019-05-31 2021-12-17 努比亚技术有限公司 一种对焦控制方法、设备及计算机可读存储介质
CN114205522B (zh) 2020-01-23 2023-07-18 华为技术有限公司 一种长焦拍摄的方法及电子设备
CN112437232A (zh) * 2020-11-24 2021-03-02 维沃移动通信(杭州)有限公司 拍摄方法、装置、电子设备及可读存储介质
CN112764650B (zh) * 2021-01-29 2022-08-23 久瓴(江苏)数字智能科技有限公司 图形放缩方法、装置、电子设备和存储介质

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101582006A (zh) * 2008-05-13 2009-11-18 明基电通有限公司 交互式电子装置及其交互方法
CN101605207A (zh) * 2009-04-15 2009-12-16 明基电通有限公司 一种数码相机操作方法以及使用此方法的数码相机
CN102289336A (zh) * 2010-06-17 2011-12-21 昆达电脑科技(昆山)有限公司 画面管理系统及方法

Family Cites Families (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP4742296B2 (ja) * 2004-09-22 2011-08-10 カシオ計算機株式会社 撮像装置、合成画像作成方法及びプログラム
KR20100018152A (ko) * 2008-08-06 2010-02-17 주식회사 케이티테크 프리뷰 이미지의 조절을 통해 카메라 모듈을 제어하기 위한휴대용 단말기 및 방법
KR20110054196A (ko) * 2009-11-17 2011-05-25 엘지전자 주식회사 이동 단말기에서 터치를 이용한 이미지 편집 방법 및 이를 위한 장치
JP5760324B2 (ja) * 2010-03-19 2015-08-05 ソニー株式会社 画像処理装置、画像処理方法、画像処理プログラム並びにこの画像処理プログラムが記録された記録媒体
US9363220B2 (en) * 2012-03-06 2016-06-07 Apple Inc. Context-sensitive help for image viewing and editing application
JP5982884B2 (ja) * 2012-03-08 2016-08-31 ソニー株式会社 表示制御装置、表示制御方法およびコンピュータ読み取り可能な記録媒体
CN104346089A (zh) * 2013-07-30 2015-02-11 中兴通讯股份有限公司 一种拍摄区域的确定方法和系统

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101582006A (zh) * 2008-05-13 2009-11-18 明基电通有限公司 交互式电子装置及其交互方法
CN101605207A (zh) * 2009-04-15 2009-12-16 明基电通有限公司 一种数码相机操作方法以及使用此方法的数码相机
CN102289336A (zh) * 2010-06-17 2011-12-21 昆达电脑科技(昆山)有限公司 画面管理系统及方法

Also Published As

Publication number Publication date
KR20160074658A (ko) 2016-06-28
KR101893275B1 (ko) 2018-08-29
CN104679394A (zh) 2015-06-03
JP6302061B2 (ja) 2018-03-28
JP2016541062A (ja) 2016-12-28

Similar Documents

Publication Publication Date Title
WO2014183552A1 (zh) 一种预览界面选定区域放大的方法和装置
WO2015096311A1 (zh) 一种预览界面选定区域放大的方法和装置
US11550420B2 (en) Quick review of captured image data
US8723988B2 (en) Using a touch sensitive display to control magnification and capture of digital images by an electronic device
WO2014161313A1 (zh) 一种拍摄区域的确定方法和系统
WO2017012269A1 (zh) 通过图像确定空间参数的方法、装置及终端设备
WO2016115805A1 (zh) 拍摄方法、拍摄装置、移动终端及计算机存储介质
JP5791448B2 (ja) カメラ装置および携帯端末
KR20140104753A (ko) 신체 부위 검출을 이용한 이미지 프리뷰
KR20140104748A (ko) 다수의 이미지 동시 포착
WO2014173350A1 (zh) 一种拍照处理方法和系统
WO2017059734A1 (zh) 一种图片缩放方法及电子设备
WO2022161340A1 (zh) 图像显示方法、装置及电子设备
WO2022161240A1 (zh) 拍摄方法、装置、电子设备及介质
WO2014057975A1 (ja) 携帯電子機器、その制御方法及びプログラム
WO2015123888A1 (zh) 图片缩放方法及设备
WO2016188199A1 (zh) 图片裁剪方法和装置
JP2013195524A (ja) 画像表示装置
CN112532875B (zh) 终端设备及其图像处理方法、装置、存储介质
TW201714074A (zh) 使用手勢的拍照方法、系統與電子裝置
CN105808102B (zh) 添加边框的方法及装置
WO2018076306A1 (zh) 一种关于拍摄的处理方法、装置、摄像机及系统
CN105931182B (zh) 一种图像的缩放方法及系统
CN109117057A (zh) 图像显示方法、装置及存储介质
JP6409777B2 (ja) 撮像装置、撮像方法及びプログラム

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

Country of ref document: EP

Kind code of ref document: A1

ENP Entry into the national phase

Ref document number: 2016532133

Country of ref document: JP

Kind code of ref document: A

ENP Entry into the national phase

Ref document number: 20167013537

Country of ref document: KR

Kind code of ref document: A

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 14798379

Country of ref document: EP

Kind code of ref document: A1