WO2014161313A1 - 一种拍摄区域的确定方法和*** - Google Patents
一种拍摄区域的确定方法和*** Download PDFInfo
- 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
Links
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F3/00—Input 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/01—Input arrangements or combined input and output arrangements for interaction between user and computer
- G06F3/048—Interaction techniques based on graphical user interfaces [GUI]
- G06F3/0487—Interaction 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/0488—Interaction 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
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F3/00—Input 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/01—Input arrangements or combined input and output arrangements for interaction between user and computer
- G06F3/048—Interaction techniques based on graphical user interfaces [GUI]
- G06F3/0487—Interaction 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/0488—Interaction 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/04886—Interaction 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
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F3/00—Input 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/01—Input arrangements or combined input and output arrangements for interaction between user and computer
- G06F3/048—Interaction techniques based on graphical user interfaces [GUI]
- G06F3/0484—Interaction 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/04847—Interaction techniques to control parameter settings, e.g. interaction with sliders or dials
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04M—TELEPHONIC COMMUNICATION
- H04M1/00—Substation equipment, e.g. for use by subscribers
- H04M1/72—Mobile telephones; Cordless telephones, i.e. devices for establishing wireless links to base stations without route selection
- H04M1/725—Cordless telephones
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F2203/00—Indexing scheme relating to G06F3/00 - G06F3/048
- G06F2203/048—Indexing scheme relating to G06F3/048
- G06F2203/04806—Zoom, 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
一种拍摄区域的确定方法和***。所述方法应用于具有拍照或/和摄像功能的触摸屏终端,包括:开启所述终端的拍照或摄像功能,并在触摸屏上显示预览界面后,检测用户在所述预览界面上的触摸操作;以及检测到用户在所述预览界面上的划定区域的触摸操作后,放大所述划定区域的显示内容。
Description
一种拍摄区域的确定方法和***
技术领域
本发明涉及终端摄像领域, 尤其涉及一种拍摄区域的确定方法和***。
背景技术
目前手机基本都具有拍照和摄像功能, 拍照和摄像功能是人们经常使用 的功能之一, 在拍照和摄像时, 手机屏幕上会呈现预览界面, 目前使用的手 机菜单中有一个对预览内容进行放大的图标, 拍照预览时, 可以拖动此图标 对预览内容进行放大,但是图标对预览内容会有一定遮挡,而且相关技术中, 只能对预览区域的中心进行放大, 如果用户想对非中心的影像进行放大, 必 须移动摄像头, 让预览界面的中心对准需要放大的影像, 不方便用户操作。 发明内容
本发明实施例提供了一种拍摄区域的确定方法和***, 不需要单独地放 大图标, 使预览界面更加整洁, 而且可以对用户在预览界面上任意选取的区 域进行放大。
本发明实施例提供了一种拍摄区域的确定方法,应用于具有拍照或 /和摄 像功能的触摸屏终端, 包括:
开启所述终端的拍照或摄像功能, 并在触摸屏上显示预览界面后, 检测 用户在所述预览界面上的触摸操作; 以及
检测到用户在所述预览界面上的划定区域的触摸操作后, 放大所述划定 区域的显示内容。
可选地, 所述放大所述划定区域的显示内容包括:
将所述划定区域的显示内容放大至整个触摸屏的预览界面。
可选地, 所述方法还包括:
所述放大所述划定区域的显示内容之后, 将所述放大后的显示内容在所
述触摸屏的预览界面上居中显示。
可选地 ,
所述当检测到用户在所述预览界面上的划定区域的触摸操作后, 放大所 述划定区域的显示内容包括:
当检测到用户在所述预览界面上的划定区域的触摸操作后, 对所述划定 区域的中心对焦; 以及
对所述划定区域的中心对焦并得到清晰显示内容后,放大所述显示内容。 可选地 ,
所述检测用户在预览界面上的触摸操作包括:
检测到用户在触摸屏上的按下操作和抬起操作后, 记录所述按下操作和 抬起操作在触摸屏上的坐标; 以及
根据所述按下操作的坐标和抬起操作的坐标确定所述划定区域。
可选地 ,
所述根据按下操作和抬起操作的坐标确定所述划定区域包括:
判断所述抬起操作的横坐标是否大于所述按下操作的横坐标, 以及所述 抬起操作的纵坐标是否大于所述按下操作的纵坐标;
若是, 则将所述按下操作的坐标和抬起操作的坐标之间的区域确定为划 定的矩形区域。
可选地, 所述方法还包括:
所述划定区域形成之后, 检测到用户在触摸屏上的按下操作和抬起操作 后, 判断所述抬起操作的横坐标是否小于所述按下操作的横坐标, 以及所述 抬起操作的纵坐标是否小于所述按下操作的纵坐标;
若是, 则将所述触摸屏上的预览界面恢复至原始界面。
可选地, 所述方法还包括:
所述放大所述划定区域的显示内容之后, 对放大后的区域进行缩放; 其中, 所述对放大后的区域进行缩放包括:
检测触摸屏上的对所述放大后的区域进行缩放的操作; 以及 检测到触摸屏上的对所述放大后的区域进行缩放的操作后, 根据缩放比 例将所述放大后的区域进行缩放。
可选地 ,
所述缩放比例根据所述划定区域的面积与所述触摸屏的预览界面的面积 确定, 或者所述缩放比例为预设的固定比例。
可选地 ,
所述检测到触摸屏上的对所述放大后的区域进行缩放的操作后, 根据缩 放比例将所述放大后的区域进行缩放包括:
检测到用户在触摸屏上的按下操作和抬起操作后, 判断所述抬起操作的 横坐标是否小于所述按下操作的横坐标, 以及所述抬起操作的纵坐标是否小 于所述按下操作的纵坐标;
若是, 则根据缩放比例将所述放大后的区域进行缩放。
本发明实施例还提供了一种拍摄区域的确定***, 包括:
触摸操作检测模块, 其设置成: 在开启所述终端的拍照或摄像功能, 并 在触摸屏上显示预览界面后, 检测用户在所述预览界面上的触摸操作; 以及 放大模块, 其设置成: 所述触摸操作检测模块检测到用户在所述预览界 面上的划定区域的触摸操作后, 放大所述划定区域的显示内容。
可选地, 所述***还包括:
居中显示模块, 其设置成: 将所述放大模块放大后的显示内容在所述触 摸屏的预览界面上居中显示。
可选地, 所述***还包括:
聚焦模块, 其设置成: 在所述放大模块放大所述划定区域的显示内容之 前, 对所述划定区域的中心进行对焦。
可选地,
所述触摸操作检测模块还设置成: 检测用户在触摸屏上的按下操作和抬 起操作, 并判断所述抬起操作的横坐标是否小于所述按下操作的横坐标, 以
及所述抬起操作的纵坐标是否小于所述按下操作的纵坐标;
所述***还包括:
原始界面恢复模块, 其设置成: 在所述触摸操作检测模块检测到所述抬 起操作的横坐标小于所述按下操作的横坐标, 以及所述抬起操作的纵坐标小 于所述按下操作的纵坐标时, 将所述触摸屏上的预览界面恢复至原始界面。
可选地 ,
所述触摸操作检测模块还设置成: 检测用户在触摸屏上的缩放操作; 所述***还包括:
缩放模块, 其设置成: 在所述触摸操作检测模块检测到用户在触摸屏上 的缩放操作后, 根据缩放比例将放大后的区域进行缩放。
本发明实施例中, 可对用户在触摸屏上的划定区域进行放大, 不需要单 独地放大图标, 使预览界面更加整洁。
本发明实施例中, 可对用户在触摸屏上的划定区域内的影像自动对焦, 提高了影像的清晰度。
在触摸屏上划定区域时, 一个触摸动作就可以完成, 提高了用户体验。 附图概述
图 1为根据本发明实施例一中拍摄区域的确定方法的流程图; 图 2为根据本发明实施例二中拍摄区域的确定方法的流程图; 图 3为根据本发明实施例三中拍摄区域的缩放的方法的流程图; 图 4为根据本发明实施例四中拍摄区域的确定***的框图;
图 5为根据本发明实施例五中拍摄区域的确定***的框图。
图 6为本发明实施例一中原始预览界面的示意图;
图 7为本发明实施例一中在图 6中的预览界面上划定区域的示意图; 图 8为本发明实施例一中在图 7中的对划定区域的显示内容进行放大的 示意图。
本发明的较佳实施方式
下文中将结合附图对本发明的实施例进行详细说明。 需要说明的是, 在 不冲突的情况下, 本申请中的实施例及实施例中的特征可以相互任意组合。
方法实施例
实施例一 本发明的一个实施例中,提供了一种拍摄区域的确定方法,如图 1所示, 包括如下步骤:
步骤 S101、开启终端的拍照或摄像功能,并在触摸屏上显示预览界面后, 检测用户在预览界面上的触摸操作。
在操作时, 首选要启动终端的拍照或者摄像功能, 启动后, 终端的触摸 屏上会显示预览界面, 用户可在触摸屏上进行划定区域的操作, 本实施例中 提供了一种划定区域的方法, 即, 检测用户在触摸屏上的按下操作和抬起操 作, 记录按下操作和抬起操作在触摸屏上的坐标, 以触摸屏的左上方为坐标 零点, 当且仅当抬起操作的横坐标大于按下操作的横坐标, 以及抬起操作的 纵坐标大于按下操作的纵坐标时为有效操作, 即, 从触摸屏的左上方向右下 方划时, 操作有效。 当操作有效时, 以这两点的坐标连线为对角线, 形成矩 形区域, 该矩形区域的长度为 XI - X0, 宽度为 Y1 - Y0, 其中 (XI , Y1 ) 为抬起操作的坐标, (X0, Y0 )为按下操作的坐标。 当用户需要划定区域时, 只需要在触摸屏上进行划线操作即可形成一个矩形的区域, 方便操作, 当然 也可以形成其他形状, 例如, 圓形。 也可以使用除了划线操作之外的其他操 作来确定划定区域。
在划定区域形成后, 如果用户想回到预览的初始界面, 可以从屏幕的右 下方向左上方滑动, 即, 终端检测到用户在触摸屏上的按下操作和抬起操作 后, 判断抬起操作的横坐标是否小于按下操作的横坐标, 以及抬起操作的纵 坐标是否小于按下操作的纵坐标, 若是, 则将触摸屏上的预览界面恢复至原 始界面。 当然, 也可以设置其他触发恢复原始界面的方法, 例如, 长按划定 区域, 终端检测到长按操作, 并且按下时间大于预设的时间阔值时, 恢复当 前预览界面至原始预览界面。
步骤 S102、 当检测到用户在预览界面上的划定区域的触摸操作后, 对划 定区域的中心对焦。
在对划定区域的中心进行对焦时, 首先要确定划定区域的中心点坐标, 例如, 在步骤 S101 中的矩形区域中心的横坐标为 (XI - X0 ) /2, 纵坐标为 ( Yl - Y0 ) /2。
步骤 S103、对划定区域的中心对焦并得到清晰显示内容后, 放大显示内 容。
本实施例中的显示内容放大后的面积可以根据触摸屏的预览界面的大小 和划定区域的大小确定。 计算放大倍数的公式为:
A=K ( S1/S2 ) ;
其中, A为划定区域的显示内容的放大倍数(Α > 1 ) , K为预设的放大 系数, S1 为触摸屏的预览界面的面积, S2为划定区域的面积, K的取值优 选为 0 < K 1( K根据不同屏幕与摄像头的搭配而定,可在出厂设置中固定, 当然也可以开放给不同用户, 进行高级设置) 。
下面以附图 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所在的区域的显示内容放 大后的示意图。
步骤 S104、 将放大后的显示内容在触摸屏的预览界面上居中显示。
实施例二
本实施例提供了一种拍摄区域的确定方法,如图 2所示,包括如下步骤: S201、 开启终端的拍照或摄像功能, 并在触摸屏上显示预览界面后, 检 测用户在预览界面上的触摸操作。
S202、 当检测到用户在预览界面上的划定区域的触摸操作后, 放大划定 区域的显示内容并存储。
本实施例与实施例一中主要有两点不同:
1、在检测到用户在预览界面上的划定区域的触摸操作后,直接放大划定 区域的显示内容, 即, 省略了放大显示内容之前的聚焦步骤。
2、放大划定区域的显示内容后,并未将该显示内容在触摸屏的预览界面 上显示, 而是直接将显示内容存储, 存储显示内容后可以直接成像, 也可以 进行后续的其他操作。
实施例三
本实施例提供了一种拍摄区域的缩放的方法, 在上述的实施例一的基础 上实施,即,为对实施例一中的放大后的区域进行缩放的方法,如图 3所示, 包括如下步骤:
5301、 检测触摸屏上的对放大后的区域进行缩放的操作。
可选地, 用户对放大后的区域进行缩放的操作为:
检测到触摸屏上的按下操作和抬起操作后, 判断抬起操作的横坐标是否 小于所述按下操作的横坐标, 以及抬起操作的纵坐标是否小于所述按下操作 的纵坐标, 若是, 则用户对放大后的区域进行缩放的操作。
当然, 也可以设置其他缩放的操作, 例如, 长按划定区域, 终端检测到 长按操作,并且按下时间大于预设的时间阔值时,对放大后的区域进行缩放。
5302、 检测到触摸屏上的对放大后的区域进行缩放的操作后, 根据缩放 比例将所述放大后的区域进行缩放。
在缩放时, 以放大后的区域的中心为中心对放大区域进行缩放, 本实施 例中缩放比例可以根据触摸屏的预览界面的面积和划定区域的面积确定, 例 如, A=K ( S3/S1 ) , 其中, A为缩放比例, K为缩放系数, S1为触摸屏的 预览界面的面积, S3为划定区域的面积(K根据不同屏幕与摄像头的搭配而 定, 可在出厂设置中固定, 当然也可以开放给不同用户, 进行高级设置) 。
当然, 也可以在终端中预设固定的缩放比例, 例如, 检测到用户的缩放 操作后, 将放大后的区域缩放 1/2。
装置实施例
实施例四
本实施例提供了一种拍摄区域的确定***, 如图 4所示, 包括: 触摸操作检测模块 41 , 其用于: 在开启所述终端的拍照或摄像功能, 并 在触摸屏上显示预览界面后, 检测用户在所述预览界面上的触摸操作; 聚焦模块 42 , 其用于: 在所述触摸操作检测模块 41检测到用户在所述 预览界面上的划定区域的触摸操作后, 对划定区域的中心进行对焦;
放大模块 43 , 其用于: 在所述聚焦模块 42在对划定区域的中心进行对 焦并得到清晰的显示内容后, 放大显示内容;
居中显示模块 44, 其用于: 将所述放大模块 43放大后的显示内容在触 摸屏的预览界面上居中显示; 以及
原始界面恢复模块 45 , 其用于: 在所述触摸操作检测模块 41检测到触 摸屏上的抬起操作和按下操作, 并确定所述抬起操作的横坐标小于所述按下 操作的横坐标, 以及所述抬起操作的纵坐标小于所述按下操作的纵坐标时, 将所述触摸屏上的预览界面恢复至原始界面。
实施例五
本实施例提供了一种拍摄区域的确定***, 如图 5所示, 包括: 触摸操作检测模块 41 , 其用于: 在开启所述终端的拍照或摄像功能, 并 在触摸屏上显示预览界面后, 检测用户在所述预览界面上的触摸操作; 聚焦模块 42 , 其用于: 在所述触摸操作检测模块 41检测到用户在所述 预览界面上的划定区域的触摸操作后, 对划定区域的中心进行对焦;
放大模块 43 , 其用于: 在所述聚焦模块 42在对划定区域的中心进行对 焦并得到清晰的显示内容后, 放大显示内容; 以及
缩放模块 46 , 其用于: 在所述触摸操作检测模块 41检测到用户在触摸 屏上的缩放操作后, 根据缩放比例将所述放大后的区域进行缩放。
可选地, 用户对放大后的区域进行缩放的操作为:
检测到触摸屏上的按下操作和抬起操作后, 判断抬起操作的横坐标是否 小于所述按下操作的横坐标, 以及抬起操作的纵坐标是否小于所述按下操作 的纵坐标, 若是, 则用户对放大后的区域进行缩放的操作。
当然, 也可以设置其他缩放的操作, 例如, 长按划定区域, 终端检测到 长按操作,并且按下时间大于预设的时间阔值时,对放大后的区域进行缩放。
在缩放时, 以放大后的区域的中心为中心对放大区域进行缩放, 本实施 例中缩放比例可以根据触摸屏的预览界面的面积和划定区域的面积确定, 例 如, A=K ( S3/S1 ) , 其中, A为缩放比例, K为缩放系数, S1为触摸屏的 预览界面的面积, S3为划定区域的面积(K根据不同屏幕与摄像头的搭配而 定, 可在出厂设置中固定, 当然也可以开放给不同用户, 进行高级设置) 。
当然, 也可以在终端中预设固定的缩放比例, 例如, 检测到用户的缩放 操作后, 将放大后的区域缩放 1/2。
显然, 本领域的技术人员应该明白, 上述本发明实施例的各模块或各步 骤可以用通用的计算装置来实现, 它们可以集中在单个的计算装置上, 或者 分布在多个计算装置所组成的网络上, 可选地, 它们可以用计算装置可执行 的程序代码来实现,从而,可以将它们存储在存储装置中由计算装置来执行, 并且在某些情况下, 可以以不同于此处的顺序执行所示出或描述的步骤, 或 者将它们分别制作成各个集成电路模块, 或者将它们中的多个模块或步骤制 作成单个集成电路模块来实现。 这样, 本发明实施例不限制于任何特定的硬 件和软件结合。
以上仅为本发明的优选实施例而已, 并不用于限制本发明。 对于本领域 的技术人员来说, 本发明实施例可以有各种更改和变化。 凡在本发明实施例 的精神和原则之内, 所作的任何修改、 等同替换、 改进等, 均应包含在本发 明所附权利要求的保护范围之内。
工业实用性
釆用本发明实施例的方法和***, 不需要单独地放大图标, 使预览界面 更加整洁, 而且可以对用户在预览界面上任意选取的区域进行放大。
Claims
1、 一种拍摄区域的确定方法, 应用于具有拍照或 /和摄像功能的触摸屏 终端, 包括:
开启所述终端的拍照或摄像功能, 并在触摸屏上显示预览界面后, 检测 用户在所述预览界面上的触摸操作; 以及
检测到所述用户在所述预览界面上的划定区域的触摸操作后, 放大所述 划定区域的显示内容。
2、 如权利要求 1所述的方法, 其中:
所述放大所述划定区域的显示内容包括:
将所述划定区域的显示内容放大至整个触摸屏的预览界面。
3、 如权利要求 1所述的方法, 还包括:
所述放大所述划定区域的显示内容之后, 将所述放大后的显示内容在所 述触摸屏的预览界面上居中显示。
4、 如权利要求 1或 2所述的方法, 其中:
所述当检测到所述用户在所述预览界面上的划定区域的触摸操作后, 放 大所述划定区域的显示内容包括:
当检测到所述用户在所述预览界面上的划定区域的触摸操作后, 对所述 划定区域的中心对焦; 以及
对所述划定区域的中心对焦并得到清晰显示内容后,放大所述显示内容。
5、 如权利要求 1所述的方法, 其中:
所述检测用户在预览界面上的触摸操作包括:
检测到所述用户在所述触摸屏上的按下操作和抬起操作后, 记录所述按 下操作和所述抬起操作在所述触摸屏上的坐标; 以及 根据所述按下操作的坐标和所述抬起操作的坐标确定所述划定区域。
6、 如权利要求 5所述的方法, 其中:
所述根据所述按下操作和所述抬起操作的坐标确定所述划定区域包括:
判断所述抬起操作的横坐标是否大于所述按下操作的横坐标, 以及所述 抬起操作的纵坐标是否大于所述按下操作的纵坐标;
若是, 则将所述按下操作的坐标和所述抬起操作的坐标之间的区域确定 为划定的矩形区域。
7、 如权利要求 1所述的方法, 还包括:
所述划定区域形成之后, 检测到所述用户在所述触摸屏上的按下操作和 抬起操作后, 判断所述抬起操作的横坐标是否小于所述按下操作的横坐标, 以及所述抬起操作的纵坐标是否小于所述按下操作的纵坐标;
若是, 则将所述触摸屏上的预览界面恢复至原始界面。
8、 如权利要求 1所述的方法, 还包括:
所述放大所述划定区域的显示内容之后, 对放大后的区域进行缩放; 其中, 所述对放大后的区域进行缩放包括:
检测所述触摸屏上的对所述放大后的区域进行缩放的操作; 以及 检测到所述触摸屏上的对所述放大后的区域进行缩放的操作后, 根据缩 放比例将所述放大后的区域进行缩放。
9、 如权利要求 8所述的方法, 其中:
所述缩放比例根据所述划定区域的面积与所述触摸屏的预览界面的面积 确定, 或者所述缩放比例为预设的固定比例。
10、 如权利要求 8所述的方法, 其中:
所述检测到所述触摸屏上的对所述放大后的区域进行缩放的操作后, 根 检测到所述用户在所述触摸屏上的按下操作和抬起操作后, 判断所述抬 起操作的横坐标是否小于所述按下操作的横坐标, 以及所述抬起操作的纵坐 标是否小于所述按下操作的纵坐标;
11、 一种拍摄区域的确定***, 包括:
触摸操作检测模块, 其设置成: 在开启终端的拍照或摄像功能, 并在触
摸屏上显示预览界面后, 检测用户在所述预览界面上的触摸操作; 以及 放大模块, 其设置成: 所述触摸操作检测模块检测到所述用户在所述预 览界面上的划定区域的触摸操作后, 放大所述划定区域的显示内容。
12、 如权利要求 11所述的***, 还包括:
居中显示模块, 其设置成: 将所述放大模块放大后的显示内容在所述触 摸屏的预览界面上居中显示。
13、 如权利要求 11或 12所述的***, 还包括:
聚焦模块, 其设置成: 在所述放大模块放大所述划定区域的显示内容之 前, 对所述划定区域的中心进行对焦。
14、 如权利要求 11所述的***, 其中:
所述触摸操作检测模块还设置成: 检测所述用户在所述触摸屏上的按下 操作和抬起操作, 并判断所述抬起操作的横坐标是否小于所述按下操作的横 坐标, 以及所述抬起操作的纵坐标是否 d、于所述按下操作的纵坐标;
所述***还包括:
原始界面恢复模块, 其设置成: 在所述触摸操作检测模块检测到所述抬 起操作的横坐标小于所述按下操作的横坐标, 以及所述抬起操作的纵坐标小 于所述按下操作的纵坐标时, 将所述触摸屏上的预览界面恢复至原始界面。
15、 如权利要求 11所述的***, 其中:
所述触摸操作检测模块还设置成: 检测所述用户在所述触摸屏上的缩放 操作;
所述***还包括:
缩放模块, 其设置成: 在所述触摸操作检测模块检测到所述用户在所述 触摸屏上的缩放操作后, 根据缩放比例将放大后的区域进行缩放。
Applications Claiming Priority (2)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201310324902.6 | 2013-07-30 | ||
CN201310324902.6A CN104346089A (zh) | 2013-07-30 | 2013-07-30 | 一种拍摄区域的确定方法和*** |
Publications (1)
Publication Number | Publication Date |
---|---|
WO2014161313A1 true WO2014161313A1 (zh) | 2014-10-09 |
Family
ID=51657502
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
PCT/CN2013/087103 WO2014161313A1 (zh) | 2013-07-30 | 2013-11-14 | 一种拍摄区域的确定方法和*** |
Country Status (2)
Country | Link |
---|---|
CN (1) | CN104346089A (zh) |
WO (1) | WO2014161313A1 (zh) |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN108111649A (zh) * | 2017-12-25 | 2018-06-01 | 广东欧珀移动通信有限公司 | 电子装置、拍照方法及相关产品 |
Families Citing this family (10)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN104679394A (zh) * | 2013-11-26 | 2015-06-03 | 中兴通讯股份有限公司 | 一种预览界面选定区域放大的方法和装置 |
KR20160133781A (ko) * | 2015-05-13 | 2016-11-23 | 엘지전자 주식회사 | 이동단말기 및 그 제어방법 |
CN106331463B (zh) * | 2015-06-26 | 2019-05-14 | 小米科技有限责任公司 | 摄像头焦距放大方法及装置 |
CN105930077A (zh) * | 2016-04-12 | 2016-09-07 | 广东欧珀移动通信有限公司 | 屏幕显示对象的尺寸调整方法及装置 |
WO2018209524A1 (zh) * | 2017-05-15 | 2018-11-22 | 深圳市永恒丰科技有限公司 | 照片的拍摄处理方法、照片的拍摄处理装置 |
CN107809581A (zh) * | 2017-09-29 | 2018-03-16 | 天津远翥科技有限公司 | 图像处理方法、装置、终端设备及无人机 |
CN108536364A (zh) * | 2017-12-28 | 2018-09-14 | 努比亚技术有限公司 | 一种拍摄方法、终端及计算机可读存储介质 |
CN108304134A (zh) * | 2018-01-31 | 2018-07-20 | 上海与德科技有限公司 | 预览界面处理方法及电子设备 |
CN110113525B (zh) * | 2019-04-18 | 2021-01-05 | 惠州Tcl移动通信有限公司 | 拍摄预览方法、装置、存储介质及移动终端 |
CN111142765A (zh) * | 2019-11-14 | 2020-05-12 | 北京无限光场科技有限公司 | 图像显示方法、装置和电子设备 |
Citations (6)
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 (zh) * | 2008-12-19 | 2010-09-08 | 三星电子株式会社 | 使用多输入方案的拍摄方法以及使用其的拍摄装置 |
US20100299641A1 (en) * | 2009-05-21 | 2010-11-25 | Research In Motion Limited | Portable electronic device and method of controlling same |
CN102084327A (zh) * | 2009-05-19 | 2011-06-01 | 索尼公司 | 数字图像处理装置以及进行基于触摸的图像缩放的相关方法 |
CN102855063A (zh) * | 2012-08-09 | 2013-01-02 | 鸿富锦精密工业(深圳)有限公司 | 电子设备及其图片缩放方法 |
US20130176245A1 (en) * | 2012-01-11 | 2013-07-11 | Samsung Electronics Co., Ltd | Apparatus and method for zooming touch screen in electronic device |
-
2013
- 2013-07-30 CN CN201310324902.6A patent/CN104346089A/zh active Pending
- 2013-11-14 WO PCT/CN2013/087103 patent/WO2014161313A1/zh active Application Filing
Patent Citations (6)
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 (zh) * | 2008-12-19 | 2010-09-08 | 三星电子株式会社 | 使用多输入方案的拍摄方法以及使用其的拍摄装置 |
CN102084327A (zh) * | 2009-05-19 | 2011-06-01 | 索尼公司 | 数字图像处理装置以及进行基于触摸的图像缩放的相关方法 |
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 (zh) * | 2012-08-09 | 2013-01-02 | 鸿富锦精密工业(深圳)有限公司 | 电子设备及其图片缩放方法 |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN108111649A (zh) * | 2017-12-25 | 2018-06-01 | 广东欧珀移动通信有限公司 | 电子装置、拍照方法及相关产品 |
Also Published As
Publication number | Publication date |
---|---|
CN104346089A (zh) | 2015-02-11 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
WO2014161313A1 (zh) | 一种拍摄区域的确定方法和*** | |
WO2015096311A1 (zh) | 一种预览界面选定区域放大的方法和装置 | |
US9591225B2 (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 | |
US20170180649A1 (en) | Method for photographing control and electronic device thereof | |
US10222903B2 (en) | Display control apparatus and control method thereof | |
WO2014183552A1 (zh) | 一种预览界面选定区域放大的方法和装置 | |
JP5982884B2 (ja) | 表示制御装置、表示制御方法およびコンピュータ読み取り可能な記録媒体 | |
WO2016115805A1 (zh) | 拍摄方法、拍摄装置、移动终端及计算机存储介质 | |
WO2015139469A1 (zh) | 网页调整方法、装置及电子设备 | |
WO2014026632A1 (zh) | 一种图片显示处理方法及装置 | |
WO2017063133A1 (zh) | 一种拍摄方法和移动设备 | |
JP6978826B2 (ja) | 表示制御装置及びその制御方法、プログラム、並びに記憶媒体 | |
WO2015081544A1 (zh) | 触摸屏显示控制的方法及移动设备 | |
EP3731078A1 (en) | Method and apparatus for responding to gesture operation and storage medium | |
JP6198459B2 (ja) | 表示制御装置、表示制御装置の制御方法、プログラム及び記憶媒体 | |
WO2016188199A1 (zh) | 图片裁剪方法和装置 | |
CA2807866C (en) | User interface for a digital camera | |
CN104636040A (zh) | 一种图像显示处理方法及装置 | |
JP2019191988A (ja) | 電子機器、電子機器の制御方法、プログラム、及び、記憶媒体 | |
KR101083158B1 (ko) | 터치스크린이 구비된 이동 단말기의 컨텐츠 전환 방법 | |
JP2012243266A (ja) | 電子機器及び表示方法 | |
JP2016187105A (ja) | 電子機器、電子機器の撮影制御方法、および電子機器の撮影制御プログラム | |
JP2017204718A (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: 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 |