CN106445344A - Screenshot processing method and device - Google Patents
Screenshot processing method and device Download PDFInfo
- Publication number
- CN106445344A CN106445344A CN201610856557.4A CN201610856557A CN106445344A CN 106445344 A CN106445344 A CN 106445344A CN 201610856557 A CN201610856557 A CN 201610856557A CN 106445344 A CN106445344 A CN 106445344A
- Authority
- CN
- China
- Prior art keywords
- pixel
- sectional drawing
- user
- track
- artwork piece
- 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.)
- Pending
Links
- 238000003672 processing method Methods 0.000 title claims abstract description 15
- 238000000034 method Methods 0.000 claims abstract description 44
- 230000001788 irregular Effects 0.000 claims abstract description 38
- 238000012545 processing Methods 0.000 claims abstract description 18
- 230000015654 memory Effects 0.000 description 9
- 238000004891 communication Methods 0.000 description 7
- 230000006870 function Effects 0.000 description 6
- 238000010586 diagram Methods 0.000 description 3
- 238000005516 engineering process Methods 0.000 description 3
- 230000000694 effects Effects 0.000 description 2
- 230000005611 electricity Effects 0.000 description 2
- 230000003993 interaction Effects 0.000 description 2
- 238000010295 mobile communication Methods 0.000 description 2
- 238000007650 screen-printing Methods 0.000 description 2
- WVOLTBSCXRRQFR-SJORKVTESA-N Cannabidiolic acid Natural products OC1=C(C(O)=O)C(CCCCC)=CC(O)=C1[C@@H]1[C@@H](C(C)=C)CCC(C)=C1 WVOLTBSCXRRQFR-SJORKVTESA-N 0.000 description 1
- 101000929942 Megasphaera elsdenii Acyl-CoA dehydrogenase, short-chain specific Proteins 0.000 description 1
- 230000009286 beneficial effect Effects 0.000 description 1
- WVOLTBSCXRRQFR-DLBZAZTESA-M cannabidiolate Chemical compound OC1=C(C([O-])=O)C(CCCCC)=CC(O)=C1[C@H]1[C@H](C(C)=C)CCC(C)=C1 WVOLTBSCXRRQFR-DLBZAZTESA-M 0.000 description 1
- 238000010276 construction Methods 0.000 description 1
- 238000011161 development Methods 0.000 description 1
- 238000009434 installation Methods 0.000 description 1
- 230000002452 interceptive effect Effects 0.000 description 1
- 238000004519 manufacturing process Methods 0.000 description 1
- 230000000644 propagated effect Effects 0.000 description 1
- 239000007787 solid Substances 0.000 description 1
- 238000012546 transfer Methods 0.000 description 1
- 230000000007 visual effect Effects 0.000 description 1
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F3/00—Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
- G06F3/01—Input arrangements or combined input and output arrangements for interaction between user and computer
- G06F3/048—Interaction techniques based on graphical user interfaces [GUI]
- G06F3/0484—Interaction techniques based on graphical user interfaces [GUI] for the control of specific functions or operations, e.g. selecting or manipulating an object, an image or a displayed text element, setting a parameter value or selecting a range
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F3/00—Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
- G06F3/01—Input arrangements or combined input and output arrangements for interaction between user and computer
- G06F3/048—Interaction techniques based on graphical user interfaces [GUI]
- G06F3/0487—Interaction techniques based on graphical user interfaces [GUI] using specific features provided by the input device, e.g. functions controlled by the rotation of a mouse with dual sensing arrangements, or of the nature of the input device, e.g. tap gestures based on pressure sensed by a digitiser
- G06F3/0488—Interaction techniques based on graphical user interfaces [GUI] using specific features provided by the input device, e.g. functions controlled by the rotation of a mouse with dual sensing arrangements, or of the nature of the input device, e.g. tap gestures based on pressure sensed by a digitiser using a touch-screen or digitiser, e.g. input of commands through traced gestures
- G06F3/04883—Interaction techniques based on graphical user interfaces [GUI] using specific features provided by the input device, e.g. functions controlled by the rotation of a mouse with dual sensing arrangements, or of the nature of the input device, e.g. tap gestures based on pressure sensed by a digitiser using a touch-screen or digitiser, e.g. input of commands through traced gestures for inputting data by handwriting, e.g. gesture or text
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06T—IMAGE DATA PROCESSING OR GENERATION, IN GENERAL
- G06T3/00—Geometric image transformations in the plane of the image
- G06T3/04—Context-preserving transformations, e.g. by using an importance map
Landscapes
- Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- General Engineering & Computer Science (AREA)
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- Human Computer Interaction (AREA)
- User Interface Of Digital Computer (AREA)
Abstract
The embodiment of the invention provides a screenshot processing method and a device. The processing method comprises the steps of identifying and recording a screenshot track done by a user to an original image, wherein the screenshot track is a closed and irregular curve which surrounds a target image the user intends to carry out a screenshot on; setting pixels outside the screenshot track of the original image to a transparent state, and generating a screenshot picture of the target image. The device comprises a track recording module and a transparence setting module. According to the screenshot processing method and the device, by identifying and recording the screenshot track done by the user to the original image on the intelligent terminal, an irregular figure ready to be subject to screenshot can be directly obtained, thus the method and the device are very quick and simple; meanwhile, by setting pixels outside the screenshot track of the original image to a transparent state, adoption of a specific image processing software to conduct fuss processing is avoided, thus the screenshot speed of the irregular figure is increased.
Description
Technical field
The present embodiments relate to touch screen control technology field, more particularly, to a kind of screenshot processing method and device.
Background technology
Fast development with intelligent terminal such as mobile phone and flat boards and popularization, the calculating of intelligent terminal and disposal ability are more next
More powerful, using more and more convenient, so that increasing modern is carried out communicating, is entertained by intelligent terminal, or even place
Science and engineering is made.During communication, amusement and processing work, a lot of people have been accustomed to obtaining information by the webpage of intelligent terminal
Quickly processed and propagated the particular picture it is often necessary in screen printing, for example, intercepted face, the profile of people, animal wheel
Other things in exterior feature or picture.
Existing intelligent terminal supports rectangle sectional drawing, when needing the irregular figure in screen printing as user, needs head
First intercept rectangle picture, then pass through the irregular figure that specific image processing software intercepts in rectangle picture, and by spy
Fixed process completes the sectional drawing of irregular figure.For example, when user is chatted by chat software, generally require by figure
Piece intuitively to pass on the respective meaning, in order to project the emphasis of picture, it is to avoid unnecessary misunderstanding, often intercepts in picture
Certain irregular area, prior art needs loaded down with trivial details picture processing, simultaneously need to expending the more picture processing time.
During realizing the embodiment of the present invention, inventor find existing irregular figure sectional drawing mode need through
Cross multiple steps, simultaneously need to by specific image processing software, more inconvenience in actual application.
Content of the invention
The embodiment of the present invention provides a kind of screenshot processing method and device, in order to solve the sectional drawing of existing irregular figure
Mode needs through multiple steps, simultaneously need to by specific image processing software, more inconvenience in actual application
Problem.
The embodiment of the present invention provides a kind of screenshot processing method, including:
Identify and record the sectional drawing track to artwork piece for the user, described sectional drawing track is a closure irregular curve, described
Closure irregular curve surrounds the target image that described user to be intercepted;
The pixel being located at outside described sectional drawing track in described artwork piece is set to pellucidity, generates described target figure
The sectional drawing picture of picture.
Alternatively, described identify and record user to the sectional drawing track of artwork piece before, also include:
Intercept out rectangle picture from described artwork piece, described rectangle picture comprises the target figure that described user to be intercepted
Picture;
Described identify and record user to the sectional drawing track of artwork piece be:
The sectional drawing track to described rectangle picture for the identifying user.
Alternatively, described intercept out rectangle picture from described artwork piece, further include:
Obtain two pixels on described artwork piece;
According to described two pixels in the coordinate of described artwork piece, determine identical with the first pixel abscissa and with the
Two pixel vertical coordinate identical the 3rd pixel, and identical with the first pixel vertical coordinate and with the second pixel abscissa phase
The 4th same pixel;
Intercept from described artwork piece with described first pixel, described second pixel, described 3rd pixel and institute
State the picture that the 4th pixel is summit as described rectangle picture.
Alternatively, described identify and record the sectional drawing track to artwork piece for the user, further include:
By the sectional drawing track to artwork piece for the moveTo method record user of Path class.
Alternatively, described identify and record the sectional drawing track to artwork piece for the user, further include:
Sketch the contours state by what onTouchEvent method record sketched the contours geometric locus, and sketch the contours geometric locus described in determining
For completion statuses.
Screenshot processing method provided in an embodiment of the present invention, by identifying and recording user on described intelligent terminal to former
The sectional drawing track of picture, can direct access irregular figure to be intercepted, fast and convenient;Pass through in described artwork piece simultaneously
Pixel outside described sectional drawing track is set to pellucidity, it is to avoid using specific image process software carry out loaded down with trivial details
Process, improve the sectional drawing speed of irregular figure.
The embodiment of the present invention provides a kind of sectional drawing processing meanss, including:
Track record module, for identifying and recording user in the sectional drawing track to artwork piece, described sectional drawing track is one
Closure irregular curve, described closure irregular curve surrounds the target image that described user to be intercepted;
Transparent setup module, for being set to transparence by the pixel being located at outside described sectional drawing track in described artwork piece
State, generates the sectional drawing picture of described target image.
Alternatively, also include:
Artwork piece interception module, for intercepting out rectangle picture from described artwork piece, described rectangle picture comprises described
The target image that user to be intercepted;
Described track record module is used for:The sectional drawing track to described rectangle picture for the identifying user.
Alternatively, described artwork piece interception module further includes:
First pixel acquiring unit, for obtaining two pixels on described artwork piece;
Second pixel acquiring unit, determines and the in the coordinate of described artwork piece for according to described two pixels
One pixel abscissa identical and with the second pixel vertical coordinate identical the 3rd pixel, and with the first pixel vertical coordinate phase
With and with the second pixel abscissa identical the 4th pixel;
Artwork interception unit, for intercepting with described first pixel, described second pixel, institute from described artwork piece
The picture stating the 3rd pixel and described 4th pixel for summit is as described rectangle picture.
Alternatively, described track record module is used for:By the moveTo method record user of Path class to artwork piece
Sectional drawing track.
Alternatively, described track record module is used for:Sketch the contours the hook of geometric locus by onTouchEvent method record
Le state, and to sketch the contours geometric locus described in determining be completion statuses.
Sectional drawing processing meanss provided in an embodiment of the present invention, by identifying and recording user on described intelligent terminal to former
The sectional drawing track of picture, can direct access irregular figure to be intercepted, fast and convenient;Pass through in described artwork piece simultaneously
Pixel outside described sectional drawing track is set to pellucidity, it is to avoid using specific image process software carry out loaded down with trivial details
Process, improve the sectional drawing speed of irregular figure.
Brief description
In order to be illustrated more clearly that the embodiment of the present invention or technical scheme of the prior art, below will be to embodiment or existing
Have technology description in required use accompanying drawing be briefly described it should be apparent that, drawings in the following description are these
Some bright embodiments, for those of ordinary skill in the art, on the premise of not paying creative work, can also root
Obtain other accompanying drawings according to these accompanying drawings.
Fig. 1 is the schematic flow sheet of screenshot processing method in one embodiment of the invention;
Fig. 2 is the schematic diagram that in one embodiment of the invention, sectional drawing is processed;
Fig. 3 is the schematic flow sheet of screenshot processing method in another embodiment of the present invention;
Fig. 4 is the schematic flow sheet that in another embodiment of the present invention, sectional drawing is processed;
Fig. 5 is the structural representation of sectional drawing processing meanss in one embodiment of the invention;
Fig. 6 is the logic diagram of sectional drawing processing terminal in one embodiment of the invention.
Specific embodiment
Purpose, technical scheme and advantage for making the embodiment of the present invention are clearer, below in conjunction with the embodiment of the present invention
In accompanying drawing, the technical scheme in the embodiment of the present invention is clearly and completely described it is clear that described embodiment is
The a part of embodiment of the present invention, rather than whole embodiments.Based on the embodiment in the present invention, those of ordinary skill in the art
The every other embodiment being obtained under the premise of not making creative work, broadly falls into the scope of protection of the invention.
Fig. 1 is the schematic flow sheet of screenshot processing method in the present embodiment, and the executive agent of the method can be for example intelligence
Energy terminal, this intelligent terminal includes but is not limited to mobile phone, panel computer or other to be had calculating data disposal ability and carries
The terminal of display screen, this processing method for example can include:
S101, identify and record the sectional drawing track to artwork piece for the user, described sectional drawing track is a closure irregular curve,
Described closure irregular curve surrounds the target image that described user to be intercepted;
Wherein, described user to the sectional drawing track of artwork piece be user on the display screen of described intelligent terminal to artwork
The sectional drawing track of piece, can sketch the contours of sectional drawing track by user's finger, can sketch the contours of sectional drawing rail by touch screen pen device
Mark is adjusted it is also possible to obtain default sectional drawing track from data base.
For example, when user needs to obtain the profile of the people on intelligent terminal's display screen, can be by finger by people
Profile sketch the contours of;By screen touch pen, the profile of people can be sketched the contours of;Can also select to be intended to current from data base
The more similar profile of target image intercepting, forms sectional drawing track by simple adjustment.As shown in Fig. 2 (A), white line hooks
That strangles is sectional drawing track 201.
S102, the pixel being located at outside described sectional drawing track in described artwork piece is set to pellucidity, generates described
The sectional drawing picture of target image.
For example, the artwork piece as shown in the as Fig. 2 (A) of the sectional drawing picture on intelligent terminal's display screen in Fig. 2 (B)
Pixel outside middle sectional drawing track 201 is set to the picture after pellucidity.
Wherein, each pixel actual storage of described artwork piece is 32bit data, and alpha, red, green, blue divide
Do not account for 8bit, wherein alpha position controls this pixel transparent degree, when the alpha of pixel is 0 this pixel transparent, alpha is
255 this pixel are completely opaque;Alpha is then translucent between 0 to 255.
Sectional drawing track is irregular figure, and existing intelligent terminal only supports the picture file of rectangle, therefore, first
The size of sectional drawing picture need to be determined according to the size of sectional drawing track.
Specifically, can obtain the minimum rectangle comprising sectional drawing track, intercept position with described minimum rectangle and
Size identical region, generates sectional drawing picture.
In the sectional drawing picture generating, in order to distinguish the difference of the target image to be intercepted and background, by outside sectional drawing track
Pixel be set to pellucidity, not affect the visual effect of user.
Specifically, the pixel being located at outside described sectional drawing track in described artwork piece is set to pellucidity can include
Following steps:
The section object that the right side is opened is closed on A1, one left side of construction;
A2, the border at calculating control point;
A3, setting area path and the region described by this zone routing of editing;
A4, closing path in return true, in path return false;
A5, the pixel returning false is set to transparent color, the alpha of pixel will be set to 0.
For example, as shown in figure 4, described zone routing can for ADBC or ACBD or CBDA or CADB or BCAD or
BDAC or DACB or DBCA;Region described by this zone routing is rectangle ACBD.
Wherein, path is the region of described description, the rectangle ACBD in as Fig. 4.
For example, taking android system as a example, can determine that the pixel in artwork piece is by following software code
No in the closed curve that user sketches the contours:
Region region=new Region ();
RectF r=new RectF ();
mPath.computeBounds(r,true);
region.setPath(mPath,new Region((int)r.left,(int)r.top,(int)r.right,
(int)r.bottom));
region.contains(x,y);
Wherein, Region () is that the section object that the right side is opened is closed on a left side;RectF () is control point, and described control point is for controlling
The region of sectional drawing track processed, rectangle ACBD that is, as shown in Figure 4;MPath.computeBounds () is used for calculating control point
Border;Region.setPath () is used for setting area path and the region of editing description;Region.contains () is used for
Return true in the path of closing, in path, do not return false.
The present embodiment passes through to identify and record the sectional drawing track to artwork piece on described intelligent terminal for the user, can directly obtain
Take irregular figure to be intercepted, fast and convenient;Pass through the picture that will be located in described artwork piece outside described sectional drawing track simultaneously
Vegetarian refreshments is set to pellucidity, it is to avoid processes software using specific image and carries out loaded down with trivial details process, improves irregular figure
Sectional drawing speed.
Fig. 3 is the schematic flow sheet of screenshot processing method in the present embodiment, and methods described includes:S300, from described artwork
Rectangle picture is intercepted out, described rectangle picture comprises the target image that described user to be intercepted in piece;
S301, the identifying user sectional drawing track to described rectangle picture, described sectional drawing track is a closure irregular curve,
Described closure irregular curve surrounds the target image that described user to be intercepted;
S302, the pixel being located at outside described sectional drawing track in described artwork piece is set to pellucidity, generates described
The sectional drawing picture of target image.
Wherein, by being picture format by the display picture processing on current display screen, it is easy to user and does not advise sketching the contours
Then during figure, trigger the link on screen, lead to intelligent terminal to jump to other interfaces;By intercepting artwork piece, can
The content that amplifying display screen curtain shows according to specific needs;By artwork piece is used as using rectangle picture, convenient acquisition.
S101-S102 in S301-S302 embodiment corresponding with Fig. 1 is corresponding, will not be described here.
Further, on the basis of embodiment 2, S300 includes:
S3001, two pixels obtaining on described artwork piece;
Wherein, two pixels on the display screen of user's finger positioning intelligent terminal can be passed through it is also possible to pass through to touch
Two pixels on the display screen of a screen positioning intelligent terminal, then oriented two pixels of intelligent terminal's acquisition.
S3002, according to described two pixels described artwork piece coordinate, determine identical with the first pixel abscissa
And with the second pixel vertical coordinate identical the 3rd pixel, and identical with the first pixel vertical coordinate and horizontal with the second pixel
Coordinate identical the 4th pixel;
Wherein, the coordinate of described intelligent terminal is the coordinate of the display screen of intelligent terminal.For example, with display screen
The lower left corner be zero, if as shown in figure 4, S1001 obtain described two pixel A and B described intelligent terminal's
Coordinate is respectively A (30,40) and B (100,140), then the coordinate of the 3rd pixel C is (30,140), the seat of the 4th pixel D
It is designated as (100,40), in rectangle ACBD, point A and point B are diagonal two point, and point C and point D are diagonal two point.
S1003, intercept from described artwork piece with described first pixel, described second pixel, described 3rd pixel
The picture that point is summit with described 4th pixel is as described rectangle picture.
By intercepting with described first pixel, described second pixel, described 3rd pixel and described 4th pixel
Point is the described artwork piece on summit, artwork piece can be amplified to the most concerned region of user, conveniently more accurately sketch the contours not
Regular figure.
Further, on the basis of above-described embodiment, S101 further includes:
S1011, by the moveTo method record user of Path class the sectional drawing track to artwork piece;
Wherein, described intelligent terminal adopts Android operation system.
Certainly, need explanation, the embodiment of the present invention only taking Android operation system as a example illustrates, this programme
It is equally applicable to iOS operating system, specific method may also be employed in iOS operating system and realize the record to sectional drawing track.
Path class is provided, it is possible to use the method recording curve such as moveTo of Path class in Android.User enters sectional drawing
After pattern, according in the object that the track record that user sketches the contours is defined by user's touch event to Path class;When user sketches the contours of
One simple closed curve, after finger frames out, terminates record, the track that now user sketches the contours is saved to Path object
In.
Wherein, sectional drawing pattern refers to the artwork piece for intercepting that current display screen shows.
For example, can be by the moveTo method recording curve of the Path class shown in following software code:
public boolean onTouchEvent(MotionEvent event){
case MotionEvent.ACTION_DOWN:
mPath.moveTo(x,y);}
Using the moveTo method of Path class, convenient record user's sectional drawing rail to artwork piece on described intelligent terminal
Mark.
Further, on the basis of above-described embodiment, S101 further includes:
S1012, sketch the contours geometric locus by onTouchEvent method record sketch the contours state, and sketch the contours rail described in determining
Trace curve is completion statuses.
Wherein, Android can record the concurrent outgoing event of point that user sketches the contours track place manually, have simultaneously
OnTouchEvent can respond above-mentioned event.After user enters sectional drawing pattern, in the Activity of intelligent terminal
In the object track record that user sketches the contours being defined to Path class according to user's touch event in onTouchEvent function.
By onTouchEvent method, that conveniently sketches the contours geometric locus described in record sketches the contours state.
Fig. 5 is the structural representation of sectional drawing processing meanss in the present embodiment, and described sectional drawing processing meanss include track record
Module 501 and transparent setup module 502;Wherein,
Described track record module 501 is used for identifying and recording user in the sectional drawing track to artwork piece, described sectional drawing rail
Mark is a closure irregular curve, and described closure irregular curve surrounds the target image that described user to be intercepted;
Described transparent setup module 502 is used for being set to the pixel being located at outside described sectional drawing track in described artwork piece
Pellucidity, generates the sectional drawing picture of described target image.
Specifically, described track record module 501 identifies and records the sectional drawing track to artwork piece for the user, described sectional drawing rail
Mark is a closure irregular curve, and described closure irregular curve surrounds the target image that described user to be intercepted;Described transparent
The pixel being located at outside described sectional drawing track in described artwork piece is set to pellucidity by setup module 502, generates described mesh
The sectional drawing picture of logo image.
The present embodiment passes through to identify and record the sectional drawing track to artwork piece on described intelligent terminal for the user, can directly obtain
Take irregular figure to be intercepted, fast and convenient;Pass through the picture that will be located in described artwork piece outside described sectional drawing track simultaneously
Vegetarian refreshments is set to pellucidity, it is to avoid processes software using specific image and carries out loaded down with trivial details process, improves irregular figure
Sectional drawing speed.
Further, described device also includes:
Artwork piece interception module 503, is used for
Intercept out rectangle picture from described artwork piece, described rectangle picture comprises the target figure that described user to be intercepted
Picture;
Described identify and record user to the sectional drawing track of artwork piece be:
The sectional drawing track to described rectangle picture for the identifying user.
Specifically, described artwork piece interception module 503 further includes:
First pixel acquiring unit 5031, for obtaining two pixels on described artwork piece;
Second pixel acquiring unit 5032, determines in the coordinate of described artwork piece for according to described two pixels
Identical with the first pixel abscissa and with the second pixel vertical coordinate identical the 3rd pixel, and with first pixel indulge sit
Mark identical and with the second pixel abscissa identical the 4th pixel;
Artwork interception unit 5033, for intercepting with described first pixel, described second pixel from described artwork piece
Point, described 3rd pixel and described 4th pixel are the picture on summit as described rectangle picture.
Further, described track record module 501 is used for by the moveTo method record user of Path class to artwork
The sectional drawing track of piece.
Further, described track record module 501 is used for sketching the contours track song by onTouchEvent method record
Line sketch the contours state, and to sketch the contours geometric locus described in determining be completion statuses.
The principle of described sectional drawing processing meanss and technique effect and corresponding embodiment of the method phase that above-described embodiment provides
Same, will not be described here.
Fig. 6 shows the entity structure schematic diagram of sectional drawing processing terminal provided in an embodiment of the present invention, and this sectional drawing is processed eventually
End includes:Processor (processor) 601, memorizer (memory) 602, communication interface (Communications
Interface) 603 and bus 604, wherein, processor 601, memorizer 602, communication interface 603, phase is completed by bus 604
Communication between mutually.Communication interface 603 can be used for the information transfer between server and described sectional drawing processing terminal.
Described memorizer 602, for storing artwork piece;
Described processor 601 can call the artwork piece in memorizer 602, to execute following method:
Identify and record the sectional drawing track to artwork piece for the user, described sectional drawing track is a closure irregular curve, described
Closure irregular curve surrounds the target image that described user to be intercepted;
The pixel being located at outside described sectional drawing track in described artwork piece is set to pellucidity, generates described target figure
The sectional drawing picture of picture.
Additionally, the artwork piece in above-mentioned memorizer 602 can be realized by the form of SFU software functional unit and be used as solely
When vertical production marketing or use, can be stored in a computer read/write memory medium.Based on such understanding, this
Part that bright technical scheme substantially contributes to prior art in other words or this technical scheme partly can be with soft
The form of part product embodies, and this computer software product is stored in a storage medium, including artwork piece with so that
One computer equipment (can be personal computer, server, or network equipment etc.) executes each embodiment institute of the present invention
State all or part of step of method.And aforesaid storage medium includes:USB flash disk, portable hard drive, read only memory (ROM, Read-
Only Memory), random access memory (RAM, Random Access Memory), magnetic disc or CD etc. various permissible
The medium of store program codes.
This terminal can also include:Input equipment and output device, input equipment and output device pass through bus or its
Its connected mode is connected with processor 601 and memorizer 602.
Memorizer 602, as a kind of non-volatile computer readable storage medium storing program for executing, can be used for storing non-volatile software journey
The process side of network resource accession request in sequence, non-volatile computer executable program and module, such as the embodiment of the present application
Corresponding programmed instruction/the module of method.Processor 601 is stored non-volatile software program in the memory 602, is referred to by operation
Order and module, thus the various function application of execute server and data processing, that is, realize said method embodiment video
The method of program interaction.
Memorizer 602 can include storing program area and storage data field, and wherein, storing program area can store operation system
Application program required for system, at least one function;Storage data field can store the control of network flow quantity electricity according to mobile terminal
Data that the use of sub- equipment is created etc..Additionally, memorizer 602 can include high-speed random access memory, can also wrap
Include nonvolatile memory, for example, at least one disk memory, flush memory device or other non-volatile solid state memories
Part.In certain embodiments, memorizer 602 is optional includes the memorizer remotely located with respect to processor 601, and these are remotely deposited
Reservoir can be by network connection to the interactive processing meanss of video frequency program.The example of above-mentioned network includes but is not limited to interconnect
Net, intranet, LAN, mobile radio communication and combinations thereof.
Input equipment can the numeral of receives input or character information, and produce the control of network flow quantity electricity with mobile terminal
The user setup of sub- equipment and function control relevant key signals input.Output device may include the display devices such as display screen.
One or more of module stores in described memorizer 602, when by one or more of processors
During 601 execution, the method for the control of network flow quantity of mobile terminal in the above-mentioned any means embodiment of execution.
The said goods can perform the method that the embodiment of the present application is provided, and possesses the corresponding functional module of execution method and has
Beneficial effect.The not ins and outs of detailed description in the present embodiment, can be found in the method that the embodiment of the present application is provided.
The electronic equipment of the embodiment of the present application exists in a variety of forms, including but not limited to:
(1) mobile communication equipment:The feature of this kind equipment is that possess mobile communication function, and to provide speech, data
Communicate as main target.This Terminal Type includes:Smart mobile phone (such as iPhone), multimedia handset, feature mobile phone, and low
End mobile phone etc..
(2) super mobile personal computer equipment:This kind equipment belongs to the category of personal computer, has calculating and processes work(
Can, typically also possess mobile Internet access characteristic.This Terminal Type includes:PDA, MID and UMPC equipment etc., such as iPad.
(3) portable entertainment device:This kind equipment can show and play content of multimedia.This kind equipment includes:Audio frequency,
Video player (such as iPod), handheld device, e-book, and intelligent toy and portable car-mounted navigator.
(4) server:There is provided the equipment of the service of calculating, it is total that the composition of server includes processor, hard disk, internal memory, system
Line etc., server is similar with general computer architecture, but due to needing to provide highly reliable service, is therefore processing energy
The aspects such as power, stability, reliability, safety, extensibility, manageability require higher.
(5) other have the electronic installation of data interaction function.
Device embodiment described above is only that schematically the wherein said unit illustrating as separating component can
To be or to may not be physically separate, as the part that unit shows can be or may not be physics list
Unit, you can with positioned at a place, or can also be distributed on multiple NEs.Can be selected it according to the actual needs
In the purpose to realize this embodiment scheme for some or all of module.
The present embodiment passes through to identify and record the sectional drawing track to artwork piece on described intelligent terminal for the user, can directly obtain
Take irregular figure to be intercepted, fast and convenient;Pass through the picture that will be located in described artwork piece outside described sectional drawing track simultaneously
Vegetarian refreshments is set to pellucidity, it is to avoid processes software using specific image and carries out loaded down with trivial details process, improves irregular figure
Sectional drawing speed.
Device embodiment described above is only that schematically the wherein said unit illustrating as separating component can
To be or to may not be physically separate, as the part that unit shows can be or may not be physics list
Unit, you can with positioned at a place, or can also be distributed on multiple NEs.Can be selected it according to the actual needs
In the purpose to realize this embodiment scheme for some or all of module.Those of ordinary skill in the art are not paying creativeness
Work in the case of, you can to understand and to implement.
Through the above description of the embodiments, those skilled in the art can be understood that each embodiment can
Mode by software plus necessary general hardware platform to be realized naturally it is also possible to pass through hardware.Based on such understanding, on
That states that technical scheme substantially contributes to prior art in other words partly can be embodied in the form of software product, should
Computer software product can store in a computer-readable storage medium, such as ROM/RAM, magnetic disc, CD etc., including some fingers
Order is with so that a computer equipment (can be personal computer, server, or network equipment etc.) executes each enforcement
Example or some partly described methods of embodiment.
It should be noted that:Above example only in order to technical scheme to be described, is not intended to limit;Although reference
Previous embodiment has been described in detail to the present invention, it will be understood by those within the art that:It still can be right
Technical scheme described in foregoing embodiments is modified, or carries out equivalent to wherein some technical characteristics;And this
The a little spirit of essence disengaging various embodiments of the present invention technical scheme and models changed or replace, do not make appropriate technical solution
Enclose.
Claims (10)
1. a kind of screenshot processing method is it is characterised in that include
Identify and record the sectional drawing track to artwork piece for the user, described sectional drawing track is a closure irregular curve, described closure
Irregular curve surrounds the target image that described user to be intercepted;
The pixel being located at outside described sectional drawing track in described artwork piece is set to pellucidity, generates described target image
Sectional drawing picture.
2. method according to claim 1 is it is characterised in that described identify and record the sectional drawing track to artwork piece for the user
Before, also include:
Intercept out rectangle picture from described artwork piece, described rectangle picture comprises the target image that described user to be intercepted;
Described identify and record user to the sectional drawing track of artwork piece be:
The sectional drawing track to described rectangle picture for the identifying user.
3. method according to claim 2, it is characterised in that described intercept out rectangle picture from described artwork piece, is entered
One step includes:
Obtain two pixels on described artwork piece;
According to described two pixels described artwork piece coordinate, determine identical with the first pixel abscissa and with the second picture
Vegetarian refreshments vertical coordinate identical the 3rd pixel, and identical with the first pixel vertical coordinate and with the second pixel abscissa identical
4th pixel;
Intercept from described artwork piece with described first pixel, described second pixel, described 3rd pixel and described
Four pixels are the picture on summit as described rectangle picture.
4. method according to claim 1 is it is characterised in that described identify and record the sectional drawing rail to artwork piece for the user
Mark, further includes:
By the sectional drawing track to artwork piece for the moveTo method record user of Path class.
5. method according to claim 4 is it is characterised in that described identify and record the sectional drawing rail to artwork piece for the user
Mark, further includes:
Sketch the contours state by what onTouchEvent method record sketched the contours geometric locus, and sketch the contours geometric locus described in determining and be
One-tenth state.
6. a kind of sectional drawing processing meanss are it is characterised in that include
Track record module, for identifying and recording user in the sectional drawing track to artwork piece, described sectional drawing track is a closure
Irregular curve, described closure irregular curve surrounds the target image that described user to be intercepted;
Transparent setup module, for the pixel being located at outside described sectional drawing track in described artwork piece is set to pellucidity,
Generate the sectional drawing picture of described target image.
7. device according to claim 6 is it is characterised in that also include:
Artwork piece interception module, for intercepting out rectangle picture from described artwork piece, described rectangle picture comprises described user
The target image to be intercepted;
Described track record module is used for:The sectional drawing track to described rectangle picture for the identifying user.
8. device according to claim 7 is it is characterised in that described artwork piece interception module includes:
First pixel acquiring unit, for obtaining two pixels on described artwork piece;
Second pixel acquiring unit, determines and the first picture in the coordinate of described artwork piece for according to described two pixels
Vegetarian refreshments abscissa identical and with the second pixel vertical coordinate identical the 3rd pixel, and identical with the first pixel vertical coordinate and
With the second pixel abscissa identical the 4th pixel;
Artwork interception unit, for intercept from described artwork piece with described first pixel, described second pixel, described
Three pixels and described 4th pixel are the picture on summit as described rectangle picture.
9. device according to claim 6 is it is characterised in that described track record module is used for:By Path class
The sectional drawing track to artwork piece for the moveTo method record user.
10. device according to claim 9 is it is characterised in that described track record module is used for:Pass through
What onTouchEvent method record sketched the contours geometric locus sketches the contours state, and to sketch the contours geometric locus described in determining be completion statuses.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201610856557.4A CN106445344A (en) | 2016-09-27 | 2016-09-27 | Screenshot processing method and device |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201610856557.4A CN106445344A (en) | 2016-09-27 | 2016-09-27 | Screenshot processing method and device |
Publications (1)
Publication Number | Publication Date |
---|---|
CN106445344A true CN106445344A (en) | 2017-02-22 |
Family
ID=58169434
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201610856557.4A Pending CN106445344A (en) | 2016-09-27 | 2016-09-27 | Screenshot processing method and device |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN106445344A (en) |
Cited By (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN107728899A (en) * | 2017-09-29 | 2018-02-23 | 深圳市聚宝汇科技有限公司 | A kind of picture intercept method and system |
CN108733281A (en) * | 2018-04-08 | 2018-11-02 | 深圳先搜科技有限公司 | A kind of image interception method, system and terminal device |
CN111338526A (en) * | 2020-02-25 | 2020-06-26 | 维沃移动通信有限公司 | Screenshot method and device |
WO2020133385A1 (en) * | 2018-12-29 | 2020-07-02 | 深圳市柔宇科技有限公司 | Note local selection method and apparatus, terminal, and readable storage medium |
CN113284174A (en) * | 2020-02-20 | 2021-08-20 | 北京沃东天骏信息技术有限公司 | Method and device for processing pictures |
CN114217892A (en) * | 2021-12-01 | 2022-03-22 | 深圳Tcl新技术有限公司 | Interface content intercepting method and device and computer readable storage medium |
Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102708539A (en) * | 2012-04-21 | 2012-10-03 | 上海量明科技发展有限公司 | Method for obtaining image through twice-screenshot and client |
CN102707879A (en) * | 2012-04-17 | 2012-10-03 | 上海量明科技发展有限公司 | Method for selecting image contour of screenshot area, client and system |
CN105573611A (en) * | 2014-10-17 | 2016-05-11 | 中兴通讯股份有限公司 | Irregular capture method and device for intelligent terminal |
US20180018515A1 (en) * | 2016-07-14 | 2018-01-18 | Magic Leap, Inc. | Iris boundary estimation using cornea curvature |
-
2016
- 2016-09-27 CN CN201610856557.4A patent/CN106445344A/en active Pending
Patent Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102707879A (en) * | 2012-04-17 | 2012-10-03 | 上海量明科技发展有限公司 | Method for selecting image contour of screenshot area, client and system |
CN102708539A (en) * | 2012-04-21 | 2012-10-03 | 上海量明科技发展有限公司 | Method for obtaining image through twice-screenshot and client |
CN105573611A (en) * | 2014-10-17 | 2016-05-11 | 中兴通讯股份有限公司 | Irregular capture method and device for intelligent terminal |
US20180018515A1 (en) * | 2016-07-14 | 2018-01-18 | Magic Leap, Inc. | Iris boundary estimation using cornea curvature |
Cited By (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN107728899A (en) * | 2017-09-29 | 2018-02-23 | 深圳市聚宝汇科技有限公司 | A kind of picture intercept method and system |
CN108733281A (en) * | 2018-04-08 | 2018-11-02 | 深圳先搜科技有限公司 | A kind of image interception method, system and terminal device |
WO2020133385A1 (en) * | 2018-12-29 | 2020-07-02 | 深圳市柔宇科技有限公司 | Note local selection method and apparatus, terminal, and readable storage medium |
CN113284174A (en) * | 2020-02-20 | 2021-08-20 | 北京沃东天骏信息技术有限公司 | Method and device for processing pictures |
CN111338526A (en) * | 2020-02-25 | 2020-06-26 | 维沃移动通信有限公司 | Screenshot method and device |
CN114217892A (en) * | 2021-12-01 | 2022-03-22 | 深圳Tcl新技术有限公司 | Interface content intercepting method and device and computer readable storage medium |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN106445344A (en) | Screenshot processing method and device | |
US20130081133A1 (en) | System and method for unlocking an electronic device | |
CN108874275B (en) | Handwriting erasing method, handwriting erasing device, terminal and computer-readable storage medium | |
CN105094508A (en) | Method and apparatus for performing window control on application program of mobile terminal | |
CN107506086A (en) | Touch-screen control method, device, mobile terminal and storage medium | |
US10521248B2 (en) | Electronic device and method thereof for managing applications | |
CN107463331A (en) | Gesture path analogy method, device and electronic equipment | |
WO2021027485A9 (en) | Information processing method and apparatus, storage medium, and electronic device | |
CN110139149B (en) | Video optimization method and device, and electronic equipment | |
WO2017032078A1 (en) | Interface control method and mobile terminal | |
CN110941382B (en) | Display operation method, device, equipment and storage medium of intelligent interactive panel | |
CN111190589A (en) | Visual programming method and terminal equipment | |
WO2018001115A1 (en) | Controlling method and device for slider control and slider selector | |
CN109308175A (en) | The electronic device and method of Display on the same screen are carried out using mobile device and display equipment | |
CN110347993A (en) | A kind of writing on the blackboard management method and device | |
CN208985138U (en) | Electronic device, computer equipment and the data processing system of Display on the same screen | |
CN108932141A (en) | Copy drawing implementation method and device, electronic equipment, storage medium | |
WO2023207200A1 (en) | Screen projection method and apparatus, terminal, device, computer medium and program product | |
EP2631769A2 (en) | Apparatus and Method of Handling a Touch Input in a Terminal | |
US20220113847A1 (en) | Online collaborative document processing method and device | |
CN107562346A (en) | Terminal control method, device, terminal and computer-readable recording medium | |
US20170168686A1 (en) | Method and electronic device for processing list item operation | |
US10963141B2 (en) | Smart multi-touch layout control for mobile devices | |
US9613288B2 (en) | Automatically identifying and healing spots in images | |
CN109165626A (en) | Writing stroke processing method, device, equipment and storage medium of electronic whiteboard |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
WD01 | Invention patent application deemed withdrawn after publication | ||
WD01 | Invention patent application deemed withdrawn after publication |
Application publication date: 20170222 |