WO2015043382A1 - 一种适用于触屏设备的截图装置和方法 - Google Patents

一种适用于触屏设备的截图装置和方法 Download PDF

Info

Publication number
WO2015043382A1
WO2015043382A1 PCT/CN2014/086405 CN2014086405W WO2015043382A1 WO 2015043382 A1 WO2015043382 A1 WO 2015043382A1 CN 2014086405 W CN2014086405 W CN 2014086405W WO 2015043382 A1 WO2015043382 A1 WO 2015043382A1
Authority
WO
WIPO (PCT)
Prior art keywords
rectangular frame
touch
screen
track
current image
Prior art date
Application number
PCT/CN2014/086405
Other languages
English (en)
French (fr)
Inventor
叶胜茂
Original Assignee
北京奇虎科技有限公司
奇智软件(北京)有限公司
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by 北京奇虎科技有限公司, 奇智软件(北京)有限公司 filed Critical 北京奇虎科技有限公司
Publication of WO2015043382A1 publication Critical patent/WO2015043382A1/zh

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/048Interaction techniques based on graphical user interfaces [GUI]
    • G06F3/0487Interaction techniques based on graphical user interfaces [GUI] using specific features provided by the input device, e.g. functions controlled by the rotation of a mouse with dual sensing arrangements, or of the nature of the input device, e.g. tap gestures based on pressure sensed by a digitiser
    • G06F3/0488Interaction techniques based on graphical user interfaces [GUI] using specific features provided by the input device, e.g. functions controlled by the rotation of a mouse with dual sensing arrangements, or of the nature of the input device, e.g. tap gestures based on pressure sensed by a digitiser using a touch-screen or digitiser, e.g. input of commands through traced gestures
    • G06F3/04883Interaction techniques based on graphical user interfaces [GUI] using specific features provided by the input device, e.g. functions controlled by the rotation of a mouse with dual sensing arrangements, or of the nature of the input device, e.g. tap gestures based on pressure sensed by a digitiser using a touch-screen or digitiser, e.g. input of commands through traced gestures for inputting data by handwriting, e.g. gesture or text
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/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/04842Selection of displayed objects or displayed text elements

Definitions

  • the present invention relates to the field of computer application technologies, and in particular, to a screenshot device and method suitable for a touch screen device.
  • screenshot software On the PC, there are numerous screenshot software. Most of the screenshot software selects the area of the screenshot area, given a regular rectangular border, with the upper left corner or the lower left corner as the coordinate starting point, and the user uses the mouse to drag the border size.
  • touch-screen devices such as mobile phones and tablets
  • the accuracy cannot be compared with the operation of the mouse using the mouse, and it is difficult to accurately select the frame size at one time.
  • the present invention has been made in order to provide a screenshot apparatus and method suitable for a touch screen device that overcomes the above problems or at least partially solves or alleviates the above problems.
  • a screenshot device suitable for use in a touch screen device comprising:
  • the receiving user identifies a touch track on the touch screen that intercepts the selected area of the current image, and according to each point on the touch track, determines a minimum rectangular frame including each point on the touch track, and highlights Displaying the rectangular frame;
  • a screenshot unit adapted to capture a portion of the screen image located within the rectangular frame.
  • a screenshot method suitable for a touch screen device comprising:
  • a portion of the screen image located within the rectangular frame is intercepted.
  • a computer program that, when run on a client device, causes the client device to perform the screenshot method of one aspect of the present invention.
  • a computer readable medium storing a computer program according to still another aspect of the present invention is provided.
  • the receiving user identifies a touch trajectory on the touch screen that intercepts the selected region of the current image, and determines a minimum rectangular frame including each point on the touch trajectory according to each point on the touch trajectory.
  • the technical solution of highlighting the rectangular frame and then capturing a part of the screen image located in the minimum rectangular frame can automatically generate a rectangular frame according to the touch trajectory of the user, and accurately capture the area selected by the user for screen capture.
  • FIG. 1 shows a flow chart of a screenshot method suitable for a touch screen device, in accordance with one embodiment of the present invention
  • FIG. 2 shows a detailed flow chart of a screenshot method suitable for a touch screen device, in accordance with one embodiment of the present invention
  • FIG. 3 shows a schematic diagram of a touch trajectory formed by a user on a current image in accordance with an embodiment of the present invention
  • FIG. 4 shows a schematic diagram of a minimum rectangular box containing each point on a user's touch track in accordance with one embodiment of the present invention
  • FIG. 5 is a schematic diagram showing a plurality of touch points for adjusting the size of a rectangular frame on a boundary of a rectangular frame according to an embodiment of the present invention
  • FIG. 6 shows a block diagram of a screenshot device suitable for a touch screen device in accordance with one embodiment of the present invention
  • FIG. 7 is a structural diagram of a screenshot device suitable for a touch screen device according to still another embodiment of the present invention.
  • Figure 8 is a schematic block diagram of a client device for performing a screenshot method in accordance with the present invention.
  • Fig. 9 schematically shows a storage unit for holding or carrying program code implementing the screenshot method according to the present invention.
  • FIG. 1 shows a flow chart of a screenshot method suitable for a touch screen device in accordance with one embodiment of the present invention. As shown in Figure 1, the method includes:
  • Step S110 The receiving user identifies, on the touch screen, a touch track that intercepts the selected area of the current image, and according to each point on the touch track, determines a minimum rectangular frame including each point on the touch track, and highlights The rectangular frame.
  • Step S120 intercepting a part of the screen image located in the rectangular frame.
  • a rectangular frame can be automatically generated according to the touch trajectory of the user, and the area selected by the user can be accurately captured for screen capture, thereby solving the problem that the contact area between the finger and the screen is large, and the accuracy cannot be compared with the mouse. It is difficult to accurately select the border of the screen portion at one time. In this way, the user only needs to draw a circle on the screen of the touch screen device to draw a circle or outline the key portion, and then generate a screenshot of the smallest rectangular frame of the track.
  • the method before the step S110, further comprises: according to the screenshot triggering command, first saving the current screen of the touch screen of the device into the memory, and then reading the current screen from the memory, and Save as the current image and display the current image on the touch screen.
  • the step of displaying the rectangular frame in step S110 specifically includes: covering all the areas on the current image on the touch screen to cover the mask effect, and removing the mask effect in the area of the rectangular frame to highlight the rectangular frame . Details are shown in Figure 2.
  • FIG. 2 shows a detailed flow chart of a screenshot method suitable for a touch screen device in accordance with one embodiment of the present invention. As shown in Figure 2, the method includes:
  • Step S210 according to the screenshot trigger command, first save the current screen of the touch screen of the device to the inside. Save in.
  • step S220 the current picture is read from the memory and saved as the current image.
  • saving to the current image means saving to the image format.
  • step S230 the current image is displayed on the touch screen, and all areas on the current image on the touch screen cover the mask effect.
  • a dark mask is masked on the current image on the touch screen.
  • Step S240 the receiving user identifies a touch track on the touch screen that intercepts the selected area of the current image, and determines a minimum rectangular frame including each point on the touch track according to each point on the touch track.
  • FIG. 3 shows a schematic diagram of a touch trajectory formed by a user on a current image in accordance with one embodiment of the present invention.
  • Step S250 displaying the rectangular frame on the current image on the touch screen, and removing the mask effect in the area of the rectangular frame to highlight the rectangular frame.
  • FIG. 4 shows a schematic diagram of a minimum rectangular frame containing each point on a user's touch track in accordance with one embodiment of the present invention, wherein the mask in the rectangular frame area is removed, brighter than other portions, Get highlighted results.
  • Step S260 Display a plurality of touch points for adjusting the size of the rectangular frame on the boundary of the rectangular frame, and adjust the size of the rectangular frame if the user moves the touch points.
  • FIG. 5 illustrates a schematic diagram of displaying a plurality of touch points for resizing a rectangular frame on a boundary of a rectangular frame in accordance with an embodiment of the present invention.
  • the user can further edit the size of the rectangular frame by moving the touch point.
  • Step S270 intercepting a portion of the rectangular frame of the current image displayed on the touch screen.
  • Intercepted parts can be saved, copied or shared directly to others.
  • the screenshot method applicable to the touch screen device of the present invention may further include: processing the portion outside the closed track in the rectangular frame into a transparent color when the touch track is a closed track.
  • a portion outside the closed track within the rectangular frame can be processed into a png image of a transparent color.
  • Figure 6 shows a block diagram of a screenshot device suitable for use in a touch screen device in accordance with one embodiment of the present invention.
  • the apparatus includes: a display processing unit 610 and a screenshot unit 620.
  • the display processing unit 610 is configured to receive, by the user, a touch track on the touch screen that intercepts the selected area of the current image, and determine, according to each point on the touch track, a minimum rectangular frame including each point on the touch track, and Highlight the rectangular frame;
  • the screenshot unit 620 is adapted to intercept a partial screen image located in the rectangular frame.
  • the device shown in FIG. 6 can automatically generate a rectangular frame according to the user's touch trajectory, accurately capture the area selected by the user for screen capture, thereby solving the problem that the contact area between the finger and the screen is large, and the accuracy cannot be compared with the mouse. It is difficult to accurately select the border of the screen capture portion at one time. In this way, the user only needs to draw a circle on the screen of the touch screen device to draw a circle or outline the key portion, and then generate a screenshot of the smallest rectangular frame of the track.
  • FIG. 7 shows a block diagram of a screenshot device suitable for a touch screen device in accordance with yet another embodiment of the present invention.
  • the apparatus includes a display processing unit 710, a screenshot unit 720, a rectangular frame editing unit 730, and a closed trajectory processing unit 740.
  • the display processing unit 710 is configured to receive, by the user, a touch track on the touch screen that intercepts the selected area of the current image, and determine, according to each point on the touch track, a minimum rectangular frame including each point on the touch track, and Highlight the rectangular box.
  • the screenshot unit 720 is adapted to intercept a partial screen image located in the rectangular frame.
  • the rectangular frame editing unit 730 is adapted to display a plurality of touch points for adjusting the size of the rectangular frame on the boundary of the rectangular frame.
  • the closed track processing unit 740 is adapted to process the portion outside the closed track in the rectangular frame into a transparent color when the touch track is a closed track.
  • the display processing unit 701 is adapted to be in the receiving user Before the touch screen on the touch screen identifies the touch track of the selected area of the current image, according to the screenshot trigger command, the current screen of the touch screen of the device is first saved into the memory, and then the current picture is read from the memory and saved as the current image. And displaying the current image on the touch screen; and being adapted to cover the mask effect on all areas on the current image on the touch screen, and removing the mask effect in the area of the rectangular frame to highlight the rectangular frame.
  • saving the current picture in the memory as the current picture means saving it as a picture format.
  • the mask effect refers to a dark mask on the current image on the touch screen.
  • the display processing unit 701 is adapted to traverse the coordinate value of each point on the touch track with the lower left corner of the current image as a coordinate origin, and obtain coordinate values of all points traversed
  • the receiving user identifies a touch trajectory on the touch screen that intercepts the selected area of the current image, and determines each point on the touch trajectory according to each point on the touch trajectory.
  • the minimum rectangular frame, and highlighting the rectangular frame, and then intercepting a part of the screen image located in the minimum rectangular frame can automatically generate a rectangular frame according to the user's touch trajectory, accurately capturing the area selected by the user for screen capture Therefore, the problem that the contact area between the finger and the screen is large, the precision cannot be compared with the mouse, and it is difficult to accurately select the frame of the screen part at one time.
  • the various component embodiments of the present invention may be implemented in hardware, or in a software module running on one or more processors, or in a combination thereof.
  • a microprocessor or digital signal processor may be used in practice to implement some or all of the functionality of some or all of the components of the screen capture device in accordance with embodiments of the present invention.
  • the invention can also be implemented as a device or device program (e.g., a computer program and a computer program product) for performing some or all of the methods described herein.
  • a program implementing the invention may be stored on a computer readable medium or may be in the form of one or more signals. Such signals may be downloaded from an Internet website, provided on a carrier signal, or provided in any other form.
  • Figure 8 schematically illustrates a client device for performing a screenshot method in accordance with the present invention
  • the client device traditionally includes a processor 810 and a computer program product or computer readable medium in the form of a memory 820.
  • the memory 820 may be an electronic memory such as a flash memory, an EEPROM (Electrically Erasable Programmable Read Only Memory), an EPROM, a hard disk, or a ROM.
  • Memory 820 has a memory space 830 for program code 831 for performing any of the method steps described above.
  • storage space 830 for program code may include various program code 831 for implementing various steps in the above methods, respectively.
  • the program code can be read from or written to one or more computer program products.
  • These computer program products include program code carriers such as hard disks, compact disks (CDs), memory cards or floppy disks.
  • Such a computer program product is typically a portable or fixed storage unit as described with reference to FIG. Figure 9 schematically illustrates a storage unit for holding or carrying program code implementing a screenshot method in accordance with the present invention; the storage unit may have a storage segment, storage similar to the memory 820 in the client device of Figure 8 Space, etc.
  • the program code can be compressed, for example, in an appropriate form.
  • the storage unit includes computer readable code 831', ie, code that can be read by a processor, such as 810, that when executed by the client device causes the client device to perform the method described above The various steps.

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)

Abstract

本发明公开了一种适用于触屏设备的截图装置和方法,包括接收用户在触屏上标识截取当前图像选定区域的触摸轨迹,根据所述触摸轨迹上的每个点,确定包含所述触摸轨迹上的每个点的最小矩形框,并突出显示所述矩形框,然后截取位于所述最小矩形框内的部分屏幕图像。本发明的技术方案,能够根据用户的触摸轨迹自动生成矩形框,准确捕捉到用户选择的区域进行截屏,由此解决了由于手指或触控笔等与屏幕接触面积较大,精准度不高,很难准确选择截屏部分的问题。

Description

一种适用于触屏设备的截图装置和方法 技术领域
本发明涉及计算机应用技术领域,具体涉及一种适用于触屏设备的截图装置和方法。
背景技术
通常人们想将计算机、手机等智能终端的屏幕内的某段内容分享给其他人时,根据该段内容的不同性质,可能会发送网址、或发送图片或复制及输入文字。这样的方式不仅分享过程复杂,还有会在一定程度上丢失原始内容的形态。而通过传递屏幕页面截图,人们不用关心待分享的内容形态,就能够直接方便地分享或交流页面内容。尤其在触屏设备上,由于手指点击区域比鼠标模糊,难以精准保存和复制文字或图片。此时,截图传递屏幕信息将提高此操作的便捷性并最符合原始内容源的外观。
在PC上,有众多的截图软件。大多数截图软件的选择截图区域的方式,都是给定一个规则矩形边框,以左上角或左下角为坐标起点,由用户使用鼠标拖动边框大小。但在触屏设备(如手机和平板电脑)中,由于手指或触控笔等设备与屏幕接触面积较大,精准度无法与PC使用鼠标操作相比较,很难一次性地准确选择边框大小。
发明内容
鉴于上述问题,提出了本发明以便提供一种克服上述问题或者至少部分地解决或者减缓上述问题的一种适用于触屏设备的截图装置和方法。
根据本发明的一个方面,提供了一种适用于触屏设备的截图装置,该装置包括:
显示处理单元,接收用户在触屏上标识截取当前图像选定区域的触摸轨迹,根据所述触摸轨迹上的每个点,确定包含所述触摸轨迹上的每个点的最小矩形框,并突出显示所述矩形框;
截图单元,适于截取位于所述矩形框内的部分屏幕图像。
根据本发明的另一方面,提供了一种适用于触屏设备的截图方法,该方法包括:
接收用户在触屏上标识截取当前图像选定区域的触摸轨迹,根据所述触 摸轨迹上的每个点,确定包含所述触摸轨迹上的每个点的最小矩形框,并突出显示所述矩形框;
截取位于所述矩形框内的部分屏幕图像。
根据本发明的又一个方面,提供了一种计算机程序,当计算机可读代码在客户端设备上运行时,导致客户端设备执行本发明一个方面所述的截图方法。
根据本发明的再一个方面,提供了一种计算机可读介质,其中存储了本发明又一个方面所述的计算机程序。
根据本发明的这种接收用户在触屏上标识截取当前图像选定区域的触摸轨迹,根据所述触摸轨迹上的每个点,确定包含所述触摸轨迹上的每个点的最小矩形框,并突出显示所述矩形框,然后截取位于所述最小矩形框内的部分屏幕图像的技术方案,能够根据用户的触摸轨迹自动生成矩形框,准确捕捉到用户选择的区域进行截屏。
上述说明仅是本发明技术方案的概述,为了能够更清楚了解本发明的技术手段,而可依照说明书的内容予以实施,并且为了让本发明的上述和其它目的、特征和优点能够更明显易懂,以下特举本发明的具体实施方式。
附图说明
通过阅读下文优选实施方式的详细描述,各种其他的优点和益处对于本领域普通技术人员将变得清楚明了。附图仅用于示出优选实施方式的目的,而并不认为是对本发明的限制。而且在整个附图中,用相同的参考符号表示相同的部件。在附图中:
图1示出了根据本发明一个实施例的一种适用于触屏设备的截图方法的流程图;
图2示出了根据本发明一个实施例的一种适用于触屏设备的截图方法的详细流程图;
图3示出了根据本发明一个实施例中的用户在当前图像上形成的触摸轨迹的示意图;
图4示出了根据本发明一个实施例中的包含用户的触摸轨迹上的每个点的最小矩形框的示意图;
图5示出了根据本发明一个实施例中的在矩形框的边界上显示多个用于调整矩形框大小的触控点的示意图;
图6示出了根据本发明一个实施例中的一种适用于触屏设备的截图装置的结构图;
图7示出了根据本发明又一个实施例中的一种适用于触屏设备的截图装置的结构图;
图8示意性地示出了用于执行根据本发明的截图方法的客户端设备的框图;以及
图9示意性地示出了用于保持或者携带实现根据本发明的截图方法的程序代码的存储单元。
具体实施例
下面结合附图和具体的实施方式对本发明作进一步的描述。
图1示出了根据本发明一个实施例的一种适用于触屏设备的截图方法的流程图。如图1所示,该方法包括:
步骤S110,接收用户在触屏上标识截取当前图像选定区域的触摸轨迹,根据所述触摸轨迹上的每个点,确定包含所述触摸轨迹上的每个点的最小矩形框,并突出显示所述矩形框。
步骤S120,截取位于所述矩形框内的部分屏幕图像。
通过图1所示的方法,能够根据用户的触摸轨迹自动生成矩形框,准确捕捉到用户选择的区域进行截屏,由此解决了由于手指与屏幕接触面积较大,精准度无法与鼠标相比较,很难一次性地准确选择截屏部分的边框的问题。这样,用户只需要对触屏设备屏幕上的欲截图的部分,进行画圈或者勾勒出重点部分的范围,即可生成该轨迹所在最小矩形框的截图。
在本发明的一个实施例中,在步骤S110之前,该方法进一步包括:根据截图触发命令,先将设备的触屏的当前画面保存到内存中,然后从内存中读取所述当前画面,并保存为当前图像,并在触屏上显示该当前图像。则步骤S110中所述突出显示所述矩形框具体包括:在触屏幕上的当前图像上的全部区域覆盖蒙板效果,并在所述矩形框的区域去除蒙板效果来突出显示所述矩形框。详细如图2所示。
图2示出了根据本发明一个实施例的一种适用于触屏设备的截图方法的详细流程图。如图2所示,该方法包括:
步骤S210,根据截图触发命令,先将设备的触屏的当前画面保存到内 存中。
步骤S220,从内存中读取所述当前画面,并保存为当前图像。
本步骤中,保存为当前图像是指保存为图片格式。
步骤S230,在触屏上显示该当前图像,在触屏上的当前图像上的全部区域覆盖蒙板效果。
本步骤中,在触屏上的当前图像上蒙一层暗色的蒙板。
步骤S240,接收用户在触屏上标识截取当前图像选定区域的触摸轨迹,根据所述触摸轨迹上的每个点,确定包含所述触摸轨迹上的每个点的最小矩形框。
本步骤中,用户滑动手指在触屏上触摸圈出欲截图的区域,形成触摸轨迹,如图3所示。图3示出了根据本发明一个实施例中的用户在当前图像上形成的触摸轨迹的示意图。
遍历用户的触摸轨迹上的每个点,计算包含触摸轨迹上所有点的最小矩形的四个顶点。具体为:以触屏上的当前图像的左下角为坐标原点,遍历触摸轨迹上的每个点的坐标值;获取遍历的所有点的坐标值中的纵坐标最大值ymax、纵坐标最小值ymin、横坐标最大值xmax和横坐标最小值xmin;令(xmax,ymax)为矩形框的右上角顶点,(xmax,ymin)为矩形框的右下角顶点,(xmin,ymin)为矩形框的左下角顶点,(xmin,ymax)为矩形框的左上角顶点。
步骤S250,在触屏幕上的当前图像上显示所述矩形框,并在所述矩形框的区域去除蒙板效果来突出显示所述矩形框。
图4示出了根据本发明一个实施例中的包含用户的触摸轨迹上的每个点的最小矩形框的示意图,其中,矩形框区域中的蒙板被去除,比其他部分变得明亮,以得到突出显示的效果。
步骤S260,在所述矩形框的边界上显示多个用于调整所述矩形框大小的触控点,如果用户对这些触控点的移动操作调整所述矩形框的大小。
图5示出了根据本发明一个实施例中的在矩形框的边界上显示多个用于调整矩形框大小的触控点的示意图。其中,用户可以通过移动触控点来对矩形框的大小进行进一步的编辑操作。
步骤S270,截取触屏上显示的当前图像的所述矩形框内的部分。
截取的部分可以直接保存、复制或分享给他人。
在本发明的一个实施例中,本发明的适用于触屏设备的截图方法还可以进一步包括:当触摸轨迹为封闭轨迹时,将矩形框内的封闭轨迹外的部分处理成透明色。例如,可以将矩形框内的封闭轨迹外的部分处理成透明色的png图。
图6示出了根据本发明一个实施例中的一种适用于触屏设备的截图装置的结构图。如图6所示,该装置包括:显示处理单元610和截图单元620。
显示处理单元610,接收用户在触屏上标识截取当前图像选定区域的触摸轨迹,根据所述触摸轨迹上的每个点,确定包含所述触摸轨迹上的每个点的最小矩形框,并突出显示所述矩形框;
截图单元620,适于截取位于所述矩形框内的部分屏幕图像。
图6所示的装置,能够根据用户的触摸轨迹自动生成矩形框,准确捕捉到用户选择的区域进行截屏,由此解决了由于手指与屏幕接触面积较大,精准度无法与鼠标相比较,很难一次性地准确选择截屏部分的边框的问题。这样,用户只需要对触屏设备屏幕上的欲截图的部分,进行画圈或者勾勒出重点部分的范围,即可生成该轨迹所在最小矩形框的截图。
图7示出了根据本发明又一个实施例中的一种适用于触屏设备的截图装置的结构图。如图7所示,该装置包括:显示处理单元710、截图单元720、矩形框编辑单元730和封闭轨迹处理单元740。
显示处理单元710,接收用户在触屏上标识截取当前图像选定区域的触摸轨迹,根据所述触摸轨迹上的每个点,确定包含所述触摸轨迹上的每个点的最小矩形框,并突出显示所述矩形框。
截图单元720,适于截取位于所述矩形框内的部分屏幕图像。
矩形框编辑单元730,适于在所述矩形框的边界上显示多个用于调整矩形框大小的触控点。
封闭轨迹处理单元740,适于在所述触摸轨迹为封闭轨迹时,将所述矩形框内的封闭轨迹外的部分处理成透明色。
在本发明的一个实施例中,显示处理单元701,适于在所述接收用户在 触屏上标识截取当前图像选定区域的触摸轨迹之前,根据截图触发命令,先将设备的触屏的当前画面保存到内存中,然后从内存中读取所述当前画面,并保存为当前图像,并在触屏上显示该当前图像;并适于在触屏幕上的当前图像上的全部区域覆盖蒙板效果,并在所述矩形框的区域去除蒙板效果来突出显示所述矩形框。这里,将内存中的当前画面保存为当前图像是指保存为图片格式。蒙板效果是指在触屏上的当前图像上蒙一层暗色的蒙板。
在本发明的一个实施例中,显示处理单元701,适于以所述当前图像的左下角为坐标原点,遍历所述触摸轨迹上的每个点的坐标值,获取遍历的所有点的坐标值中的纵坐标最大值ymax、纵坐标最小值ymin、横坐标最大值xmax和横坐标最小值xmin,然后令(xmax,ymax)为矩形框的右上角顶点,(xmax,ymin)为矩形框的右下角顶点,(xmin,ymin)为矩形框的左下角顶点,(xmin,ymax)为矩形框的左上角顶点。
综上所述,根据本发明的这种接收用户在触屏上标识截取当前图像选定区域的触摸轨迹,根据所述触摸轨迹上的每个点,确定包含所述触摸轨迹上的每个点的最小矩形框,并突出显示所述矩形框,然后截取位于所述最小矩形框内的部分屏幕图像的技术方案,能够根据用户的触摸轨迹自动生成矩形框,准确捕捉到用户选择的区域进行截屏,由此解决了由于手指与屏幕接触面积较大,精准度无法与鼠标相比较,很难一次性地准确选择截屏部分的边框的问题。
需要说明的是:
本发明的各个部件实施例可以以硬件实现,或者以在一个或者多个处理器上运行的软件模块实现,或者以它们的组合实现。本领域的技术人员应当理解,可以在实践中使用微处理器或者数字信号处理器(DSP)来实现根据本发明实施例的截屏装置中的一些或者全部部件的一些或者全部功能。本发明还可以实现为用于执行这里所描述的方法的一部分或者全部的设备或者装置程序(例如,计算机程序和计算机程序产品)。这样的实现本发明的程序可以存储在计算机可读介质上,或者可以具有一个或者多个信号的形式。这样的信号可以从因特网网站上下载得到,或者在载体信号上提供,或者以任何其他形式提供。
例如,图8示意性地示出了用于执行根据本发明的截图方法的客户端设备;
例如应用客户端设备。该客户端设备传统上包括处理器810和以存储器820形式的计算机程序产品或者计算机可读介质。存储器820可以是诸如闪存、EEPROM(电可擦除可编程只读存储器)、EPROM、硬盘或者ROM之类的电子存储器。存储器820具有用于执行上述方法中的任何方法步骤的程序代码831的存储空间830。例如,用于程序代码的存储空间830可以包括分别用于实现上面的方法中的各种步骤的各个程序代码831。这些程序代码可以从一个或者多个计算机程序产品中读出或者写入到这一个或者多个计算机程序产品中。这些计算机程序产品包括诸如硬盘,紧致盘(CD)、存储卡或者软盘之类的程序代码载体。这样的计算机程序产品通常为如参考图9所述的便携式或者固定存储单元。图9示意性地示出了用于保持或者携带实现根据本发明的截图方法的程序代码的存储单元;该存储单元可以具有与图8的客户端设备中的存储器820类似布置的存储段、存储空间等。程序代码可以例如以适当形式进行压缩。通常,存储单元包括计算机可读代码831’,即可以由例如诸如810之类的处理器读取的代码,这些代码当由客户端设备运行时,导致该客户端设备执行上面所描述的方法中的各个步骤。
本文中所称的“一个实施例”、“实施例”或者“一个或者多个实施例”意味着,结合实施例描述的特定特征、结构或者特性包括在本发明的至少一个实施例中。此外,请注意,这里“在一个实施例中”的词语例子不一定全指同一个实施例。
在此处所提供的说明书中,说明了大量具体细节。然而,能够理解,本发明的实施例可以在没有这些具体细节的情况下被实践。在一些实例中,并未详细示出公知的方法、结构和技术,以便不模糊对本说明书的理解。
应该注意的是上述实施例对本发明进行说明而不是对本发明进行限制,并且本领域技术人员在不脱离所附权利要求的范围的情况下可设计出替换实施例。在权利要求中,不应将位于括号之间的任何参考符号构造成对权利要求的限制。单词“包含”不排除存在未列在权利要求中的元件或步骤。位于元件之前的单词“一”或“一个”不排除存在多个这样的元件。本发明可以借助于包括有若干不同元件的硬件以及借助于适当编程的计算机来实现。在列举了若干装置的单元权利要求中,这些装置中的若干个可以是通过同一 个硬件项来具体体现。单词第一、第二、以及第三等的使用不表示任何顺序。可将这些单词解释为名称。
此外,还应当注意,本说明书中使用的语言主要是为了可读性和教导的目的而选择的,而不是为了解释或者限定本发明的主题而选择的。因此,在不偏离所附权利要求书的范围和精神的情况下,对于本技术领域的普通技术人员来说许多修改和变更都是显而易见的。对于本发明的范围,对本发明所做的公开是说明性的,而非限制性的,本发明的范围由所附权利要求书限定。

Claims (12)

  1. 一种适用于触屏设备的截图装置,其中,该装置包括:
    显示处理单元,接收用户在触屏上标识截取当前图像选定区域的触摸轨迹,根据所述触摸轨迹上的每个点,确定包含所述触摸轨迹上的每个点的最小矩形框,并突出显示所述矩形框;
    截图单元,适于截取位于所述矩形框内的部分屏幕图像。
  2. 如权利要求1所述的装置,其中,
    所述显示处理单元,进一步适于在所述接收用户在触屏上标识截取当前图像选定区域的触摸轨迹之前,根据截图触发命令,先将设备的触屏的当前画面保存到内存中,然后从内存中读取所述当前画面,并保存为当前图像,并在触屏上显示该当前图像;并适于在触屏幕上的当前图像上的全部区域覆盖蒙板效果,并在所述矩形框的区域去除蒙板效果来突出显示所述矩形框。
  3. 如权利要求1所述的装置,其中,
    所述显示处理单元,适于以所述当前图像的左下角为坐标原点,遍历所述触摸轨迹上的每个点的坐标值,获取遍历的所有点的坐标值中的纵坐标最大值ymax、纵坐标最小值ymin、横坐标最大值xmax和横坐标最小值xmin,然后令(xmax,ymax)为矩形框的右上角顶点,(xmax,ymin)为矩形框的右下角顶点,(xmin,ymin)为矩形框的左下角顶点,(xmin,ymax)为矩形框的左上角顶点。
  4. 如权利要求1至3中任一项所述的装置,其中,该装置进一步包括:
    矩形框编辑单元,适于在所述矩形框的边界上显示多个用于调整矩形框大小的触控点。
  5. 如权利要求1至3中任一项所述的装置,其中,该装置进一步包括:
    封闭轨迹处理单元,适于在所述触摸轨迹为封闭轨迹时,将所述矩形框内的封闭轨迹外的部分处理成透明色。
  6. 一种适用于触屏设备的截图方法,其中,该方法包括:
    接收用户在触屏上标识截取当前图像选定区域的触摸轨迹,根据所述触摸轨迹上的每个点,确定包含所述触摸轨迹上的每个点的最小矩形框,并突出显示所述矩形框;
    截取位于所述矩形框内的部分屏幕图像。
  7. 如权利要求6所述的方法,其中,在所述接收用户在触屏上标识截取当前图像选定区域的触摸轨迹之前,该方法进一步包括:
    根据截图触发命令,先将设备的触屏的当前画面保存到内存中;
    从内存中读取所述当前画面,并保存为当前图像,并在触屏上显示该当前图像;
    所述突出显示所述矩形框包括:在触屏幕上的当前图像上的全部区域覆盖蒙板效果,并在所述矩形框的区域去除蒙板效果来突出显示所述矩形框。
  8. 如权利要求6所述的方法,其中,所述根据所述触摸轨迹上的每个点,确定包含所述触摸轨迹上的每个点的最小矩形框包括:
    以所述当前图像的左下角为坐标原点,遍历所述触摸轨迹上的每个点的坐标值;
    获取遍历的所有点的坐标值中的纵坐标最大值ymax、纵坐标最小值ymin、横坐标最大值xmax和横坐标最小值xmin;
    令(xmax,ymax)为矩形框的右上角顶点,(xmax,ymin)为矩形框的右下角顶点,(xmin,ymin)为矩形框的左下角顶点,(xmin,ymax)为矩形框的左上角顶点。
  9. 如权利要求6至8中任一项所述的方法,其中,该方法进一步包括:
    在所述矩形框的边界上显示多个用于调整所述矩形框大小的触控点。
  10. 如权利要求6至8中任一项所述的方法,其中,该方法进一步包括:
    当所述触摸轨迹为封闭轨迹时,将所述矩形框内的封闭轨迹外的部分处理成透明色。
  11. 一种计算机程序,包括计算机可读代码,当所述计算机可读代码在客户端设备上运行时,导致所述客户端设备执行根据权利要求6-10中的任 一所述的方法。
  12. 一种计算机可读介质,其中存储了如权利要求11所述的计算机程序。
PCT/CN2014/086405 2013-09-30 2014-09-12 一种适用于触屏设备的截图装置和方法 WO2015043382A1 (zh)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201310460374.7 2013-09-30
CN201310460374.7A CN103500066B (zh) 2013-09-30 2013-09-30 一种适用于触屏设备的截图装置和方法

Publications (1)

Publication Number Publication Date
WO2015043382A1 true WO2015043382A1 (zh) 2015-04-02

Family

ID=49865282

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2014/086405 WO2015043382A1 (zh) 2013-09-30 2014-09-12 一种适用于触屏设备的截图装置和方法

Country Status (2)

Country Link
CN (1) CN103500066B (zh)
WO (1) WO2015043382A1 (zh)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109635429A (zh) * 2018-12-11 2019-04-16 湖南三智能控制设备有限公司 路面机械设备及其施工区域提取方法、系统和存储介质
CN112639713A (zh) * 2018-12-29 2021-04-09 深圳市柔宇科技股份有限公司 一种笔记局部选取方法、装置、电子终端和可读存储介质
WO2022267617A1 (zh) * 2021-06-25 2022-12-29 华为技术有限公司 获取图像特征的方法及电子设备

Families Citing this family (21)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103500066B (zh) * 2013-09-30 2019-12-24 北京奇虎科技有限公司 一种适用于触屏设备的截图装置和方法
CN105302429A (zh) * 2014-07-31 2016-02-03 维沃移动通信有限公司 一种移动终端屏幕截图方法及其移动终端
CN105278824B (zh) * 2014-07-31 2018-06-26 维沃移动通信有限公司 一种终端设备的截屏方法及其终端设备
CN105589634B (zh) * 2014-10-23 2019-08-02 阿里巴巴集团控股有限公司 一种信息反馈方法、装置及设备
CN104461283A (zh) * 2014-11-18 2015-03-25 小米科技有限责任公司 网络视图的截图方法及装置、电子设备
KR102322026B1 (ko) * 2014-12-09 2021-11-04 삼성전자주식회사 모바일 디바이스 및 모바일 디바이스의 동작 방법
CN104573608B (zh) * 2015-01-23 2018-06-19 苏州海博智能系统有限公司 一种编码信息扫描方法及装置
CN104916035A (zh) * 2015-06-09 2015-09-16 普联软件股份有限公司 一种基于涂抹技术的票据识别系统及识别方法
CN104978122A (zh) * 2015-06-26 2015-10-14 努比亚技术有限公司 一种图像处理方法及图像处理终端
CN106371712B (zh) * 2015-07-20 2020-03-17 鸿合科技股份有限公司 不规则截图方法及装置
CN104991725B (zh) * 2015-07-28 2018-02-23 北京金山安全软件有限公司 一种图片裁剪的方法和系统
CN106557154A (zh) * 2015-09-29 2017-04-05 深圳市美贝壳科技有限公司 一种实现手指触摸区域羽化透明效果的方法
CN106648432A (zh) * 2016-12-26 2017-05-10 广州视源电子科技股份有限公司 用于大屏显示设备的控制方法和控制装置
CN107132944A (zh) * 2017-03-23 2017-09-05 福建天泉教育科技有限公司 一种用于电子白板的擦除方法及系统
CN108989870A (zh) * 2017-06-02 2018-12-11 中国电信股份有限公司 控制弹幕区域的方法和系统
CN107728899A (zh) * 2017-09-29 2018-02-23 深圳市聚宝汇科技有限公司 一种图片截取方法及系统
CN113383302A (zh) * 2019-04-16 2021-09-10 深圳市柔宇科技股份有限公司 局部选取轨迹和轨迹拆合的方法、电子设备、存储介质
CN111338526B (zh) * 2020-02-25 2021-09-21 维沃移动通信有限公司 一种截图方法及装置
CN113821130A (zh) * 2020-06-20 2021-12-21 华为技术有限公司 一种确定截图区域的方法及相关装置
CN113139986A (zh) * 2021-04-30 2021-07-20 东风越野车有限公司 一种集成式环境感知与多目标跟踪系统
CN114253451A (zh) * 2021-12-21 2022-03-29 咪咕音乐有限公司 截图方法、装置、电子设备及存储介质

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20110239156A1 (en) * 2010-03-26 2011-09-29 Acer Incorporated Touch-sensitive electric apparatus and window operation method thereof
CN102263706A (zh) * 2010-05-26 2011-11-30 腾讯科技(深圳)有限公司 一种截取图像的方法及装置
CN102662510A (zh) * 2012-03-24 2012-09-12 上海量明科技发展有限公司 通过多点触摸实现截图的方法
CN102968274A (zh) * 2012-11-22 2013-03-13 广东欧珀移动通信有限公司 一种在移动设备中自由截屏的方法和系统
CN103019597A (zh) * 2012-12-10 2013-04-03 中兴通讯股份有限公司 一种内置截图功能的智能终端及其实现方法
CN103500066A (zh) * 2013-09-30 2014-01-08 北京奇虎科技有限公司 一种适用于触屏设备的截图装置和方法

Family Cites Families (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6088027A (en) * 1998-01-08 2000-07-11 Macromedia, Inc. Method and apparatus for screen object manipulation
CN102830963B (zh) * 2012-06-28 2016-03-30 北京奇虎科技有限公司 一种匹配截图方法和系统
CN103092520A (zh) * 2013-01-25 2013-05-08 广东欧珀移动通信有限公司 一种屏幕图像截取方法、装置及触摸屏移动设备
CN103092524B (zh) * 2013-01-31 2015-09-30 广东欧珀移动通信有限公司 一种通过触摸屏实现截图的方法及移动终端
CN103106036B (zh) * 2013-02-05 2016-06-15 惠州Tcl移动通信有限公司 一种移动终端的截屏方法及其基于该截屏方法的移动终端

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20110239156A1 (en) * 2010-03-26 2011-09-29 Acer Incorporated Touch-sensitive electric apparatus and window operation method thereof
CN102263706A (zh) * 2010-05-26 2011-11-30 腾讯科技(深圳)有限公司 一种截取图像的方法及装置
CN102662510A (zh) * 2012-03-24 2012-09-12 上海量明科技发展有限公司 通过多点触摸实现截图的方法
CN102968274A (zh) * 2012-11-22 2013-03-13 广东欧珀移动通信有限公司 一种在移动设备中自由截屏的方法和系统
CN103019597A (zh) * 2012-12-10 2013-04-03 中兴通讯股份有限公司 一种内置截图功能的智能终端及其实现方法
CN103500066A (zh) * 2013-09-30 2014-01-08 北京奇虎科技有限公司 一种适用于触屏设备的截图装置和方法

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109635429A (zh) * 2018-12-11 2019-04-16 湖南三智能控制设备有限公司 路面机械设备及其施工区域提取方法、系统和存储介质
CN112639713A (zh) * 2018-12-29 2021-04-09 深圳市柔宇科技股份有限公司 一种笔记局部选取方法、装置、电子终端和可读存储介质
WO2022267617A1 (zh) * 2021-06-25 2022-12-29 华为技术有限公司 获取图像特征的方法及电子设备

Also Published As

Publication number Publication date
CN103500066A (zh) 2014-01-08
CN103500066B (zh) 2019-12-24

Similar Documents

Publication Publication Date Title
WO2015043382A1 (zh) 一种适用于触屏设备的截图装置和方法
KR102173123B1 (ko) 전자장치에서 이미지 내의 특정 객체를 인식하기 위한 방법 및 장치
WO2016101717A1 (zh) 基于触摸交互的搜索方法及装置
RU2602985C2 (ru) Способ и устройство для сокрытия конфиденциальной информации
KR101970208B1 (ko) 클램핑을 사용한 스크롤링의 변경
TWI659331B (zh) 用於智慧終端機的截取螢幕方法和裝置
US20150277571A1 (en) User interface to capture a partial screen display responsive to a user gesture
WO2016101757A1 (zh) 一种基于移动设备的图片处理方法和装置
AU2017204531B2 (en) Smart and automatic selection of same shaped objects in images
US11995747B2 (en) Method for generating identification pattern and terminal device
US10803339B2 (en) Data processing method and device for electronic book, and mobile terminal
CN111539412B (zh) 一种基于ocr的图像分析方法、系统、设备及介质
WO2016091095A1 (zh) 基于终端界面触控操作进行搜索的方法及系统
US20150121196A1 (en) Browser-based image processing
US20160170570A1 (en) Method and apparatus for displaying information
JP7429307B2 (ja) コンピュータビジョンに基づく文字列認識方法、装置、機器及び媒体
WO2017107855A1 (zh) 一种图片搜索方法及装置
WO2023202570A1 (zh) 图像处理方法和处理装置、电子设备和可读存储介质
KR20130115694A (ko) 사용자 데이터를 입력 및 관리할 수 있는 전자 장치 및 방법
US8787670B2 (en) Software for text and image edit recognition for editing of images that contain text
US20190114065A1 (en) Method for creating partial screenshot
KR102303206B1 (ko) 전자장치에서 이미지 내의 특정 객체를 인식하기 위한 방법 및 장치
CN116645672A (zh) 基于图像框选识别与自动录入的方法、系统、终端及介质
US20120256964A1 (en) Information processing device, information processing method, and program storage medium
TWI599995B (zh) Examination questions screening system and its method

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

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

Country of ref document: EP

Kind code of ref document: A1