CN107728899A - A kind of picture intercept method and system - Google Patents
A kind of picture intercept method and system Download PDFInfo
- Publication number
- CN107728899A CN107728899A CN201710908472.0A CN201710908472A CN107728899A CN 107728899 A CN107728899 A CN 107728899A CN 201710908472 A CN201710908472 A CN 201710908472A CN 107728899 A CN107728899 A CN 107728899A
- Authority
- CN
- China
- Prior art keywords
- picture
- pixel
- trace information
- track characteristic
- area
- 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
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F3/00—Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
- G06F3/01—Input arrangements or combined input and output arrangements for interaction between user and computer
- G06F3/048—Interaction techniques based on graphical user interfaces [GUI]
- G06F3/0484—Interaction techniques based on graphical user interfaces [GUI] for the control of specific functions or operations, e.g. selecting or manipulating an object, an image or a displayed text element, setting a parameter value or selecting a range
- G06F3/04845—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 for image manipulation, e.g. dragging, rotation, expansion or change of colour
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F2203/00—Indexing scheme relating to G06F3/00 - G06F3/048
- G06F2203/048—Indexing scheme relating to G06F3/048
- G06F2203/04806—Zoom, i.e. interaction techniques or interactors for controlling the zooming operation
Landscapes
- Engineering & Computer Science (AREA)
- General Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- Human Computer Interaction (AREA)
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- Processing Or Creating Images (AREA)
Abstract
The invention discloses a kind of picture intercept method, including step:Two-dimensional coordinate system is established in units of pixel to original image, the pixel picture after being handled;Monitor whether to receive the trace information to the pixel picture, when receiving the trace information to the pixel picture, judge whether the trace information meets default track characteristic;When the trace information meets the track characteristic, the trajectory coordinates point of the trace information is obtained, so as to form screenshot area;The screenshot area is carried out to intercept picture operation, so as to generate sectional drawing picture.The invention also discloses a kind of picture intercepting system.Using embodiments of the invention, can be simple to operate in sectional drawing and part picture be quickly intercepted.
Description
Technical field
The present invention relates to image processing field, more particularly to a kind of picture intercept method and system.
Background technology
With the fast development of social software, increasing user enters row information using various social softwares
Interaction so that operating system that terminal device is carried needs the convenience of continuous lifting operation to meet the needs of user.Its
In, in order to strengthen interactive diversity, user can be handled interaction picture, for example sectional drawing, sectional drawing function are that terminal is set
The standby basic function provided, but in the interception way of existing screen shots, to realize that screenshotss operation needs to rely on
The button of equipment realizes, some device keys be not provided with proprietary screenshotss button, it is necessary to during screenshotss must by simultaneously by
Under several combination buttons realize that mode of operation is comparatively laborious, and screenshotss mode is also relatively simple, and the sectional drawing typically intercepted is all
It is the picture that screen is currently shown, it is desirable to when intercepting part picture, other sanction figure software must be relied on to realize, cause to operate
Mode is more cumbersome.
It would therefore be highly desirable to a shot operation is simple and can quickly intercept the picture intercept method and system of part picture
To solve the above problems.
The content of the invention
The purpose of the embodiment of the present invention is to provide a kind of picture intercept method and system, can in sectional drawing it is simple to operate simultaneously
And quick interception part picture.
To achieve the above object, a kind of picture intercept method provided in an embodiment of the present invention, including step:
S11, two-dimensional coordinate system is established in units of pixel to original image, the pixel picture after being handled;
S12, monitor whether to receive the trace information to the pixel picture, when receiving the rail to the pixel picture
During mark information, judge whether the trace information meets default track characteristic;
S13, when the trace information meets the track characteristic, obtain the trajectory coordinates point of the trace information, from
And form screenshot area;
S14, the screenshot area is carried out to intercept picture operation, so as to generate sectional drawing picture.
As the improvement of such scheme, the track characteristic is the closing that user carries out head and the tail connection to the pixel picture
The irregular figure that track operates and formed.
As the improvement of such scheme, the trajectory coordinates point be the track characteristic four coordinate points of outermost, institute
The rectangular area that screenshot area is formed by four outermost coordinate points is stated, and the screenshot area area is more than or equal to
The area for the irregular figure that the track characteristic is formed.
As the improvement of such scheme, the step S12 also includes:Monitor whether to receive and the pixel picture is put
Big information reduces information, and according to the amplification message or reduces information to operation corresponding to pixel picture execution.
Compared with prior art, a kind of picture intercept method disclosed in the embodiment of the present invention to original image by establishing two
Dimension coordinate system, so as to generate pixel picture, then by operating progress sectional drawing according to the track of user to the pixel picture, solve
Shot operation mode is cumbersome and the problem of screenshotss mode is single in the prior art, can be simple to operate and quick in sectional drawing
Intercept part picture.
To achieve the above object, the embodiment of the present invention also provides a kind of picture intercepting system, including:Picture build axle module,
Picture monitoring module, picture processing module and picture interception module;
The picture is built axle module and is used to be established original image in units of pixel on two-dimensional coordinate axle, after being handled
Pixel picture;
The picture monitoring module is used to receive to the trace information of the pixel picture, when receiving to the pixel map
During the trace information of piece, judge whether the trace information meets default track characteristic;
The picture processing module is used for when the trace information meets the track characteristic, obtains the trace information
Trajectory coordinates point, so as to form screenshot area;
The picture interception module is used to the screenshot area is carried out to intercept picture operation, so as to generate sectional drawing picture.
As the improvement of such scheme, the track characteristic is the closing that user carries out head and the tail connection to the pixel picture
The irregular figure that track operates and formed.
As the improvement of such scheme, the trajectory coordinates point be the track characteristic four coordinate points of outermost, institute
The rectangular area that screenshot area is formed by four outermost coordinate points is stated, and the screenshot area area is more than or equal to
The area for the irregular figure that the track characteristic is formed.
As the improvement of such scheme, the picture monitoring module is additionally operable to monitor whether to receive to the pixel picture
Amplification message or reduce information, and according to the amplification message or reduce information to the pixel picture perform corresponding to grasp
Make.
Compared with prior art, a kind of picture intercepting system builds axle module to original by picture disclosed in the embodiment of the present invention
Beginning picture establishes two-dimensional coordinate system, so as to generate pixel picture, then by picture interception module to the pixel picture according to
The track operation at family carries out sectional drawing, solves the problems, such as that shot operation mode is cumbersome in the prior art and screenshotss mode is single, energy
It is enough simple to operate in sectional drawing and quickly intercept part picture.
Brief description of the drawings
Fig. 1 is a kind of flow chart of picture intercept method provided in an embodiment of the present invention;
Fig. 2 is a kind of sectional drawing process schematic of picture intercept method provided in an embodiment of the present invention;
Fig. 3 is a kind of system block diagram of picture intercepting system provided in an embodiment of the present invention.
Embodiment
Below in conjunction with the accompanying drawing in the embodiment of the present invention, the technical scheme in the embodiment of the present invention is carried out clear, complete
Site preparation describes, it is clear that described embodiment is only part of the embodiment of the present invention, rather than whole embodiments.It is based on
Embodiment in the present invention, those of ordinary skill in the art are obtained every other under the premise of creative work is not made
Embodiment, belong to the scope of protection of the invention.
Referring to Fig. 1, Fig. 1 is a kind of flow chart of picture intercept method provided in an embodiment of the present invention;Including step:
S11, two-dimensional coordinate system is established in units of pixel to original image, the pixel picture after being handled;
S12, monitor whether to receive the trace information to the pixel picture, when receiving the rail to the pixel picture
During mark information, judge whether the trace information meets default track characteristic;
S13, when the trace information meets the track characteristic, obtain the trajectory coordinates point of the trace information, from
And form screenshot area;
S14, the screenshot area is carried out to intercept picture operation, so as to generate sectional drawing picture.
Preferably, the track characteristic is that user operates and shape to the closing track of pixel picture progress head and the tail connection
Into irregular figure.
Preferably, the trajectory coordinates point is four coordinate points of outermost of the track characteristic, and the screenshot area is
The rectangular area that four outermost coordinate points are formed, and the screenshot area area is more than or equal to the track characteristic
The area of the irregular figure of formation.
Preferably, the step S12 also includes:Monitor whether to receive the amplification message to the pixel picture or diminution
Information, and according to the amplification message or information is reduced to operation corresponding to pixel picture execution.
Specifically, two-dimensional coordinate system is established in units of pixel to the original image, so as to generate the pixel picture;
Preferably, it is origin that can define one of drift angle in four drift angles of the original image, but in other embodiments
Any one pixel that picture can also be defined is origin, all within the scope of the present invention.
Specifically, user can check the pixel picture by clients such as computer, mobile phone, iPad, user can be to described
Pixel picture is amplified operation or reduction operation;Now, monitor whether to receive the trace information to the pixel picture, i.e.,
Whether detection user operates in the track that the client has slip to the pixel picture;Then judging the trace information is
It is no to meet default track characteristic.Preferably, the track characteristic is the envelope that user carries out head and the tail connection to the pixel picture
Whether the irregular figure for closing track operation and being formed, i.e., when having detected track operation, judge the track operation immediately
The irregular figure of head and the tail connection;But in other embodiments, the track operation is not necessarily the irregular component of head and the tail connection
Shape, it is allowed to the top and end of track operation are separated by a distance, the certain distance can according to the original image come
Setting, all within the scope of the present invention.
Referring to Fig. 2, Fig. 2 is sectional drawing process schematic provided in an embodiment of the present invention;Specifically, when the trace information is expired
During the foot track characteristic, obtain four coordinate points of the outermost of irregular figure 02, described four coordinate points A, B, C and
D is distributed on the irregular figure 02;Upper coordinate points A in the horizontal direction centered on the upper coordinate points A to the left and right two
The upper sectional drawing line of generation is expanded on side, and lower coordinate points C expands life to the left and right sides centered on the lower coordinate points C in the horizontal direction
Into lower sectional drawing line, left coordinate points B in the vertical directions are expanded to upper and lower both sides centered on the left coordinate points B and generate left sectional drawing
Line, right coordinate points D in the vertical directions are expanded to upper and lower both sides centered on the right coordinate points D and generate right sectional drawing line;It is described
The rectangle that upper sectional drawing line, the lower sectional drawing line, the left sectional drawing line and the right sectional drawing line form is the screenshot area 01,
The area of screenshot area 01 is more than or equal to the area for the irregular figure 01 that the track characteristic is formed.
Specifically, shot operation is carried out to the pixel picture 03 according to the screenshot area 01, so as to generate described cut
Figure picture.
A kind of picture intercept method provided in an embodiment of the present invention to original image by establishing two-dimensional coordinate system, so as to raw
Pixel picture, then sectional drawing is carried out by being operated to the pixel picture according to the track of user, solve and cut in the prior art
The problem of graphic operation mode is cumbersome and screenshotss mode is single, can be simple to operate in sectional drawing and quickly intercepts part picture.
Referring to Fig. 3, Fig. 3 is a kind of system block diagram of picture intercepting system provided in an embodiment of the present invention;Including:Picture is built
Axle module 11, picture monitoring module 12, picture processing module 13 and picture interception module 14;
The picture is built axle module 11 and is used to be established original image in units of pixel on two-dimensional coordinate axle, after obtaining processing
Pixel picture 03;
The picture monitoring module 12 is used to receive to the trace information of the pixel picture 03, when receiving to the picture
During the trace information of sketch map piece 03, judge whether the trace information meets default track characteristic;
The picture processing module 13 is used for when the trace information meets the track characteristic, obtains the track letter
The trajectory coordinates point of breath, so as to form screenshot area 01;
The picture interception module 14 is used to the screenshot area 01 is carried out to intercept picture operation, so as to generate sectional drawing figure
Piece.
Preferably, the track characteristic be user to the pixel picture 03 carry out head and the tail connection closing track operation and
The irregular figure 02 of formation.
Preferably, the trajectory coordinates point be the track characteristic four coordinate points of outermost, the screenshot area 01
The rectangular area formed by four outermost coordinate points, and the area of the screenshot area 01 is more than or equal to the track
The area for the irregular figure 02 that feature is formed.
Preferably, the picture monitoring module 12 is additionally operable to monitor whether to receive the amplification letter to the pixel picture 03
Breath reduces information, and performs corresponding operation to the pixel picture 03 according to the amplification message or diminution information.
Specifically, the picture builds axle module 11 establishes two-dimensional coordinate system to the original image in units of pixel, from
And generate the pixel picture 03;Preferably, the one of drift angle that can be defined in four drift angles of the original image is
Origin, but any one pixel that can also define picture in other embodiments is origin, all in protection model of the invention
In enclosing.
Specifically, user can check the pixel picture 03 by clients such as computer, mobile phone, iPad, user can be to institute
State pixel picture 03 and be amplified operation or reduction operation;Now, the picture monitoring module 12 monitors whether to receive to institute
The trace information of pixel picture 03 is stated, that is, detects whether user has the track of slip in the client to the pixel picture 03
Operation;Then judge whether the trace information meets default track characteristic.Preferably, the track characteristic is user to institute
The irregular figure 02 that pixel picture 03 carries out the closing track operation of head and the tail connection and formed is stated, i.e., ought detect track behaviour
When making, judge that whether from beginning to end the track operates the irregular figure 02 of connection immediately;But in other embodiments, the track
Operation is not necessarily the irregular figure 02 of head and the tail connection, it is allowed to and the top and end of the track operation are separated by a distance,
The certain distance can be set according to the original image, all within the scope of the present invention.
Specifically, when the trace information meets the track characteristic, the picture processing module 13 obtain it is described not
Four coordinate points (as shown in Figure 2) of the outermost of regular figure 02, so as to generate the screenshot area 01, specific interception picture
Process refers to the sectional drawing process that above-described embodiment provides, and will not be repeated here.
Specifically, the picture interception module 14 carries out sectional drawing behaviour according to the screenshot area 01 to the pixel picture 03
Make, so as to generate the sectional drawing picture.
A kind of picture intercepting system provided in an embodiment of the present invention builds axle module by picture and establishes two dimension to original image
Coordinate system, so as to generate pixel picture, then by picture interception module to the pixel picture according to the track of user operate into
Row sectional drawing, solve the problems, such as that shot operation mode is cumbersome in the prior art and screenshotss mode is single, can be operated in sectional drawing
Intercept simply and quickly part picture.
Described above is the preferred embodiment of the present invention, it is noted that for those skilled in the art
For, under the premise without departing from the principles of the invention, some improvements and modifications can also be made, these improvements and modifications are also considered as
Protection scope of the present invention.
Claims (8)
1. a kind of picture intercept method, it is characterised in that including step:
S11, two-dimensional coordinate system is established in units of pixel to original image, the pixel picture after being handled;
S12, monitor whether to receive the trace information to the pixel picture, believe when receiving the track to the pixel picture
During breath, judge whether the trace information meets default track characteristic;
S13, when the trace information meets the track characteristic, the trajectory coordinates point of the trace information is obtained, so as to shape
Into screenshot area;
S14, the screenshot area is carried out to intercept picture operation, so as to generate sectional drawing picture.
2. picture intercept method as claimed in claim 1, it is characterised in that the track characteristic is user to the pixel map
The irregular figure that piece carries out the closing track operation of head and the tail connection and formed.
3. picture intercept method as claimed in claim 1, it is characterised in that the trajectory coordinates point is the track characteristic
Four coordinate points of outermost, the rectangular area that the screenshot area is formed by four outermost coordinate points, and described section
Graph region area is more than or equal to the area for the irregular figure that the track characteristic is formed.
4. picture intercept method as claimed in claim 1, it is characterised in that the step S12 also includes:Monitor whether to receive
To the amplification message to the pixel picture or information is reduced, and according to the amplification message or reduces information to the pixel map
Piece operates corresponding to performing.
A kind of 5. picture intercepting system, it is characterised in that including:Picture builds axle module, picture monitoring module, picture processing module
And picture interception module;
The picture is built axle module and is used to be established original image in units of pixel on two-dimensional coordinate axle, the pixel after being handled
Picture;
The picture monitoring module is used to receive to the trace information of the pixel picture, when receiving to the pixel picture
During trace information, judge whether the trace information meets default track characteristic;
The picture processing module is used for when the trace information meets the track characteristic, obtains the rail of the trace information
Mark coordinate points, so as to form screenshot area;
The picture interception module is used to the screenshot area is carried out to intercept picture operation, so as to generate sectional drawing picture.
6. picture intercepting system as claimed in claim 5, it is characterised in that the track characteristic is user to the pixel map
The irregular figure that piece carries out the closing track operation of head and the tail connection and formed.
7. picture intercepting system as claimed in claim 5, it is characterised in that the trajectory coordinates point is the track characteristic
Four coordinate points of outermost, the rectangular area that the screenshot area is formed by four outermost coordinate points, and described section
Graph region area is more than or equal to the area for the irregular figure that the track characteristic is formed.
8. picture intercepting system as claimed in claim 5, it is characterised in that the picture monitoring module is additionally operable to monitor whether
The amplification message or diminution information to the pixel picture are received, and according to the amplification message or reduces information to the picture
Sketch map piece operates corresponding to performing.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201710908472.0A CN107728899A (en) | 2017-09-29 | 2017-09-29 | A kind of picture intercept method and system |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201710908472.0A CN107728899A (en) | 2017-09-29 | 2017-09-29 | A kind of picture intercept method and system |
Publications (1)
Publication Number | Publication Date |
---|---|
CN107728899A true CN107728899A (en) | 2018-02-23 |
Family
ID=61209106
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201710908472.0A Pending CN107728899A (en) | 2017-09-29 | 2017-09-29 | A kind of picture intercept method and system |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN107728899A (en) |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN111324261A (en) * | 2020-01-20 | 2020-06-23 | 北京无限光场科技有限公司 | Intercepting method and device of target object, electronic equipment and storage medium |
Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102263706A (en) * | 2010-05-26 | 2011-11-30 | 腾讯科技(深圳)有限公司 | Image interception method and apparatus thereof |
CN103092524A (en) * | 2013-01-31 | 2013-05-08 | 广东欧珀移动通信有限公司 | Method for realizing screenshot through touch screen and mobile terminal |
CN103500066A (en) * | 2013-09-30 | 2014-01-08 | 北京奇虎科技有限公司 | Screenshot device and method suitable for touch screen devices |
CN105005426A (en) * | 2014-04-18 | 2015-10-28 | 深圳Tcl新技术有限公司 | Screenshot method and system for touch screen terminal, and data sharing method and system for touch screen terminal |
CN106371712A (en) * | 2015-07-20 | 2017-02-01 | 鸿合科技有限公司 | Method and device for irregular screen capture |
CN106445344A (en) * | 2016-09-27 | 2017-02-22 | 乐视控股(北京)有限公司 | Screenshot processing method and device |
-
2017
- 2017-09-29 CN CN201710908472.0A patent/CN107728899A/en active Pending
Patent Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102263706A (en) * | 2010-05-26 | 2011-11-30 | 腾讯科技(深圳)有限公司 | Image interception method and apparatus thereof |
CN103092524A (en) * | 2013-01-31 | 2013-05-08 | 广东欧珀移动通信有限公司 | Method for realizing screenshot through touch screen and mobile terminal |
CN103500066A (en) * | 2013-09-30 | 2014-01-08 | 北京奇虎科技有限公司 | Screenshot device and method suitable for touch screen devices |
CN105005426A (en) * | 2014-04-18 | 2015-10-28 | 深圳Tcl新技术有限公司 | Screenshot method and system for touch screen terminal, and data sharing method and system for touch screen terminal |
CN106371712A (en) * | 2015-07-20 | 2017-02-01 | 鸿合科技有限公司 | Method and device for irregular screen capture |
CN106445344A (en) * | 2016-09-27 | 2017-02-22 | 乐视控股(北京)有限公司 | Screenshot processing method and device |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN111324261A (en) * | 2020-01-20 | 2020-06-23 | 北京无限光场科技有限公司 | Intercepting method and device of target object, electronic equipment and storage medium |
CN111324261B (en) * | 2020-01-20 | 2021-01-19 | 北京无限光场科技有限公司 | Intercepting method and device of target object, electronic equipment and storage medium |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
WO2018171429A1 (en) | Image stitching method, device, terminal, and storage medium | |
CN112333332B (en) | Prompt message display method and device and electronic equipment | |
CN107977144B (en) | Screen capture processing method and mobile terminal | |
CN112486386B (en) | Screen projection method, screen projection device, electronic equipment and readable storage medium | |
CN108234289B (en) | Message display method and device and mobile terminal | |
CN107977652B (en) | Method for extracting screen display content and mobile terminal | |
WO2021115199A1 (en) | Verification information sharing method and electronic device | |
CN111130817B (en) | Group creation method, electronic device and server | |
CN107885448B (en) | Control method for application touch operation, mobile terminal and readable storage medium | |
KR20210042348A (en) | Cell beam failure handling method, mobile communication terminal and network-side device | |
WO2020238497A1 (en) | Icon moving method and terminal device | |
US10237291B2 (en) | Session processing method and device, server and storage medium | |
WO2021022996A1 (en) | Communication processing method and device, apparatus, and medium | |
CN109993010B (en) | Information display method and mobile terminal | |
US20220086114A1 (en) | Message sending method and terminal | |
EP3541066A1 (en) | Electronic whiteboard, image display method, and carrier means | |
KR20220157485A (en) | Detection result output method, electronic device and medium | |
CN110312070B (en) | Image processing method and terminal | |
CN107728899A (en) | A kind of picture intercept method and system | |
US11074679B2 (en) | Image correction and display method and device | |
CN110309003B (en) | Information prompting method and mobile terminal | |
CN109446794B (en) | Password input method and mobile terminal thereof | |
CN111061899A (en) | Archive representative picture generation method and device and electronic equipment | |
CN109166164B (en) | Expression picture generation method and terminal | |
CN112053416B (en) | Image processing method, device, storage medium and computer 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: 20180223 |
|
RJ01 | Rejection of invention patent application after publication |