CN109542314A - A kind of picture editing method and terminal device - Google Patents
A kind of picture editing method and terminal device Download PDFInfo
- Publication number
- CN109542314A CN109542314A CN201811398181.2A CN201811398181A CN109542314A CN 109542314 A CN109542314 A CN 109542314A CN 201811398181 A CN201811398181 A CN 201811398181A CN 109542314 A CN109542314 A CN 109542314A
- Authority
- CN
- China
- Prior art keywords
- flexible screen
- display area
- target photo
- bending
- edit operation
- 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
- 238000000034 method Methods 0.000 title claims abstract description 52
- 238000005452 bending Methods 0.000 claims abstract description 87
- 238000012545 processing Methods 0.000 claims description 19
- 238000005520 cutting process Methods 0.000 claims description 14
- 238000004590 computer program Methods 0.000 claims description 9
- 230000006399 behavior Effects 0.000 claims description 3
- 230000006870 function Effects 0.000 description 12
- 238000003860 storage Methods 0.000 description 11
- 238000010586 diagram Methods 0.000 description 9
- 238000009966 trimming Methods 0.000 description 7
- 230000000694 effects Effects 0.000 description 6
- 230000006854 communication Effects 0.000 description 5
- 238000004422 calculation algorithm Methods 0.000 description 4
- 238000004891 communication Methods 0.000 description 4
- 238000001514 detection method Methods 0.000 description 3
- 238000007689 inspection Methods 0.000 description 2
- 239000004973 liquid crystal related substance Substances 0.000 description 2
- 238000012544 monitoring process Methods 0.000 description 2
- 238000000465 moulding Methods 0.000 description 2
- 230000003287 optical effect Effects 0.000 description 2
- 238000000638 solvent extraction Methods 0.000 description 2
- 230000003068 static effect Effects 0.000 description 2
- 230000001360 synchronised effect Effects 0.000 description 2
- 230000000996 additive effect Effects 0.000 description 1
- 238000013459 approach Methods 0.000 description 1
- 238000004364 calculation method Methods 0.000 description 1
- 238000012790 confirmation Methods 0.000 description 1
- 238000005314 correlation function Methods 0.000 description 1
- 230000008878 coupling Effects 0.000 description 1
- 238000010168 coupling process Methods 0.000 description 1
- 238000005859 coupling reaction Methods 0.000 description 1
- 230000001419 dependent effect Effects 0.000 description 1
- 235000013399 edible fruits Nutrition 0.000 description 1
- 230000005611 electricity Effects 0.000 description 1
- 238000005516 engineering process Methods 0.000 description 1
- 230000005484 gravity Effects 0.000 description 1
- 238000011835 investigation Methods 0.000 description 1
- 238000005342 ion exchange Methods 0.000 description 1
- 238000004519 manufacturing process Methods 0.000 description 1
- 238000010295 mobile communication Methods 0.000 description 1
- 238000002360 preparation method Methods 0.000 description 1
- 230000005236 sound signal Effects 0.000 description 1
- 238000010897 surface acoustic wave method Methods 0.000 description 1
- 238000011282 treatment Methods 0.000 description 1
- 230000000007 visual effect Effects 0.000 description 1
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F3/00—Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
- G06F3/01—Input arrangements or combined input and output arrangements for interaction between user and computer
- G06F3/048—Interaction techniques based on graphical user interfaces [GUI]
- G06F3/0487—Interaction techniques based on graphical user interfaces [GUI] using specific features provided by the input device, e.g. functions controlled by the rotation of a mouse with dual sensing arrangements, or of the nature of the input device, e.g. tap gestures based on pressure sensed by a digitiser
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)
- User Interface Of Digital Computer (AREA)
Abstract
The problem of the present invention provides a kind of picture editing method and terminal device, how solution is edited picture using the bent characteristic of flexible screen, such as is cut, addition text edit operation, and there is presently no preferable implementations.Picture editing method of the invention includes: after entering the editing interface for executing default edit operation to Target Photo, if detecting, the first deformation occurs for flexible screen, obtains the flexible screen and the first bending information after the first deformation occurs;According to the first bending information, the default edit operation is executed.The embodiment of the present invention realizes the purpose for quickly and accurately carrying out edit operation to Target Photo in conjunction with the bent characteristic of flexible screen.
Description
Technical field
The present invention relates to the technical field of communications applications more particularly to a kind of picture editing methods and terminal device.
Background technique
Mobile phone with flexible screen also excites in feature operation other than assigning the new aesthetic feeling of mobile phone in appearance
The unlimited imagination.Nowadays, the further investigation with screen production firm on this theme, the degree of screen-bending is increasingly
Greatly, there is folding screen, screen can also keep certain posture after bending, and have restorable ability.
Picture editor is the function that people are commonly used on mobile phone, and people can cut out picture after taking pictures
It cuts, beautifies, the operation such as addition text is shared again after compiling oneself desired pattern, but picture editor's operation of the prior art
Method is comparatively laborious, is unfavorable for ordinary user using grasping, how to be carried out using the bent characteristic of flexible screen to picture
Editor, such as: it cuts, addition text edit operation, there is presently no preferable implementations.
Summary of the invention
The embodiment of the present invention provides a kind of picture editing method and terminal device, using the characteristic that flexible screen is bent
Edit operation quickly and accurately is carried out to picture.
In order to solve the above-mentioned technical problem, the present invention is implemented as follows:
In a first aspect, being set the embodiment of the invention provides a kind of picture editing method applied to the terminal for including flexible screen
It is standby, comprising:
After entering the editing interface for executing default edit operation to Target Photo, if detecting, the first shape occurs for flexible screen
Become, then obtains the flexible screen and the first bending information after the first deformation occurs;
According to the first bending information, the default edit operation is executed.
Second aspect, the embodiment of the invention also provides a kind of terminal device, the terminal device includes flexible screen, is also wrapped
It includes:
First obtains module, for after entering the editing interface for executing default edit operation to Target Photo, if detection
The first deformation occurs to flexible screen, then obtains the flexible screen and the first bending information after the first deformation occurs;
Editor module, for executing the default edit operation according to the first bending information.
The third aspect the embodiment of the invention also provides a kind of terminal device, including processor, memory and is stored in institute
The computer program that can be run on memory and on the processor is stated, when the computer program is executed by the processor
The step of realizing picture editing method as described above.
Fourth aspect, it is described computer-readable to deposit the embodiment of the invention also provides a kind of computer readable storage medium
Computer program is stored on storage media, the computer program realizes picture editing method as described above when being executed by processor
The step of.
The embodiment of the present invention has the advantages that
The above-mentioned technical proposal of the embodiment of the present invention is entering the editing interface that default edit operation is executed to Target Photo
Afterwards, if detecting, the first deformation occurs for flexible screen, obtains the flexible screen and the first bending information after the first deformation occurs;Root
According to the first bending information, the default edit operation is executed, realizes the characteristic for combining flexible screen bent quickly and accurately
The purpose of edit operation is carried out to Target Photo.
Detailed description of the invention
Fig. 1 is the flow diagram of the picture editing method of the embodiment of the present invention;
Fig. 2 is the first schematic diagram that Target Photo is cut in the embodiment of the present invention;
Fig. 3 is the second schematic diagram that Target Photo is cut in the embodiment of the present invention;
Fig. 4 is the subregion schematic diagram of flexible screen when adding text information in the embodiment of the present invention in Target Photo;
Fig. 5 is one of the module diagram of terminal device provided in an embodiment of the present invention;
Fig. 6 is the two of the module diagram of terminal device provided in an embodiment of the present invention;
Fig. 7 is the structural block diagram of terminal device provided in an embodiment of the present invention.
Specific embodiment
Following will be combined with the drawings in the embodiments of the present invention, and technical solution in the embodiment of the present invention carries out clear, complete
Site preparation description, it is clear that described embodiments are some of the embodiments of the present invention, instead of all the embodiments.Based on this hair
Embodiment in bright, every other implementation obtained by those of ordinary skill in the art without making creative efforts
Example, shall fall within the protection scope of the present invention.
As shown in Figure 1, being the flow diagram of picture editing method provided in an embodiment of the present invention.It should scheme below specific
Illustrate the implementation process of this method.
It should be noted that the embodiment of the present invention provides a kind of picture editing method, it is applied to terminal device, the terminal
Equipment includes flexible screen, which has bent characteristic.
Wherein, which may comprise steps of:
Step 101: terminal device is after entering the editing interface for executing default edit operation to Target Photo, if detecting
First deformation occurs for flexible screen, then obtains the flexible screen and the first bending information after the first deformation occurs.
The default edit operation can be picture trimming operation or add text information in picture.First bending
Information may particularly include the first bending angle angle value and the first crooked place.
For example, entering the editing interface for executing trimming operation to Target Photo after target approach chart piece cutting mode
Afterwards, starting detection flexible screen, whether deformation occurs.
Alternatively, being detected on Target Photo after entering the editing interface for executing addition text information to Target Photo
After adding text box, starting detection flexible screen, whether deformation occurs.
Step 102: terminal device executes the default edit operation according to the first bending information.
For example, when being cut to picture, into cutting mode after can show four edges frame, Yong Huyong in picture surrounding
Hand drags frame, can fall the content clip outside frame.Finger drags a fine frame, is the fine operation of comparison, right
The requirement of finger flexibility ratio is also relatively high, once " mistake " or " too late ", requires to re-start dragging, the also band of adjustment repeatedly
Carry out feeling of fatigue.And the extra part of picture is cropped according to above-mentioned first bending information, bending screen available mostly finger or palm
Cooperation is operated, and gesture is freer, and fineness wants much lower relative to the drag operation singly referred to, and operates and be also not easy repeatedly
Fatigue.
In another example text input is needed using keyboard, and input keyboard can occupy when adding text information in picture at present
Fall the screen space of part, the mode of operation for adding text mainstream at present is that a text box is first added on picture, clicks text
This frame recalls keyboard, inputs text using keyboard, just by text importing into text box after confirmation.In the process of input text
In, user can not check the overall picture of picture, cannot observe display effect of the text of input on picture in real time.And according to above-mentioned
Information is bent when executing text addition operation, can be separated keyboard with picture by bending screen, screen is punished from bending
For two regions, one of region shows complete picture (with text box and text preview), another region shows defeated
Enter keyboard, to realize that editor is synchronous with preview.
The picture editing method of the embodiment of the present invention is entering the editing interface that default edit operation is executed to Target Photo
Afterwards, if detecting, the first deformation occurs for flexible screen, obtains the flexible screen and the first bending information after the first deformation occurs;Root
According to the first bending information, the default edit operation is executed, realizes the characteristic for combining flexible screen bent quickly and accurately
The purpose of edit operation is carried out to Target Photo.
Further, above-mentioned first bending information includes: the first bending angle angle value and the first crooked place, is based on this, on
Step 102 terminal device is stated according to the first bending information, executes the default edit operation, comprising:
Terminal device judges whether the first bending angle angle value is greater than the first predetermined angle threshold value.
First predetermined angle threshold value can be set according to the demand of user, be not specifically limited herein.
Terminal device is in the case where the first bending angle angle value is greater than first predetermined angle threshold value, according to described
First crooked place carries out region division processing to the flexible screen, and according to the flexible screen after region division to the target figure
Piece executes default edit operation.
In the embodiment of the present invention, in the case where the first bending angle angle value is greater than first predetermined angle threshold value, according to
First crooked place carries out region division processing to flexible screen, and is held according to the flexible screen after region division to the Target Photo
The default edit operation of row.For example, being marked off in flexible screen to clipping region according to the first crooked place, or flexible screen is drawn
It is divided into two regions, displaying target picture and text preview frame, show defeated in another region in a wherein region
Enter method keyboard, realizes that editor is synchronous with preview.
Further, to Target Photo execute trimming operation when, it is above-mentioned according to first crooked place to described soft
Property screen carry out region division processing, and default edit operation is executed to the Target Photo according to the flexible screen after region division,
Include:
Terminal device determines the first folding line corresponding to first crooked place and the Target Photo edge
Intersection point number.
The first folding line in the embodiment of the present invention can be specially straight line.Specifically, judge the first crooked place for
The intersection point number on four sides of the first folding line and Target Photo.
Terminal device is in the case where the intersection point number is greater than or equal to default intersection point number, according to the Target Photo
Vertex and first folding line, in the picture display area of the flexible screen, determine to clipping region.
Here, above-mentioned default intersection point number is specially the integer for being more than or equal to 2.If the first folding line and Target Photo
Four side intersection point numbers be 0 or 1, then show not folding to picture display area, regard user bending flexible screen operation be invalid
Operation, does not execute trimming operation, and continues to monitor whether flexible screen deforms;If four of the first folding line and Target Photo
The intersection point number on side is infinity, then shows that the first folding line is overlapped with a line of Target Photo;If the first folding line and mesh
Mark on a map piece four sides intersection point number be 2, then show to have folded to picture display area, then execute trimming operation.
Terminal device carries out cutting processing to the corresponding image content in clipping region in the picture display area, obtains
Target Photo after cutting.
In a specific embodiment of the invention, user bends a part of flexible screen, and another part of flexible screen is protected
Hold it is constant so that deformation occurs for flexible screen.When executing specific trimming operation, as shown in Fig. 2, in the part screen rolled over
On, from the vertex of former Target Photo, make the vertical line of the first folding line into Target Photo, is bent with the vertical line and first
New summit of the intersection point of line as the Target Photo after cutting, the part except this vertex is cut.
Optionally, as shown in figure 3, datum mark can be also chosen for the first folding line and Target Photo (or flexible screen) four
In the intersection point on side, that nearest intersection point of the central point on side where ion-exchange point.
In concrete application scene, user can choose cutting method shown in Fig. 2 or cutting side shown in Fig. 3 according to demand
Formula.
For picture clipping function, the embodiment of the present invention will need the touch screen of accurate operation to drag cutting method, be converted to
The extensive folding mode that conjunction can more be assigned alleviates user's operation burden, and based on " one-pass molding " feature for folding gimmick
(dragging the gimmick of lines on the screen, have dragging track, be not " one-pass molding "), devises reasonable trimming algorithm, passes through
Algorithm contains the possible error of extensive folding operation, and can guarantee has identical cutting effect with former cutting method.
Further, to Target Photo execute text addition operation when, it is above-mentioned according to first crooked place to institute
It states flexible screen and carries out region division processing, and default editor behaviour is executed to the Target Photo according to the flexible screen after region division
Make, comprising:
Vertex and first crooked place corresponding first folding line of the terminal device according to the flexible screen, will be described
The display area of flexible screen is divided into the first display area and the second display area, and the area of first display area is greater than institute
State the area of the second display area;
Terminal device shows the Target Photo and text preview frame in first display area, aobvious described second
Show display input method keyboard in region.
In a specific embodiment of the invention, user bends a part of flexible screen, and another part of flexible screen is protected
Hold it is constant so that deformation occurs for flexible screen.When executing specific text addition operation, as shown in figure 4, in that portion being bent
On sub-screen, from the vertex of flexible screen, the vertical line of the first folding line is done into screen, with the friendship of vertical line and the first folding line
Datum mark of the point as subregion, screens into two parts, e.g., passes through straight parallel with the short side of flexible screen of datum mark work
Line, area larger portion show complete Target Photo and text preview frame, the display input of area small portion
Method keyboard.
It adds and operates for text, the embodiment of the present invention realizes point of input method and picture using folding screen operation
Area, and reasonable partitioning algorithm is devised, allow user's live preview text additive effect when inputting text.
Further, the terminal device is according to the first bending information, after executing the default edit operation, also
Include:
Terminal device obtains the flexible screen and occurs second in the case where detecting that the second deformation occurs for the flexible screen
The second bending information after deformation, the second bending information includes the second bending angle angle value and the second crooked place;
Terminal device is in the case where the second bending angle angle value is greater than the second predetermined angle threshold value, according to the flexibility
The vertex of screen, corresponding second folding line of second crooked place, are divided into third for the display area of the flexible screen and show
Show region and the 4th display area, the area of the third display area is greater than the area of the 4th display area;
Terminal device shows the Target Photo executed after default edit operation in the third display area, described
The Target Photo before executing default edit operation is shown in 4th display area.
In the embodiment of the present invention, after having executed default edit operation, terminal device continues to monitor whether flexible screen is sent out
Raw deformation obtains the second bending information after monitoring that the second deformation occurs for flexible screen, and is greater than the in the second bending angle angle value
In the case where two predetermined angle threshold values, according to the vertex of the flexible screen, corresponding second folding line of second crooked place,
Multidomain treat-ment is carried out to flexible screen.Concrete operation method is similar with above-mentioned cutting method and text addition manner.In that rolled over
On part of screen, from the vertex of flexible screen, make the vertical line of the second folding line into screen, with the vertical line and described second
Flexible screen is divided into two parts by datum mark of the intersection point of folding line as subregion, e.g., is made by the datum mark short with flexible screen
The parallel straight line in side, area larger portion show edited picture, and area small portion shows original image.
Further, the terminal device shows the mesh executed after default edit operation in the third display area
It marks on a map piece, after showing the Target Photo before executing default edit operation in the 4th display area, further includes:
Terminal device is detecting that third deformation occurs for the flexible screen, and the corresponding overbending direction of the third deformation with
In the case that the corresponding overbending direction of second deformation is opposite, obtains the flexible screen and the third bending after third deformation occurs
Angle value;
Terminal device is in the case where the third bending angle angle value is greater than third predetermined angle threshold value, in the flexible screen
The Target Photo executed after default edit operation is shown in corresponding display area.
Here, terminal device monitor with former overbending direction it is reversed when evaluating by exhibit operation, obtain third bending angle angle value,
And when third bending angle angle value reaches preset threshold, subregion is reduced to a complete region, shows edited picture.
For example, the second shape becomes the first part for bending flexible screen towards first direction, third shape becomes bending flexible screen towards second direction
First part, first direction and second direction are opposite direction, and the bending angle angle value of third deformation reaches preset threshold,
Subregion is then reduced to a complete region.
It is checked for edited comparison, the present invention realizes picture and original picture after editor using folding screen operation
Subregion, and devise reasonable partitioning algorithm allows user after executive editor's operation, conveniently and efficiently to edit effect into
Row comparison is checked, and can conveniently and efficiently restore editing mode after the completion of checking.
The picture editing method of the embodiment of the present invention is entering the editing interface that default edit operation is executed to Target Photo
Afterwards, if detecting, the first deformation occurs for flexible screen, obtains the flexible screen and the first bending information after the first deformation occurs;Root
According to the first bending information, the default edit operation is executed, realizes the characteristic for combining flexible screen bent quickly and accurately
The purpose of edit operation is carried out to Target Photo, and optimizes picture editor's operation.
As shown in figure 5, the embodiments of the present invention also provide a kind of terminal device 500, including flexible screen, further include:
First obtains module 501, for after entering the editing interface for executing default edit operation to Target Photo, if inspection
It measures flexible screen and the first deformation occurs, then obtain the flexible screen and the first bending information after the first deformation occurs;
Editor module 502, for executing the default edit operation according to the first bending information.
The terminal device of the embodiment of the present invention, the first bending information include: the first bending angle angle value and the first bending
Position;
As shown in fig. 6, the editor module 502 includes:
Judging submodule 5021, for judging whether the first bending angle angle value is greater than the first predetermined angle threshold value;
Submodule 5022 is edited, for the case where the first bending angle angle value is greater than first predetermined angle threshold value
Under, region division processing is carried out to the flexible screen according to first crooked place, and according to the flexible screen after region division
Default edit operation is executed to the Target Photo.
The terminal device of the embodiment of the present invention, editor's submodule 5022 include:
First determination unit 50221, for determining the first folding line corresponding to first crooked place and the mesh
It marks on a map the intersection point number of piece edge;
Second determination unit 50222 is used in the case where the intersection point number is greater than or equal to default intersection point number, root
Vertex and first folding line according to the Target Photo determine in the picture display area of the flexible screen wait cut
Region;
Third determination unit 50223, for in the picture display area to the corresponding image content in clipping region into
Row cutting processing, the Target Photo after being cut.
The terminal device of the embodiment of the present invention, editor's submodule 5022 include:
Division unit 50224, for corresponding first curved according to the vertex of the flexible screen and first crooked place
The display area of the flexible screen is divided into the first display area and the second display area, first display area by broken line
Area be greater than second display area area;
Display unit 50225, for showing the Target Photo and text preview frame in first display area,
Display input method keyboard in second display area.
The terminal device of the embodiment of the present invention, further includes:
Second obtains module 503, for according to the first bending information, executed described the default edit operation it
Afterwards, in the case where detecting that the second deformation occurs for the flexible screen, obtain the flexible screen occur after the second deformation second
Information is bent, the second bending information includes the second bending angle angle value and the second crooked place;
Division module 504 is used in the case where the second bending angle angle value is greater than the second predetermined angle threshold value, according to
The vertex of the flexible screen, corresponding second folding line of second crooked place divide the display area of the flexible screen
For third display area and the 4th display area, the area of the third display area is greater than the face of the 4th display area
Product;
First display module 505, for showing the mesh after executing default edit operation in the third display area
It marks on a map piece, the Target Photo before executing default edit operation is shown in the 4th display area.
The terminal device of the embodiment of the present invention, further includes:
Third obtains module 506, and for detecting the flexible screen generation third deformation, and the third deformation is corresponding
Overbending direction overbending direction corresponding with second deformation it is opposite in the case where, obtain the flexible screen and third deformation occur
Third bending angle angle value afterwards;
Second display module 507 is used in the case where the third bending angle angle value is greater than third predetermined angle threshold value,
The Target Photo executed after default edit operation is shown in the corresponding display area of the flexible screen.
The terminal device of the embodiment of the present invention, after entering the editing interface for executing default edit operation to Target Photo,
If detecting, the first deformation occurs for flexible screen, obtains the flexible screen and the first bending information after the first deformation occurs;According to
The first bending information, executes the default edit operation, realizes that the characteristic for combining flexible screen bent is quickly and accurately right
The purpose of Target Photo progress edit operation.
A kind of hardware structural diagram of Fig. 7 terminal of each embodiment to realize the present invention, the terminal 700 include but not
It is limited to: radio frequency unit 701, network module 702, audio output unit 703, input unit 704, sensor 705, display unit
706, the components such as user input unit 707, interface unit 708, memory 709, processor 710 and power supply 711.This field
Technical staff is appreciated that the restriction of the not structure paired terminal of terminal structure shown in Fig. 7, and terminal may include than illustrating more
More or less component perhaps combines certain components or different component layouts.In embodiments of the present invention, terminal includes
But be not limited to mobile phone, tablet computer, laptop, palm PC, car-mounted terminal, wearable device and pedometer etc..
Wherein, processor 710, for after entering the editing interface for executing default edit operation to Target Photo, if inspection
It measures flexible screen and the first deformation occurs, then obtain the flexible screen and the first bending information after the first deformation occurs;
According to the first bending information, the default edit operation is executed.
The processor can be realized each process of above-mentioned picture editing method embodiment, and can reach identical technology effect
Fruit, to avoid repeating, which is not described herein again.
The above-mentioned technical proposal of the embodiment of the present invention is entering the editing interface that default edit operation is executed to Target Photo
Afterwards, if detecting, the first deformation occurs for flexible screen, obtains the flexible screen and the first bending information after the first deformation occurs;Root
According to the first bending information, the default edit operation is executed, realizes the characteristic for combining flexible screen bent quickly and accurately
The purpose of edit operation is carried out to Target Photo.
It should be understood that the embodiment of the present invention in, radio frequency unit 701 can be used for receiving and sending messages or communication process in, signal
Send and receive, specifically, by from base station downlink data receive after, to processor 710 handle;In addition, by uplink
Data are sent to base station.In general, radio frequency unit 701 includes but is not limited to antenna, at least one amplifier, transceiver, coupling
Device, low-noise amplifier, duplexer etc..In addition, radio frequency unit 701 can also by wireless communication system and network and other set
Standby communication.
Terminal provides wireless broadband internet by network module 702 for user and accesses, and such as user is helped to receive and dispatch electricity
Sub- mail, browsing webpage and access streaming video etc..
Audio output unit 703 can be received by radio frequency unit 701 or network module 702 or in memory 709
The audio data of storage is converted into audio signal and exports to be sound.Moreover, audio output unit 703 can also provide and end
The relevant audio output of specific function (for example, call signal receives sound, message sink sound etc.) that end 700 executes.Sound
Frequency output unit 703 includes loudspeaker, buzzer and receiver etc..
Input unit 704 is for receiving audio or video signal.Input unit 704 may include graphics processor
(Graphics Processing Unit, GPU) 7041 and microphone 7042, graphics processor 7041 is in video acquisition mode
Or the image data of the static images or video obtained in image capture mode by image capture apparatus (such as camera) carries out
Reason.Treated, and picture frame may be displayed on display unit 706.Through graphics processor 7041, treated that picture frame can be deposited
Storage is sent in memory 709 (or other storage mediums) or via radio frequency unit 701 or network module 702.Mike
Wind 7042 can receive sound, and can be audio data by such acoustic processing.Treated audio data can be
The format output that mobile communication base station can be sent to via radio frequency unit 701 is converted in the case where telephone calling model.
Terminal 700 further includes at least one sensor 705, such as optical sensor, motion sensor and other sensors.
Specifically, optical sensor includes ambient light sensor and proximity sensor, wherein ambient light sensor can be according to ambient light
Light and shade adjusts the brightness of display panel 7061, and proximity sensor can close display panel when terminal 700 is moved in one's ear
7061 and/or backlight.As a kind of motion sensor, accelerometer sensor can detect in all directions (generally three axis) and add
The size of speed can detect that size and the direction of gravity when static, can be used to identify terminal posture (such as horizontal/vertical screen switching,
Dependent game, magnetometer pose calibrating), Vibration identification correlation function (such as pedometer, tap) etc.;Sensor 705 can be with
Including fingerprint sensor, pressure sensor, iris sensor, molecule sensor, gyroscope, barometer, hygrometer, thermometer,
Infrared sensor etc., details are not described herein.
Display unit 706 is for showing information input by user or being supplied to the information of user.Display unit 706 can wrap
Display panel 7061 is included, liquid crystal display (Liquid Crystal Display, LCD), Organic Light Emitting Diode can be used
Forms such as (Organic Light-Emitting Diode, OLED) configure display panel 7061.
User input unit 707 can be used for receiving the number or character information of input, and generates and set with the user of terminal
It sets and the related key signals of function control inputs.Specifically, user input unit 707 include touch panel 7071 and other
Input equipment 7072.Touch panel 7071, also referred to as touch screen, collect user on it or nearby touch operation (such as
User is using any suitable objects or attachment such as finger, stylus on touch panel 7071 or near touch panel 7071
Operation).Touch panel 7071 may include both touch detecting apparatus and touch controller.Wherein, touch detecting apparatus is examined
The touch orientation of user is surveyed, and detects touch operation bring signal, transmits a signal to touch controller;Touch controller from
Touch information is received on touch detecting apparatus, and is converted into contact coordinate, then gives processor 710, receives processor 710
The order sent simultaneously is executed.Furthermore, it is possible to using multiple types such as resistance-type, condenser type, infrared ray and surface acoustic waves
Realize touch panel 7071.In addition to touch panel 7071, user input unit 707 can also include other input equipments 7072.
Specifically, other input equipments 7072 can include but is not limited to physical keyboard, function key (such as volume control button, switch
Key etc.), trace ball, mouse, operating stick, details are not described herein.
Further, touch panel 7071 can be covered on display panel 7061, when touch panel 7071 is detected at it
On or near touch operation after, send processor 710 to determine the type of touch event, be followed by subsequent processing device 710 according to touching
The type for touching event provides corresponding visual output on display panel 7061.Although in Fig. 7, touch panel 7071 and display
Panel 7061 is the function that outputs and inputs of realizing terminal as two independent components, but in certain embodiments, it can
The function that outputs and inputs of terminal is realized so that touch panel 7071 and display panel 7061 is integrated, is not limited herein specifically
It is fixed.
Interface unit 708 is the interface that external device (ED) is connect with terminal 700.For example, external device (ED) may include it is wired or
Wireless head-band earphone port, external power supply (or battery charger) port, wired or wireless data port, memory card port,
For connecting port, the port audio input/output (I/O), video i/o port, ear port of the device with identification module
Etc..Interface unit 708 can be used for receiving the input (for example, data information, electric power etc.) from external device (ED) and will
One or more elements that the input received is transferred in terminal 700 or can be used for terminal 700 and external device (ED) it
Between transmit data.
Memory 709 can be used for storing software program and various data.Memory 709 can mainly include storing program area
The storage data area and, wherein storing program area can (such as the sound of application program needed for storage program area, at least one function
Sound playing function, image player function etc.) etc.;Storage data area can store according to mobile phone use created data (such as
Audio data, phone directory etc.) etc..In addition, memory 709 may include high-speed random access memory, it can also include non-easy
The property lost memory, a for example, at least disk memory, flush memory device or other volatile solid-state parts.
Processor 710 is the control centre of terminal, using the various pieces of various interfaces and the entire terminal of connection, is led to
It crosses operation or executes the software program and/or module being stored in memory 709, and call and be stored in memory 709
Data execute the various functions and processing data of terminal, to carry out integral monitoring to terminal.Processor 710 may include one
Or multiple processing units;Preferably, processor 710 can integrate application processor and modem processor, wherein application processing
The main processing operation system of device, user interface and application program etc., modem processor mainly handles wireless communication.It can manage
Solution, above-mentioned modem processor can not also be integrated into processor 710.
Terminal 700 can also include the power supply 711 (such as battery) powered to all parts, it is preferred that power supply 711 can be with
It is logically contiguous by power-supply management system and processor 710, thus by power-supply management system realize management charging, electric discharge, with
And the functions such as power managed.
In addition, terminal 700 includes some unshowned functional modules, details are not described herein.
Preferably, the embodiment of the present invention also provides a kind of terminal, including processor, and memory stores on a memory simultaneously
The computer program that can be run on the processor, the computer program realize above-mentioned picture editor side when being executed by processor
Each process of method embodiment, and identical technical effect can be reached, to avoid repeating, which is not described herein again.
The embodiment of the present invention also provides a kind of computer readable storage medium, and meter is stored on computer readable storage medium
Calculation machine program, the computer program realize each process of above-mentioned picture editing method embodiment, and energy when being executed by processor
Reach identical technical effect, to avoid repeating, which is not described herein again.Wherein, the computer readable storage medium, such as only
Read memory (Read-Only Memory, abbreviation ROM), random access memory (Random Access Memory, abbreviation
RAM), magnetic or disk etc..
It should be noted that, in this document, the terms "include", "comprise" or its any other variant are intended to non-row
His property includes, so that the process, method, article or the device that include a series of elements not only include those elements, and
And further include other elements that are not explicitly listed, or further include for this process, method, article or device institute it is intrinsic
Element.In the absence of more restrictions, the element limited by sentence "including a ...", it is not excluded that including being somebody's turn to do
There is also other identical elements in the process, method of element, article or device.
Through the above description of the embodiments, those skilled in the art can be understood that above-described embodiment side
Method can be realized by means of software and necessary general hardware platform, naturally it is also possible to by hardware, but in many cases
The former is more preferably embodiment.Based on this understanding, technical solution of the present invention substantially in other words does the prior art
The part contributed out can be embodied in the form of software products, which is stored in a storage medium
In (such as ROM/RAM, magnetic disk, CD), including some instructions are used so that a terminal (can be mobile phone, computer, service
Device, air conditioner or network equipment etc.) execute method described in each embodiment of the present invention.
The embodiment of the present invention is described with above attached drawing, but the invention is not limited to above-mentioned specific
Embodiment, the above mentioned embodiment is only schematical, rather than restrictive, those skilled in the art
Under the inspiration of the present invention, without breaking away from the scope protected by the purposes and claims of the present invention, it can also make very much
Form belongs within protection of the invention.
Claims (13)
1. a kind of picture editing method, applied to the terminal device including flexible screen characterized by comprising
After entering the editing interface for executing default edit operation to Target Photo, if detecting, the first deformation occurs for flexible screen,
It then obtains the flexible screen and the first bending information after the first deformation occurs;
According to the first bending information, the default edit operation is executed.
2. picture editing method according to claim 1, which is characterized in that the first bending information includes: first curved
Dog-ear angle value and the first crooked place;
It is described to bend information according to described first, execute the default edit operation, comprising:
Judge whether the first bending angle angle value is greater than the first predetermined angle threshold value;
In the case where the first bending angle angle value is greater than first predetermined angle threshold value, according to first crooked place
Region division processing is carried out to the flexible screen, and default compile is executed to the Target Photo according to the flexible screen after region division
Collect operation.
3. picture editing method according to claim 2, which is characterized in that it is described according to first crooked place to institute
It states flexible screen and carries out region division processing, and default editor behaviour is executed to the Target Photo according to the flexible screen after region division
Make, comprising:
Determine the intersection point number of the first folding line corresponding to first crooked place Yu the Target Photo edge;
In the case where the intersection point number is greater than or equal to default intersection point number, according to the vertex of the Target Photo and described
First folding line determines in the picture display area of the flexible screen to clipping region;
Cutting processing is carried out to the corresponding image content in clipping region in the picture display area, the target after being cut
Picture.
4. picture editing method according to claim 2, which is characterized in that it is described according to first crooked place to institute
It states flexible screen and carries out region division processing, and default editor behaviour is executed to the Target Photo according to the flexible screen after region division
Make, comprising:
According to the vertex of the flexible screen and corresponding first folding line of first crooked place, by the display of the flexible screen
Region division is the first display area and the second display area, and the area of first display area is greater than second viewing area
The area in domain;
The Target Photo and text preview frame are shown in first display area, are shown in second display area
Entering method keyboard.
5. picture editing method according to claim 1, which is characterized in that it is described according to the first bending information, it holds
After the row default edit operation, further includes:
In the case where detecting that the second deformation occurs for the flexible screen, obtain the flexible screen occur after the second deformation second
Information is bent, the second bending information includes the second bending angle angle value and the second crooked place;
In the case where the second bending angle angle value is greater than the second predetermined angle threshold value, according to the vertex of the flexible screen, institute
Corresponding second folding line of the second crooked place is stated, the display area of the flexible screen is divided into third display area and the 4th
Display area, the area of the third display area are greater than the area of the 4th display area;
The Target Photo executed after default edit operation is shown in the third display area, in the 4th display area
Middle display executes the Target Photo before default edit operation.
6. picture editing method according to claim 5, which is characterized in that described to be shown in the third display area
The Target Photo after default edit operation is executed, before showing that edit operation is preset in execution in the 4th display area
After Target Photo, further includes:
Detecting the flexible screen generation third deformation, and the corresponding overbending direction of the third deformation and second deformation
In the case that corresponding overbending direction is opposite, obtains the flexible screen and the third bending angle angle value after third deformation occurs;
In the case where the third bending angle angle value is greater than third predetermined angle threshold value, in the corresponding viewing area of the flexible screen
The Target Photo executed after default edit operation is shown in domain.
7. a kind of terminal device, the terminal device includes flexible screen, which is characterized in that further include:
First obtains module, for after entering the editing interface for executing default edit operation to Target Photo, if detecting soft
Property screen the first deformation occurs, then obtain the flexible screen and the first bending information after the first deformation occur;
Editor module, for executing the default edit operation according to the first bending information.
8. terminal device according to claim 7, which is characterized in that the first bending information includes: the first bending angle
Angle value and the first crooked place;
The editor module includes:
Judging submodule, for judging whether the first bending angle angle value is greater than the first predetermined angle threshold value;
Submodule is edited, is used in the case where the first bending angle angle value is greater than first predetermined angle threshold value, according to
First crooked place carries out region division processing to the flexible screen, and according to the flexible screen after region division to the mesh
Piece of marking on a map executes default edit operation.
9. terminal device according to claim 8, which is characterized in that editor's submodule includes:
First determination unit, for determining the first folding line corresponding to first crooked place and the Target Photo surrounding
The intersection point number at edge;
Second determination unit is used in the case where the intersection point number is greater than or equal to default intersection point number, according to the mesh
Mark on a map piece vertex and first folding line, in the picture display area of the flexible screen, determine to clipping region;
Third determination unit, for being carried out at cutting in the picture display area to the corresponding image content in clipping region
Reason, the Target Photo after being cut.
10. terminal device according to claim 8, which is characterized in that editor's submodule includes:
Division unit, for according to the flexible screen vertex and corresponding first folding line of first crooked place, by institute
The display area for stating flexible screen is divided into the first display area and the second display area, and the area of first display area is greater than
The area of second display area;
Display unit, for showing the Target Photo and text preview frame in first display area, described second
Display input method keyboard in display area.
11. terminal device according to claim 7, which is characterized in that further include:
Second obtains module, for being examined after executing the default edit operation described according to the first bending information
In the case where measuring the second deformation of the flexible screen generation, obtains the flexible screen and the second bending letter after the second deformation occurs
Breath, the second bending information includes the second bending angle angle value and the second crooked place;
Division module is used in the case where the second bending angle angle value is greater than the second predetermined angle threshold value, according to described soft
The vertex of property screen, corresponding second folding line of second crooked place, are divided into third for the display area of the flexible screen
Display area and the 4th display area, the area of the third display area are greater than the area of the 4th display area;
First display module, for showing the Target Photo after executing default edit operation in the third display area,
The Target Photo before executing default edit operation is shown in the 4th display area.
12. terminal device according to claim 11, which is characterized in that further include:
Third obtains module, for detecting the flexible screen generation third deformation, and the corresponding bending of the third deformation
In the case that direction overbending direction corresponding with second deformation is opposite, obtain the flexible screen occur after third deformation the
Three bending angle angle value;
Second display module is used in the case where the third bending angle angle value is greater than third predetermined angle threshold value, described
The Target Photo executed after default edit operation is shown in the corresponding display area of flexible screen.
13. a kind of terminal device, which is characterized in that including processor, memory and be stored on the memory and can be in institute
The computer program run on processor is stated, such as claim 1 to 6 is realized when the computer program is executed by the processor
Any one of described in picture editing method the step of.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201811398181.2A CN109542314A (en) | 2018-11-22 | 2018-11-22 | A kind of picture editing method and terminal device |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201811398181.2A CN109542314A (en) | 2018-11-22 | 2018-11-22 | A kind of picture editing method and terminal device |
Publications (1)
Publication Number | Publication Date |
---|---|
CN109542314A true CN109542314A (en) | 2019-03-29 |
Family
ID=65849368
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201811398181.2A Pending CN109542314A (en) | 2018-11-22 | 2018-11-22 | A kind of picture editing method and terminal device |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN109542314A (en) |
Cited By (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN110413167A (en) * | 2019-07-19 | 2019-11-05 | 珠海格力电器股份有限公司 | Screen capturing method of terminal equipment and terminal equipment |
CN110531907A (en) * | 2019-08-30 | 2019-12-03 | 维沃移动通信有限公司 | A kind of picture editing method and terminal device |
CN111028686A (en) * | 2019-12-13 | 2020-04-17 | 维沃移动通信有限公司 | Image processing method, image processing apparatus, electronic device, and medium |
CN111338555A (en) * | 2020-02-19 | 2020-06-26 | 上海闻泰电子科技有限公司 | Method, device, equipment and storage medium for realizing input through virtual keyboard |
CN111443855A (en) * | 2020-04-07 | 2020-07-24 | 维沃移动通信有限公司 | Image processing method and electronic equipment |
CN111953902A (en) * | 2020-08-12 | 2020-11-17 | 维沃移动通信有限公司 | Image processing method and device |
Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20140149907A1 (en) * | 2012-11-28 | 2014-05-29 | Samsung Display Co., Ltd. | Terminal and method for operating the same |
CN107577401A (en) * | 2017-08-31 | 2018-01-12 | 维沃移动通信有限公司 | A kind of image processing method and mobile terminal |
CN107623763A (en) * | 2017-10-19 | 2018-01-23 | 广东欧珀移动通信有限公司 | The method and apparatus for editing image |
CN107678724A (en) * | 2017-10-19 | 2018-02-09 | 广东欧珀移动通信有限公司 | A kind of method for information display, device, mobile terminal and storage medium |
CN108182031A (en) * | 2017-12-28 | 2018-06-19 | 努比亚技术有限公司 | A kind of photographic method, terminal and computer readable storage medium |
CN108646960A (en) * | 2018-04-25 | 2018-10-12 | 维沃移动通信有限公司 | A kind of document handling method and flexible screen terminal |
-
2018
- 2018-11-22 CN CN201811398181.2A patent/CN109542314A/en active Pending
Patent Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20140149907A1 (en) * | 2012-11-28 | 2014-05-29 | Samsung Display Co., Ltd. | Terminal and method for operating the same |
CN107577401A (en) * | 2017-08-31 | 2018-01-12 | 维沃移动通信有限公司 | A kind of image processing method and mobile terminal |
CN107623763A (en) * | 2017-10-19 | 2018-01-23 | 广东欧珀移动通信有限公司 | The method and apparatus for editing image |
CN107678724A (en) * | 2017-10-19 | 2018-02-09 | 广东欧珀移动通信有限公司 | A kind of method for information display, device, mobile terminal and storage medium |
CN108182031A (en) * | 2017-12-28 | 2018-06-19 | 努比亚技术有限公司 | A kind of photographic method, terminal and computer readable storage medium |
CN108646960A (en) * | 2018-04-25 | 2018-10-12 | 维沃移动通信有限公司 | A kind of document handling method and flexible screen terminal |
Cited By (10)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN110413167A (en) * | 2019-07-19 | 2019-11-05 | 珠海格力电器股份有限公司 | Screen capturing method of terminal equipment and terminal equipment |
CN110413167B (en) * | 2019-07-19 | 2021-07-13 | 珠海格力电器股份有限公司 | Screen capturing method of terminal equipment and terminal equipment |
CN110531907A (en) * | 2019-08-30 | 2019-12-03 | 维沃移动通信有限公司 | A kind of picture editing method and terminal device |
CN111028686A (en) * | 2019-12-13 | 2020-04-17 | 维沃移动通信有限公司 | Image processing method, image processing apparatus, electronic device, and medium |
CN111028686B (en) * | 2019-12-13 | 2021-09-24 | 维沃移动通信有限公司 | Image processing method, image processing apparatus, electronic device, and medium |
CN111338555A (en) * | 2020-02-19 | 2020-06-26 | 上海闻泰电子科技有限公司 | Method, device, equipment and storage medium for realizing input through virtual keyboard |
CN111338555B (en) * | 2020-02-19 | 2022-03-15 | 昆明闻泰通讯有限公司 | Method, device, equipment and storage medium for realizing input through virtual keyboard |
CN111443855A (en) * | 2020-04-07 | 2020-07-24 | 维沃移动通信有限公司 | Image processing method and electronic equipment |
CN111953902A (en) * | 2020-08-12 | 2020-11-17 | 维沃移动通信有限公司 | Image processing method and device |
CN111953902B (en) * | 2020-08-12 | 2021-10-22 | 维沃移动通信有限公司 | Image processing method and device |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN108234891B (en) | A kind of photographic method and mobile terminal | |
CN109542314A (en) | A kind of picture editing method and terminal device | |
CN108762640A (en) | A kind of display methods and terminal of barrage information | |
CN107817939A (en) | A kind of image processing method and mobile terminal | |
CN109542306A (en) | A kind of screenshotss method and terminal device | |
CN109343759A (en) | A kind of control method and terminal of the display of breath screen | |
CN110413168A (en) | A kind of icon management method and terminal | |
CN109388304A (en) | A kind of screenshotss method and terminal device | |
CN109725683A (en) | A kind of program display control method and Folding screen terminal | |
CN108920053A (en) | A kind of alignment schemes and mobile terminal | |
CN110096326A (en) | A kind of screenshotss method, terminal device and computer readable storage medium | |
CN107943390A (en) | A kind of word clone method and mobile terminal | |
CN108898555A (en) | A kind of image processing method and terminal device | |
CN108415641A (en) | A kind of processing method and mobile terminal of icon | |
CN109685915A (en) | A kind of image processing method, device and mobile terminal | |
CN109461124A (en) | A kind of image processing method and terminal device | |
CN108646960A (en) | A kind of document handling method and flexible screen terminal | |
CN109614182A (en) | A kind of display methods and terminal device | |
CN109684277A (en) | A kind of image display method and terminal | |
CN110460774A (en) | A kind of control method and terminal of video record | |
CN109085963A (en) | A kind of interface display method and terminal device | |
CN109448069A (en) | A kind of template generation method and mobile terminal | |
CN109739423A (en) | A kind of alarm clock setting method and flexible terminal | |
CN109257504A (en) | A kind of audio-frequency processing method and terminal device | |
CN109445653A (en) | A kind of icon processing method and mobile terminal |
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: 20190329 |
|
RJ01 | Rejection of invention patent application after publication |