CN106780316A - A kind of image cropping method, image cropping device and mobile terminal - Google Patents
A kind of image cropping method, image cropping device and mobile terminal Download PDFInfo
- Publication number
- CN106780316A CN106780316A CN201710056603.7A CN201710056603A CN106780316A CN 106780316 A CN106780316 A CN 106780316A CN 201710056603 A CN201710056603 A CN 201710056603A CN 106780316 A CN106780316 A CN 106780316A
- Authority
- CN
- China
- Prior art keywords
- image
- motion track
- cut
- terminal
- crosspoint
- 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
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06T—IMAGE DATA PROCESSING OR GENERATION, IN GENERAL
- G06T3/00—Geometric image transformation in the plane of the image
-
- 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/011—Arrangements for interaction with the human body, e.g. for user immersion in virtual reality
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06V—IMAGE OR VIDEO RECOGNITION OR UNDERSTANDING
- G06V40/00—Recognition of biometric, human-related or animal-related patterns in image or video data
- G06V40/10—Human or animal bodies, e.g. vehicle occupants or pedestrians; Body parts, e.g. hands
- G06V40/12—Fingerprints or palmprints
- G06V40/1365—Matching; Classification
Abstract
The invention discloses a kind of image cropping method, image cropping device and mobile terminal, the image cropping method includes:Obtain image to be cut;Obtain motion track of the user's finger on the image to be cut;Judge whether the motion track closes;When the motion track is closed, the image in the motion track is cut out from described image.It is achieved thereby that being intercepted to the image of arbitrary shape, arbitrary region, Consumer's Experience is improve.
Description
Technical field
The present invention relates to interaction technique field, and in particular to a kind of image cropping method, image cropping device and movement are eventually
End.
Background technology
Intelligent terminal such as smart mobile phone, panel computer and notebook computer etc., apply more and more general in the modern life
Time.Screenshotss operation is one of conventional operation of intelligent terminal.Existing screenshotss operation realizing method, typically by specific group
Key is closed, such as on mobile phone, power key and a volume key combination can be provided with windows operating systems with full screen printscreen
Computer on, Prt Sc keys and Alt key combination can intercept some window.
But the flexibility of existing screenshotss method is typically only capable to intercept full-screen image, it is impossible to which it is right to realize than relatively low
Arbitrary shape, the image of arbitrary region are intercepted on screen.Such as, if user thinks an an irregular on intercepting page
Mark, then existing screenshotss method is helpless.
The content of the invention
In view of this, a kind of image cropping method, image cropping device and mobile terminal are the embodiment of the invention provides, with
Solve existing screenshotss method activity low, it is impossible to the problem intercepted to the image of arbitrary shape on screen, arbitrary region.
First aspect present invention provides a kind of image cropping method, including:Obtain image to be cut;Obtain user's finger
Motion track on the image to be cut;Judge whether the motion track closes;When the motion track is closed, from
The image in the motion track is cut out in described image.
The size and shape of truncated picture is defined by the motion track of user's finger, it is possible to achieve to arbitrary shape
Shape, the image of arbitrary region are intercepted, so as to improve Consumer's Experience.
It is described to obtain image to be cut, bag in first aspect present invention first embodiment with reference to first aspect present invention
Include:Gather the finger print information of user;The finger print information that will be gathered is matched with the finger print information of advance typing;When being gathered
Finger print information when being matched with the finger print information of the advance typing, interception full-screen image is used as image to be cut.
Sectional drawing is triggered by fingerprint, it is convenient and swift, it is adapted to one-handed performance, improve the screenshotss experience of user.
It is described to judge the motion track in first aspect present invention second embodiment with reference to first aspect present invention
Whether closure includes:Judge whether the terminal of the motion track is not changed in more than the scheduled time;When the motion track
When terminal is not changed in more than the scheduled time, judge whether the starting point and the pixel distance of the terminal are less than pre- fixation
Plain distance;When the starting point and the terminal pixel distance less than the intended pixel apart from when, judge the motion track
Closure.
Thus, there is provided a kind of to judge the specific means whether motion track closes.
With reference to first aspect present invention, first aspect first embodiment and first aspect second embodiment, the present invention
In the implementation method of first aspect the 3rd, the image cut out from the image to be cut in the motion track, including:
Judge that the motion track whether there is crosspoint;When the motion track does not exist crosspoint, the motion track is connected
Beginning and end forming enclosed region;Cut out the image in the enclosed region.
Thus, do not exist the situation in crosspoint for motion track, there is provided a kind of specific means of formation enclosed region.
With reference to first aspect present invention, first aspect first embodiment and first aspect second embodiment, the present invention
In the implementation method of first aspect the 4th, the image cut out from the image to be cut in the motion track, including:
Judge that the motion track whether there is crosspoint;When the motion track has crosspoint, the motion track is cut out
The image in enclosed region for being formed.
Thus, there is the situation in crosspoint for motion track, there is provided a kind of specific means of formation enclosed region.
Second aspect present invention provides a kind of image cropping device, including:Image acquisition unit, waits to cut for obtaining
Image;Motion track acquiring unit, for obtaining motion track of the user's finger on the image to be cut;Motion track is closed
Judging unit is closed, for judging whether the motion track closes;Image cropping unit, for when motion track closure
When, the image in the motion track is cut out from the image to be cut.
Judging unit and image cropping unit are closed by the motion track acquiring unit, motion track, can be passed through
The motion track of user's finger defines the size and shape of truncated picture, so as to realize to arbitrary shape, arbitrary region
Image is intercepted, and improves Consumer's Experience.
With reference to second aspect present invention, in second aspect present invention first embodiment, described image acquiring unit includes:
Finger print acquisition module, the finger print information for gathering user;Fingerprint matching module, for the finger print information that will be gathered with it is advance
The finger print information of typing is matched;Image interception module, the finger for working as gathered finger print information and the advance typing
During line information matches, interception full-screen image is used as image to be cut.
Thus, by the finger print acquisition module, fingerprint matching module and image interception module, realize and touched by fingerprint
Hair sectional drawing, it is convenient and swift, it is adapted to one-handed performance, improve the screenshotss experience of user.
With reference to second aspect present invention, in second aspect present invention second embodiment, the motion track closure judges
Unit includes:Terminal changes judge module, and whether the terminal for judging the motion track is not changed in more than the scheduled time;
Starting and terminal point Distance Judgment module, for when the terminal of the motion track is not changed in more than the scheduled time, judging
Whether the pixel distance of the starting point and the terminal is less than intended pixel distance;Motion track sentences closure judge module, is used for
When the starting point and the terminal pixel distance less than the intended pixel apart from when, judge that the motion track is closed.
Thus, there is provided a kind of to judge the specific means whether motion track closes.
With reference to second aspect present invention, second aspect first embodiment and second aspect second embodiment, the present invention
In the implementation method of second aspect the 3rd, described image cuts unit to be included:Crosspoint judge module, for judging the moving rail
Mark whether there is crosspoint;Enclosed region generation module, for when the motion track does not exist crosspoint, connecting the shifting
Dynamic rail mark beginning and end is forming enclosed region;First image cropping module, for cutting out the figure in the enclosed region
Picture.
Thus, do not exist the situation in crosspoint for motion track, there is provided a kind of image cut out in enclosed region
Means.
With reference to second aspect present invention, second aspect first embodiment and second aspect second embodiment, the present invention
In the implementation method of second aspect the 4th, described image cuts unit to be included:Crosspoint judge module, for judging the moving rail
Mark whether there is crosspoint;Second image cropping module, for when the motion track has crosspoint, cutting out the shifting
The image in enclosed region that dynamic rail mark is formed.
Thus, there is the situation in crosspoint for motion track, there is provided a kind of image cut out in enclosed region
Means.
Third aspect present invention provides a kind of mobile terminal, including at least one processor;And with described at least one
The memory of individual processor communication connection;Wherein, have can be by the finger of at least one computing device for the memory storage
Order, it is described to instruct by least one computing device, so that any of the above-described kind of image of at least one computing device
Method of cutting out.
Brief description of the drawings
The features and advantages of the present invention can be more clearly understood from by reference to accompanying drawing, accompanying drawing is schematical without that should manage
Solution is to carry out any limitation to the present invention, in the accompanying drawings:
Fig. 1 shows the application scenarios schematic diagram of the embodiment of the present invention;
Fig. 2 shows a kind of structural representation of mobile phone of the embodiment of the present invention;
Fig. 3 shows a kind of flow chart of image cropping method of the embodiment of the present invention;
Fig. 4 shows the flow chart of another image cropping method of the embodiment of the present invention;
Fig. 5 shows the flow chart of another image cropping method of the embodiment of the present invention;
Fig. 6 and Fig. 7 list the motion track in two kinds of embodiment of the present invention;
Fig. 8 shows the flow chart of another image cropping method of the embodiment of the present invention;
Fig. 9 shows a kind of structural representation of mobile terminal of the embodiment of the present invention.
Specific embodiment
To make the purpose, technical scheme and advantage of the embodiment of the present invention 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
A part of embodiment of the present invention, rather than whole embodiments.Based on the embodiment in the present invention, those skilled in the art are not having
There is the every other embodiment made and being obtained under the premise of creative work, belong to the scope of protection of the invention.
As shown in figure 1, being the application scenarios schematic diagram of the embodiment of the present invention.Electronic equipment 10 is, for example, mobile phone or flat board electricity
The terminal with touch-screen 11 such as brain, shows picture 12 to be cut on the touch-screen, the picture 12 e.g. user is
The webpage for browsing, or the video that user is watching, user wish to cut a part of image of the picture 12, in Fig. 1 example
A five-pointed star 13 in this way.
By taking mobile phone as an example, the block diagram of the part-structure of mobile phone is as shown in Fig. 2 mobile phone includes the electronic equipment 10:Processor
21st, memory 22, touch-screen 23 and fingerprint identification module 24, processor 21, memory 22, touch-screen 23 and fingerprint identification module
24 are connected by bus 20.It will be understood by those skilled in the art that showing that handset structure does not constitute the limit to mobile phone in Fig. 2
It is fixed, part more more or less than diagram can be included, or some parts are combined, or different part arrangements.
Each component parts of mobile phone is specifically introduced with reference to Fig. 2:
Memory 22 can be used to store software program and module, and processor 21 is by running storage in the soft of memory 22
Part program and module, so as to perform various function application and the data processing of mobile phone.Memory 22 can mainly include storage
Program area and storage data field, wherein, the application program that storing program area can be needed for storage program area, at least one function
(such as sound-playing function, image player function etc.) etc.;Storage data field can be stored and use created number according to mobile phone
According to (such as voice data, phone directory etc.) etc..Additionally, memory 22 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 volatile solid-state parts.
Touch-screen 23 includes contact panel and display panel.Wherein, display panel can be used to show by the letter of user input
The information of user and the various menus of mobile phone are ceased or be supplied to, optionally, liquid crystal display can be used
(LiquidCrystalDisplay, LCD), Organic Light Emitting Diode (OrganicLight-Emitting Diode, OLED) etc.
Form configures display panel.Contact panel can cover on a display panel, when contact panel detect it is thereon or neighbouring
After touch operation, processor 21 is sent to determine the type of touch event, existed according to the type of touch event with preprocessor
Corresponding visual output is provided on display panel.
Fig. 3 is referred to, the embodiment of the present invention provides a kind of image cropping method, including:
S31. image to be cut is obtained;
Specifically, the step of this obtains image to be cut operates equivalent to existing screenshotss, that is, intercept display device and show
The full screen pictures for showing, the full screen pictures are, for example, the video of the webpage that user is browsing or viewing, or certain application behaviour
Make interface.
S32. motion track of the user's finger on the image to be cut is obtained;
Specifically, the electronic installation has touch-screen or touch pad, can perceive user's finger in touch-screen or touch
Position on plate, and the motion track of user's finger is provided to the processor of the electronic installation.The motion track of user's finger
No limitation, straight line or curve.
S33. judge whether the motion track closes;
The motion track of user's finger ought to sketch out a closure, the region that can be intercepted, but user's finger
Mobile precision is not general high, in fact it could happen that the beginning and end of finger motion track and it is misaligned situations such as, therefore user's hand
It is that the motion track of finger is not necessarily closure, it is necessary to the processor of the electronic installation come judge user's finger motion track whether
It is closure.
S34, when the motion track is closed, cuts out the image in the motion track from the image to be cut.
Optionally, when the image is gone out from the motion track interior clipping, the image can be shown in the form of protruding, and together
When ejection confirm dialog box, display " confirm preserve " and " cancellations " in the dialog box, such as button, user are clicked on " confirmation preservation " and are pressed
Button, then dialog box disappearance, cropped image will be saved, if user's click is " cancel button ", dialog box disappears
Lose, screenshot area boundary line is drawn just now and is eliminated, wait user to choose screenshot area again.
In the embodiment of the present invention, the size and shape of truncated picture is defined by the motion track of user's finger, can
To realize intercepting the image of arbitrary shape, arbitrary region, so as to improve Consumer's Experience.
Optionally, in some embodiments of the invention, the convenience of image to be cut is obtained to improve, and further
Suitable for the scene of one-handed performance, improve the screenshotss experience of user, it is possible to use fingerprint triggers screenshotss, below in conjunction with Fig. 4's
Flow is illustrated:
S41. the finger print information of user is gathered;
Specifically, the finger print information of user can be gathered by fingerprint module, fingerprint module is, for example, optical finger print module, half
Conductor fingerprint module (condenser type or inductance type) or RF fingerprint module, wherein RF fingerprint module are strong due to false proof fingerprint ability
It is preferred.
S42. judge that gathered finger print information whether there is with the finger print information of advance typing to match;
Fingerprint image matching refers to the fingerprint characteristic that is extracted with gathered fingerprint image and be pre-stored in fingerprint number in advance
Compare according to the feature in storehouse, so as to judge whether whether the two fingerprint characteristics are consistent, i.e., derive from same finger.This
The individual stage, for example deformation, false characteristic point, characteristic point position error etc. were, it is necessary to design one in order to avoid the interference of some factors
Individual accurately and effectively matching algorithm.At present, there is following several method:
(1) based on Point Pattern Matching algorithm.Current most of algorithms are all based on the feature of minutiae point to be matched.Should
Matching is divided into following several types:Object based on matching can be divided into 1 pair 1 and be matched and matched 1 pair more;Based on
The adaptedness matched somebody with somebody can be divided into the matching and rigid matching of elasticity.
(2) based on texture pattern matching algorithm.Effective coverage first by Fingerprint Image Segmentation out carries out gridding, so
The streakline region is processed from 8 different directions of pixel using Gbaor filtering afterwards, the global information and part of fingerprint is obtained
Information, and change into a characteristic information, finally compares image individual features information in current finger print image and database
Difference.The algorithm can solve the difficulty of images match that second-rate and region minutiae point is difficult to extract.But this method
Need to carry out each pixel substantial amounts of computing, and matching of the deformation than larger fingerprint image cannot be processed.
S43. when the finger print information for being gathered is matched with the finger print information of the advance typing, interception full-screen image is used as treating
Cut image.
Specifically, when sectional drawing state is entered into, a new page can be ejected, covering user active user wants to cut
The place interface of figure.Webpage or the video of viewing that the full-screen image e.g. user being intercepted is browsing, or certain
The operation interface of application.
S44. detailed content reference flowchart step S32;
S45. detailed content reference flowchart step S33;
S46. detailed content reference flowchart step S34.
Optionally, in some embodiments of the invention, specifically provide and a kind of judge the side whether motion track closes
Method, the flow below in conjunction with Fig. 5 is illustrated:
S51. detailed content reference flowchart step S31;
S52. detailed content reference flowchart step S32;
S53. judge whether the terminal of the motion track is not changed in more than the scheduled time;
The drafting of motion track terminates to be identified in some way.In the present embodiment, when the end of motion track
Point is not changed in more than the scheduled time, i.e. the finger of user is no longer moved more than the scheduled time, then it is assumed that the drafting of motion track
Terminate.Optionally, the scheduled time is, for example, 2 seconds.
S54. when the terminal of the motion track is not changed in more than the scheduled time, starting point and the end of the motion track are judged
Whether the pixel distance of point is less than intended pixel distance;
Although the track that user's finger is drawn should be a region for closure, the terminal and starting point of the track should be again
Close, but in fact, the complexity of the pattern for intercepting as needed, and manually-operated error, finger motion track rises
Point and terminal might not overlap.Therefore, it can preset a pixel distance, when the pixel distance of beginning and end is less than
Think to meet the condition for constituting enclosed region during the pixel distance, and work as the pixel distance of beginning and end more than the pixel away from
From when think to be unsatisfactory for constitute the condition of enclosed region, user needs to repaint.
S55. when the pixel distance of the beginning and end of the motion track is less than intended pixel distance, then the moving rail is judged
Mark is closure;When the pixel distance of the beginning and end of the motion track is more than or equal to the intended pixel distance, then judge
The motion track is not closed, it is possible to remind user in a suitable manner.
S56. detailed content reference flowchart step S34.
In actual applications, the track that user's finger movement is actually drawn might not constitute the region of closure.For example,
In the track that a kind of user's finger movement shown in Fig. 6 is actually drawn, wherein arrow represents the direction of finger movement, starting point
Do not overlapped with terminal;In the track that another user's finger movement shown in Fig. 7 is actually drawn, there is an intersection
Point, and beginning and end also do not overlap.Therefore, in some embodiments of the invention, specifically provide a kind of from moving rail
The method that enclosed region is generated in mark, the flow below in conjunction with Fig. 8 is illustrated:
S81. detailed content reference flowchart step S31;
S82. detailed content reference flowchart step S32;
S83. detailed content reference flowchart step S33;
S84. judge that the motion track whether there is crosspoint;
S85. when the motion track does not exist crosspoint, then connect the beginning and end of the motion track to form closed area
Domain;
The mode of specific connection source and terminal, by taking the motion track shown in Fig. 6 as an example, simply can be connected with straight line
Put with terminal to form enclosed region, or according to the curvature of the motion track near the beginning and end, by line round and smoothization.
S86. the image in the enclosed region is cut out.
Alternatively, when the image in the enclosed region is cut out, in order to further be confirmed to user, to avoid
The image for being cut does not meet the intention of user, can eject a dialog box for confirmation, and display " confirms to protect in the dialog box
Deposit " and " cancellation ", the click of button, such as user " confirming to preserve " button, then dialog box disappearance, preserves the image for cutting out, such as
What fruit user clicked on is " cancel button ", then dialog box disappears, and screenshot area boundary line is drawn just now and is eliminated, and waits user's weight
It is new to choose screenshot area.
S87. when the motion track has crosspoint, then the figure in the enclosed region that the motion track is formed is cut out
Picture;
By taking the motion track in the presence crosspoint shown in Fig. 7 as an example, it with the crosspoint is a summit that enclosed region is exactly
Enclosed region, while having given up part motion track.
Above-described embodiment describes image cropping method of the invention, and image cropping device is carried out below by embodiment
Explanation.
Referring to Fig. 9, a kind of image cropping device is the embodiment of the invention provides, including:
Image acquisition unit 91, for obtaining image to be cut;
Detailed content refers to above-mentioned steps S31, or step S41-43.
Motion track acquiring unit, for obtaining motion track of the user's finger on the image to be cut;
Detailed content refers to above-mentioned steps S32.
Motion track closes judging unit, for judging whether the motion track closes;
Detailed content refers to above-mentioned steps S33, or step S53-S55.
Image cropping unit, for when the motion track is closed, the motion track being cut out from the image to be cut
Interior image.
Detailed content refers to above-mentioned steps S34, or step S84-S87.
The present embodiment closes judging unit and image cropping unit, energy by the motion track acquiring unit, motion track
It is enough that the size and shape of truncated picture is defined by the motion track of user's finger, so as to realize to arbitrary shape, arbitrarily
The image in region is intercepted, and improves Consumer's Experience.
Optionally, in some embodiments of the present invention, the image acquisition unit includes:
Finger print acquisition module, the finger print information for gathering user;
Detailed content refers to above-mentioned steps S41.
Fingerprint matching module, the finger print information for that will be gathered is matched with the finger print information of advance typing;
Detailed content refers to above-mentioned steps S42.
Image interception module, for when the finger print information for being gathered is matched with the finger print information of the advance typing, intercepting
Full-screen image is used as image to be cut;
Detailed content refers to above-mentioned steps S42.
Optionally, in some embodiments of the present invention, motion track closure judging unit includes:
Terminal changes judge module, and whether the terminal for judging the motion track is not changed in more than the scheduled time;
Detailed step refers to above-mentioned steps S53.
Starting and terminal point Distance Judgment module, for when the terminal of the motion track is not changed in more than the scheduled time,
Judge whether the starting point and the pixel distance of the terminal are less than intended pixel distance;
Detailed step refers to above-mentioned steps S54.
Motion track sentences closure judge module, for the pixel distance when the starting point and the terminal less than the intended pixel away from
From when, judge the motion track close;
Detailed step refers to above-mentioned steps S55.
Optionally, in some embodiments of the present invention, the image cropping unit includes:
Crosspoint judge module, for judging that the motion track whether there is crosspoint;
Detailed step refers to above-mentioned steps S84.
Enclosed region generation module, for when the motion track does not exist crosspoint, connect the starting point and the terminal with
Form enclosed region;
Detailed step refers to above-mentioned steps S85.
First image cropping module, for cutting out the image in the enclosed region;
Detailed step refers to above-mentioned steps S86.
Optionally, in some embodiments of the present invention, the image cropping unit includes:
Crosspoint judge module, for judging that the motion track whether there is crosspoint;
Detailed step refers to above-mentioned steps S84.
Second image cropping module, for when the motion track has crosspoint, cutting out the motion track and being formed
Enclosed region in image.
Detailed step refers to above-mentioned steps S87.
A kind of mobile terminal of the invention is illustrated by taking a kind of mobile phone as an example below.
As shown in Fig. 2 a kind of mobile phone is the embodiment of the invention provides, including:At least one processor 21, memory 22,
Touch-screen 23 and fingerprint identification module 24, in Fig. 2 by taking a processor as an example, processor 21, memory 22, touch-screen 23 and refer to
Line identification module 24 is connected by bus 20, and being stored with memory 22 can be by the instruction of at least one computing device, should
Instruct by least one computing device, so that at least one computing device such as Fig. 3-5, the image cropping shown in 8
Method.
The method that the executable embodiment of the present invention of the said goods is provided, possesses the corresponding functional module of execution method and has
Beneficial effect.Ins and outs of detailed description in the present embodiment, not for details, reference can be made to such as Fig. 3-5, the phase in embodiment shown in 8
Close description.
The embodiment of the present invention additionally provides a kind of non-transient computer storage medium, and the computer-readable storage medium is stored with
Computer executable instructions, the computer executable instructions can perform the place of the list items operation in above-mentioned any means embodiment
Reason method.Wherein, the storage medium can for magnetic disc, CD, read-only memory (Read-Only Memory, ROM), with
Machine storage memory (Random Access Memory, RAM), flash memory (Flash Memory), hard disk (Hard
Disk Drive, abbreviation:) or solid state hard disc (Solid-State Drive, SSD) etc. HDD;The storage medium can also be wrapped
Include the combination of the memory of mentioned kind.
It will be understood by those skilled in the art that all or part of flow in realizing above-described embodiment method, can be logical
Computer program is crossed to instruct the hardware of correlation to complete, the program being somebody's turn to do can be stored in a computer read/write memory medium,
The program is upon execution, it may include such as the flow of the embodiment of above-mentioned each method.Wherein, the storage medium being somebody's turn to do can be magnetic disc, light
Disk, read-only memory (ROM) or random access memory (RAM) etc..
Although being described in conjunction with the accompanying embodiments of the invention, those skilled in the art can not depart from the present invention
Spirit and scope in the case of various modification can be adapted and modification, such modification and modification are each fallen within by appended claims institute
Within the scope of restriction.
Claims (11)
1. a kind of image cropping method, it is characterised in that including:
Obtain image to be cut;
Obtain motion track of the user's finger on the image to be cut;
Judge whether the motion track closes;
When the motion track is closed, the image in the motion track is cut out from the image to be cut.
2. image cropping method according to claim 1, it is characterised in that described to obtain image to be cut, including:
Gather the finger print information of user;
The finger print information that will be gathered is matched with the finger print information of advance typing;
When the finger print information for being gathered is matched with the finger print information of the advance typing, interception full-screen image is used as treating cutting figure
Picture.
3. image cropping method according to claim 1, it is characterised in that described to judge whether the motion track closes
Including:
Judge whether the terminal of the motion track is not changed in more than the scheduled time;
When the terminal of the motion track is not changed in more than the scheduled time, the picture of the starting point and the terminal is judged
Whether element distance is less than intended pixel distance;
When the starting point and the terminal pixel distance less than the intended pixel apart from when, judge that the motion track is closed
Close.
4. the image cropping method according to any one of claim 1-3, it is characterised in that described to treat cutting figure from described
The image in the motion track is cut out as in, including:
Judge that the motion track whether there is crosspoint;
When the motion track does not exist crosspoint, connect the beginning and end of the motion track to form enclosed region;
Cut out the image in the enclosed region.
5. the image cropping method according to any one of claim 1-3, it is characterised in that described to treat cutting figure from described
The image in the motion track is cut out as in, including:
Judge that the motion track whether there is crosspoint;
When the motion track has crosspoint, the image in the enclosed region that the motion track is formed is cut out.
6. a kind of image cropping device, it is characterised in that including:
Image acquisition unit, for obtaining image to be cut;
Motion track acquiring unit, for obtaining motion track of the user's finger on the image to be cut;
Motion track closes judging unit, for judging whether the motion track closes;
Image cropping unit, for when the motion track is closed, the moving rail being cut out from the image to be cut
Image in mark.
7. image cropping device according to claim 6, it is characterised in that described image acquiring unit includes:
Finger print acquisition module, the finger print information for gathering user;
Fingerprint matching module, the finger print information for that will be gathered is matched with the finger print information of advance typing;
Image interception module, for when the finger print information for being gathered is matched with the finger print information of the advance typing, interception to be complete
Screen image is used as image to be cut.
8. image cropping device according to claim 6, it is characterised in that the motion track closes judging unit bag
Include:
Terminal changes judge module, and whether the terminal for judging the motion track is not changed in more than the scheduled time;
Starting and terminal point Distance Judgment module, for when the terminal of the motion track is not changed in more than the scheduled time,
Judge whether the starting point and the pixel distance of the terminal are less than intended pixel distance;
Motion track sentences closure judge module, and the intended pixel is less than for the pixel distance when the starting point and the terminal
Apart from when, judge motion track closure.
9. the image cropping device according to any one of claim 6-8, it is characterised in that described image cuts unit bag
Include:
Crosspoint judge module, for judging that the motion track whether there is crosspoint;
Enclosed region generation module, for when the motion track does not exist crosspoint, connecting the starting point of the motion track
With terminal forming enclosed region;
First image cropping module, for cutting out the image in the enclosed region.
10. the image cropping device according to any one of claim 6-8, it is characterised in that described image cuts unit
Including:
Crosspoint judge module, for judging that the motion track whether there is crosspoint;
Second image cropping module, for when the motion track has crosspoint, cutting out the motion track and being formed
Enclosed region in image.
A kind of 11. mobile terminals, it is characterised in that including:
At least one processor;And
The memory being connected with least one processor communication;Wherein, have can be by described at least one for the memory storage
The instruction of individual computing device, the instruction is by least one computing device, so that at least one processor is held
Image cropping method any one of row claim 1-5.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201710056603.7A CN106780316A (en) | 2017-01-25 | 2017-01-25 | A kind of image cropping method, image cropping device and mobile terminal |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201710056603.7A CN106780316A (en) | 2017-01-25 | 2017-01-25 | A kind of image cropping method, image cropping device and mobile terminal |
Publications (1)
Publication Number | Publication Date |
---|---|
CN106780316A true CN106780316A (en) | 2017-05-31 |
Family
ID=58943138
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201710056603.7A Pending CN106780316A (en) | 2017-01-25 | 2017-01-25 | A kind of image cropping method, image cropping device and mobile terminal |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN106780316A (en) |
Cited By (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN107391073A (en) * | 2017-07-26 | 2017-11-24 | 北京小米移动软件有限公司 | Display module and electronic equipment |
CN107578439A (en) * | 2017-07-19 | 2018-01-12 | 阿里巴巴集团控股有限公司 | Generate the method, apparatus and equipment of target image |
CN110955483A (en) * | 2019-11-28 | 2020-04-03 | 深圳传音控股股份有限公司 | Image processing method, mobile terminal and readable storage medium |
CN111145877A (en) * | 2019-12-27 | 2020-05-12 | 杭州依图医疗技术有限公司 | Interaction method, information processing method, display method, and storage medium |
CN113361518A (en) * | 2021-06-29 | 2021-09-07 | 读书郎教育科技有限公司 | Method and device for quickly fetching words and searching |
Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20150234460A1 (en) * | 2014-02-14 | 2015-08-20 | Omron Corporation | Gesture recognition device and method of controlling gesture recognition device |
CN105204745A (en) * | 2015-09-30 | 2015-12-30 | 百度在线网络技术(北京)有限公司 | Screen capture method and device for mobile terminal |
CN105955644A (en) * | 2016-04-20 | 2016-09-21 | 乐视控股(北京)有限公司 | Screen capture method and mobile terminal |
CN106201264A (en) * | 2016-07-04 | 2016-12-07 | 北京小米移动软件有限公司 | Select the method and device of content |
CN106341540A (en) * | 2016-09-19 | 2017-01-18 | 北京小米移动软件有限公司 | Image interception method and apparatus thereof |
-
2017
- 2017-01-25 CN CN201710056603.7A patent/CN106780316A/en active Pending
Patent Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20150234460A1 (en) * | 2014-02-14 | 2015-08-20 | Omron Corporation | Gesture recognition device and method of controlling gesture recognition device |
CN105204745A (en) * | 2015-09-30 | 2015-12-30 | 百度在线网络技术(北京)有限公司 | Screen capture method and device for mobile terminal |
CN105955644A (en) * | 2016-04-20 | 2016-09-21 | 乐视控股(北京)有限公司 | Screen capture method and mobile terminal |
CN106201264A (en) * | 2016-07-04 | 2016-12-07 | 北京小米移动软件有限公司 | Select the method and device of content |
CN106341540A (en) * | 2016-09-19 | 2017-01-18 | 北京小米移动软件有限公司 | Image interception method and apparatus thereof |
Cited By (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN107578439A (en) * | 2017-07-19 | 2018-01-12 | 阿里巴巴集团控股有限公司 | Generate the method, apparatus and equipment of target image |
CN107578439B (en) * | 2017-07-19 | 2020-04-28 | 创新先进技术有限公司 | Method, device and equipment for generating target image |
CN107391073A (en) * | 2017-07-26 | 2017-11-24 | 北京小米移动软件有限公司 | Display module and electronic equipment |
CN107391073B (en) * | 2017-07-26 | 2020-07-10 | 北京小米移动软件有限公司 | Display module and electronic equipment |
CN110955483A (en) * | 2019-11-28 | 2020-04-03 | 深圳传音控股股份有限公司 | Image processing method, mobile terminal and readable storage medium |
CN111145877A (en) * | 2019-12-27 | 2020-05-12 | 杭州依图医疗技术有限公司 | Interaction method, information processing method, display method, and storage medium |
CN113361518A (en) * | 2021-06-29 | 2021-09-07 | 读书郎教育科技有限公司 | Method and device for quickly fetching words and searching |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN106780316A (en) | A kind of image cropping method, image cropping device and mobile terminal | |
CN108121816B (en) | Picture classification method and device, storage medium and electronic equipment | |
CN103984885B (en) | Application program hiding method applied to touch screen terminal and touch screen terminal | |
EP2890105B1 (en) | Method, apparatus and terminal for generating thumbnail of image | |
US20140189518A1 (en) | Mobile terminal | |
CN111857508B (en) | Task management method and device and electronic equipment | |
CN105264536A (en) | Method of controlling an electronic device | |
US20110165913A1 (en) | Mobile terminal and method of controlling the same | |
CN104809417A (en) | Method and device for shielding information on display screen and equipment | |
KR102135262B1 (en) | Mobile terminal and method for controlling mobile terminal | |
CN113126862B (en) | Screen capture method and device, electronic equipment and readable storage medium | |
KR102125212B1 (en) | Operating Method for Electronic Handwriting and Electronic Device supporting the same | |
CN108846271B (en) | Device control method, device, storage medium and electronic device | |
CN105827816A (en) | Screen splitting method for terminal screen, and mobile terminal | |
TW201349093A (en) | Method, apparatus and computer program product for cropping screen frame | |
CN113748413A (en) | Text detection, inserted symbol tracking, and active element detection | |
CN105468716A (en) | Picture search device and method, and terminal | |
CN109739427B (en) | Screen operation method and device, display equipment and storage medium | |
CN105630285A (en) | Application startup method and device, and mobile terminal | |
CN105653193A (en) | Searching method and terminal | |
US20170147861A1 (en) | Display apparatus and display method | |
CN116156043B (en) | Display method of application program recommendation bit, electronic device and readable storage medium | |
CN109284060A (en) | Display control method and relevant apparatus | |
CN109657441B (en) | Application opening method and related device | |
CN113342222B (en) | Application classification method and device and electronic equipment |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
RJ01 | Rejection of invention patent application after publication |
Application publication date: 20170531 |
|
RJ01 | Rejection of invention patent application after publication |