CN103984502B - The method and portable terminal of a kind of screen printing content - Google Patents

The method and portable terminal of a kind of screen printing content Download PDF

Info

Publication number
CN103984502B
CN103984502B CN201410242866.3A CN201410242866A CN103984502B CN 103984502 B CN103984502 B CN 103984502B CN 201410242866 A CN201410242866 A CN 201410242866A CN 103984502 B CN103984502 B CN 103984502B
Authority
CN
China
Prior art keywords
contact
screenshotss
picture
image
screenshot picture
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.)
Withdrawn - After Issue
Application number
CN201410242866.3A
Other languages
Chinese (zh)
Other versions
CN103984502A (en
Inventor
黄鹏
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Samsung Tianjin Mobile Development Center
Samsung Electronics Co Ltd
Original Assignee
Samsung Tianjin Mobile Development Center
Samsung Electronics Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Samsung Tianjin Mobile Development Center, Samsung Electronics Co Ltd filed Critical Samsung Tianjin Mobile Development Center
Priority to CN201410242866.3A priority Critical patent/CN103984502B/en
Publication of CN103984502A publication Critical patent/CN103984502A/en
Application granted granted Critical
Publication of CN103984502B publication Critical patent/CN103984502B/en
Withdrawn - After Issue legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Landscapes

  • User Interface Of Digital Computer (AREA)
  • Image Processing (AREA)

Abstract

The present invention discloses the method and portable terminal of a kind of screen printing content, and methods described comprises the following steps:Detect after screenshotss state, the chosen area to user carries out first time screenshotss and preserves the first screenshot picture;Detect whether that there is sliding distance operates beyond the screen sliding of threshold value in the given time;When detecting in the given time beyond the screen sliding operation of threshold value, it is judged as also needing to continue executing with screenshotss and slide screen;To the chosen area of user, carry out second of screenshots and preserve the second screenshot picture;Splice first screenshot picture and second screenshot picture.

Description

The method and portable terminal of a kind of screen printing content
Technical field
The present invention relates to portable terminal, more particularly to a kind of screen printing content that can easily carry out screenshotss operation Method and portable terminal.
Background technology
With the fast development of intellectualized operation system, people can be by being equipped with the portable terminal of intellectualized operation system Perform operation.For example, being used as the sharing mode of information, it is often necessary to screen printing content and to be published to microblogging, website etc. various Platform.
However, because the screen size of most of portable terminal is all limited, therefore when the content for wanting screenshotss exceeds screen , it is necessary to intercept repeatedly during scope (for example, news, dictionary etc.) that curtain can be shown.Thus, information is such as shared, then needs hair Send repeatedly.
Moreover, current screenshotss operation is that whole picture is directly intercepted by shortcut, thus every time screenshotss when, it is and interior Holding unrelated screen content (for example, frame, other information prompting frame etc.) can all be got off by screenshotss, cause to influence screenshotss content Continuity.
The content of the invention
The present invention proposes that its object is to provide a kind of usable family freely to select in order to solve problem above The content of wanted screenshotss, and the method and portable terminal of a kind of screen printing content of the splicing of multiple screenshot pictures can be realized End.
For the attainment of one's purpose, according to an aspect of the present invention there is provided a kind of method of screen printing content, including following step Suddenly:A, detect screenshotss state after, the chosen area to user carries out first time screenshotss and preserves the first screenshot picture;B, Detect whether that there is sliding distance operates beyond the screen sliding of threshold value in the scheduled time;C, when detecting in the given time beyond threshold During the screen sliding operation of value, it is judged as also needing to continue executing with screenshotss and slide screen;D, the chosen area to user, carry out second Secondary screenshotss simultaneously preserve the second screenshot picture;E, splicing first screenshot picture and second screenshot picture.
Preferably, a steps specifically include following steps:The first contact from user is detected, and by the first contact The frame of reference is constructed on screen as origin;The second contact from user is detected, and calculates the coordinate value of the second contact; When the coordinate value of second contact and the difference of coordinate value of the first contact meet predetermined condition, first time screenshotss are carried out simultaneously Preserve the first screenshot picture.
Preferably, in the step c, mark is set in the bottom of the first time screenshot picture, and in the step e In, based on the first screenshot picture described in the Sign mosaics and second screenshot picture.
Preferably, the mark is the second contact.
Preferably, the Step d specifically includes step:Relative coordinate system is constructed using second contact as origin;Detection The 3rd contact from user, and calculate the coordinate value of the 3rd contact in relative coordinate system;Described in relative coordinate system When the difference of the coordinate value of 3rd contact and the coordinate value of second contact meets predetermined condition, carry out second of screenshots and protect Deposit the second screenshot picture.
Preferably, the Step d specifically includes step:In the frame of reference, the 3rd contact from user is detected, and The coordinate value of the 3rd contact in calculating benchmark coordinate system;When the 3rd contact in the frame of reference coordinate value with it is described When the difference of the coordinate value of second contact meets predetermined condition, carry out second of screenshots and preserve the second screenshot picture.
Preferably, when calculating each contact in the coordinate value of respective coordinate system, while when recording the generation of each contact Between and each screenshotss time.
Preferably, the mark is.
Preferably, the Step d specifically includes step:Relative seat is constructed using one of the framework upper summit as origin Mark system;The 3rd contact from user is detected, and calculates the coordinate value of the 3rd contact in relative coordinate system;Work as relative coordinate system When the difference of the coordinate value of interior the 3rd contact and the coordinate value of second contact meets predetermined condition, carry out second Screenshotss simultaneously preserve the second screenshot picture.
Preferably, the threshold value for previous screenshot picture height or width 90~100%.
Preferably, specifically included in the step e:Image preprocessing step, regard first screenshot picture as reference Image, using second screenshot picture as image to be spliced, performs pretreatment;Image alignment procedures, using predetermined matching plan Slightly, the correspondence position for being marked at reference picture in image to be spliced is found out, the alignment between image is carried out;Set up conversion Model step, according to the corresponding relation of the mark, the mathematical transformation model set up between reference picture and image to be spliced;System One coordinate transform step, according to the mathematical transformation model set up, image to be spliced is transformed into the reference coordinate of reference picture In system, uniform coordinate conversion is performed;Reconstruction step is merged, based on mark, reference picture and image to be spliced are merged.
For the attainment of one's purpose, there is provided a kind of portable terminal of screen printing content, bag according to another aspect of the present invention Include:Under positioning unit, screenshotss state, the operation of user is detected, screenshotss region is selected;Screenshotss unit, based on the positioning unit The screenshotss region selected, carries out screenshotss;Memory cell, for preserving the screenshot picture from the screenshotss unit;Splicing is single Member, splices multiple screenshot pictures of the memory cell, wherein, after every screenshotss operation of completion, the screenshotss unit Detect whether that there is sliding distance operates beyond the screen sliding of threshold value, surpasses when there is sliding distance in the scheduled time in the given time When going out the screen sliding operation of threshold value, the screenshotss unit judges will carry out screenshotss operation again for user and wait the positioning single The selected screenshotss region of member.
Preferably, the datum mark that the positioning unit is specified by two contacts produced on screen or system, utilizes seat Scale value difference selectes screenshotss region.
Preferably, in addition to for carrying out the indexing units of predetermined labels, and the concatenation unit in screenshot picture Based on the multiple screenshot pictures of the Sign mosaics.
Preferably, the mark is the contact of upper generation, and the positioning unit is constructed using the contact as origin Coordinate system.
Preferably, when calculating each contact in the coordinate value of respective coordinate system, while when recording the generation of each contact Between and each screenshotss time.
Preferably, the mark is, positioning unit structure using one of the framework upper summit as origin Build coordinate system.
Preferably, the threshold value for previous screenshot picture height or width 90~100%.
Preferably, the concatenation unit also includes:Image pre-processing module, based on the screenshotss time, by previous screenshot picture As reference picture, using latter screenshot picture as image to be spliced, pretreatment is performed;Image alignment modules, using predetermined With strategy, the correspondence position for being marked at reference picture in image to be spliced is found out, the alignment between image is carried out;Modeling Module, according to the corresponding relation of the mark, the mathematical transformation model set up between reference picture and image to be spliced;Coordinate becomes Block is changed the mold, the mathematical transformation model set up according to the modeling module, the benchmark that image to be spliced is transformed into reference picture is sat In mark system, uniform coordinate conversion is performed;Image co-registration module, based on mark, reference picture and image to be spliced are merged.
According to the present invention, under screenshotss state, user can freely select the screenshotss region of wanted screenshotss, and need During multiple screenshotss, it is possible to achieve the splicing of multiple screenshot pictures.
Brief description of the drawings
Fig. 1 is the flow chart of the method for the screen printing content according to embodiments of the invention.
Fig. 2 a are the schematic diagram of the first embodiment of the first screenshot picture according to the present invention.
Fig. 2 b are the schematic diagram of the first embodiment of the second screenshot picture according to the present invention.
Fig. 3 a are the schematic diagram of the second embodiment of the first screenshot picture according to the present invention.
Fig. 3 b are the schematic diagram of the second embodiment of the second screenshot picture according to the present invention.
Fig. 4 is by the schematic diagram of the complete screenshot picture after the first screenshot picture and the splicing of the second screenshot picture.
Fig. 5 is the flow chart of the first time screenshotss process of the method for Fig. 1 screen printing content.
Fig. 6 is the flow chart of second of screenshotss process of the method for Fig. 1 screen printing content.
Fig. 7 is the flow chart of the joining method of the screenshot picture of the method for Fig. 1 screen printing content.
Fig. 8 is the block diagram of the portable terminal according to the embodiment of the present invention.
Fig. 9 is the block diagram of Fig. 8 concatenation unit.
Embodiment
Hereinafter, it is described in detail referring to the drawings for the preferred embodiments of the present invention.
Moreover, the following description is by taking smart mobile phone as an example, but the invention is not limited in this, can be applied to tablet personal computer, Personal digital assistant (PDA), notebook computer, desktop computer, handheld device etc..
In this manual, the terms such as " first ", " second ", " first time ", " for the second time " are used to be described, but these Term is not used to define or limit the present invention, it is only for make those skilled in the art that the present invention is understood quickly.
Fig. 1 is the flow chart of the method for the screen printing content according to embodiments of the invention, and Fig. 2 a are according to the present invention The first screenshot picture first embodiment schematic diagram, Fig. 2 b be according to the present invention the second screenshot picture first embodiment Schematic diagram, Fig. 3 a be according to the present invention the first screenshot picture second embodiment schematic diagram, Fig. 3 b be according to the present invention The second screenshot picture second embodiment schematic diagram, Fig. 4 be by the first screenshot picture and the second screenshot picture splicing after Complete screenshot picture schematic diagram.
In the step s 100, detect after screenshotss state, the chosen area to user carries out first time screenshotss and preserved First screenshot picture.
In the present embodiment, screenshotss operation is divided into two kinds of processing modes.One kind is panorama interception way, that is, intercepts whole draw Face content.Portable terminal is received after the operational order of panorama screen printing of user, and it is full frame interior that interception is currently shown Hold, and preserved (or temporal cache) in the form of picture.
Another partial picture content for local screenshotss mode, i.e. interception portable terminal.Portable terminal is detected After screenshotss state, the input of user is detected, to determine screenshotss region, when the input of user meets predetermined condition, progress office Portion's screenshotss are simultaneously preserved (or temporal cache) in the form of picture.
Specifically, as shown in figure 5, the step S100 can also comprise the following steps:Detect screenshotss state it Afterwards, the first contact A from user is detected, the first contact A is constructed into base as the origin of coordinates (x=0, y=0) on screen Conventional coordinates (S102);The second contact B from user is detected, the second contact B coordinate value (x1, y1) (S104) is calculated;When When the coordinate value difference of second contact B and the first contact A meets predetermined condition, carry out first time screenshotss and preserve the first snapshot Piece (S106).
By local screenshotss mode, the content required for user can be only intercepted, therefore user was without first as in the past Intercept after panoramic picture, topography is intercepted again by special application program.Especially, splicing is needed in portable terminal During screenshot picture, it is convenient to omit cut the process per superfluous contents such as the frames that can all occur in Zhang Quanjing screenshot picture.
Now, user can produce contact by various input mediums on the screen of portable terminal, for example can profit Touched with finger, stylus etc., or utilize mouse click etc..Here, can also include being corrected for the input of user The step of.
Moreover, when detecting the contact that user produces, can also record tactile while the coordinate value of each contact is calculated The generation time of point.
Preferably, the coordinate value of each contact can be the pixel value on screen.
In step S106 steps, when the second contact B and the first contact A each coordinate difference (△ x1, △ y1) not Equal to 0 or each coordinate difference absolute value be more than predetermined value (for example, 0.5) when, it can be determined that for user selected want The region of screenshotss, thus carries out a screenshotss operation.Now, it can be shown based on the first contact and the second contact on screen and wait to cut Shield region (with reference to the dotted line in Fig. 2 a), to point out user.
In the past, under screenshotss state, screen will be locked, automatically shield the incoming events such as touch screen, therefore carrying out one , it is necessary to exit screenshotss state after secondary screenshotss operation, and carry out page turning or slide screen, be then again introduced into screenshotss state and enter Row screenshotss, or after screenshotss state is entered, multiple screenshotss are performed in the given time, the former either is needing repeatedly to cut Screen or splice snapshot as when it is all very cumbersome, the latter splice snapshot as when it is very cumbersome.
In the present invention, after step S100 carries out a screenshotss, into step S110, detect whether in the given time Screen sliding in the presence of the sliding distance from user beyond threshold value is operated, and is surpassed when there is the sliding distance from user in the scheduled time When going out the screen sliding operation of threshold value, it is judged as that user will carry out screenshotss again, into step S120, to slide picture.Now, exist Mark can also be set in the bottom of first time screenshot picture in step S120.
The sliding distance refers to that the distance of the slide of user's input reaches previous section beyond the screen sliding operation of threshold value Shield the horizontal pixel (width) of picture (or screenshotss region) or the threshold value of vertical pixel (height).Preferably, the threshold value is previous The width of screenshot picture or the 90~100% of height.That is, after the operation of first time screenshotss, user is directed to any the one of screen The screen sliding operation of individual direction (upper and lower, left and right) more than or equal to the width in previous screenshotss region, height 90% when, can sentence Screenshotss operation will be carried out again for user by breaking, so as to release the screen sliding operation that user is responded to the locking of screen.
The scheduled time can be by user's sets itself, for example, it can be set to for 0.5 second, 1 second etc..
In addition, the result of the step S110, when the cunning being not present in the scheduled time more than the preset range from user During screen operation, the screenshotss that can determine whether as user terminate to exit screenshotss state (S112).
The mark can be that the second contact B can also be a range of framework of covering.Now, the second contact B Or framework can not be limited within screen when picture is slided beyond the indication range of screen.Mark is set to framework Purpose is, splice multiple snapshots as when, can be applied to the matching strategy of two images, improve the accuracy rate and effect of splicing Rate.
Then, in step s 130, the chosen area to user carries out second of screenshots and preserves the second screenshot picture.
Now, as shown in fig. 6, step S130 can also comprise the following steps:Using the second contact B as origin (x`1, y `1) construct relative coordinate system (S132);The 3rd contact C from user is detected, the 3rd contact C in relative coordinate system is calculated Coordinate value (x2, y2) (S134);When the 3rd contact C and the second contact B coordinate difference meet predetermined condition, second is carried out Secondary screenshotss simultaneously preserve the second screenshot picture (S136).
Now, when detecting the contact that user produces, it can also record tactile while the coordinate value of each contact is calculated The generation time of point.
In step S136 steps, when the 3rd contact C and the second contact B each coordinate difference (△ x2, △ y2) not Equal to 0 or each coordinate difference absolute value be more than predetermined value (for example, 0.5) when, it can be determined that for user selected want The region of screenshotss, thus carries out a screenshotss operation.Now, it can be shown based on the second contact and the 3rd contact on screen and wait to cut Shield region (with reference to the dotted line in Fig. 2 a), to point out user.
In addition, in step S132, can be by the upper summit B` of the framework when the mark is (reference picture 3a) Relative coordinate system is constructed as origin (reference picture 3b).
Although being to construct relative coordinate system using the second contact as origin in the present embodiment, the invention is not limited in this, I.e., it is nonetheless possible to use the frame of reference using the first contact as origin performs various operations.
At this point it is possible to the step S132 for constructing relative coordinate system is omitted, and the direct calculating benchmark in step S134 The coordinate value of the 3rd contact in coordinate system.
Then, in step S140, the first screenshot picture of splicing and the second screenshot picture.Preferably, now based on described The screenshot picture of Sign mosaics first and the second screenshot picture.
Preferably, can be using the generation time of each contact as variable uses, to improve splicing when being spliced Accuracy rate and efficiency.
Now, as shown in fig. 7, step S140 can also include:Image preprocessing step (S142), image registration step (S144) transformation model step (S146), uniform coordinate shift step (S148), fusion reconstruction step (S150), are set up.
In image preprocessing step (S142), for the first screenshot picture and the second screenshot picture, by the first snapshot Piece is as reference picture, and using the second screenshot picture as image to be spliced, performs and removes noise, edge extracting, at histogram Reason etc. Digital Image Processing basic operation, and set up the matching template of image and image is entered line translation (Fourier transformation, Wavelet transformation etc.).
In image registration step (S144), using predetermined matching strategy, the template or feature in image to be spliced are found out The corresponding position of point in a reference image, and then complete the alignment between image.
Now, the mark such as the second contact or framework can be used as characteristic point.Accordingly, predetermined matching strategy can be based on reference to figure Picture and the second contact of image to be spliced or framework.
In transformation model step (S146) is set up, according to the corresponding relation between template or characteristic point, number is calculated The parameters value in model is learned, the mathematical transformation model of two images is thus set up.
In uniform coordinate shift step (S148), according to the mathematical transformation model of foundation, image to be spliced is transformed into In the coordinate system (that is, the frame of reference) of reference picture, uniform coordinate conversion is completed.
Now, the coordinate value of each contact of relative coordinate system can be transformed to the coordinate value of the frame of reference, thus borrowed Help multiple contacts that image to be spliced is transformed into the frame of reference.
For example, the first contact A is (0,0), coordinates of the second contact B in the frame of reference in the coordinate value of the frame of reference Be worth for (x1, y1), the 3rd contact C in the coordinate value using the second contact B as the relative coordinate system of origin as (x2, y2), then this When the 3rd contact C the frame of reference coordinate be (x2-x1, y2-y1).
However, when multiple screenshotss are operated in entirely using the first contact as the frame of reference of origin and performed, then not Need the process of execution Coordinate Conversion.
In fusion reconstruction step (S150), the overlapping region of stitching image is merged, the flat of splicing reconstruct is obtained Sliding seamless panoramic image.
That is, under conditions of image completes registration, reference picture and image to be spliced is subjected to pixel and associated at fusion Thus two image mosaics are shown to user without the picture of redundancy by reason into one.
Although in the explanation of the above, being illustrated for carrying out screenshotss twice and splicing the example of two pictures, this Art personnel are, it should be understood that above-described embodiment can be applied to the situation of multiple screenshotss and the multiple pictures of splicing.Now, the step S110 to S130 can be performed repeatedly, and perform multiple splicing in splicing step.
Fig. 8 is the block diagram of the portable terminal according to the embodiment of the present invention.
It may include according to the portable terminal of the present invention:Display unit 100, positioning unit 110, screenshotss unit 120, mark Unit 130, memory cell 140, concatenation unit 150.
Display unit 100, shows the screen content of portable terminal.
Positioning unit 110, detection user selectes screenshotss region for the operation of the screen of the portable terminal.This is determined Bit location 110 can be applied to local (selectivity) screenshotss mode, i.e. local screen's content applied to interception portable terminal.When Detect after screenshotss state, positioning unit 110 detects the input of user, to determine screenshotss region.In the present embodiment, positioning is single Member 110 uses two-point locating method, i.e., select screenshotss region using the coordinate value difference of two reference points on screen, and on screen Two reference points can be contact or the datum mark specified of system that user produces.
For example, after screenshotss state is detected, positioning unit 110 detects the first contact A from user, and first is touched Point A constructs the frame of reference as the origin of coordinates (x=0, y=0) on screen.Then, positioning unit 110 detects to use by oneself The second contact B at family, and the second contact B coordinate value (x1, y1) is calculated, it is hereby based on the first contact A and the second contact B seat Mark the selected local screenshotss region of difference x1-x, y1-y.
When positioning unit 110 selectes screenshotss region, display unit 100 can show prompt message (for example, Fig. 2 a void Wire frame), to point out user to carry out the region of screenshotss.
Now, positioning unit 110 may also correct for the input of user.That is, the relatively low input hand of the accuracy such as finger is passed through When section is operated to touch-screen, the position of each contact is touched in place of screen content unavoidably, and now positioning unit 110 The position of contact can be corrected and laterally (close to screen frame) current collector.
Screenshotss unit 120, the screenshotss region selected based on the positioning unit 110 carries out screenshotss.
That is, when the screenshotss region that positioning unit 110 is selected meets predetermined condition, screenshotss unit 120 carries out local cut Shield and (or temporal cache) is preserved in the form of picture to memory cell 140.
For example, when each coordinate difference (△ x1, △ y1) of the second contact B and the first contact A be not equal to 0 or each When the absolute value of coordinate difference is more than predetermined value (for example, 0.5), screenshotss unit 120 may determine that have been selected to be cut for user The region of screen, thus carries out a screenshotss operation.
Moreover, after every screenshotss operation of completion, screenshotss unit 120 is detected whether to exist in the given time and come from The sliding distance of user is operated beyond the screen sliding of threshold value, exceeds threshold value when the sliding distance from user is not present in the scheduled time Screen sliding operation, then exit screenshotss state, and when there is the screen sliding that the sliding distance from user exceeds threshold value in the scheduled time During operation, screenshotss unit 120 can determine whether that to carry out screenshotss operation again for user waits positioning unit 110 to select screenshotss area Domain.
In this way, when being judged as that user needs to carry out screenshotss operation more than once, indexing unit 130 can be at previous section Predetermined mark is carried out on screen picture, the mark can be used as benchmark during screenshotss next time.
The mark can be that the second contact B can also be a range of framework of covering.Now, the second contact B Or framework can not be limited within screen when picture is slided beyond the indication range of screen.
After indexing unit 130 carries out predetermined mark in previous screenshot picture, positioning unit 110 can be with mark On a summit as datum mark, construct relative coordinate system, and detect the 3rd contact from user.
Now, when the mark is the second contact B, positioning unit 110 can be constructed using the second contact B as origin Relative coordinate system, and when it is described mark be when, positioning unit 110 can using the upper summit B` of the framework as origin structure Build relative coordinate system.
Positioning unit 110 is when detecting the 3rd contact C, based on the coordinate value of the 3rd contact C in relative coordinate system, choosing Foregone conclusion portion screenshotss region, and screenshotss unit 120 in the screenshotss region that positioning unit 110 is selected when meeting predetermined condition, further It is secondary to carry out local screenshotss and (or temporal cache) is preserved in the form of picture to memory cell 140.
Now, the present invention can also include timing unit (not shown), so that when detecting the contact that user produces, record is touched The generation time of point, and the record screenshotss time in screenshotss 120 screenshotss each time of unit.
Memory cell 140, for preserving the multiple screenshot picture from screenshotss unit 120.
Concatenation unit 150, for splicing multiple screenshot pictures in the memory cell 140.Preferably, concatenation unit 150 can be based on the multiple screenshot pictures of the Sign mosaics.
As shown in figure 9, concatenation unit 150 includes image pre-processing module 151, image registration module 152, modeling module 153rd, coordinate transformation module 154, image co-registration module 155.
Image pre-processing module 151, for multiple screenshot pictures, based on screenshotss time of origin, previous screenshot picture is made For reference picture, latter screenshot picture performs various pretreatments (denoising, edge extracting, conversion etc.) as image to be spliced.
Image registration module 152, using predetermined matching strategy, that finds out in image to be spliced described is marked at reference picture Correspondence position, carry out image between alignment.
Modeling module 153, according to the corresponding relation of the mark, calculates the parameters value in mathematical modeling, thus Set up the mathematical transformation model of two images.
Coordinate transformation module 154, the mathematical transformation model set up according to modeling module 153, image to be spliced is transformed into In the coordinate system (that is, the frame of reference) of reference picture, uniform coordinate conversion is completed.
Now, the coordinate value of each contact of relative coordinate system is transformed to the frame of reference by coordinate transformation module 154 Coordinate value, is thus transformed into the frame of reference by multiple contacts by image to be spliced.
Image co-registration module 155, based on mark, reference picture and image to be spliced are merged.That is, reference picture is made Merged with the mark (coincidence point overlaps framework) in image to be spliced.
That is, under conditions of image completes registration, reference picture and image to be spliced is subjected to pixel and associated at fusion Thus two image mosaics are shown to user without the picture of redundancy by reason into one.
Those skilled in the art are, it should be understood that the method and step and unit that are referred in this specification, module may be implemented as electricity The combination of sub- hardware, computer software or both.Various functions are implemented as software and are also implemented as hardware depending on specific Using and be applied to the design condition of whole system, those skilled in the art can be for every kind of concrete application mode with various Mode realizes corresponding function.
Explanation above is carried out with the preferred embodiments of the present invention, it should be noted that, in the power without departing substantially from the present invention On the premise of profit requires limited protection domain, those skilled in the art can make various changes and modifications.Moreover, this hair Function, step and/or the action of bright embodiment are not required to perform with any particular order.

Claims (17)

1. a kind of method of screen printing content, it is characterised in that comprise the following steps:
A, detect screenshotss state after, the chosen area to user carries out first time screenshotss and preserves the first screenshot picture;
B, in the given time detect whether exist the sliding distance from user beyond threshold value screen sliding operate, wherein, it is described Sliding distance refers to that the distance of the slide of user's input reaches previous screenshot picture/screenshotss area beyond the screen sliding operation of threshold value The threshold value of the horizontal pixel in domain or vertical pixel;
C, when detect in the given time beyond threshold value screen sliding operation when, be judged as also needing to continue executing with screenshotss and slide Screen;
D, the chosen area to user, carry out second of screenshots and preserve the second screenshot picture;
E, splicing first screenshot picture and second screenshot picture,
Wherein, a steps specifically include following steps:
The first contact from user is detected, and the frame of reference is constructed into the first contact as origin on screen;
The second contact from user is detected, and calculates the coordinate value of the second contact;
When the coordinate value of second contact and the difference of coordinate value of the first contact meet predetermined condition, cut for the first time Shield and preserve the first screenshot picture,
Wherein, in the step c, mark is set in the bottom of the first time screenshot picture, wherein, the mark is the Two contacts,
Wherein, the Step d specifically includes step:
Relative coordinate system is constructed using second contact as origin;
The 3rd contact from user is detected, and calculates the coordinate value of the 3rd contact in relative coordinate system;
Make a reservation for when the coordinate value of the 3rd contact in relative coordinate system is met with the difference of the coordinate value of second contact During condition, carry out second of screenshots and preserve the second screenshot picture,
Wherein, in the step e, based on the first screenshot picture described in the Sign mosaics and second screenshot picture.
2. the method for screen printing content as claimed in claim 1, it is characterised in that the Step d specifically includes step:
In the frame of reference, the 3rd contact from user, and the coordinate of the 3rd contact in calculating benchmark coordinate system are detected Value;
Make a reservation for when the coordinate value of the 3rd contact in the frame of reference is met with the difference of the coordinate value of second contact During condition, carry out second of screenshots and preserve the second screenshot picture.
3. the method for the screen printing content as described in any one of claim 1 or 2, it is characterised in that calculating each Contact is in the coordinate value of respective coordinate system, while recording generation time and each screenshotss time of each contact.
4. the method for screen printing content as claimed in claim 1, it is characterised in that the threshold value is previous screenshot picture The 90~100% of height or width.
5. the method for screen printing content as claimed in claim 1, it is characterised in that specifically included in the step e:
Image preprocessing step, using first screenshot picture as reference picture, using second screenshot picture as waiting to spell Map interlinking picture, performs pretreatment;
Image alignment procedures, using predetermined matching strategy, find out the correspondence for being marked at reference picture in image to be spliced Position, carries out the alignment between image;
Transformation model step is set up, according to the corresponding relation of the mark, the number set up between reference picture and image to be spliced Learn transformation model;
Uniform coordinate shift step, according to the mathematical transformation model set up, image to be spliced is transformed into the base of reference picture In conventional coordinates, uniform coordinate conversion is performed;
Reconstruction step is merged, based on mark, reference picture and image to be spliced are merged.
6. a kind of method of screen printing content, it is characterised in that comprise the following steps:
A, detect screenshotss state after, the chosen area to user carries out first time screenshotss and preserves the first screenshot picture;
B, in the given time detect whether exist the sliding distance from user beyond threshold value screen sliding operate, wherein, it is described Sliding distance refers to that the distance of the slide of user's input reaches previous screenshot picture/screenshotss area beyond the screen sliding operation of threshold value The threshold value of the horizontal pixel in domain or vertical pixel;
C, when detect in the given time beyond threshold value screen sliding operation when, be judged as also needing to continue executing with screenshotss and slide Screen;
D, the chosen area to user, carry out second of screenshots and preserve the second screenshot picture;
E, splicing first screenshot picture and second screenshot picture,
Wherein, a steps specifically include following steps:
The first contact from user is detected, and the frame of reference is constructed into the first contact as origin on screen;
The second contact from user is detected, and calculates the coordinate value of the second contact;
When the coordinate value of second contact and the difference of coordinate value of the first contact meet predetermined condition, cut for the first time Shield and preserve the first screenshot picture,
Wherein, in the step c, mark is set in the bottom of the first time screenshot picture, wherein, the mark is,
Wherein, the Step d specifically includes step:
Relative coordinate system is constructed using one of the framework upper summit as origin;
The 3rd contact from user is detected, and calculates the coordinate value of the 3rd contact in relative coordinate system;
Make a reservation for when the coordinate value of the 3rd contact in relative coordinate system is met with the difference of the coordinate value of second contact During condition, carry out second of screenshots and preserve the second screenshot picture,
In the step e, based on the first screenshot picture described in the Sign mosaics and second screenshot picture.
7. the method for screen printing content as claimed in claim 6, it is characterised in that calculating each contact in respective coordinate During the coordinate value of system, while recording generation time and each screenshotss time of each contact.
8. the method for screen printing content as claimed in claim 6, it is characterised in that the threshold value is previous screenshot picture The 90~100% of height or width.
9. the method for screen printing content as claimed in claim 6, it is characterised in that specifically included in the step e:
Image preprocessing step, using first screenshot picture as reference picture, using second screenshot picture as waiting to spell Map interlinking picture, performs pretreatment;
Image alignment procedures, using predetermined matching strategy, find out the correspondence for being marked at reference picture in image to be spliced Position, carries out the alignment between image;
Transformation model step is set up, according to the corresponding relation of the mark, the number set up between reference picture and image to be spliced Learn transformation model;
Uniform coordinate shift step, according to the mathematical transformation model set up, image to be spliced is transformed into the base of reference picture In conventional coordinates, uniform coordinate conversion is performed;
Reconstruction step is merged, based on mark, reference picture and image to be spliced are merged.
10. a kind of portable terminal of screen printing content, it is characterised in that including:
Under positioning unit, screenshotss state, the operation of user is detected, screenshotss region is selected;
Screenshotss unit, the screenshotss region selected based on the positioning unit carries out screenshotss;
Memory cell, for preserving the screenshot picture from the screenshotss unit;
Concatenation unit, splices multiple screenshot pictures of the memory cell,
Wherein, the operation of user is detected, the processing in selected screenshotss region includes:Detect the first contact from user, and by the The frame of reference is constructed in one contact as origin on screen;The second contact from user is detected, the seat of the second contact is calculated Scale value;The difference of coordinate value based on the first contact and the second contact selectes screenshotss region,
Wherein, when the difference of the first contact and the coordinate value of the second contact meets predetermined condition, the screenshotss unit carries out the First screenshot picture is simultaneously stored in the memory cell by screenshotss,
Wherein, the portable terminal also includes the indexing unit for being used to carry out predetermined labels in the first screenshot picture, wherein, The mark is contact, and the positioning unit constructs coordinate system by origin of the second contact, detects the 3rd from user Contact, and the coordinate value based on the 3rd contact selectes second of screenshotss region, when second of screenshots region meets predetermined bar During part, the screenshotss unit carries out second of screenshots and the second screenshot picture is stored in the memory cell,
Wherein, the concatenation unit is based on the first screenshot picture described in the Sign mosaics and second screenshot picture,
Wherein, after every screenshotss operation of completion, the screenshotss unit detects whether to exist in the given time to use by oneself The sliding distance at family is operated beyond the screen sliding of threshold value, when there is sliding distance in the scheduled time beyond the screen sliding operation of threshold value, The screenshotss unit judges will carry out screenshotss operation again for user and wait the positioning unit to select screenshotss region, its In, the sliding distance refers to that the distance of the slide of user's input reaches previous snapshot beyond the screen sliding operation of threshold value The horizontal pixel in piece/screenshotss region or the threshold value of vertical pixel.
11. portable terminal as claimed in claim 10, it is characterised in that calculating seat of each contact in respective coordinate system During scale value, while recording generation time and each screenshotss time of each contact.
12. portable terminal as claimed in claim 10, it is characterised in that the threshold value for previous screenshot picture height or The 90~100% of width.
13. portable terminal as claimed in claim 10, it is characterised in that the concatenation unit also includes:
Image pre-processing module, based on the screenshotss time, using previous screenshot picture as reference picture, using latter screenshot picture as Image to be spliced, performs pretreatment;
Image alignment modules, using predetermined matching strategy, find out the correspondence for being marked at reference picture in image to be spliced Position, carries out the alignment between image;
Modeling module, according to the corresponding relation of the mark, the mathematic(al) manipulation mould set up between reference picture and image to be spliced Type;
Coordinate transformation module, the mathematical transformation model set up according to the modeling module, image to be spliced is transformed into reference to figure In the frame of reference of picture, uniform coordinate conversion is performed;
Image co-registration module, based on mark, reference picture and image to be spliced are merged.
14. a kind of portable terminal of screen printing content, it is characterised in that including:
Under positioning unit, screenshotss state, the operation of user is detected, screenshotss region is selected;
Screenshotss unit, the screenshotss region selected based on the positioning unit carries out screenshotss;
Memory cell, for preserving the screenshot picture from the screenshotss unit;
Concatenation unit, splices multiple screenshot pictures of the memory cell,
Wherein, the operation of user is detected, the processing in selected screenshotss region includes:Detect the first contact from user, and by the The frame of reference is constructed in one contact as origin on screen;The second contact from user is detected, the seat of the second contact is calculated Scale value;The difference of coordinate value based on the first contact and the second contact selectes screenshotss region,
Wherein, when the difference of the first contact and the coordinate value of the second contact meets predetermined condition, the screenshotss unit carries out the First screenshot picture is simultaneously stored in the memory cell by screenshotss,
Wherein, the portable terminal also includes the indexing unit for being used to carry out predetermined labels in the first screenshot picture, wherein, The mark is that the positioning unit constructs coordinate system using one of the framework upper summit as origin, and detection comes From the 3rd contact of user, and the coordinate value based on the 3rd contact selectes second of screenshotss region, when second of screenshots area When domain meets predetermined condition, the screenshotss unit carries out second of screenshots and the second screenshot picture is stored in into the memory cell In,
Wherein, the concatenation unit is based on the first screenshot picture described in the Sign mosaics and second screenshot picture,
Wherein, after every screenshotss operation of completion, the screenshotss unit detects whether to exist in the given time to use by oneself The sliding distance at family is operated beyond the screen sliding of threshold value, when there is sliding distance in the scheduled time beyond the screen sliding operation of threshold value, The screenshotss unit judges will carry out screenshotss operation again for user and wait the positioning unit to select screenshotss region, its In, the sliding distance refers to that the distance of the slide of user's input reaches previous snapshot beyond the screen sliding operation of threshold value The threshold value of the horizontal pixel in piece/region or vertical pixel.
15. portable terminal as claimed in claim 14, it is characterised in that calculating seat of each contact in respective coordinate system During scale value, while recording generation time and each screenshotss time of each contact.
16. portable terminal as claimed in claim 14, it is characterised in that the threshold value for previous screenshot picture height or The 90~100% of width.
17. portable terminal as claimed in claim 14, it is characterised in that the concatenation unit also includes:
Image pre-processing module, based on the screenshotss time, using previous screenshot picture as reference picture, using latter screenshot picture as Image to be spliced, performs pretreatment;
Image alignment modules, using predetermined matching strategy, find out the correspondence for being marked at reference picture in image to be spliced Position, carries out the alignment between image;
Modeling module, according to the corresponding relation of the mark, the mathematic(al) manipulation mould set up between reference picture and image to be spliced Type;
Coordinate transformation module, the mathematical transformation model set up according to the modeling module, image to be spliced is transformed into reference to figure In the frame of reference of picture, uniform coordinate conversion is performed;
Image co-registration module, based on mark, reference picture and image to be spliced are merged.
CN201410242866.3A 2014-05-30 2014-05-30 The method and portable terminal of a kind of screen printing content Withdrawn - After Issue CN103984502B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201410242866.3A CN103984502B (en) 2014-05-30 2014-05-30 The method and portable terminal of a kind of screen printing content

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201410242866.3A CN103984502B (en) 2014-05-30 2014-05-30 The method and portable terminal of a kind of screen printing content

Publications (2)

Publication Number Publication Date
CN103984502A CN103984502A (en) 2014-08-13
CN103984502B true CN103984502B (en) 2017-09-29

Family

ID=51276497

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201410242866.3A Withdrawn - After Issue CN103984502B (en) 2014-05-30 2014-05-30 The method and portable terminal of a kind of screen printing content

Country Status (1)

Country Link
CN (1) CN103984502B (en)

Families Citing this family (22)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104360816B (en) * 2014-11-27 2018-01-16 广东欧珀移动通信有限公司 Screenshotss method and system
CN104657058A (en) * 2015-02-06 2015-05-27 深圳市金立通信设备有限公司 Screenshot method
CN104793884B (en) * 2015-04-07 2018-01-19 广东欧珀移动通信有限公司 One kind touches screenshot method and device
US10719926B2 (en) 2015-11-05 2020-07-21 Huawei Technologies Co., Ltd. Image stitching method and electronic device
CN106843665B (en) * 2015-12-04 2021-10-01 北京奇虎科技有限公司 Screenshot method and device and terminal equipment
CN105718143A (en) * 2016-01-19 2016-06-29 腾讯科技(深圳)有限公司 Screen capturing method and screen capturing apparatus
CN105808107A (en) * 2016-03-28 2016-07-27 努比亚技术有限公司 Picture processing device and method
CN107967099A (en) * 2016-10-19 2018-04-27 中兴通讯股份有限公司 A kind of method, device and mobile terminal of terminal screenshotss
CN106502507A (en) * 2016-11-01 2017-03-15 上海传英信息技术有限公司 Screenshotss method and mobile terminal
CN106802758B (en) * 2017-01-05 2020-11-24 青岛海信移动通信技术股份有限公司 Processing method and device for screen capture
CN106909290A (en) * 2017-04-06 2017-06-30 深圳天珑无线科技有限公司 A kind of method and device of screenshotss
CN107273009B (en) * 2017-05-27 2024-04-16 陕西彦强卓越电子科技有限责任公司 Method and system for rapidly capturing screen of mobile terminal
CN107577408A (en) * 2017-10-19 2018-01-12 维沃移动通信有限公司 The method and mobile terminal of a kind of synthesising picture
CN108200343A (en) * 2018-01-22 2018-06-22 盎锐(上海)信息科技有限公司 Image processing method and panoramic shooting system based on full-view image
CN108428213B (en) * 2018-03-30 2022-02-25 北京乐蜜科技有限责任公司 Image collage method, device, electronic equipment and medium
CN110718137B (en) * 2018-07-13 2022-05-10 广州极飞科技股份有限公司 Method and device for constructing density distribution map of target object, terminal and mobile device
CN110267090B (en) * 2019-07-18 2021-09-17 北京字节跳动网络技术有限公司 Video playing control method and device, electronic equipment and storage medium
CN110658971B (en) 2019-08-26 2021-04-23 维沃移动通信有限公司 Screen capturing method and terminal equipment
CN111290676B (en) * 2020-03-02 2021-02-12 北京金山安全软件有限公司 Method, device and equipment for intercepting picture of designated area in client
CN111638849A (en) * 2020-05-29 2020-09-08 维沃移动通信有限公司 Screenshot method and device and electronic equipment
CN111966271B (en) * 2020-08-06 2022-03-01 Tcl通讯(宁波)有限公司 Screen panorama screenshot method and device, terminal equipment and storage medium
CN113407094A (en) * 2021-04-15 2021-09-17 麒麟软件有限公司 Screen capture method for touch screen notebook based on domestic operating system

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102681829A (en) * 2011-03-16 2012-09-19 阿里巴巴集团控股有限公司 Screenshot method, device and communication client
CN102779008A (en) * 2012-06-26 2012-11-14 奇智软件(北京)有限公司 Screen screenshot method and system
CN103514581A (en) * 2013-10-23 2014-01-15 小米科技有限责任公司 Screen picture capturing method, device and terminal equipment

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102681829A (en) * 2011-03-16 2012-09-19 阿里巴巴集团控股有限公司 Screenshot method, device and communication client
CN102779008A (en) * 2012-06-26 2012-11-14 奇智软件(北京)有限公司 Screen screenshot method and system
CN103514581A (en) * 2013-10-23 2014-01-15 小米科技有限责任公司 Screen picture capturing method, device and terminal equipment

Also Published As

Publication number Publication date
CN103984502A (en) 2014-08-13

Similar Documents

Publication Publication Date Title
CN103984502B (en) The method and portable terminal of a kind of screen printing content
US9405182B2 (en) Image processing device and image processing method
CN108776970A (en) Image processing method and device
CN105528576A (en) Method and device for inputting fingerprint
US9196055B2 (en) Method and apparatus for providing a mechanism for gesture recognition
US9377901B2 (en) Display method, a display control method and electric device
EP2728454A2 (en) Mobile terminal and method for controlling the same
CN104036476A (en) Method for providing augmented reality, and portable terminal
CN104461312A (en) Display control method and electronic equipment
CN104615374A (en) Method and device for inputting operational orders of terminal
US20180059893A1 (en) Operation Method Applied to Terminal Device and Terminal Device
US20110149115A1 (en) Electronic device and method for operating a presentation application file
US20150121301A1 (en) Information processing method and electronic device
CN109144370A (en) A kind of screenshotss method, apparatus, terminal and computer-readable medium
KR102125212B1 (en) Operating Method for Electronic Handwriting and Electronic Device supporting the same
CN104571904B (en) A kind of information processing method and electronic equipment
CN112306235A (en) Gesture operation method, device, equipment and storage medium
CN103558957A (en) Method and device for screen operation of mobile terminal
CN103135896B (en) Localization method and electronic equipment
WO2022095318A1 (en) Character detection method and apparatus, electronic device, storage medium, and program
CN106909272A (en) A kind of display control method and mobile terminal
US20240231502A1 (en) Gesture recognition method and apparatus, device, and medium
US8867785B2 (en) Method and apparatus for detecting proximate interface elements
CN111796736B (en) Application sharing method and device and electronic equipment
EP3848778B1 (en) Fingertip detection method, fingertip detection means, fingertip detection device, and medium

Legal Events

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

Granted publication date: 20170929

Effective date of abandoning: 20190731