CN108898555A - A kind of image processing method and terminal device - Google Patents
A kind of image processing method and terminal device Download PDFInfo
- Publication number
- CN108898555A CN108898555A CN201810845920.1A CN201810845920A CN108898555A CN 108898555 A CN108898555 A CN 108898555A CN 201810845920 A CN201810845920 A CN 201810845920A CN 108898555 A CN108898555 A CN 108898555A
- Authority
- CN
- China
- Prior art keywords
- image
- screen
- target image
- area
- target
- 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.)
- Granted
Links
- 238000003672 processing method Methods 0.000 title claims abstract description 30
- 238000005520 cutting process Methods 0.000 claims abstract description 30
- 230000004044 response Effects 0.000 claims abstract description 29
- 238000000034 method Methods 0.000 claims abstract description 28
- 230000015572 biosynthetic process Effects 0.000 claims abstract description 18
- 238000003786 synthesis reaction Methods 0.000 claims abstract description 18
- 238000003860 storage Methods 0.000 claims description 15
- 238000004590 computer program Methods 0.000 claims description 10
- 238000011084 recovery Methods 0.000 claims description 2
- 230000008439 repair process Effects 0.000 abstract description 6
- 238000011017 operating method Methods 0.000 abstract description 5
- 230000006870 function Effects 0.000 description 10
- 238000010586 diagram Methods 0.000 description 9
- 238000012545 processing Methods 0.000 description 8
- 230000008569 process Effects 0.000 description 5
- 230000006399 behavior Effects 0.000 description 4
- 230000006854 communication Effects 0.000 description 4
- 238000004891 communication Methods 0.000 description 3
- 230000000694 effects Effects 0.000 description 2
- 239000004973 liquid crystal related substance Substances 0.000 description 2
- 230000003287 optical effect Effects 0.000 description 2
- 238000003825 pressing Methods 0.000 description 2
- 230000003068 static effect Effects 0.000 description 2
- 230000001133 acceleration Effects 0.000 description 1
- 238000004364 calculation method 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
- 238000001514 detection method Methods 0.000 description 1
- 230000005611 electricity Effects 0.000 description 1
- 230000005484 gravity Effects 0.000 description 1
- 230000001404 mediated effect Effects 0.000 description 1
- 238000010295 mobile communication Methods 0.000 description 1
- 238000012544 monitoring process Methods 0.000 description 1
- 238000002360 preparation method Methods 0.000 description 1
- 230000009467 reduction Effects 0.000 description 1
- 230000005236 sound signal Effects 0.000 description 1
- 238000010897 surface acoustic wave method Methods 0.000 description 1
- 238000012876 topography Methods 0.000 description 1
- 230000000007 visual effect Effects 0.000 description 1
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06T—IMAGE DATA PROCESSING OR GENERATION, IN GENERAL
- G06T3/00—Geometric image transformations in the plane of the image
- G06T3/40—Scaling of whole images or parts thereof, e.g. expanding or contracting
- G06T3/4038—Image mosaicing, e.g. composing plane images from plane sub-images
Landscapes
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- User Interface Of Digital Computer (AREA)
Abstract
The invention discloses a kind of image processing method and terminal device, this method includes:Receive the first input of the target image in the N images that user shows the first screen and the second screen;In response to the first input, the image of the first area of target image is cut;The image of the second area of target image and N-1 images are subjected to image synthesis, export target image;Wherein, the image of first area and first area forms target image;The number of target image is greater than or equal to 1, and the image of the first area after cutting is invisible, and an at least image is shown in the first screen in N images, and at least an image is shown in the second screen;N is the integer greater than 1, so that receiving the first input of the target image in the N images that user shows the first screen and the second screen, can be realized and cuts to the image of the first area of target image, repairs figure software without enabling profession, simplifies operating procedure.
Description
Technical field
The present embodiments relate to technical field of image processing more particularly to a kind of image processing methods and terminal device.
Background technique
Comprehensive with terminal device popularizes, and requirement of the user to terminal device is higher and higher.For example, user wishes terminal
Equipment is not only able to acquisition high quality picture, and can modify to picture.It is existing for splicing to image
Image processing method is to splice the topography of an image and other images, need to enable profession repair figure software into
Row is cut, cumbersome.
Summary of the invention
The embodiment of the present invention provides a kind of image processing method and terminal device, to solve image processing method in the prior art
The cumbersome problem of method.
In order to solve the above-mentioned technical problem, the invention is realized in this way:
In a first aspect, the embodiment of the present invention provides a kind of image processing method, applied to including the first screen and the second screen
Terminal device, this method include:
Receive the first input of the target image in the N images that user shows the first screen and the second screen;
In response to first input, the image of the first area of the target image is cut;
The image of the second area of the target image and N-1 images are subjected to image synthesis, export target image;
Wherein, the image of the first area and the first area forms the target image;The target image
Number is greater than or equal to 1, and the image of the first area after cutting is invisible, and at least an image is aobvious in the N images
Show in first screen, and at least an image is shown in second screen;N is the integer greater than 1.
Second aspect, the embodiment of the present invention also provide a kind of terminal device, applied to the end including the first screen and the second screen
End equipment, the terminal device include:
Receiving module, for receiving first of the target image in the N images that user shows the first screen and the second screen
Input;
Module is cut, for cutting the image of the first area of the target image in response to first input;
Synthesis module, it is defeated for the image of the second area of the target image and N-1 images to be carried out image synthesis
Target image out;
Wherein, the image of the first area and the first area forms the target image;The target image
Number is greater than or equal to 1, and the image of the first area after cutting is invisible, and at least an image is aobvious in the N images
Show in first screen, and at least an image is shown in second screen;N is the integer greater than 1.
The third aspect, the embodiment of the present invention also provide a kind of terminal device, including:Memory, processor and it 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 image processing method described above.
Fourth aspect, the embodiment of the present invention also provide a kind of readable storage medium storing program for executing, on the computer readable storage medium
It is stored with computer program, the computer program realizes the step of image processing method described above when being executed by processor
Suddenly.
In embodiments of the present invention, by receiving the target figure in the N images that user shows the first screen and the second screen
First input of picture;In response to first input, the image of the first area of the target image is cut;By the target figure
The image and N-1 of the second area of picture image carry out image synthesis, export target image so that receive user to the first screen and
First input of the target image in the N that the second screen is shown images, can be realized the image to the first area of target image
It is cut, repairs figure software without enabling profession, simplify operating procedure.
Detailed description of the invention
Fig. 1 is the flow chart of image processing method provided in an embodiment of the present invention;
Fig. 2 is schematic diagram one of of the image processing method provided in an embodiment of the present invention under practical application scene;
Fig. 3 is the two of schematic diagram of the image processing method provided in an embodiment of the present invention under practical application scene;
Fig. 4 is the three of schematic diagram of the image processing method provided in an embodiment of the present invention under practical application scene;
Fig. 5 is the four of schematic diagram of the image processing method provided in an embodiment of the present invention under practical application scene;
Fig. 6 is the five of schematic diagram of the image processing method provided in an embodiment of the present invention under practical application scene;
Fig. 7 is the six of schematic diagram of the image processing method provided in an embodiment of the present invention under practical application scene;
Fig. 8 is one of the structural schematic diagram of terminal device provided in an embodiment of the present invention;
Fig. 9 is the second structural representation 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.The technical solution provided below in conjunction with attached drawing, each embodiment that the present invention will be described in detail.
The present invention provides a kind of image processing method, the executing subject of this method, can be, but not limited to include the first screen and
The terminal device (e.g., mobile phone, tablet computer etc.) of second screen can be configured as executing the party provided in an embodiment of the present invention
The device of method.
For ease of description, hereafter executing subject in this way be able to carry out this method include the first screen and the second screen
Terminal device for, the embodiment of this method is introduced.It is appreciated that the executing subject of this method is to include first
The terminal device of screen and the second screen is a kind of illustrative explanation, is not construed as the restriction to this method.
Fig. 1 is the flow chart of image processing method provided in an embodiment of the present invention, and the method for Fig. 1 can be by including the first screen
It is executed with the terminal device of the second screen, as shown in Figure 1, this method may include:
Step 101, the first input for receiving the target image that user opens the N that the first screen and the second screen are shown in images.
First input, can refer to that touch-control inputs, and touch-control input may include clicking input, long-pressing input or sliding defeated
Enter.
Certainly, which can also refer to touch control operation, which can be slide and/or clicking operation
Deng.
The slide can be single contact slide, be also possible to multiconductor slide.For example, singly referring to sliding behaviour
Work or at least two finger slides.The glide direction of the slide can be arbitrary, sets with specific reference to actual demand.
Wherein, for multiconductor slide, glide direction preferably sliding in the same direction.
The clicking operation can be single-click operation or multiple clicking operation.The multiple clicking operation can be on same screen
The multiple clicking operation executed, or the multiple clicking operation executed on the first screen and the second screen respectively.Click behaviour
Number of clicks, click frequency and the click location of work can be arranged according to actual needs, and the embodiment of the present invention is not specifically limited.
An at least image is shown in first screen in the N images, and at least an image is shown in described second
Screen;N is the integer greater than 1.
Step 102 is inputted in response to described first, cuts the image of the first area of the target image.
Wherein, the image of the first area after cutting is invisible.
The image of the second area of the target image and N-1 images are carried out image synthesis by step 103, export mesh
Logo image.
Wherein, the image of the first area and the first area forms the target image;The target image
Number is greater than or equal to 1.
In embodiments of the present invention, by receiving the target figure in the N images that user shows the first screen and the second screen
First input of picture;In response to first input, the image of the first area of the target image is cut;By the target figure
The image and N-1 of the second area of picture image carry out image synthesis, export target image so that receive user to the first screen and
First input of the target image in the N that the second screen is shown images, can be realized the image to the first area of target image
It is cut, repairs figure software without enabling profession, simplify operating procedure.
Optionally, as one embodiment, first input includes that the first touch-control inputs;
After executing step 101, image processing method provided in an embodiment of the present invention further includes:
Update the display position of the target image;
Step 102 specifically can be achieved:
Cut the image for being located at the first area of the first side in target line of demarcation in the target image;
Wherein, the first area is the region for being located at first side in target line of demarcation in the target image, described the
Two regions are the region for being located at the second side in target line of demarcation in the target image.
The display position of the update target image, specifically can be achieved be:Can by way of refreshing more fresh target
The display position of image can also update the display position of target image by way of touch-control target image.
The target line of demarcation is for dividing first area and second area.The target line of demarcation can be pre-set.
In the embodiment of the present invention, inputted in response to the first touch-control, the display position of the update target image specifically may be used
It is embodied as:The display position of target image is updated in response to slide, it such as will be positioned at the target image that first area is shown more
New is to show in second area.Step 102 specifically can be achieved:Cut the first side for being located at target line of demarcation in target image
The image of first area.
It illustratively, is that user slides the mesh shown on the first screen 1 from the first screen 1 to the second screen 2 with the input of the first touch-control
For the slide of logo image:As shown in Fig. 2, the image 11 on the first screen 1 in displaying target image and target image, second
Image 21 on screen 2 in displaying target image and target image.As shown in figure 3, in response to user from the first screen 1 to the second screen 2
Slide the slide of the target image shown on the first screen 1, the target image shown on the first screen 1 is to 1 He of the first screen
The intermediate region (i.e. target line of demarcation) of second screen 2 is mobile, at this point, the first figure in the target image shown on the first screen 1
The first side for being located at target line of demarcation as 11, then cut the first image 11.
The embodiment of the present invention updates the display position of target image by the first touch-control input in response to user, so that
Image is located at the first area of first side in target line of demarcation in target image, cuts and is located at target boundary in the target image
The image of the first area of first side of line can be inputted by the first touch-control of user, the cutting of image can be rapidly completed,
It is easy to operate, shorten the operating time.
Optionally, as one embodiment, before executing step 102, image processing method provided in an embodiment of the present invention
Method further includes:
In the case where the first side of the target image is intersected with the second side of first screen or the first screen, base
In the second side, target line of demarcation is determined.
It will be appreciated that the first side of target image be moved to the second side intersection of the first screen or the first screen when, really
Determining second side is target line of demarcation.
The embodiment of the present invention is intersected by the first side in target image with the second side of the first screen or the first screen
In the case of, it is based on second side, determines target line of demarcation, so that first side and the first screen or the by determining target image
The case where second side intersection of one screen, in order to subsequent cutting, operates simpler to determine target line of demarcation.
Optionally, as one embodiment, first input includes that the second touch-control inputs;
The display position for updating the target image, including:
It is mobile towards first direction to control the target image;
After executing step 102, image processing method provided in an embodiment of the present invention further includes:
It is inputted in response to second touch-control, it is mobile towards second direction to control the target image, and according to the mesh
The mobile distance of logo image, restores the display of the image in the third region of the target image;
Wherein, the third region is associated at a distance from target image movement.
The first direction and second direction can be same direction, or different directions.
It will be appreciated that the second touch-control in response to user inputs, control target image is mobile towards second direction, and according to
The mobile distance of target image, restores the display of the image in the third region of target image, i.e., gradually cancels in target image
Image cutting.
It illustratively, is that user slides the mesh shown on the first screen 1 from the second screen 2 to the first screen 1 with the input of the second touch-control
For target slide:As shown in figure 4, sliding the mesh shown on the first screen 1 from the second screen 2 to the first screen 1 in response to user
Target slide, target image are moved along arrow direction, and the image 11 in target image gradually leaves target boundary
The first area of line, at this point, the display of the image 11 in the third region of reduction target image, the third region and target image move
Dynamic distance is associated.
The embodiment of the present invention in response to the second touch-control by inputting, and control target image is mobile towards second direction, and root
According to the mobile distance of target image, the display of the image in the third region of target image is restored, the second touching of user can be passed through
Control input, i.e., the revocable cutting to the image in target image.It if user has found to cut mistake, can cancel, grasp at any time
Make simply, it is convenient and efficient.
Optionally, it as one embodiment, opposite can be slided between first screen and second screen, described first is defeated
Enter the input including controlling first screen and the opposite sliding of second screen;
After executing step 101, image processing method provided in an embodiment of the present invention further includes:
Control the relatively described second screen sliding of first screen or the relatively described first screen sliding of second screen;
Step 102 specifically can be achieved to be to include:
Obtain the overlapping region of first screen and second screen;
Cut the image for being located at the first area of the overlapping region in the target image;
Wherein, the first area be the target image in be located at the overlapping region first area, described second
Region is all image-regions in the target image in addition to the first area.
Illustratively, it in conjunction with shown in Fig. 2 and Fig. 6, is slided in response to the first screen of user's control 1 with respect to the second screen 2, first
After opposite second screen 2 sliding of screen 1, there are overlapping region, the first image-region of the overlapping region is for the first screen 1 and the second screen 2
Region (the i.e. figure shown in the image 11 and the second target screen 2 shown in the first screen 1 that first screen 1 and the second screen 2 overlap
As the region where 21), that is, the region where determining image 21 is image-region to be cut, and cuts in the first screen 1 and show
Image 11 and the second target screen 2 in the image 21 that shows.
The embodiment of the present invention is by obtaining the first screen in response to the input for controlling the first screen and the opposite sliding of the second screen
With the overlapping region of the second screen, and determine the overlapping region in first area be to clipping region, to cut in target image
Image positioned at the first area of overlapping region can be realized so that sliding by the way that the first screen of user's control and the second screen are opposite
Cutting to the image of the first area of overlapping region, it is easy to operate, shorten the operating time.
Optionally, as one embodiment, step 103 specifically can be achieved be:
In response to the second input of user, the image of the second area of the target image and N-1 images are subjected to figure
As synthesis, target image is exported.
Second input, can refer to that touch-control inputs, and touch-control input may include clicking input, long-pressing input or sliding defeated
Enter.
Certainly, which can also refer to touch control operation, which can be slide and/or clicking operation
Deng.
The slide can be single contact slide, be also possible to multiconductor slide.For example, singly referring to sliding behaviour
Work or at least two finger slides.The glide direction of the slide can be arbitrary, sets with specific reference to actual demand.
Wherein, for multiconductor slide, glide direction preferably sliding in the same direction.
The clicking operation can be single-click operation or multiple clicking operation.The multiple clicking operation can be on same screen
The multiple clicking operation executed, or the multiple clicking operation executed on the first screen and the second screen respectively.Click behaviour
Number of clicks, click frequency and the click location of work can be arranged according to actual needs, and the embodiment of the present invention is not specifically limited.
Illustratively, with the second input for slide, which is two fingers of user respectively described the
On one screen 1 and second screen 2, from the bottom of display screen to the slide of top slide for, the embodiment of the present invention is specific
Realizing to be:As shown in figure 5 and figure 7, in response to two fingers of user respectively in first screen 1 and second screen 2
On, from the bottom of display screen to the slide of top slide, by the image of the second area of the target image and N-1 figures
As carrying out image synthesis, target image is exported.
The embodiment of the present invention is by the second input in response to user, by the image and N-1 of the second area of target image
It opens image and carries out image synthesis, export target image, the synthesis of image can be realized, make by the second input of user
The image after cutting can be checked by obtaining user, meet the needs of user checks image, easy to operate.
More than, the image processing method of the embodiment of the present invention is described in detail in conjunction with Fig. 1 to Fig. 7, in the following, in conjunction with Fig. 8, in detail
Describe the terminal device of the bright embodiment of the present invention in detail.
Fig. 8 shows the structural schematic diagram of terminal device provided in an embodiment of the present invention, as shown in figure 8, the terminal device
Based on the image processing method that one embodiment of the invention provides, which is the terminal device for including the first screen and the second screen,
May include:
Receiving module 801, the of the target image in N images the first screen and the second screen shown for receiving user
One input;
Module 802 is cut, for cutting the image of the first area of the target image in response to first input;
Synthesis module 803, for the image of the second area of the target image and N-1 images to be carried out image conjunction
At output target image;
Wherein, the image of the first area and the first area forms the target image;The target image
Number is greater than or equal to 1, and the image of the first area after cutting is invisible, and at least an image is aobvious in the N images
Show in first screen, and at least an image is shown in second screen;N is the integer greater than 1.
In one embodiment, first input includes that the first touch-control inputs;
The terminal device further includes:
Update module 804, for updating the display position of the target image;
The cutting module 802 includes:
First cuts unit, and the first cutting unit is electrically connected with the receiving module 801, for cutting the target
It is located at the image of the first area of first side in target line of demarcation in image;
Wherein, the first area is the region for being located at first side in target line of demarcation in the target image, described the
Two regions are the region for being located at the second side in target line of demarcation in the target image.
In one embodiment, the terminal device further includes:
Determining module 805, second side for first side and first screen or the first screen in the target image
In the case that side is intersected, it is based on the second side, determines target line of demarcation.
In one embodiment, first input includes that the second touch-control inputs;
The update module 804 includes:
Control unit, described control unit are electrically connected with the receiving module 801, for control the target image towards
First direction is mobile;
The terminal device further includes:
Recovery module 806 controls the target image and moves towards second direction for inputting in response to second touch-control
Dynamic and mobile according to target image distance, restores the display of the image in the third region of the target image;
Wherein, the third region is associated at a distance from target image movement.
In one embodiment, it opposite can be slided between first screen and second screen, first input includes
Control the input of first screen and the opposite sliding of second screen;
The terminal device further includes:
Control module 807, it is relatively described for controlling the relatively described second screen sliding of first screen or second screen
The sliding of first screen;
The cutting module 802 includes:
Acquiring unit, the acquiring unit are electrically connected with the control module 807, for obtaining first screen and described
The overlapping region of second screen;
Second cuts unit, and the second cutting unit is electrically connected with the acquiring unit, for cutting the target figure
It is located at the image of the first area of the overlapping region as in;
Wherein, the first area be the target image in be located at the overlapping region first area, described second
Region is all image-regions in the target image in addition to the first area.
In embodiments of the present invention, by receiving the target figure in the N images that user shows the first screen and the second screen
First input of picture;In response to first input, the image of the first area of the target image is cut;By the target figure
The image and N-1 of the second area of picture image carry out image synthesis, export target image so that receive user to the first screen and
First input of the target image in the N that the second screen is shown images, can be realized the image to the first area of target image
It is cut, repairs figure software without enabling profession, simplify operating procedure
A kind of hardware structural diagram of Fig. 9 terminal device of each embodiment to realize the present invention,
The terminal device 900 includes but is not limited to:It is radio frequency unit 901, network module 902, audio output unit 903, defeated
Enter unit 904, sensor 905, display unit 906, user input unit 907, interface unit 908, memory 909, processor
The components such as 910 and power supply 911.It will be understood by those skilled in the art that terminal device structure shown in Fig. 9 is not constituted
Restriction to terminal device, terminal device may include than illustrating more or fewer components, perhaps combine certain components or
Different component layouts.In embodiments of the present invention, terminal device include but is not limited to mobile phone, tablet computer, laptop,
Palm PC, car-mounted terminal, wearable device and pedometer etc..
Wherein, user input unit 907, for receiving the mesh in the N images that user shows the first screen and the second screen
First input of logo image;
Processor 910, for cutting the image of the first area of the target image in response to first input;It will
The image and N-1 of the second area of the target image image carries out image synthesis, exports target image;Wherein, described
The image of one region and the first area forms the target image;The number of the target image is greater than or equal to 1, cuts
The image of the first area afterwards is invisible, and an at least image is shown in first screen in the N images, and at least
One image is shown in second screen;N is the integer greater than 1.
In embodiments of the present invention, by receiving the target figure in the N images that user shows the first screen and the second screen
First input of picture;In response to first input, the image of the first area of the target image is cut;By the target figure
The image and N-1 of the second area of picture image carry out image synthesis, export target image so that receive user to the first screen and
First input of the target image in the N that the second screen is shown images, can be realized the image to the first area of target image
It is cut, repairs figure software without enabling profession, simplify operating procedure.
It should be understood that the embodiment of the present invention in, radio frequency unit 901 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 910 handle;In addition, by uplink
Data are sent to base station.In general, radio frequency unit 901 includes but is not limited to antenna, at least one amplifier, transceiver, coupling
Device, low-noise amplifier, duplexer etc..In addition, radio frequency unit 901 can also by wireless communication system and network and other set
Standby communication.
Terminal device provides wireless broadband internet by network module 902 for user and accesses, and such as user is helped to receive
It sends e-mails, browse webpage and access streaming video etc..
Audio output unit 903 can be received by radio frequency unit 901 or network module 902 or in memory 909
The audio data of storage is converted into audio signal and exports to be sound.Moreover, audio output unit 903 can also provide and end
The relevant audio output of specific function that end equipment 900 executes is (for example, call signal receives sound, message sink sound etc.
Deng).Audio output unit 903 includes loudspeaker, buzzer and receiver etc..
Input unit 904 is for receiving audio or video signal.Input unit 904 may include graphics processor
(Graphics Processing Unit, GPU) 9041 and microphone 9042, graphics processor 9041 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 906.Through graphics processor 9041, treated that picture frame can be deposited
Storage is sent in memory 909 (or other storage mediums) or via radio frequency unit 901 or network module 902.Mike
Wind 9042 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 901 is converted in the case where telephone calling model.
Terminal device 900 further includes at least one sensor 905, such as optical sensor, motion sensor and other biographies
Sensor.Specifically, optical sensor includes ambient light sensor and proximity sensor, wherein ambient light sensor can be according to environment
The light and shade of light adjusts the brightness of display panel 9061, and proximity sensor can close when terminal device 900 is moved in one's ear
Display panel 9061 and/or backlight.As a kind of motion sensor, accelerometer sensor can detect in all directions (general
For three axis) size of acceleration, it can detect that size and the direction of gravity when static, can be used to identify terminal device posture (ratio
Such as horizontal/vertical screen switching, dependent game, magnetometer pose calibrating), Vibration identification correlation function (such as pedometer, tap);It passes
Sensor 905 can also include fingerprint sensor, pressure sensor, iris sensor, molecule sensor, gyroscope, barometer, wet
Meter, thermometer, infrared sensor etc. are spent, details are not described herein.
Display unit 906 is for showing information input by user or being supplied to the information of user.Display unit 906 can wrap
Display panel 9061 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 9061.
User input unit 907 can be used for receiving the number or character information of input, and generate the use with terminal device
Family setting and the related key signals input of function control.Specifically, user input unit 907 include touch panel 9071 and
Other input equipments 9072.Touch panel 9071, also referred to as touch screen collect the touch operation of user on it or nearby
(for example user uses any suitable objects or attachment such as finger, stylus on touch panel 9071 or in touch panel 9071
Neighbouring operation).Touch panel 9071 may include both touch detecting apparatus and touch controller.Wherein, touch detection
Device detects the touch orientation of user, and detects touch operation bring signal, transmits a signal to touch controller;Touch control
Device processed receives touch information from touch detecting apparatus, and is converted into contact coordinate, then gives processor 910, receiving area
It manages the order that device 910 is sent and is executed.Furthermore, it is possible to more using resistance-type, condenser type, infrared ray and surface acoustic wave etc.
Seed type realizes touch panel 9071.In addition to touch panel 9071, user input unit 907 can also include other input equipments
9072.Specifically, other input equipments 9072 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 9071 can be covered on display panel 9061, when touch panel 9071 is detected at it
On or near touch operation after, send processor 910 to determine the type of touch event, be followed by subsequent processing device 910 according to touching
The type for touching event provides corresponding visual output on display panel 9061.Although in Fig. 9, touch panel 9071 and display
Panel 9061 is the function that outputs and inputs of realizing terminal device as two independent components, but in some embodiments
In, can be integrated by touch panel 9071 and display panel 9061 and realize the function that outputs and inputs of terminal device, it is specific this
Place is without limitation.
Interface unit 908 is the interface that external device (ED) is connect with terminal device 900.For example, external device (ED) may include having
Line or wireless head-band earphone port, external power supply (or battery charger) port, wired or wireless data port, storage card end
Mouth, port, the port audio input/output (I/O), video i/o port, earphone end for connecting the device with identification module
Mouthful etc..Interface unit 908 can be used for receiving the input (for example, data information, electric power etc.) from external device (ED) and
By one or more elements that the input received is transferred in terminal device 900 or can be used in 900 He of terminal device
Data are transmitted between external device (ED).
Memory 909 can be used for storing software program and various data.Memory 909 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 909 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 910 is the control centre of terminal device, utilizes each of various interfaces and the entire terminal device of connection
A part by running or execute the software program and/or module that are stored in memory 909, and calls and is stored in storage
Data in device 909 execute the various functions and processing data of terminal device, to carry out integral monitoring to terminal device.Place
Managing device 910 may include one or more processing units;Preferably, processor 910 can integrate application processor and modulatedemodulate is mediated
Manage device, wherein the main processing operation system of application processor, user interface and application program etc., modem processor is main
Processing wireless communication.It is understood that above-mentioned modem processor can not also be integrated into processor 910.
Terminal device 900 can also include the power supply 911 (such as battery) powered to all parts, it is preferred that power supply 911
Can be logically contiguous by power-supply management system and processor 910, to realize management charging by power-supply management system, put
The functions such as electricity and power managed.
In addition, terminal device 900 includes some unshowned functional modules, details are not described herein.
Preferably, the embodiment of the present invention also provides a kind of terminal device, including processor 910, and memory 909 is stored in
On memory 909 and the computer program that can run on the processor 910, the computer program are executed by processor 910
Each process of the above-mentioned image processing method embodiment of Shi Shixian, and identical technical effect can be reached, to avoid repeating, here
It repeats no more.
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 image processing 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 (12)
1. a kind of image processing method, applied to the terminal device including the first screen and the second screen, which is characterized in that the method
Including:
Receive the first input of the target image in the N images that user shows the first screen and the second screen;
In response to first input, the image of the first area of the target image is cut;
The image of the second area of the target image and N-1 images are subjected to image synthesis, export target image;
Wherein, the image of the first area and the first area forms the target image;The number of the target image
More than or equal to 1, the image of the first area after cutting is invisible, and an at least image is shown in the N images
First screen, and at least an image is shown in second screen;N is the integer greater than 1.
2. the method according to claim 1, wherein first input includes that the first touch-control inputs;
After first input for receiving the target image in the N images that user shows the first screen and the second screen, also wrap
It includes:
Update the display position of the target image;
The image of the first area for cutting the target image, including:
Cut the image for being located at the first area of the first side in target line of demarcation in the target image;
Wherein, the first area is the region for being located at first side in target line of demarcation in the target image, secondth area
Domain is the region for being located at the second side in target line of demarcation in the target image.
3. according to the method described in claim 2, it is characterized in that, the image of the first area for cutting the target image
Before, further include:
In the case where the first side of the target image is intersected with the second side of first screen or the first screen, it is based on institute
Second side is stated, determines target line of demarcation.
4. according to the method described in claim 2, it is characterized in that, first input includes that the second touch-control inputs;
The display position for updating the target image, including:
It is mobile towards first direction to control the target image;
After the image of the first area for cutting the target image, further include:
It is inputted in response to second touch-control, it is mobile towards second direction to control the target image, and according to the target figure
As mobile distance, the display of the image in the third region of the target image is restored;
Wherein, the third region is associated at a distance from target image movement.
5. the method according to claim 1, wherein can be slided relatively between first screen and second screen
Dynamic, first input includes controlling the input of first screen and the opposite sliding of second screen;
After first input for receiving the target image in the N images that user shows the first screen and the second screen, also wrap
It includes:
Control the relatively described second screen sliding of first screen or the relatively described first screen sliding of second screen;
It is described to cut the image of the first area of the target image in response to first input, including:
Obtain the overlapping region of first screen and second screen;
Cut the image for being located at the first area of the overlapping region in the target image;
Wherein, the first area is the first area for being located at the overlapping region in the target image, the second area
For all image-regions in the target image in addition to the first area.
6. a kind of terminal device, applied to the terminal device including the first screen and the second screen, which is characterized in that including:
Receiving module, for receiving the first input of the target image in the N images that user shows the first screen and the second screen;
Module is cut, for cutting the image of the first area of the target image in response to first input;
Synthesis module exports mesh for the image of the second area of the target image and N-1 images to be carried out image synthesis
Logo image;
Wherein, the image of the first area and the first area forms the target image;The number of the target image
More than or equal to 1, the image of the first area after cutting is invisible, and an at least image is shown in the N images
First screen, and at least an image is shown in second screen;N is the integer greater than 1.
7. terminal device according to claim 6, which is characterized in that first input includes that the first touch-control inputs;
The terminal device further includes:
Update module, for updating the display position of the target image;
The cutting module includes:
First cuts unit, for cutting the figure for being located at the first area of the first side in target line of demarcation in the target image
Picture;
Wherein, the first area is the region for being located at first side in target line of demarcation in the target image, secondth area
Domain is the region for being located at the second side in target line of demarcation in the target image.
8. terminal device according to claim 7, which is characterized in that the terminal device further includes:
Determining module intersects for the first side in the target image with the second side of first screen or the first screen
In the case of, it is based on the second side, determines target line of demarcation.
9. terminal device according to claim 7, which is characterized in that first input includes that the second touch-control inputs;
The update module includes:
Control unit, it is mobile towards first direction for controlling the target image;
The terminal device further includes:
Recovery module controls the target image and moves towards second direction, and root for inputting in response to second touch-control
According to the mobile distance of the target image, the display of the image in the third region of the target image is restored;
Wherein, the third region is associated at a distance from target image movement.
10. terminal device according to claim 6, which is characterized in that can phase between first screen and second screen
To sliding, first input includes controlling the input of first screen and the opposite sliding of second screen;
The terminal device further includes:
Control module, it is sliding for controlling the relatively described second screen sliding of first screen or relatively described first screen of second screen
It is dynamic;
The cutting module includes:
Acquiring unit, for obtaining the overlapping region of first screen and second screen;
Second cuts unit, for cutting the image for being located at the first area of the overlapping region in the target image;
Wherein, the first area is the first area for being located at the overlapping region in the target image, the second area
For all image-regions in the target image in addition to the first area.
11. a kind of terminal device, which is characterized in that including:It memory, processor and is stored on the memory and can be in institute
The computer program run on processor is stated, is realized according to claim 1 when the computer program is executed by the processor
The step of to image processing method described in any one of 5.
12. a kind of computer readable storage medium, which is characterized in that store computer journey on the computer readable storage medium
Sequence, the computer program realize image processing method according to any one of claim 1 to 5 when being executed by processor
The step of.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201810845920.1A CN108898555B (en) | 2018-07-27 | 2018-07-27 | Image processing method and terminal equipment |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201810845920.1A CN108898555B (en) | 2018-07-27 | 2018-07-27 | Image processing method and terminal equipment |
Publications (2)
Publication Number | Publication Date |
---|---|
CN108898555A true CN108898555A (en) | 2018-11-27 |
CN108898555B CN108898555B (en) | 2022-09-23 |
Family
ID=64352602
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201810845920.1A Active CN108898555B (en) | 2018-07-27 | 2018-07-27 | Image processing method and terminal equipment |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN108898555B (en) |
Cited By (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN109769089A (en) * | 2018-12-28 | 2019-05-17 | 维沃移动通信有限公司 | A kind of image processing method and terminal device |
CN109886000A (en) * | 2019-02-01 | 2019-06-14 | 维沃移动通信有限公司 | A kind of image encryption method and mobile terminal |
WO2020192298A1 (en) * | 2019-03-25 | 2020-10-01 | 维沃移动通信有限公司 | Image processing method and terminal device |
CN111784695A (en) * | 2020-06-01 | 2020-10-16 | 北京像素软件科技股份有限公司 | Pattern cutting method and device, electronic equipment and storage medium |
WO2021143642A1 (en) * | 2020-01-17 | 2021-07-22 | 维沃移动通信有限公司 | Image cropping method and electronic device |
Citations (8)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
WO2005032125A1 (en) * | 2003-09-26 | 2005-04-07 | Sharp Kabushiki Kaisha | Panorama image creation device and panorama image imaging device |
CN102150413A (en) * | 2008-09-11 | 2011-08-10 | 索尼爱立信移动通讯有限公司 | Display device and method for displaying images in a variable size display area |
CN105761211A (en) * | 2016-03-30 | 2016-07-13 | 努比亚技术有限公司 | Method and device for splicing frames of mobile terminal |
CN106780346A (en) * | 2017-01-19 | 2017-05-31 | 努比亚技术有限公司 | A kind of picture splicing apparatus and method based on edge input |
CN107872623A (en) * | 2017-12-22 | 2018-04-03 | 维沃移动通信有限公司 | A kind of image pickup method, mobile terminal and computer-readable recording medium |
CN108053364A (en) * | 2017-12-28 | 2018-05-18 | 努比亚技术有限公司 | Picture method of cutting out, mobile terminal and computer readable storage medium |
CN108205801A (en) * | 2017-12-27 | 2018-06-26 | 中兴通讯股份有限公司 | A kind of method and terminal for supporting image mosaic |
CN108234891A (en) * | 2018-04-04 | 2018-06-29 | 维沃移动通信有限公司 | A kind of photographic method and mobile terminal |
-
2018
- 2018-07-27 CN CN201810845920.1A patent/CN108898555B/en active Active
Patent Citations (8)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
WO2005032125A1 (en) * | 2003-09-26 | 2005-04-07 | Sharp Kabushiki Kaisha | Panorama image creation device and panorama image imaging device |
CN102150413A (en) * | 2008-09-11 | 2011-08-10 | 索尼爱立信移动通讯有限公司 | Display device and method for displaying images in a variable size display area |
CN105761211A (en) * | 2016-03-30 | 2016-07-13 | 努比亚技术有限公司 | Method and device for splicing frames of mobile terminal |
CN106780346A (en) * | 2017-01-19 | 2017-05-31 | 努比亚技术有限公司 | A kind of picture splicing apparatus and method based on edge input |
CN107872623A (en) * | 2017-12-22 | 2018-04-03 | 维沃移动通信有限公司 | A kind of image pickup method, mobile terminal and computer-readable recording medium |
CN108205801A (en) * | 2017-12-27 | 2018-06-26 | 中兴通讯股份有限公司 | A kind of method and terminal for supporting image mosaic |
CN108053364A (en) * | 2017-12-28 | 2018-05-18 | 努比亚技术有限公司 | Picture method of cutting out, mobile terminal and computer readable storage medium |
CN108234891A (en) * | 2018-04-04 | 2018-06-29 | 维沃移动通信有限公司 | A kind of photographic method and mobile terminal |
Cited By (8)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN109769089A (en) * | 2018-12-28 | 2019-05-17 | 维沃移动通信有限公司 | A kind of image processing method and terminal device |
CN109769089B (en) * | 2018-12-28 | 2021-03-16 | 维沃移动通信有限公司 | Image processing method and terminal equipment |
CN109886000A (en) * | 2019-02-01 | 2019-06-14 | 维沃移动通信有限公司 | A kind of image encryption method and mobile terminal |
CN109886000B (en) * | 2019-02-01 | 2024-03-01 | 维沃移动通信有限公司 | Image encryption method and mobile terminal |
WO2020192298A1 (en) * | 2019-03-25 | 2020-10-01 | 维沃移动通信有限公司 | Image processing method and terminal device |
WO2021143642A1 (en) * | 2020-01-17 | 2021-07-22 | 维沃移动通信有限公司 | Image cropping method and electronic device |
CN111784695A (en) * | 2020-06-01 | 2020-10-16 | 北京像素软件科技股份有限公司 | Pattern cutting method and device, electronic equipment and storage medium |
CN111784695B (en) * | 2020-06-01 | 2024-03-22 | 北京像素软件科技股份有限公司 | Method and device for cutting graph, electronic equipment and storage medium |
Also Published As
Publication number | Publication date |
---|---|
CN108898555B (en) | 2022-09-23 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN108200289A (en) | A kind of unread message processing method and mobile terminal | |
CN108255378A (en) | A kind of display control method and mobile terminal | |
CN107734179A (en) | A kind of message prompt method, mobile terminal | |
CN108762640A (en) | A kind of display methods and terminal of barrage information | |
CN109388304A (en) | A kind of screenshotss method and terminal device | |
CN109343759A (en) | A kind of control method and terminal of the display of breath screen | |
CN107977132A (en) | A kind of method for information display and mobile terminal | |
CN108898555A (en) | A kind of image processing method and terminal device | |
CN108363524B (en) | A kind of application icon display methods and mobile terminal | |
CN109491738A (en) | A kind of control method and terminal device of terminal device | |
CN110109593A (en) | A kind of screenshotss method and terminal device | |
CN108287650A (en) | One-handed performance method based on mobile terminal and mobile terminal | |
CN108227996A (en) | A kind of display control method and mobile terminal | |
CN109582475A (en) | A kind of sharing method and terminal | |
CN109542306A (en) | A kind of screenshotss method and terminal device | |
CN109407932A (en) | A kind of icon moving method and mobile terminal | |
CN108897473A (en) | A kind of interface display method and terminal | |
CN110209313A (en) | Icon moving method and terminal device | |
CN109710349A (en) | A kind of screenshotss method and mobile terminal | |
CN108491130A (en) | A kind of application programe switch-over method and mobile terminal | |
CN108900695A (en) | A kind of display processing method and terminal device | |
CN109683802A (en) | A kind of icon moving method and terminal | |
CN109101149A (en) | A kind of application icon management method and terminal | |
CN110096203A (en) | A kind of screenshot method and mobile terminal | |
CN110049187A (en) | A kind of display methods and terminal device |
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 | ||
GR01 | Patent grant | ||
GR01 | Patent grant |