CN105487773A - Screen capturing method and device - Google Patents

Screen capturing method and device Download PDF

Info

Publication number
CN105487773A
CN105487773A CN201510847766.8A CN201510847766A CN105487773A CN 105487773 A CN105487773 A CN 105487773A CN 201510847766 A CN201510847766 A CN 201510847766A CN 105487773 A CN105487773 A CN 105487773A
Authority
CN
China
Prior art keywords
picture
screenshotss
screen
sub
snapshot
Prior art date
Legal status (The legal status 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 status listed.)
Granted
Application number
CN201510847766.8A
Other languages
Chinese (zh)
Other versions
CN105487773B (en
Inventor
龙飞
张涛
王百超
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Beijing Xiaomi Technology Co Ltd
Xiaomi Inc
Original Assignee
Xiaomi Inc
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 Xiaomi Inc filed Critical Xiaomi Inc
Priority to CN201510847766.8A priority Critical patent/CN105487773B/en
Publication of CN105487773A publication Critical patent/CN105487773A/en
Application granted granted Critical
Publication of CN105487773B publication Critical patent/CN105487773B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

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

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)
  • Controls And Circuits For Display Device (AREA)
  • User Interface Of Digital Computer (AREA)

Abstract

The invention relates to a screen capturing method and a screen capturing device, and belongs to the technical field of image processing. The method comprises the steps of when detecting a screen capturing operation on a first image in a screen, remaining the resolution of the first image unchanged, and amplifying the first image to obtain a second image, wherein the first image and the second image contain the same image content, and the size of the second image is more than that of the first image; and capturing parts of the second image, thus obtaining a plurality of sub-screenshots, wherein the sum of the content of the plurality of sub-screenshots includes the content of the second image. According to the screen capturing method, for the display content in the current screen, the screenshot with amplified size and unchanged resolution can be captured, and the purpose of improving screen capturing effect can be achieved.

Description

The method of screenshot capture and device
Technical field
The disclosure relates to technical field of image processing, particularly a kind of method of screenshot capture and device.
Background technology
Along with the development of mobile communication and electronic technology, mobile terminal becomes instrument indispensable in people's life gradually.And the picture shown in mobile terminal screen is carried out sectional drawing and shared, become one of application the most widely in mobile terminal
In the related, when mobile terminal detects that at least two buttons (such as, power key and Home key) are concurrently depressed, the picture capturing of display current in screen can be become a snapshot picture.The resolution of this snapshot picture is exactly the resolution of mobile terminal screen, and when this snapshot picture is exaggerated, its resolution also can decrease.
Summary of the invention
Disclosure embodiment provides a kind of method and device of screenshot capture, and technical scheme is as follows:
According to the first aspect of disclosure embodiment, provide a kind of method of screenshot capture, the method comprises:
When the screenshotss operation to the first picture in screen being detected, keeping the resolution of the first picture constant, the first picture is amplified, obtaining the second picture; First picture and the second picture comprise identical image content, and the size of the second picture is greater than the size of the first picture;
Local screenshotss are carried out to the second picture, obtains multiple sub-sectional drawings; The union of the content of multiple sub-sectional drawings comprises the content of the second picture;
Multiple sub-sectional drawings are merged, obtains snapshot picture.
Alternatively, multiple sub-sectional drawings are merged, obtain snapshot picture, comprising:
Respectively feature point extraction is carried out to multiple sub-sectional drawings;
Merge multiple sub-sectional drawings according to the unique point extracted from multiple sub-sectional drawings, obtain a snapshot picture.
Alternatively, the method also comprises:
Merge multiple sub-sectional drawings, after obtaining snapshot picture, whether the border detecting snapshot picture mates;
If the border of snapshot picture is not mated, then carry out cutting to snapshot picture, obtain the snapshot picture after reducing, the snapshot picture after cutting is rectangle.
Alternatively, cutting is carried out to snapshot picture, comprising:
Arrange a rectangular area at the center of snapshot picture, rectangular area is completely contained in snapshot picture, and four limits of rectangular area are parallel with four limits of screen;
By four limits of rectangular area to external diffusion, until four limits of rectangular area arrive the Article 1 parallel boundary on respective dispersal direction respectively;
By in snapshot picture, the part be in outside rectangular area is removed, and obtains the snapshot picture after cutting.
Alternatively, local screenshotss are carried out to the picture in the screen after amplification, obtain multiple sub-sectional drawings, comprising:
Determine sub-sectional drawing quantity n according to the multiple amplified the first picture, and each time local screenshotss time, the second picture relative to the position of screen, n be more than or equal to 4 integer;
According to sub-sectional drawing quantity n and each time local screenshotss time, the second picture, relative to the position of screen, carries out local screenshotss to the second picture.
Optionally, the multiple amplified the first picture is m, and 1 < m < 4; Local screenshotss are carried out to the second picture, obtain multiple sub-sectional drawings, comprising:
Keep the upper left corner of the second picture to overlap with the upper left corner of screen, screenshotss are carried out to the upper left corner of the second picture, obtain the first sub-sectional drawing;
Keep the upper right corner of the second picture to overlap with the upper right corner of screen, screenshotss are carried out to the upper right corner of the second picture, obtain the second sub-sectional drawing;
Keep the lower left corner of the second picture to overlap with the lower left corner of screen, screenshotss are carried out to the lower left corner of the second picture, obtain the 3rd sub-sectional drawing;
Keep the lower right corner of the second picture to overlap with the lower right corner of screen, screenshotss are carried out to the lower right corner of the second picture, obtain the 4th sub-sectional drawing.
According to the second aspect of disclosure embodiment, provide a kind of device of screenshot capture, this device comprises:
Amplification module, for when the screenshotss operation to the first picture in screen being detected, keeping the resolution of the first picture constant, amplifying the first picture, obtaining the second picture; First picture and the second picture comprise identical image content, and the size of the second picture is greater than the size of the first picture;
Screen capture module, for carrying out local screenshotss to the second picture, obtains multiple sub-sectional drawings; The union of the content of multiple sub-sectional drawings comprises the content of the second picture;
Merging module, for merging multiple sub-sectional drawings, obtaining snapshot picture.
Alternatively, merge module, comprising:
Feature extraction submodule, for carrying out feature point extraction respectively to multiple sub-sectional drawings;
Merging submodule, for merging multiple sub-sectional drawings according to the unique point extracted from multiple sub-sectional drawings, obtaining a snapshot picture.
Alternatively, this device also comprises:
Boundary detection module, for merging multiple sub-sectional drawings in merging module, after obtaining snapshot picture, whether the border detecting snapshot picture mates;
Cutting module, when not mating for the border that is snapshot picture in the testing result of boundary detection module, carry out cutting to snapshot picture, obtain the snapshot picture after reducing, the snapshot picture after cutting is rectangle.
Alternatively, cutting module, comprising:
Arrange submodule, for arranging a rectangular area at the center of snapshot picture, rectangular area is completely contained in snapshot picture, and four limits of rectangular area are parallel with four limits of screen;
Diffusion submodule, for by four limits of rectangular area to external diffusion, until four limits of rectangular area arrive the Article 1 parallel boundary on respective dispersal direction respectively;
Remove submodule, for by snapshot picture, be in the part removal outside rectangular area, obtain the snapshot picture after cutting.
Alternatively, screen capture module, comprising:
Determine submodule, for according to determining sub-sectional drawing quantity n to the multiple that the first picture amplifies, and each time local screenshotss time, the second picture relative to the position of screen, n be more than or equal to 4 integer;
Screenshotss submodule, for according to sub-sectional drawing quantity n and each time local screenshotss time, the second picture, relative to the position of screen, carries out local screenshotss to the second picture.
Optionally, amplification module is m to the multiple that the first picture amplifies, and 1 < m < 4;
Screen capture module, the upper left corner for the upper left corner with screen that keep the second picture overlaps, and carries out screenshotss to the upper left corner of the second picture, obtains the first sub-sectional drawing; Keep the upper right corner of the second picture to overlap with the upper right corner of screen, screenshotss are carried out to the upper right corner of the second picture, obtain the second sub-sectional drawing; Keep the lower left corner of the second picture to overlap with the lower left corner of screen, screenshotss are carried out to the lower left corner of the second picture, obtain the 3rd sub-sectional drawing; Keep the lower right corner of the second picture to overlap with the lower right corner of screen, screenshotss are carried out to the lower right corner of the second picture, obtain the 4th sub-sectional drawing.
According to the third aspect of disclosure embodiment, provide a kind of device of screenshot capture, this device comprises:
Processor;
For the storer of the executable instruction of storage of processor;
Wherein, processor is configured to:
When the screenshotss operation to the first picture in screen being detected, keeping the resolution of the first picture constant, the first picture is amplified, obtaining the second picture; First picture and the second picture comprise identical image content, and the size of the second picture is greater than the size of the first picture;
Local screenshotss are carried out to the second picture, obtains multiple sub-sectional drawings; The union of the content of multiple sub-sectional drawings comprises the content of the second picture;
Multiple sub-sectional drawings are merged, obtains snapshot picture.
The technical scheme that disclosure embodiment provides can comprise following beneficial effect:
By when the screenshotss operation to the first picture in screen being detected, keeping the resolution of the first picture constant, the first picture is amplified, obtaining the second picture; Local screenshotss are carried out to the second picture, obtains multiple sub-sectional drawings; Multiple sub-sectional drawings are merged, obtains snapshot picture; For the content shown in current screen, the snapshot picture that size is amplified and resolution is constant can be intercepted out, reach the object improving screenshotss effect.
Should be understood that, it is only exemplary and explanatory that above general description and details hereinafter describe, and can not limit the disclosure.
Accompanying drawing explanation
Accompanying drawing to be herein merged in instructions and to form the part of this instructions, shows and meets embodiment of the present disclosure, and is used from instructions one and explains principle of the present disclosure.
Fig. 1 is the process flow diagram of the method for a kind of screenshot capture according to an exemplary embodiment;
Fig. 2 A is the process flow diagram of the method for a kind of screenshot capture according to another exemplary embodiment;
Fig. 2 B is a kind of screen-picture amplifieroperation schematic diagram according to the corresponding embodiment of Fig. 2 A;
Fig. 2 C is the another kind of screen-picture amplifieroperation schematic diagram according to the corresponding embodiment of Fig. 2 A;
Fig. 2 D is the process flow diagram of a kind of local screenshotss method according to the corresponding embodiment of Fig. 2 A;
Fig. 2 E shows a kind of local screenshotss schematic diagram according to the corresponding embodiment of Fig. 2 A;
Fig. 3 A is the process flow diagram of the method for a kind of screenshot capture according to another exemplary embodiment;
Fig. 3 B is the process flow diagram of a kind of image cutting method according to the corresponding embodiment of Fig. 3 A;
Fig. 4 is the block diagram of the device of a kind of screenshot capture according to an exemplary embodiment;
Fig. 5 is the block diagram of the device of a kind of screenshot capture according to another exemplary embodiment;
Fig. 6 is the block diagram of a kind of device according to an exemplary embodiment.
Embodiment
Here will be described exemplary embodiment in detail, its sample table shows in the accompanying drawings.When description below relates to accompanying drawing, unless otherwise indicated, the same numbers in different accompanying drawing represents same or analogous key element.Embodiment described in following exemplary embodiment does not represent all embodiments consistent with the disclosure.On the contrary, they only with as in appended claims describe in detail, the example of apparatus and method that aspects more of the present disclosure are consistent.
Fig. 1 is the process flow diagram of the method for a kind of screenshot capture according to an exemplary embodiment.The method of this screenshot capture can be applicable in terminal, and this terminal can be the electronic equipment with display screen such as smart mobile phone, panel computer and E-book reader, and the method for this screenshot capture can comprise following several step:
In a step 101, when the screenshotss operation to the first picture in screen being detected, keeping the resolution of this first picture constant, this first picture being amplified, obtains the second picture; This first picture and this second picture comprise identical image content, and the size of the second picture is greater than the size of the first picture.
In a step 102, local screenshotss are carried out to this second picture, obtain multiple sub-sectional drawings; The union of the content of these multiple sub-sectional drawings comprises the content of this second picture.
In step 103, multiple sub-sectional drawings are merged, obtain snapshot picture.
In sum, the method for the screenshot capture that disclosure embodiment provides, by when the screenshotss operation to the first picture in screen being detected, keeping the resolution of the first picture constant, carrying out amplification acquisition second picture to the first picture; Local screenshotss are carried out to the second picture, obtains multiple sub-sectional drawings; Multiple sub-sectional drawings are merged, obtains snapshot picture; For the content shown in current screen, the snapshot picture that size is amplified and resolution is constant can be intercepted out, thus reach the object improving screenshotss effect.
Fig. 2 A is the process flow diagram of the method for a kind of screenshot capture according to another exemplary embodiment.The method of this screenshot capture can be applicable in terminal, and terminal can be the electronic equipment with display screen such as smart mobile phone, panel computer and E-book reader, and please refer to Fig. 2 A, the method can comprise following several step:
In step 201, when the screenshotss operation to the first picture in screen being detected, keeping the resolution of the first picture constant, the first picture is amplified, obtaining the second picture.
Wherein, the first picture and described second picture comprise identical image content, and the size of the second picture is greater than the size of the first picture.When the size of the first picture is identical with screen size, the size of the second picture will be greater than screen size, and namely the second picture can only show a part in screen, and remainder is then hidden in outside screen.
Terminal can be a fixed value pre-set to the multiple that the first picture amplifies, and such as, pre-setting this fixed value is twice.
Or, this enlargement factor also can be determined by user voluntarily, such as when the screenshotss operation to the first picture being detected, terminal can show that enlargement factor selects interface, this enlargement factor is selected to comprise multiple enlargement factor in interface, therefrom select one by user, terminal selects the enlargement factor corresponding to the operation of the selection in interface to amplify the first picture according to user in enlargement factor; Or, this enlargement factor also can be the numerical value that user inputs, such as, terminal can show enlargement factor inputting interface, in this enlargement factor inputting interface, directly input enlargement factor by user, the enlargement factor that terminal inputs in this enlargement factor inputting interface according to user is amplified the first picture.
Or this terminal also can show information, this information directly carries out amplifieroperation for pointing out user in screen, and according to the amplifieroperation determination enlargement factor that user carries out in screen.
Such as, please refer to Fig. 2 B, it illustrates a kind of screen-picture amplifieroperation schematic diagram, when user carries out screenshotss operation (such as pressing two specific keys) in the terminal simultaneously, multiple choice box 21a is shown in screen 21, wherein comprise selectable multiple enlargement factor 21a1, after user clicks one of them enlargement factor, the multiple that terminal is clicked according to user amplifies the first picture in screen.In addition, also comprise one in multiple choice box 21a1 and button 21a2 (i.e. " multiple setting " button in Fig. 2 B) is set, after user clicks and arranges button 21a2, terminal display multiple input frame 21b, user directly inputs the numerical value of enlargement factor in multiple input frame 21b, and click determine button after, the fold values that terminal inputs according to user amplifies the first picture.
Or, please refer to Fig. 2 C, it illustrates another kind of screen-picture amplifieroperation schematic diagram, when user carries out screenshotss operation in the terminal, amplifieroperation prompting pattern 21c is shown in screen 21, this prompting pattern 21c amplifies the first picture in screen 21 for pointing out user, and amplify the picture in screen as by slide, user carries out slip amplifieroperation by least two fingers.
In step 202., local screenshotss are carried out to the second picture, obtain multiple sub-sectional drawings.
Wherein, the union of the content in multiple sub-sectional drawings comprises the content of the second picture.
Under normal circumstances, the display resolution of the picture in screen is consistent with the resolution of screen, and therefore, the first picture is identical with the image content that the second picture comprises, and resolution is identical, and the size of the second picture is larger.Therefore, the partial content of the second picture can only be shown in screen.In the disclosed embodiments, the partial content of the diverse location of the second picture can be illustrated in screen successively, and carry out screenshotss respectively, obtain multiple sub-sectional drawings.
Alternatively, please refer to Fig. 2 D, it illustrates the process flow diagram of a kind of local screenshotss method, its implementation procedure can be as follows:
In step 202a, determine sub-sectional drawing quantity n according to the multiple amplified the first picture, and each time local screenshotss time, the second picture relative to the position of screen, n be more than or equal to 4 integer.
Wherein, when terminal is amplified the first picture in screen, keep the length breadth ratio of the first picture constant.When enlargement factor is 1-4 times, the union that sub-sectional drawing quantity n gets the content that 4 can meet in sub-sectional drawing comprises the requirement of the full content of the second picture.When enlargement factor is more than 4 times or 4 times, sub-sectional drawing quantity n selects according to actual needs, only needs to ensure that the union of the content of sub-sectional drawing comprises the full content of the second picture.
It should be noted that, adjacent two sub-sectional drawings need certain coincidence between (comprise neighbouring and left and right is adjacent), carry out image processing and tracking unit so that follow-up according to unique point.
In step 202b, according to sub-sectional drawing quantity n and each time local screenshotss time, the second picture, relative to the position of screen, carries out local screenshotss to the second picture.
Wherein, terminal second picture carries out the operation of local screenshotss, and the operation that can be pre-set by terminal automatically performs the overall process of each local screenshotss, also can carry out screenshotss based on the manual operation of user.
Such as, when automatically performing the overall process of each local screenshotss by the operation pre-set, terminal according to the sub-sectional drawing quantity n determined and each time local screenshotss time the second picture relative to the position of screen, determine the screenshotss of different parts in the second picture order, the different parts in the second picture to be illustrated in successively in screen according to this screenshotss order and to carry out screenshotss.
Or, in the implementation that another kind is possible, fixing enlargement factor and screenshotss position in terminal, can be pre-set.Such as, can arrange fixing enlargement factor is m, 1 < m < 4; When terminal carries out local screenshotss to the second picture, screenshotss can be carried out to four angles of the second picture respectively, namely keep the upper left corner of this second picture to overlap with the upper left corner of this screen, screenshotss are carried out to the upper left corner of this second picture, obtain the first sub-sectional drawing; Keep the upper right corner of this second picture to overlap with the upper right corner of this screen, screenshotss are carried out to the upper right corner of this second picture, obtain the second sub-sectional drawing; Keep the lower left corner of this second picture to overlap with the lower left corner of this screen, screenshotss are carried out to the lower left corner of this second picture, obtain the 3rd sub-sectional drawing; Keep the lower right corner of this second picture to overlap with the lower right corner of this screen, screenshotss are carried out to the lower right corner of this second picture, obtain the 4th sub-sectional drawing.Because the size of the first picture is no more than screen size at most, and enlargement factor is less than 4 times, therefore, the size of every sub-sectional drawing is all greater than 1/4th of the second picture, when carrying out sectional drawing to four angles of the second picture respectively, often all can partially overlap between adjacent two sectional drawings, and the union of four sub-sectional drawings comprises the second picture completely.
Such as, please refer to Fig. 2 E, it illustrates a kind of local screenshotss schematic diagram, wherein, when user carries out screenshotss operation in the terminal, terminal amplifies rear acquisition second picture to the first picture in screen, and enlargement factor is between 3 times to 4 times, sub-sectional drawing quantity is 4, each time during the sectional drawing of local, one jiao to the second picture is carried out screenshotss, in Fig. 2 E, terminal carries out screenshotss according to the order in the upper left corner, the upper right corner, the lower right corner and the lower left corner, obtains sub-sectional drawing 22,23,24 and 25 respectively.Wherein, in sub-sectional drawing 22,23,24 and 25, partially overlap in arbitrary neighborhood two sub-sectional drawings.
Or, in the implementation that another is possible, terminal can be shown first sectional drawing position of the second picture at initial time and be carried out local screenshotss, this first sectional drawing position can be the middle part of the second picture upper left corner or the second picture, after the screenshotss of each local, prompting user carries out slide, shows next screenshotss position and carry out local screenshotss according to the glide direction of user.
In step 203, respectively feature point extraction is carried out to multiple sub-sectional drawings.
Terminal can carry out the extraction of unique point by Harris Corner Detection Algorithm.
In step 204, merge multiple sub-sectional drawings according to the unique point extracted from multiple sub-sectional drawings, obtain a snapshot picture.
Terminal extracts unique point from each sub-sectional drawing, for adjacent two sub-sectional drawings, identical unique point in these two sub-sectional drawings is overlapped, such as, terminal directly can use SIFT (Scale-invariantfeaturetransform, Scale invariant features transform) algorithm carries out the Feature Points Matching of two sub-sectional drawings, so that these two sub-sectional drawings are combined, by that analogy, until all sub-sectional drawings all complete merging, obtain a snapshot picture, this merges the snapshot picture that the snapshot picture obtained is exactly the second picture.
In sum, the method for the screenshot capture that disclosure embodiment provides, by when the screenshotss operation to the first picture in screen being detected, keeping the resolution of the first picture constant, carrying out amplification acquisition second picture to the first picture; Local screenshotss are carried out to the second picture, obtains multiple sub-sectional drawings; Multiple sub-sectional drawings are merged, obtains snapshot picture; For the content shown in current screen, the snapshot picture that size is amplified and resolution is constant can be intercepted out, thus reach the object improving screenshotss effect.
Fig. 3 A is the process flow diagram of the method for a kind of screenshot capture according to another exemplary embodiment.The method of this screenshot capture can be applicable in terminal, and terminal can be the electronic equipment with display screen such as smart mobile phone, panel computer and E-book reader, and please refer to Fig. 3 A, the method can comprise following several step:
In step 301, when the screenshotss operation to the first picture in screen being detected, keeping the resolution of the first picture constant, the first picture is amplified, obtaining the second picture.
In step 302, local screenshotss are carried out to the second picture, obtain multiple sub-sectional drawings.
In step 303, respectively feature point extraction is carried out to multiple sub-sectional drawings.
In step 304, merge multiple sub-sectional drawings according to the unique point extracted from multiple sub-sectional drawings, obtain a snapshot picture.
In step 305, whether the border detecting snapshot picture mates.
Within step 306, if the border of snapshot picture is not mated, then terminal carries out cutting to snapshot picture, obtain the snapshot picture after reducing, the snapshot picture after this cutting is rectangle.
Wherein, whether the border detecting snapshot picture mates, and can refer to four limits whether indent or the protrusion detecting snapshot picture.Carrying out in the process merged according to unique point antithetical phrase sectional drawing, small error may be produced, namely identical in adjacent two sub-sectional drawings content also not exclusively overlaps, cause in the snapshot picture after merging, come from the border of these two adjacent sub-sectional drawings not on same straight line, produce the unmatched situation in border.To this, in the disclosed embodiments, when detecting that screenshotss image boundary is not mated, cutting can be carried out to the border of snapshot picture.
Please refer to Fig. 3 B, it illustrates a kind of process flow diagram of image cutting method, the method can comprise:
In step 306a, arrange a rectangular area at the center of snapshot picture, rectangular area is completely contained in snapshot picture, and four limits of rectangular area are parallel with four limits of screen.
Wherein, the center of rectangular area and the center superposition of snapshot picture.
In step 306b, by four limits of rectangular area to external diffusion, until four limits of rectangular area arrive the Article 1 parallel boundary on respective dispersal direction respectively.
Terminal is by four limits of rectangular area in the process of external diffusion, and the center of rectangular area remains unchanged, and only four limits are to external diffusion.Article 1, parallel boundary one has four sections, corresponding with four limits of rectangular area respectively, and each section of Article 1 parallel boundary span is from the nearest line segment border of rectangular centre.
In step 306c, by snapshot picture, the part be in outside rectangular area is removed, and obtains the snapshot picture after cutting.
In sum, the method for the screenshot capture that disclosure embodiment provides, by when the screenshotss operation to the first picture in screen being detected, keeping the resolution of the first picture constant, carrying out amplification acquisition second picture to the first picture; Local screenshotss are carried out to the second picture, obtains multiple sub-sectional drawings; Multiple sub-sectional drawings are merged, obtains snapshot picture; For the content shown in current screen, the snapshot picture that size is amplified and resolution is constant can be intercepted out, thus reach the object improving screenshotss effect.
In addition, the method for the screenshot capture that disclosure embodiment provides, when not mated by the screenshotss image boundary after detecting merging, carries out cutting to the border of snapshot picture, obtains the snapshot picture of rectangle, improves screenshotss effect further.
Fig. 4 is the block diagram of the device of a kind of screenshot capture according to an exemplary embodiment.The mode that the device of this screenshot capture can be combined by hardware or soft or hard is embodied as a part for terminal, to perform all or part of step in A or Fig. 3 A any embodiment as shown in Figure 1, Figure 2 performed by terminal, wherein, this terminal can be the electronic equipment with display screen such as smart mobile phone, panel computer and E-book reader.Please refer to Fig. 4, this device can comprise: amplification module 401, screen capture module 402 and merging module 403;
Amplification module 401, is set to, for when the screenshotss operation to the first picture in screen being detected, keeping the resolution of the first picture constant, amplifying the first picture, obtaining the second picture; First picture and the second picture comprise identical image content, and the size of the second picture is greater than the size of the first picture;
Screen capture module 402, is set to, for carrying out local screenshotss to the second picture, obtain multiple sub-sectional drawings; The union of the content of multiple sub-sectional drawings comprises the content of the second picture;
Merging module 403, being set to for merging multiple sub-sectional drawings, obtain snapshot picture.
In sum, the device of the screenshot capture that disclosure embodiment provides, by when the screenshotss operation to the first picture in screen being detected, keeping the resolution of the first picture constant, carrying out amplification acquisition second picture to the first picture; Local screenshotss are carried out to the second picture, obtains multiple sub-sectional drawings; Multiple sub-sectional drawings are merged, obtains snapshot picture; For the content shown in current screen, the snapshot picture that size is amplified and resolution is constant can be intercepted out, thus reach the object improving screenshotss effect.
Fig. 5 is the block diagram of the device of a kind of screenshot capture according to another exemplary embodiment.The mode that the device of this screenshot capture can be combined by hardware or soft or hard is embodied as a part for terminal, to perform all or part of step in A or Fig. 3 A any embodiment as shown in Figure 1, Figure 2 performed by terminal, wherein, this terminal can be the electronic equipment with display screen such as smart mobile phone, panel computer and E-book reader.Please refer to Fig. 5, this device can comprise: amplification module 501, screen capture module 502, merging module 503, boundary detection module 504 and cutting module 505;
Amplification module 501, is set to, for when the screenshotss operation to the first picture in screen being detected, keeping the resolution of the first picture constant, amplifying the first picture, obtaining the second picture; First picture and the second picture comprise identical image content, and the size of the second picture is greater than the size of the first picture;
Wherein, the first picture and described second picture comprise identical image content, and the size of the second picture is greater than the size of the first picture.When the size of the first picture is identical with screen size, the size of the second picture will be greater than screen size, and namely the second picture can only show a part in screen, and remainder is then hidden in outside screen.
Terminal can be a fixed value pre-set to the multiple that the first picture amplifies, and such as, pre-setting this fixed value is twice.
Optionally, amplification module 501 can comprise: first amplifies submodule, second amplifies submodule or the 3rd amplification submodule;
Described first amplifies submodule, and be set to for showing that enlargement factor selects interface, this enlargement factor is selected to comprise multiple enlargement factor in interface, amplifies the first picture according to selecting the enlargement factor corresponding to the operation of the selection in interface in enlargement factor;
Described second amplifies submodule, is set to, for showing enlargement factor inputting interface, amplify the first picture according to the enlargement factor inputted in enlargement factor inputting interface.
Or, this enlargement factor also can be determined by user voluntarily, such as when the screenshotss operation to the first picture being detected, terminal can show that enlargement factor selects interface, this enlargement factor is selected to comprise multiple enlargement factor in interface, therefrom select one by user, terminal selects the enlargement factor corresponding to the operation of the selection in interface to amplify the first picture according to user in enlargement factor; Or, this enlargement factor also can be the numerical value that user inputs, such as, terminal can show enlargement factor inputting interface, in this enlargement factor inputting interface, directly input enlargement factor by user, the enlargement factor that terminal inputs in this enlargement factor inputting interface according to user is amplified the first picture.These two kinds of situations can the screen-picture amplifieroperation schematic diagram shown in reference diagram 2B, repeats no more herein.
Described 3rd amplifies submodule, is set to for showing information, and this information is used for prompting and carries out amplifieroperation in screen, and according to the amplifieroperation determination enlargement factor of carrying out in screen.
Or this terminal also can show information, this information directly carries out amplifieroperation for pointing out user in screen, and according to the amplifieroperation determination enlargement factor that user carries out in screen.This situation can the another kind of screen-picture amplifieroperation schematic diagram shown in reference diagram 2C, repeats no more herein.
Screen capture module 502, is set to, for carrying out local screenshotss to the second picture, obtain multiple sub-sectional drawings; The union of the content of multiple sub-sectional drawings comprises the content of the second picture;
Alternatively, screen capture module 502, comprising:
Determine submodule 502a, be set to for according to determining sub-sectional drawing quantity n to the multiple that the first picture amplifies, and each time local screenshotss time, the second picture relative to the position of screen, n be more than or equal to 4 integer;
Screenshotss submodule 502b, be set to for according to sub-sectional drawing quantity n and each time local screenshotss time, the second picture, relative to the position of screen, carries out local screenshotss to the second picture.
Optionally, amplification module 501 is m to the multiple that the first picture amplifies, and 1 < m < 4;
Screen capture module 502, the upper left corner being set to the upper left corner with screen for keeping the second picture overlaps, and carries out screenshotss to the upper left corner of the second picture, obtains the first sub-sectional drawing; Keep the upper right corner of the second picture to overlap with the upper right corner of screen, screenshotss are carried out to the upper right corner of the second picture, obtain the second sub-sectional drawing; Keep the lower left corner of the second picture to overlap with the lower left corner of screen, screenshotss are carried out to the lower left corner of the second picture, obtain the 3rd sub-sectional drawing; Keep the lower right corner of the second picture to overlap with the lower right corner of screen, screenshotss are carried out to the lower right corner of the second picture, obtain the 4th sub-sectional drawing.
Wherein, terminal carries out the operation of local screenshotss to the second picture, and the operation that can be pre-set by terminal automatically performs the overall process of each local screenshotss, also can carry out screenshotss based on the manual operation of user.
Such as, when automatically performing the overall process of each local screenshotss by the operation pre-set, terminal according to the sub-sectional drawing quantity n determined and each time local screenshotss time the second picture relative to the position of screen, determine the screenshotss of different parts in the second picture order, the different parts in the second picture to be illustrated in successively in screen according to this screenshotss order and to carry out screenshotss.
Wherein, when terminal is amplified the first picture in screen, keep the length breadth ratio of the first picture constant.When enlargement factor is 1-4 times, the union that sub-sectional drawing quantity n gets the content that 4 can meet in sub-sectional drawing comprises the requirement of the full content of the second picture.When enlargement factor is more than 4 times or 4 times, sub-sectional drawing quantity n selects according to actual needs, only needs to ensure that the union of the content of sub-sectional drawing comprises the full content of the second picture.It should be noted that, adjacent two sub-sectional drawings need certain coincidence between (comprise neighbouring and left and right is adjacent), carry out image processing and tracking unit so that follow-up according to unique point.
Or, in the implementation that another kind is possible, fixing enlargement factor and screenshotss position in terminal, can be pre-set.Such as, can arrange fixing enlargement factor is m, 1 < m < 4; When terminal carries out local screenshotss to the second picture, screenshotss can be carried out to four angles of the second picture respectively, namely keep the upper left corner of this second picture to overlap with the upper left corner of this screen, screenshotss are carried out to the upper left corner of this second picture, obtain the first sub-sectional drawing; Keep the upper right corner of this second picture to overlap with the upper right corner of this screen, screenshotss are carried out to the upper right corner of this second picture, obtain the second sub-sectional drawing; Keep the lower left corner of this second picture to overlap with the lower left corner of this screen, screenshotss are carried out to the lower left corner of this second picture, obtain the 3rd sub-sectional drawing; Keep the lower right corner of this second picture to overlap with the lower right corner of this screen, screenshotss are carried out to the lower right corner of this second picture, obtain the 4th sub-sectional drawing.Because the size of the first picture is no more than screen size at most, and enlargement factor is less than 4 times, therefore, the size of every sub-sectional drawing is all greater than 1/4th of the second picture, when carrying out sectional drawing to four angles of the second picture respectively, often all can partially overlap between adjacent two sectional drawings, and the union of four sub-sectional drawings comprises the second picture completely.
Wherein, terminal carries out the process of screenshotss to the second picture can the local screenshotss schematic diagram shown in reference diagram 2E, repeats no more herein.
Or, in the implementation that another is possible, terminal can be shown first sectional drawing position of the second picture at initial time and be carried out local screenshotss, this first sectional drawing position can be the middle part of the second picture upper left corner or the second picture, after the screenshotss of each local, prompting user carries out slide, shows next screenshotss position and carry out local screenshotss according to the glide direction of user.
Merging module 503, being set to for merging multiple sub-sectional drawings, obtain snapshot picture.
Alternatively, merge module 503, comprising:
Feature extraction submodule 503a, is set to for carrying out feature point extraction respectively to multiple sub-sectional drawings.Such as, the extraction of unique point is carried out by Harris Corner Detection Algorithm.
Merging submodule 503b, being set to, for merging multiple sub-sectional drawings according to the unique point extracted from multiple sub-sectional drawings, obtain a snapshot picture.
Terminal extracts unique point from each sub-sectional drawing, for adjacent two sub-sectional drawings, identical unique point in these two sub-sectional drawings is overlapped, such as, terminal directly can carry out the Feature Points Matching of two sub-sectional drawings with SIFT algorithm, to be combined by these two sub-sectional drawings, by that analogy, until all sub-sectional drawings all complete merging, obtain a snapshot picture, this merges the snapshot picture that the snapshot picture obtained is exactly the second picture.
Boundary detection module 504, be arranged in use in merging module and merge multiple sub-sectional drawings, after obtaining snapshot picture, whether the border detecting snapshot picture mates;
Cutting module 505, the testing result being arranged in use in boundary detection module is the border of snapshot picture when not mating, and carry out cutting to snapshot picture, obtain the snapshot picture after reducing, the snapshot picture after cutting is rectangle.
Wherein, whether the border detecting snapshot picture mates, and can refer to four limits whether indent or the protrusion detecting snapshot picture.Carrying out in the process merged according to unique point antithetical phrase sectional drawing, small error may be produced, namely identical in adjacent two sub-sectional drawings content also not exclusively overlaps, cause in the snapshot picture after merging, come from the border of these two adjacent sub-sectional drawings not on same straight line, produce the unmatched situation in border.To this, in the disclosed embodiments, when detecting that screenshotss image boundary is not mated, cutting can be carried out to the border of snapshot picture.
Alternatively, cutting module 505, comprising:
Arrange submodule 505a, the center being arranged in use in snapshot picture arranges a rectangular area, and rectangular area is completely contained in snapshot picture, and four limits of rectangular area are parallel with four limits of screen;
Diffusion submodule 505b, be set to for by four limits of rectangular area to external diffusion, until four limits of rectangular area arrive the Article 1 parallel boundary on respective dispersal direction respectively;
Terminal is by four limits of rectangular area in the process of external diffusion, and the center of rectangular area remains unchanged, and only four limits are to external diffusion.Article 1, parallel boundary one has four sections, corresponding with four limits of rectangular area respectively, and each section of Article 1 parallel boundary span is from the nearest line segment border of rectangular centre.
Remove submodule 505c, be set to, for by snapshot picture, be in the part removal outside rectangular area, obtain the snapshot picture after cutting.
In sum, the device of the screenshot capture that disclosure embodiment provides, by when the screenshotss operation to the first picture in screen being detected, keeping the resolution of the first picture constant, carrying out amplification acquisition second picture to the first picture; Local screenshotss are carried out to the second picture, obtains multiple sub-sectional drawings; Multiple sub-sectional drawings are merged, obtains snapshot picture; For the content shown in current screen, the snapshot picture that size is amplified and resolution is constant can be intercepted out, thus reach the object improving screenshotss effect.
The disclosure one exemplary embodiment additionally provides a kind of device of screenshot capture, can realize the method for the screenshot capture that disclosure embodiment provides.This device comprises: processor, and the storer of executable instruction for storage of processor.
Wherein, processor is configured to:
When the screenshotss operation to the first picture in screen being detected, keeping the resolution of the first picture constant, the first picture is amplified, obtaining the second picture; First picture and the second picture comprise identical image content;
Local screenshotss are carried out to the second picture, obtains multiple sub-sectional drawings; The union of the content of multiple sub-sectional drawings comprises the content of the second picture;
Multiple sub-sectional drawings are merged, obtains snapshot picture.
Alternatively, multiple sub-sectional drawings are merged, obtain snapshot picture, comprising:
Respectively feature point extraction is carried out to multiple sub-sectional drawings;
Merge multiple sub-sectional drawings according to the unique point extracted from multiple sub-sectional drawings, obtain a snapshot picture.
Alternatively, the method also comprises:
Merge multiple sub-sectional drawings, after obtaining snapshot picture, whether the border detecting snapshot picture mates;
If the border of snapshot picture is not mated, then carry out cutting to snapshot picture, obtain the snapshot picture after reducing, the snapshot picture after cutting is rectangle.
Alternatively, cutting is carried out to snapshot picture, comprising:
Arrange a rectangular area at the center of snapshot picture, rectangular area is completely contained in snapshot picture, and four limits of rectangular area are parallel with four limits of screen;
By four limits of rectangular area to external diffusion, until four limits of rectangular area arrive the Article 1 parallel boundary on respective dispersal direction respectively;
By in snapshot picture, the part be in outside rectangular area is removed, and obtains the snapshot picture after cutting.
Alternatively, local screenshotss are carried out to the picture in the screen after amplification, obtain multiple sub-sectional drawings, comprising:
Determine sub-sectional drawing quantity n according to the multiple amplified the first picture, and each time local screenshotss time, the second picture relative to the position of screen, n be more than or equal to 4 integer;
According to sub-sectional drawing quantity n and each time local screenshotss time, the second picture, relative to the position of screen, carries out local screenshotss to the second picture.
Optionally, the multiple amplified the first picture is m, and 1 < m < 4; Local screenshotss are carried out to the second picture, obtain multiple sub-sectional drawings, comprising:
Keep the upper left corner of the second picture to overlap with the upper left corner of screen, screenshotss are carried out to the upper left corner of the second picture, obtain the first sub-sectional drawing;
Keep the upper right corner of the second picture to overlap with the upper right corner of screen, screenshotss are carried out to the upper right corner of the second picture, obtain the second sub-sectional drawing;
Keep the lower left corner of the second picture to overlap with the lower left corner of screen, screenshotss are carried out to the lower left corner of the second picture, obtain the 3rd sub-sectional drawing;
Keep the lower right corner of the second picture to overlap with the lower right corner of screen, screenshotss are carried out to the lower right corner of the second picture, obtain the 4th sub-sectional drawing.
It should be noted is that, the device that above-described embodiment provides is when performing the method for screenshot capture, only be illustrated with the division of each functional module above-mentioned, in practical application, can distribute according to actual needs and by above-mentioned functions and be completed by different functional modules, content structure by equipment is divided into different functional modules, to complete all or part of function described above.
About the device in above-described embodiment, wherein the concrete mode of modules executable operations has been described in detail in about the embodiment of the method, will not elaborate explanation herein.
Fig. 6 is the block diagram of a kind of device 600 according to an exemplary embodiment.Such as, device 600 can be terminal, and this terminal can be the electronic equipment with display screen such as smart mobile phone, panel computer and E-book reader.
With reference to Fig. 6, device 600 can comprise following one or more assembly: processing components 602, storer 604, power supply module 606, multimedia groupware 608, audio-frequency assembly 610, the interface 612 of I/O (I/O), sensor module 614, and communications component 616.
The integrated operation of the usual control device 600 of processing components 602, such as with display, call, data communication, camera operation and record operate the operation be associated.Processing components 602 can comprise one or more processor 620 to perform instruction.In addition, processing components 602 can comprise one or more module, and what be convenient between processing components 602 and other assemblies is mutual.Such as, processing components 602 can comprise multi-media module, mutual with what facilitate between multimedia groupware 608 and processing components 602.
Storer 604 is configured to store various types of data to be supported in the operation of device 600.The example of these data comprises for any application program of operation on device 600 or the instruction of method, contact data, telephone book data, message, picture, video etc.Storer 604 can be realized by the volatibility of any type or non-volatile memory device or their combination, as static RAM (SRAM), Electrically Erasable Read Only Memory (EEPROM), Erasable Programmable Read Only Memory EPROM (EPROM), programmable read only memory (PROM), ROM (read-only memory) (ROM), magnetic store, flash memory, disk or CD.
The various assemblies that power supply module 606 is device 600 provide electric power.Power supply module 606 can comprise power-supply management system, one or more power supply, and other and the assembly generating, manage and distribute electric power for device 600 and be associated.
Multimedia groupware 608 is included in the screen providing an output interface between device 600 and user.In certain embodiments, screen can comprise liquid crystal display (LCD) and touch panel (TP).If screen comprises touch panel, screen may be implemented as touch-screen, to receive the input signal from user.Touch panel comprises one or more touch sensor with the gesture on sensing touch, slip and touch panel.Touch sensor can the border of not only sensing touch or sliding action, but also detects the duration relevant with touch or slide and pressure.In certain embodiments, multimedia groupware 608 comprises a front-facing camera and/or post-positioned pick-up head.When device 600 is in operator scheme, during as screening-mode or video mode, front-facing camera and/or post-positioned pick-up head can receive outside multi-medium data.Each front-facing camera and post-positioned pick-up head can be fixing optical lens systems or have focal length and optical zoom ability.
Audio-frequency assembly 610 is configured to export and/or input audio signal.Such as, audio-frequency assembly 610 comprises a microphone (MIC), and when device 600 is in operator scheme, during as call model, logging mode and speech recognition mode, microphone is configured to receive external audio signal.The sound signal received can be stored in storer 604 further or be sent via communications component 616.In certain embodiments, audio-frequency assembly 610 also comprises a loudspeaker, for output audio signal.
I/O interface 612 is for providing interface between processing components 602 and peripheral interface module, and above-mentioned peripheral interface module can be keyboard, some striking wheel, button etc.These buttons can include but not limited to: home button, volume button, start button and locking press button.
Sensor module 614 comprises one or more sensor, for providing the state estimation of various aspects for device 600.Such as, sensor module 614 can detect the opening/closing state of device 600, the relative positioning of assembly, such as assembly is display and the keypad of device 600, the position of all right pick-up unit 600 of sensor module 614 or device 600 1 assemblies changes, the presence or absence that user contacts with device 600, the temperature variation of device 600 orientation or acceleration/deceleration and device 600.Sensor module 614 can comprise proximity transducer, be configured to without any physical contact time detect near the existence of object.Sensor module 614 can also comprise optical sensor, as CMOS or ccd image sensor, for using in imaging applications.In certain embodiments, this sensor module 614 can also comprise acceleration transducer, gyro sensor, Magnetic Sensor, pressure transducer or temperature sensor.
Communications component 616 is configured to the communication being convenient to wired or wireless mode between device 600 and other equipment.Device 600 can access the wireless network based on communication standard, as WiFi, 2G or 3G, or their combination.In one exemplary embodiment, communications component 616 receives from the broadcast singal of external broadcasting management system or broadcast related information via broadcast channel.In one exemplary embodiment, communications component 616 also comprises near-field communication (NFC) module, to promote junction service.Such as, can based on radio-frequency (RF) identification (RFID) technology in NFC module, Infrared Data Association (IrDA) technology, ultra broadband (UWB) technology, bluetooth (BT) technology and other technologies realize.
In the exemplary embodiment, device 600 can be realized, for performing said method by one or more application specific integrated circuit (ASIC), digital signal processor (DSP), digital signal processing appts (DSPD), programmable logic device (PLD) (PLD), field programmable gate array (FPGA), controller, microcontroller, microprocessor or other electronic components.
In the exemplary embodiment, additionally provide a kind of non-transitory computer-readable recording medium comprising instruction, such as, comprise the storer 604 of instruction, above-mentioned instruction can perform said method by the processor 620 of device 600.Such as, non-transitory computer-readable recording medium can be ROM, random access memory (RAM), CD-ROM, tape, floppy disk and optical data storage devices etc.
A kind of non-transitory computer-readable recording medium, when the instruction in storage medium is performed by the processor of device 600, makes device 600 can perform all or part of step of the arbitrary shown screenshot method of above-mentioned Fig. 1, Fig. 2 A or Fig. 3 A.
Those skilled in the art, at consideration instructions and after putting into practice invention disclosed herein, will easily expect other embodiment of the present disclosure.The application is intended to contain any modification of the present disclosure, purposes or adaptations, and these modification, purposes or adaptations are followed general principle of the present disclosure and comprised the undocumented common practise in the art of the disclosure or conventional techniques means.Instructions and embodiment are only regarded as exemplary, and true scope of the present disclosure and spirit are pointed out by claim below.
Should be understood that, the disclosure is not limited to precision architecture described above and illustrated in the accompanying drawings, and can carry out various amendment and change not departing from its scope.The scope of the present disclosure is only limited by appended claim.

Claims (13)

1. a method for screenshot capture, is characterized in that, described method comprises:
When the screenshotss operation to the first picture in screen being detected, keeping the resolution of described first picture constant, described first picture being amplified, obtains the second picture; Described first picture and described second picture comprise identical image content, and the size of described second picture is greater than the size of described first picture;
Local screenshotss are carried out to described second picture, obtains multiple sub-sectional drawings; The union of the content of multiple sub-sectional drawings described comprises the content of described second picture;
Multiple sub-sectional drawings described are merged, obtains snapshot picture.
2. method according to claim 1, is characterized in that, describedly merges multiple sub-sectional drawings described, obtains snapshot picture, comprising:
Respectively feature point extraction is carried out to multiple sub-sectional drawings described;
Merge multiple sub-sectional drawings described according to the unique point extracted from multiple sub-sectional drawings described, obtain a snapshot picture.
3. method according to claim 1, is characterized in that, described method also comprises:
Describedly merge multiple sub-sectional drawings described, after obtaining snapshot picture, whether the border detecting described snapshot picture mates;
If the border of described snapshot picture is not mated, then carry out cutting to described snapshot picture, obtain the snapshot picture after reducing, the snapshot picture after described cutting is rectangle.
4. method according to claim 3, is characterized in that, describedly carries out cutting to described snapshot picture, comprising:
Arrange a rectangular area at the center of described snapshot picture, described rectangular area is completely contained in described snapshot picture, and four limits of described rectangular area are parallel with four limits of described screen;
By four limits of described rectangular area to external diffusion, until four limits of described rectangular area arrive the Article 1 parallel boundary on respective dispersal direction respectively;
By in described snapshot picture, the part be in outside described rectangular area is removed, and obtains the snapshot picture after described cutting.
5. method according to claim 1, is characterized in that, describedly carries out local screenshotss to described second picture, obtains multiple sub-sectional drawings, comprising:
Determine sub-sectional drawing quantity n according to the multiple amplified described first picture, and each time local screenshotss time, described second picture relative to the position of described screen, n be more than or equal to 4 integer;
According to described sub-sectional drawing quantity n and each time local screenshotss time, described second picture, relative to the position of described screen, carries out local screenshotss to described second picture.
6. method according to claim 1, is characterized in that, the multiple amplified described first picture is m, and 1 < m < 4; Described local screenshotss are carried out to described second picture, obtain multiple sub-sectional drawings, comprising:
Keep the upper left corner of described second picture to overlap with the upper left corner of described screen, screenshotss are carried out to the upper left corner of described second picture, obtain the first sub-sectional drawing;
Keep the upper right corner of described second picture to overlap with the upper right corner of described screen, screenshotss are carried out to the upper right corner of described second picture, obtain the second sub-sectional drawing;
Keep the lower left corner of described second picture to overlap with the lower left corner of described screen, screenshotss are carried out to the lower left corner of described second picture, obtain the 3rd sub-sectional drawing;
Keep the lower right corner of described second picture to overlap with the lower right corner of described screen, screenshotss are carried out to the lower right corner of described second picture, obtain the 4th sub-sectional drawing.
7. a device for screenshot capture, is characterized in that, described device comprises:
Amplification module, for when the screenshotss operation to the first picture in screen being detected, keeping the resolution of described first picture constant, amplifying, obtain the second picture to described first picture; Described first picture and described second picture comprise identical image content, and the size of described second picture is greater than the size of described first picture;
Screen capture module, for carrying out local screenshotss to described second picture, obtains multiple sub-sectional drawings; The union of the content of multiple sub-sectional drawings described comprises the content of described second picture;
Merging module, for merging multiple sub-sectional drawings described, obtaining snapshot picture.
8. device according to claim 7, is characterized in that, described merging module, comprising:
Feature extraction submodule, for carrying out feature point extraction respectively to multiple sub-sectional drawings described;
Merging submodule, for merging multiple sub-sectional drawings described according to the unique point extracted from multiple sub-sectional drawings described, obtaining a snapshot picture.
9. device according to claim 7, is characterized in that, described device also comprises:
Boundary detection module, for merging multiple sub-sectional drawings described in described merging module, after obtaining snapshot picture, whether the border detecting described snapshot picture mates;
Cutting module, in the testing result of described boundary detection module be the border of described snapshot picture do not mate time, cutting is carried out to described snapshot picture, obtain reduce after snapshot picture, the snapshot picture after described cutting is rectangle.
10. device according to claim 9, is characterized in that, described cutting module, comprising:
Arrange submodule, for arranging a rectangular area at the center of described snapshot picture, described rectangular area is completely contained in described snapshot picture, and four limits of described rectangular area are parallel with four limits of described screen;
Diffusion submodule, for by four limits of described rectangular area to external diffusion, until four limits of described rectangular area arrive the Article 1 parallel boundary on respective dispersal direction respectively;
Remove submodule, for by described snapshot picture, be in the part removal outside described rectangular area, obtain the snapshot picture after described cutting.
11. devices according to claim 7, is characterized in that, described screen capture module, comprising:
Determine submodule, for according to determining sub-sectional drawing quantity n to the multiple that described first picture amplifies, and each time local screenshotss time, described second picture relative to the position of described screen, n be more than or equal to 4 integer;
Screenshotss submodule, for according to described sub-sectional drawing quantity n and each time local screenshotss time, described second picture, relative to the position of described screen, carries out local screenshotss to described second picture.
12. devices according to claim 7, is characterized in that, described amplification module is m to the multiple that described first picture amplifies, and 1 < m < 4;
Described screen capture module, for keeping the upper left corner of described second picture to overlap with the upper left corner of described screen, carries out screenshotss to the upper left corner of described second picture, obtains the first sub-sectional drawing; Keep the upper right corner of described second picture to overlap with the upper right corner of described screen, screenshotss are carried out to the upper right corner of described second picture, obtain the second sub-sectional drawing; Keep the lower left corner of described second picture to overlap with the lower left corner of described screen, screenshotss are carried out to the lower left corner of described second picture, obtain the 3rd sub-sectional drawing; Keep the lower right corner of described second picture to overlap with the lower right corner of described screen, screenshotss are carried out to the lower right corner of described second picture, obtain the 4th sub-sectional drawing.
The device of 13. 1 kinds of screenshot captures, is characterized in that, described device comprises:
Processor;
For storing the storer of the executable instruction of described processor;
Wherein, described processor is configured to:
When the screenshotss operation to the first picture in screen being detected, keeping the resolution of described first picture constant, described first picture being amplified, obtains the second picture; Described first picture and described second picture comprise identical image content, and the size of described second picture is greater than the size of described first picture;
Local screenshotss are carried out to described second picture, obtains multiple sub-sectional drawings; The union of the content of multiple sub-sectional drawings described comprises the content of described second picture;
Multiple sub-sectional drawings described are merged, obtains snapshot picture.
CN201510847766.8A 2015-11-27 2015-11-27 The method and device of screenshot capture Active CN105487773B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201510847766.8A CN105487773B (en) 2015-11-27 2015-11-27 The method and device of screenshot capture

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201510847766.8A CN105487773B (en) 2015-11-27 2015-11-27 The method and device of screenshot capture

Publications (2)

Publication Number Publication Date
CN105487773A true CN105487773A (en) 2016-04-13
CN105487773B CN105487773B (en) 2019-04-16

Family

ID=55674784

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201510847766.8A Active CN105487773B (en) 2015-11-27 2015-11-27 The method and device of screenshot capture

Country Status (1)

Country Link
CN (1) CN105487773B (en)

Cited By (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107155059A (en) * 2017-04-11 2017-09-12 深圳市金立通信设备有限公司 A kind of image preview method and terminal
CN107870703A (en) * 2016-09-26 2018-04-03 北京京东尚科信息技术有限公司 Method, system and the terminal device of full-screen picture displaying
CN109285126A (en) * 2018-08-17 2019-01-29 上海商汤智能科技有限公司 Image processing method and device, electronic equipment and storage medium
CN110502293A (en) * 2019-07-10 2019-11-26 维沃移动通信有限公司 A kind of screenshotss method and terminal device
CN113126862A (en) * 2021-03-15 2021-07-16 维沃移动通信有限公司 Screen capture method and device, electronic equipment and readable storage medium
CN114554109A (en) * 2020-11-26 2022-05-27 华为技术有限公司 Image picture self-adaptive cutting method and electronic equipment
CN115472140A (en) * 2022-09-09 2022-12-13 维沃移动通信有限公司 Display method, display device, electronic apparatus, and readable storage medium

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20070146392A1 (en) * 2005-12-28 2007-06-28 Xcpt, Inc. System and method for magnifying and editing objects
CN102681829A (en) * 2011-03-16 2012-09-19 阿里巴巴集团控股有限公司 Screenshot method, device and communication client
CN102708539A (en) * 2012-04-21 2012-10-03 上海量明科技发展有限公司 Method for obtaining image through twice-screenshot and client
CN103338405A (en) * 2013-06-03 2013-10-02 四川长虹电器股份有限公司 Screen capture application method, equipment and system
CN103514581A (en) * 2013-10-23 2014-01-15 小米科技有限责任公司 Screen picture capturing method, device and terminal equipment

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20070146392A1 (en) * 2005-12-28 2007-06-28 Xcpt, Inc. System and method for magnifying and editing objects
CN102681829A (en) * 2011-03-16 2012-09-19 阿里巴巴集团控股有限公司 Screenshot method, device and communication client
CN102708539A (en) * 2012-04-21 2012-10-03 上海量明科技发展有限公司 Method for obtaining image through twice-screenshot and client
CN103338405A (en) * 2013-06-03 2013-10-02 四川长虹电器股份有限公司 Screen capture application method, equipment and system
CN103514581A (en) * 2013-10-23 2014-01-15 小米科技有限责任公司 Screen picture capturing method, device and terminal equipment

Cited By (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107870703A (en) * 2016-09-26 2018-04-03 北京京东尚科信息技术有限公司 Method, system and the terminal device of full-screen picture displaying
CN107870703B (en) * 2016-09-26 2020-09-01 北京京东尚科信息技术有限公司 Method, system and terminal equipment for full-screen display of picture
CN107155059A (en) * 2017-04-11 2017-09-12 深圳市金立通信设备有限公司 A kind of image preview method and terminal
CN109285126A (en) * 2018-08-17 2019-01-29 上海商汤智能科技有限公司 Image processing method and device, electronic equipment and storage medium
CN109285126B (en) * 2018-08-17 2022-09-09 上海商汤智能科技有限公司 Image processing method and device, electronic equipment and storage medium
CN110502293A (en) * 2019-07-10 2019-11-26 维沃移动通信有限公司 A kind of screenshotss method and terminal device
CN110502293B (en) * 2019-07-10 2022-02-01 维沃移动通信有限公司 Screen capturing method and terminal equipment
CN114554109A (en) * 2020-11-26 2022-05-27 华为技术有限公司 Image picture self-adaptive cutting method and electronic equipment
CN113126862A (en) * 2021-03-15 2021-07-16 维沃移动通信有限公司 Screen capture method and device, electronic equipment and readable storage medium
CN113126862B (en) * 2021-03-15 2022-06-10 维沃移动通信有限公司 Screen capture method and device, electronic equipment and readable storage medium
CN115472140A (en) * 2022-09-09 2022-12-13 维沃移动通信有限公司 Display method, display device, electronic apparatus, and readable storage medium

Also Published As

Publication number Publication date
CN105487773B (en) 2019-04-16

Similar Documents

Publication Publication Date Title
CN105487773A (en) Screen capturing method and device
CN105528606A (en) Region identification method and device
CN104503689A (en) Method and device for displaying application interface
CN105224195A (en) Terminal operation method and device
CN105225096A (en) The disposal route of reminder announced message, device and terminal
CN104991789A (en) Method and apparatus for starting application
CN105488511A (en) Image identification method and device
CN105487805A (en) Object operating method and device
CN103914148A (en) Function interface display method and device and terminal equipment
CN104238911A (en) Loading icon display method and device
CN104536660A (en) Interface displaying method and device
CN105242942A (en) Application control method and apparatus
CN104598076A (en) Method and device for shielding touch messages
CN105094318A (en) Mode switching method and apparatus
CN104598534A (en) Picture folding method and device
CN104793969A (en) Application program unloading method and device
CN104639952A (en) Method and device for identifying station logo
CN105354017A (en) Information processing method and apparatus
CN105139378A (en) Card boundary detection method and apparatus
CN104978141A (en) Picture management method, device and terminal
CN104462296A (en) File managing method and device and terminal
CN105511777A (en) Session display method and device of touch display screen
CN105224168A (en) The display packing of application icon, device and mobile device
CN105630749A (en) Extraction method and device of digital information
CN104375760B (en) Method for information display and device

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant