CN106651751A - Image processing method and terminal - Google Patents
Image processing method and terminal Download PDFInfo
- Publication number
- CN106651751A CN106651751A CN201610822388.2A CN201610822388A CN106651751A CN 106651751 A CN106651751 A CN 106651751A CN 201610822388 A CN201610822388 A CN 201610822388A CN 106651751 A CN106651751 A CN 106651751A
- Authority
- CN
- China
- Prior art keywords
- lock screen
- screen image
- image
- images
- lock
- 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 20
- 230000006870 function Effects 0.000 claims abstract description 15
- 238000000034 method Methods 0.000 claims description 35
- 239000011435 rock Substances 0.000 claims description 32
- 230000001815 facial effect Effects 0.000 claims description 30
- 230000008569 process Effects 0.000 claims description 21
- 239000012466 permeate Substances 0.000 claims description 9
- 230000001133 acceleration Effects 0.000 claims description 8
- 239000000284 extract Substances 0.000 claims description 6
- 238000010586 diagram Methods 0.000 description 9
- 230000004927 fusion Effects 0.000 description 8
- 238000004590 computer program Methods 0.000 description 7
- 230000008859 change Effects 0.000 description 6
- 230000004048 modification Effects 0.000 description 6
- 238000012986 modification Methods 0.000 description 6
- 238000003860 storage Methods 0.000 description 5
- 238000005516 engineering process Methods 0.000 description 4
- 239000000047 product Substances 0.000 description 4
- 230000000694 effects Effects 0.000 description 3
- 238000013441 quality evaluation Methods 0.000 description 3
- 230000009466 transformation Effects 0.000 description 3
- 238000009826 distribution Methods 0.000 description 2
- 238000002844 melting Methods 0.000 description 2
- 230000008018 melting Effects 0.000 description 2
- 238000004422 calculation algorithm Methods 0.000 description 1
- 238000004364 calculation method Methods 0.000 description 1
- 238000006243 chemical reaction Methods 0.000 description 1
- 230000001419 dependent effect Effects 0.000 description 1
- 230000007717 exclusion Effects 0.000 description 1
- 238000004519 manufacturing process Methods 0.000 description 1
- 239000000203 mixture Substances 0.000 description 1
- 230000003287 optical effect Effects 0.000 description 1
- 238000002360 preparation method Methods 0.000 description 1
- 230000009467 reduction Effects 0.000 description 1
- 230000008439 repair process Effects 0.000 description 1
- 238000010008 shearing Methods 0.000 description 1
- 230000003068 static effect Effects 0.000 description 1
- 239000011800 void material Substances 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
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F3/00—Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
- G06F3/01—Input arrangements or combined input and output arrangements for interaction between user and computer
- G06F3/048—Interaction techniques based on graphical user interfaces [GUI]
- G06F3/0484—Interaction techniques based on graphical user interfaces [GUI] for the control of specific functions or operations, e.g. selecting or manipulating an object, an image or a displayed text element, setting a parameter value or selecting a range
- G06F3/04842—Selection of displayed objects or displayed text elements
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06T—IMAGE DATA PROCESSING OR GENERATION, IN GENERAL
- G06T2207/00—Indexing scheme for image analysis or image enhancement
- G06T2207/20—Special algorithmic details
- G06T2207/20048—Transform domain processing
- G06T2207/20064—Wavelet transform [DWT]
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06T—IMAGE DATA PROCESSING OR GENERATION, IN GENERAL
- G06T2207/00—Indexing scheme for image analysis or image enhancement
- G06T2207/20—Special algorithmic details
- G06T2207/20212—Image combination
- G06T2207/20221—Image fusion; Image merging
Landscapes
- Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- General Engineering & Computer Science (AREA)
- Human Computer Interaction (AREA)
- Image Processing (AREA)
- User Interface Of Digital Computer (AREA)
- Studio Devices (AREA)
Abstract
The embodiments of the invention provide an image processing method which comprises the following steps: when a terminal's screen is locked, displaying N screen locking images wherein N is an integer greater than one; adding the N screen locking images to a preset area; integrating the N screen locking images into an integrated image and displaying the integrated image in the preset area. The embodiments of the invention also provide a terminal. According to the embodiments, when the screen is locked, a plurality of images are integrated which not only provides more functions to the screen locked state but also provides operations to integrate the screen locking images at the screen locked state.
Description
Technical field
The present invention relates to field of computer technology, and in particular to a kind of image processing method and terminal.
Background technology
With the popularization of terminal (such as mobile phone, flat board) and developing rapidly for mobile Internet, terminal usage amount is increasingly
Greatly.It is that intelligent mobile terminal presents to the of user and screen locking function has become one of standard application of intelligent mobile terminal
One impression, therefore, belong to the high application of user's usage frequency.But, screen locking mode of the prior art is only capable of providing
Static function, such as conventional locking and unlocking function, for providing the safeguard protection of fault-operation protection and such as coded lock;
The prompt facility of essential information, for pointing out user of incoming call information and short message;The conventional entrance arranged with common function, uses
In user, the quick entrance that brightness, data service switch or some applications are such as taken pictures quickly is set.
At present, lock screen image is mainly derived from from server and downloads, or, shot by user and obtained, and user
Image procossing further can not be carried out to lock screen image under screen lock state, operates more single, reduce Consumer's Experience.
The content of the invention
A kind of image processing method and terminal are embodiments provided, can be under screen lock state, to lock screen image
Carry out image co-registration operation.
Embodiment of the present invention first aspect provides a kind of image processing method, including:
It is under screen lock state in terminal, shows N lock screen image, wherein, the N is the integer more than 1;
The N lock screen image is added to predeterminable area;
The N lock screen images are permeated a fused images, and shows the fused images in the predeterminable area.
Embodiment of the present invention second aspect provides a kind of terminal, including:
Display unit, for being under screen lock state in terminal, shows N lock screen image, wherein, the N is more than 1
Integer;
Adding device, the N lock screen image for the display unit to be shown is added to predeterminable area;
Processing unit, permeates a fused images for the N that adds the adding device lock screen image, and
Show the fused images in the predeterminable area.
The embodiment of the present invention third aspect provides a kind of terminal, including:
Processor and memory;Wherein, code during the processor is by calling the memory or instruction are performing
The some or all of step of the method described by first aspect.
Implement the embodiment of the present invention, have the advantages that:
Can be under screen lock state in terminal by the embodiment of the present invention, show N lock screen image, wherein N is more than 1
Integer, N lock screen images are added to predeterminable area, and N lock screen image is permeated a fused images, and in predeterminable area
Show fused images.So as to, multiple images can be carried out into image co-registration under screen lock state, only screen lock state is not provided
It is more multi-functional, and image co-registration operation can be carried out to lock screen image under screen lock state.
Description of the drawings
Technical scheme in order to be illustrated more clearly that the embodiment of the present invention, below will be to making needed for embodiment description
Accompanying drawing is briefly described, it should be apparent that, drawings in the following description are some embodiments of the present invention, for ability
For the those of ordinary skill of domain, on the premise of not paying creative work, can be attached to obtain others according to these accompanying drawings
Figure.
Fig. 1 is a kind of first embodiment schematic flow sheet of image processing method provided in an embodiment of the present invention;
Fig. 1 a are the displaying schematic diagrames of locking screen interface provided in an embodiment of the present invention;
Fig. 2 is a kind of second embodiment schematic flow sheet of image processing method provided in an embodiment of the present invention;
Fig. 2 a are the displaying schematic diagrames of preset direction provided in an embodiment of the present invention;
Fig. 2 b are the another displaying schematic diagrames of preset direction provided in an embodiment of the present invention;
Fig. 3 is a kind of 3rd embodiment schematic flow sheet of image processing method provided in an embodiment of the present invention;
Fig. 4 a are a kind of first embodiment structural representations of terminal provided in an embodiment of the present invention;
Fig. 4 b are the another structural representations of the terminal described by Fig. 4 a provided in an embodiment of the present invention;
Fig. 5 is a kind of second embodiment structural representation of terminal provided in an embodiment of the present invention.
Specific embodiment
Below in conjunction with the accompanying drawing in the embodiment of the present invention, the technical scheme in the embodiment of the present invention is carried out clear, complete
Site preparation is described, it is clear that described embodiment is a part of embodiment of the invention, rather than the embodiment of whole.Based on this
Embodiment in bright, the every other enforcement that those of ordinary skill in the art are obtained under the premise of creative work is not made
Example, belongs to the scope of protection of the invention.
Term " first ", " second ", " the 3rd " in description and claims of this specification and the accompanying drawing and "
Four " it is etc. for distinguishing different objects, rather than for describing particular order.Additionally, term " comprising " and " having " and it
Any deformation, it is intended that cover and non-exclusive include.For example contain the process of series of steps or unit, method, be
System, product or equipment are not limited to the step of listing or unit, but alternatively also include the step of not listing or list
Unit, or alternatively also include other steps intrinsic for these processes, method, product or equipment or unit.
Referenced herein " embodiment " is it is meant that the special characteristic, structure or the characteristic that describe can be wrapped in conjunction with the embodiments
In being contained at least one embodiment of the present invention.It is identical that each position in the description shows that the phrase might not each mean
Embodiment, nor the independent or alternative embodiment with other embodiments mutual exclusion.Those skilled in the art explicitly and
Implicitly it is understood by, embodiment described herein can be in combination with other embodiments.
Terminal described by the embodiment of the present invention can include smart mobile phone (as Android phone, iOS mobile phones,
Windows Phone mobile phones etc.), panel computer, palm PC, notebook computer, mobile internet device (MID, Mobile
Internet Devices) or Wearable etc., above-mentioned terminal is only citing, and non exhaustive, including but not limited to above-mentioned end
End.
Fig. 1 is referred to, is a kind of first embodiment schematic flow sheet of image processing method provided in an embodiment of the present invention.
Image processing method described in the present embodiment, comprises the following steps:
101st, it is under screen lock state in terminal, shows N lock screen image, wherein, the N is the integer more than 1.
Alternatively, it is under screen lock state in terminal, N lock screen image can be shown in locking screen interface, wherein, N is more than 1
Integer.The N lock screen image that the N lock screen image can in advance be chosen by user, or, the N lock screen image can be random
The N of displaying lock screen image.Certainly, it can be the lock screen image for Same Scene that N opens lock screen image, and Same Scene is primarily referred to as
, for the unchanged view angle of physical space, proper Same Scene can also be including the object in scene and position for camera
Keep constant, in such cases, the only light of change, for example, user exists again afternoon in certain position morning one image of photographs
The position shoots an image.
Alternatively, N lock screen image can one by one be shown, i.e. after a lock screen image displaying is finished, just can show another
Open lock screen image.Multiple lock screen images can also disposably be shown, i.e., each lock screen image is reduced, carried out in locking screen interface
Distribution, user is it is seen that each lock screen image after diminution process.
Alternatively, above-mentioned displaying N lock screen image can be comprised the steps of:
11), obtain in image library apart from the nearest N of current time lock screen image;
12), it is illustrated in locking screen interface according to time order and function order and shows the N lock screen image.
Wherein, image library can be included in terminal, multiple lock screen images is included in image library, the lock screen image can be pre- by terminal
First download from server.Certainly, lock screen image can also be shot by camera, or, by terminal from Network Capture.Each screen locking figure
As when being stored in image library, can correspond to a storage time.Therefore, can obtain apart from current time from image library
Nearest N multiple lock screen images, show multiple lock screen images, it is of course also possible to press according to time order and function order in locking screen interface
According to after the time, first order shows multiple lock screen images in locking screen interface.
Alternatively, above-mentioned displaying N lock screen image can be comprised the steps of:
13), current location is obtained;
14) the N lock screen image associated with the current location, is shown in the locking screen interface.
Wherein, in step 13, can be obtained by global positioning system (Global Positioning System, GPS) and be worked as
Front position, or, current location can be obtained by Wireless Fidelity (Wireless-Fidelity, Wi-Fi) location technology.Step
In rapid 14, multiple lock screen images of the current location association can be obtained, such as:In multiple screen lockings that current location shoots or downloads
Image.
For example, user has downloaded multiple lock screen images in location A, then, when current location is location A, can be in screen locking
Multiple lock screen images of the download of showing interface location A.Certainly, if user have taken multiple images in B location, and it is set to lock
Screen image, then, when current location is B location, multiple lock screen images that B location shoots can be shown in locking screen interface.
Alternatively, above-mentioned displaying N lock screen image can be comprised the steps of:
15), image subject information is obtained;
16), N lock screen image corresponding with described image subject information is shown in the locking screen interface.
Wherein, each lock screen image has a corresponding subject information, then, identical subject information is attributable to same
Class, the different classification of different subject information correspondences.After image subject information is got, image master can be further obtained
Corresponding multiple lock screen images of topic information, and show the N lock screen image in locking screen interface.
102nd, the N lock screen image is added to predeterminable area.
Alternatively, each lock screen image can be successively selected, then, N lock screen image is added into predeterminable area.For example,
Each lock screen image can be chosen in advance, after choosing, then the N lock screen image is added into predeterminable area.Wherein, in advance
If region can be another movable window shown in locking screen interface, or the FX in locking screen interface.
103rd, the N lock screen images are permeated a fused images, and shows the fusion in the predeterminable area
Image.
Alternatively, each lock screen image in N lock screen image can be carried out multi-scale transform, is decomposed into each lock screen image
Corresponding low frequency component collection and high fdrequency component collection;All low frequency component collection are carried out taking mean operation, target low frequency component is obtained
Collection;All high fdrequency component collection are taken into big principle according to absolute value to be calculated, targeted high frequency component collection is obtained;By target low frequency point
Quantity set and targeted high frequency component collection carry out the corresponding inverse transformation of above-mentioned multi-scale transform, obtain fused images.Wherein, multiple dimensioned change
Changing may include but be not limited only to:Wavelet transformation, pyramid transform, profile wave convert, shearing wave conversion, ridgelet transform etc..
Alternatively, after step 103, the touch command for predeterminable area can be received, can full frame displaying fused images,
Or, play fused images.
Alternatively, it is above-mentioned that the N lock screen images permeate a fused images, can comprise the steps of:
31) weighted value of each lock screen image in the N lock screen image, is determined;
32), the N lock screen image is merged according to the weighted value of each lock screen image, obtains described melting
Close image.
Alternatively, the weighted value of each lock screen image can voluntarily be arranged by user in N lock screen image, or, system is write from memory
Recognize.After weighted value is determined, the pixel of each position can be calculated according to the weighted value, so as to calculating and melting
Close the pixel value of each pixel of image.
Alternatively, in step 31, can first determine the image quality evaluation values of each lock screen image in N lock screen image, press
It is that each lock screen image configures weighted value according to image quality evaluation values order from high to low, wherein, image quality evaluation values are got over
Greatly, corresponding weighted value is bigger.
Certainly, in above-mentioned N lock screen images, the weighted value of each lock screen image between 0~1, a certain lock screen image
Weighted value it is bigger, illustrate that the shared ratio in fused images of the lock screen image is great, it is easier to tell in fused images
The feature of the lock screen image;On the contrary, the weighted value of a certain lock screen image is less, lock screen image institute in fused images is illustrated
The proportion for accounting for is little, is less susceptible to tell the feature of the lock screen image in fused images, according to the characteristic, if a certain screen locking figure
Picture more privacy, can set little by the weighted value of the lock screen image.If the weighted value of a lock screen image is 0, in fused images
The lock screen image is can not see completely.By arranging the weighted value of a certain lock screen image little, it is capable of achieving to some lock screen images
It is hidden.Certainly, according to different weighted values, different fused images are obtained, to a certain extent, are capable of achieving different
Lock screen image (fused images) so that screen locking magazine is more interesting.
Alternatively, it is above-mentioned that the N lock screen images permeate a fused images, can comprise the steps of:
33), N lock screen image is divided into M groups, each group includes at least 2 lock screen images in the M groups, wherein, M is
Integer more than 1;
34), each group of corresponding lock screen image in the M groups is carried out into image co-registration, obtains M the first fused images;
35), the M the first fused images are carried out into image co-registration, obtains fused images.
Wherein, N lock screen image can be randomly divided into M groups, and the M groups can be randomly choosed by system, or, voluntarily set by user
Put.Each group of lock screen image can carry out image co-registration, thus, the Image Fusion of each group selection in M group lock screen images
Can be different, for example, in the case that M is 3, respectively:A groups, B groups and C groups, A groups lock screen image selects wavelet transformation to carry out figure
As fusion, B groups lock screen image selects profile ripple to carry out image co-registration, and C groups lock screen image selects pyramid transform to carry out figure
As fusion.Thus, even if being directed to same group of lock screen image, using different Image Fusions, the fused images for obtaining are not yet
Equally.Finally, M the first lock screen image is merged, fused images is obtained, a kind of interesting image can be provided the user
Processing method, a kind of special effect processing is realized to image.
For example, as shown in Figure 1a, Fig. 1 a be terminal under the screen lock state, locking screen interface can show multiple lock screen images and
Predeterminable area, certainly, the N lock screen images is added in predeterminable area, and multiple lock screen images can permeate Zhang Rong
Close image.
Alternatively, certainly, after step 103, can also comprise the steps of:
It is contrary with above-mentioned preset direction when rocking event detecting, fused images are separated.Thus, can be one by one
Original N lock screen image of reduction.
Still optionally further, after step 103, can also comprise the steps of:
Obtain subscriber authentication information;
The subscriber authentication information and default authentication information are compared;
It is contrary with above-mentioned preset direction when rocking event detecting if comparing successfully, fused images are separated.
Thus, after fused images are obtained, after only subscriber authentication passes through, could detect and preset direction
It is contrary to be separated fused images when rocking event, the security to lock screen image can be improved, even if lock screen image is private
Close image, it is also possible to which it can be protected.Above-mentioned subscriber authentication information may include but be not limited only to:Character string, numeral, refer to
Line information, iris information, voiceprint, voice messaging, face information etc..
Can be under screen lock state in terminal by the embodiment of the present invention, show N lock screen image, wherein N is more than 1
Integer, N lock screen images are added to predeterminable area, and N lock screen image is permeated a fused images, and in predeterminable area
Show fused images.So as to, multiple images can be carried out into image co-registration under screen lock state, only screen lock state is not provided
It is more multi-functional, and image co-registration operation can be carried out to lock screen image under screen lock state.
Consistent with the abovely, Fig. 2 is referred to, is a kind of the second enforcement of image processing method provided in an embodiment of the present invention
Example schematic flow sheet.Image processing method described in the present embodiment, comprises the following steps:
201st, it is under screen lock state in terminal, shows N lock screen image, wherein, the N is the integer more than 1.
202nd, detect whether generation preset direction rocks event.
Wherein, preset direction can be either direction, depending on concrete condition can be according to actual conditions, for example, in Fig. 2 a, comprising
Both direction, a directions are that what is occurred to the left the rock direction of event, b directions are that what is occurred to the right rock the direction of event.As schemed
2b, can include 4 directions, a directions are that what is occurred to the left the rock direction of event, b directions be occur to the right rock event
Direction, c directions are that what is occurred upwards the rock direction of event, b directions are the downward direction for rocking event for occurring.Preset direction
Can also be multiple directions formed combinations of directions (in Fig. 2 b, can elder generation d directions rocked, then, c is rocked in direction)
Alternatively, above-mentioned steps 202 can be implemented using following manner, including:
The acceleration of the preset direction is detected whether more than the first predetermined threshold value, if, it is determined that detect described pre-
Set direction rocks event.Wherein, the first predetermined threshold value is voluntarily arranged by system default or user, if acceleration is less than or waits
In the first predetermined threshold value, it is believed that what preset direction did not occurred rocks event, it is mainly used in preventing maloperation.In said process,
Acceleration transducer can be adopted to detect the acceleration of preset direction.
Alternatively, above-mentioned steps 202 can be implemented using following manner, including:
Whether that detects the preset direction rocks the time more than the second predetermined threshold value, if, it is determined that detect described
Preset direction rocks event.Wherein, the second predetermined threshold value is voluntarily arranged by system default or user, if the time of rocking is less than
Or equal to the second predetermined threshold value, it is believed that what preset direction did not occurred rocks event, is mainly used in preventing maloperation.
Alternatively, above-mentioned steps 202 can be implemented using following manner, including:
The sway frequency of the preset direction is detected whether more than the 3rd predetermined threshold value, if, it is determined that detect described
Preset direction rocks event.Wherein, the 3rd predetermined threshold value is voluntarily arranged by system default or user, if the amplitude of rocking is less than
Or equal to the 3rd predetermined threshold value, it is believed that what preset direction did not occurred rocks event, is mainly used in preventing maloperation.
Alternatively, alternatively, above-mentioned steps 202 can be implemented using following manner, including:
Whether that detects the preset direction rocks track more than desired guiding trajectory, if, it is determined that detect described default
Event is rocked in direction.If not, it is believed that what preset direction did not occurred rocks event, it is mainly used in preventing maloperation.Certainly, shake
Shaking track can be pre-set by user.
203rd, if so, the N is opened into lock screen image to add to predeterminable area.
204th, the N lock screen images are permeated a fused images, and shows the fusion in the predeterminable area
Image.
Certainly, after step 204, can also comprise the steps of:
It is contrary with above-mentioned preset direction when rocking event detecting, N lock screen image is separated.Thus, can
Original N lock screen image is reduced one by one.
Wherein, above-mentioned steps 201, step 203-204 can be found in the corresponding steps of the image processing method described by Fig. 1.
As can be seen that after the event of rocking is detected, quickly N lock screen image can be added into predeterminable area, and it is not required to
To add N lock screen image one by one, be capable of achieving the rapid fusion to N lock screen image.Certainly, rock event to touch equivalent to one
Send instructions, due to adding lock screen image under the state of rocking, thus, multiple lock screen images can be carried out adding to a certain extent
It is close, for example, if multiple lock screen images merge, the characteristics of fused images contain multiple lock screen images, thus, user cannot
Single lock screen image is identified from fused images.
Consistent with the abovely, Fig. 3 is referred to, is a kind of the 3rd enforcement of image processing method provided in an embodiment of the present invention
Example schematic flow sheet.Image processing method described in the present embodiment, comprises the following steps:
301st, it is under screen lock state in terminal, shows N lock screen image, wherein, the N is the integer more than 1.
302nd, the N lock screen image is added to predeterminable area.
303rd, when the N lock screen image has the target lock screen image comprising facial image, the target lock is extracted
Facial image in screen image.
Wherein, when at least one lock screen image includes facial image in N lock screen image, can be to including facial image
Lock screen image carries out recognition of face, after face is recognized, extracts the facial image.Certainly, the screen locking comprising facial image
Image may be more than one, thus, can be using the lock screen image comprising facial image as target facial image, target face figure
As being 1, it is also possible to for multiple.
304th, the lock screen image in the N lock screen image in addition to the target lock screen image is carried out at virtualization
Reason.
Wherein, virtualization process can be carried out to the lock screen image not comprising facial image in N lock screen image, what virtualization was processed
Main embodiment can be:Virtualization process is carried out to non-image using Gaussian Blur algorithm, after virtualization, image can become mould
Paste.
305th, the lock screen image after all virtualizations are processed is merged, and obtains blurring fused images.
Wherein, the image interfusion method described by Fig. 1 can be adopted to merge the lock screen image after virtualization process, from
And, obtain blurring fused images.
306th, the facial image is superimposed upon into the virtualization fused images top, obtains fused images.
Wherein, facial image can be superimposed upon the virtualization fused images top that step 305 is obtained, specifically, people can be obtained
The original position of face image, determines target area of the facial image in virtualization fused images, by face figure according to the position
Image as replacing the target area, obtains final fused images.By this way, it is capable of achieving a kind of special efficacy.
For example, 3 lock screen images, wherein includes facial image, then, facial image is can extract, to remaining 2 not
Lock screen image comprising facial image carries out background blurring process, obtains blurring fused images, thus, 2 lock screen images become
Must obscure, then, then facial image is superimposed upon into the virtualization fused images top, fused images are obtained, image now is just only
Have facial image clear, other regions it is image blurring, but incorporated above-mentioned 2 lock screen images not comprising facial image
Some features, final fused images have unique effect.
As can be seen that aforesaid way, in the fused images for obtaining, can retain facial image, also, inhuman face image institute
In region blur, a kind of special efficacy is reached so that screen locking magazine is more interesting.
Consistent with the abovely, the device of the image processing method for providing for the execution embodiments of the present invention below, specifically
It is as follows:
Fig. 4 a are referred to, is a kind of first embodiment structural representation of terminal provided in an embodiment of the present invention.This enforcement
Terminal described in example, including:Display unit 401, adding device 402 and processing unit 403, it is specific as follows:
Display unit 401, for being under screen lock state in terminal, shows N lock screen images, wherein, the N be more than
1 integer;
Adding device 402, the N lock screen image for the display unit 401 to be shown is added to predeterminable area;
Processing unit 403, permeates Zhang Ronghe for the N that adds the adding device 402 lock screen image
Image, and show the fused images in the predeterminable area.
Alternatively, the display unit 402 specifically for:
Obtain in image library apart from the nearest N of current time lock screen image;Screen locking is illustrated according to time order and function order
N described in showing interface lock screen image;
Alternatively, the display unit 402 specifically for:
Obtain current location;Show the N lock screen image associated with the current location in the locking screen interface.
Alternatively, such as Fig. 4 b, Fig. 4 b are a kind of modification structures of the terminal described by Fig. 4 a, and Fig. 4 b go back compared with Fig. 4 a
Detector unit 404 can be included, it is specific as follows:
Detector unit 404, after showing N lock screen image in the display unit 401, detects whether occur to preset
Event is rocked in direction, detects when rocking event of the preset direction in the detector unit 404, by the adding device
402 add the N lock screen image to predeterminable area.
Still optionally further, the detector unit 404 specifically for:
The acceleration of the preset direction is detected whether more than the first predetermined threshold value, if, it is determined that detect described pre-
Set direction rocks event;
Or,
Whether that detects the preset direction rocks the time more than the second predetermined threshold value, if, it is determined that detect described
Preset direction rocks event;
Or,
The sway frequency of the preset direction is detected whether more than the 3rd predetermined threshold value, if, it is determined that detect described
Preset direction rocks event.
Alternatively, the processing unit 403 specifically for:
Determine the weighted value of each lock screen image in the N lock screen image, and according to the power of each lock screen image
Weight values merge to the N lock screen image, obtain the fused images.
Alternatively, when the N lock screen image has the target lock screen image comprising facial image, the processing unit
403 specifically for:
Extract the facial image in the target lock screen image;The N is opened in lock screen image except the target screen locking
Lock screen image beyond image carries out virtualization process;Lock screen image after all virtualizations are processed is merged, and obtains void
Change fused images;The facial image is superimposed upon into the virtualization fused images top, the fused images are obtained.
Can be under screen lock state in terminal by the terminal described by the embodiment of the present invention, show N lock screen image, its
Middle N is the integer more than 1, and N lock screen images are added to predeterminable area, and N lock screen image is permeated a fused images,
And show fused images in predeterminable area.So as to, multiple images can be carried out into image co-registration under screen lock state, only do not lock
Screen state provides more multi-functional, and can carry out image co-registration operation to lock screen image under screen lock state.
Fig. 5 is referred to, is a kind of second embodiment structural representation of terminal provided in an embodiment of the present invention.The present embodiment
Described in terminal, including:At least one input equipment 1000;At least one output equipment 2000;At least one processor
3000, such as CPU;With memory 4000, above-mentioned input equipment 1000, output equipment 2000, processor 3000 and memory
4000 are connected by bus 5000.
Wherein, above-mentioned input equipment 1000 concretely contact panel, physical button or mouse.
The concretely display screen of above-mentioned output equipment 2000.
Above-mentioned memory 4000 can be high-speed RAM memory, alternatively nonvolatile storage (non-volatile
Memory), such as magnetic disc store.Above-mentioned memory 4000 is used to store batch processing code, above-mentioned input equipment 1000, defeated
Going out equipment 2000 and processor 3000 is used to call the program code stored in memory 4000, performs following operation:
Above-mentioned processor 3000, is used for:
It is under screen lock state in terminal, shows N lock screen image, wherein, the N is the integer more than 1;
The N lock screen image is added to predeterminable area;
The N lock screen images are permeated a fused images, and shows the fused images in the predeterminable area.
Alternatively, above-mentioned processor 3000 shows N lock screen image, including:
Obtain in image library apart from the nearest N of current time lock screen image;
Locking screen interface is illustrated according to time order and function order show the N lock screen image;
Or,
Obtain current location;
Show the N lock screen image associated with the current location in the locking screen interface.
Alternatively, after the displaying N lock screen images, and described the N lock screen image is added to default
Before region, above-mentioned processor 3000 also particularly useful for:
Detect whether generation preset direction rocks event;
Detecting when rocking event of the preset direction, perform and described add the N lock screen image to default
The step of region.
Alternatively, above-mentioned processor 3000 detects whether that preset direction occurs rocks event, including:
The acceleration of the preset direction is detected whether more than the first predetermined threshold value, if, it is determined that detect described pre-
Set direction rocks event;
Or,
Whether that detects the preset direction rocks the time more than the second predetermined threshold value, if, it is determined that detect described
Preset direction rocks event;
Or,
The sway frequency of the preset direction is detected whether more than the 3rd predetermined threshold value, if, it is determined that detect described
Preset direction rocks event.
Alternatively, above-mentioned processor 3000 permeates the N lock screen images a fused images, including:
Determine the weighted value of each lock screen image in the N lock screen image;
The N lock screen image is merged according to the weighted value of each lock screen image, obtains the fusion figure
Picture.
Alternatively, when the N lock screen image has the target lock screen image comprising facial image, above-mentioned processor
3000 permeate the N lock screen images a fused images, including:
Extract the facial image in the target lock screen image;
Virtualization process is carried out to the lock screen image in the N lock screen image in addition to the target lock screen image;
Lock screen image after all virtualizations are processed is merged, and obtains blurring fused images;
The facial image is superimposed upon into the virtualization fused images top, the fused images are obtained.
The embodiment of the present invention also provides a kind of computer-readable storage medium, wherein, the computer-readable storage medium can be stored with journey
Sequence, including the part or all of step of any image processing method described in said method embodiment during the program performing
Suddenly.
Although here combines each embodiment, and invention has been described, however, implementing the present invention for required protection
During, those skilled in the art are by checking the accompanying drawing, disclosure and appended claims, it will be appreciated that and it is real
Other changes of the existing open embodiment.In the claims, " including " (comprising) word be not excluded for other composition
Part or step, "a" or "an" is not excluded for multiple situations.Single processor or other units can realize claim
In some functions enumerating.Mutually different has been recited in mutually different dependent some measures, it is not intended that these are arranged
Apply to combine and produce good effect.
It will be understood by those skilled in the art that embodiments of the invention can be provided as method, device (equipment) or computer journey
Sequence product.Therefore, the present invention can using complete hardware embodiment, complete software embodiment or with reference to software and hardware in terms of
The form of embodiment.And, the present invention can be adopted and wherein include the calculating of computer usable program code at one or more
The computer program implemented in machine usable storage medium (including but not limited to magnetic disc store, CD-ROM, optical memory etc.)
The form of product.Computer program is stored/distributed in suitable medium, is provided together with other hardware or as the one of hardware
Part, it would however also be possible to employ other distribution forms, such as by Internet or other wired or wireless telecommunication systems.
The present invention be with reference to the embodiment of the present invention method, device (equipment) and computer program flow chart with/
Or block diagram is describing.It should be understood that can by each flow process in computer program instructions flowchart and/or block diagram and/
Or the combination of square frame and flow chart and/or the flow process in block diagram and/or square frame.These computer program instructions can be provided
To the processor of all-purpose computer, special-purpose computer, Embedded Processor or other programmable data processing devices producing one
Individual machine so that produced for realizing by the instruction of computer or the computing device of other programmable data processing devices
The device of the function of specifying in one flow process of flow chart or one square frame of multiple flow processs and/or block diagram or multiple square frames.
These computer program instructions may be alternatively stored in can guide computer or other programmable data processing devices with spy
In determining the computer-readable memory that mode works so that the instruction being stored in the computer-readable memory is produced to be included referring to
Make the manufacture of device, the command device realize in one flow process of flow chart or one square frame of multiple flow processs and/or block diagram or
The function of specifying in multiple square frames.
These computer program instructions also can be loaded into computer or other programmable data processing devices so that in meter
Series of operation steps is performed on calculation machine or other programmable devices to produce computer implemented process, so as in computer or
The instruction performed on other programmable devices is provided for realizing in one flow process of flow chart or multiple flow processs and/or block diagram one
The step of function of specifying in individual square frame or multiple square frames.
Although with reference to specific features and embodiment, invention has been described, it is clear that, without departing from this
In the case of bright spirit and scope, various modifications and combinations can be carried out to it.Correspondingly, the specification and drawings are only institute
The exemplary illustration of the invention that attached claim is defined, and be considered as cover in the scope of the invention any and all and repair
Change, change, combining or equivalent.Obviously, those skilled in the art the present invention can be carried out it is various change and modification and not
Depart from the spirit and scope of the present invention.So, if the present invention these modification and modification belong to the claims in the present invention and its
Within the scope of equivalent technologies, then the present invention is also intended to comprising these changes and modification.
Claims (13)
1. a kind of image processing method, it is characterised in that include:
It is under screen lock state in terminal, shows N lock screen image, wherein, the N is the integer more than 1;
The N lock screen image is added to predeterminable area;
The N lock screen images are permeated a fused images, and shows the fused images in the predeterminable area.
2. method according to claim 1, it is characterised in that the displaying N lock screen image, including:
Obtain in image library apart from the nearest N of current time lock screen image;
Locking screen interface is illustrated according to time order and function order show the N lock screen image;
Or,
Obtain current location;
Show the N lock screen image associated with the current location in the locking screen interface.
3. the method according to any one of claim 1 or 2, it is characterised in that after the displaying N lock screen image,
And it is described the N lock screen images are added to before predeterminable area, methods described also includes:
Detect whether generation preset direction rocks event, is detecting when rocking event of the preset direction, performs described
The step of N lock screen image is added to predeterminable area.
4. method according to claim 3, it is characterised in that it is described detect whether to occur preset direction rock event,
Including:
The acceleration of the preset direction is detected whether more than the first predetermined threshold value, if, it is determined that detect the default side
To rock event;
Or,
Whether that detects the preset direction rocks the time more than the second predetermined threshold value, if, it is determined that detect described default
Event is rocked in direction;
Or,
The sway frequency of the preset direction is detected whether more than the 3rd predetermined threshold value, if, it is determined that detect described default
Event is rocked in direction.
5. the method according to any one of claims 1 to 3, it is characterised in that described to be fused to the N lock screen image
One fused images, including:
Determine the weighted value of each lock screen image in the N lock screen image;
The N lock screen image is merged according to the weighted value of each lock screen image, obtains the fused images.
6. the method according to any one of claims 1 to 3, it is characterised in that exist in the N lock screen image and include people
During the target lock screen image of face image,
It is described that the N lock screen images permeate a fused images, including:
Extract the facial image in the target lock screen image;
Virtualization process is carried out to the lock screen image in the N lock screen image in addition to the target lock screen image;
Lock screen image after all virtualizations are processed is merged, and obtains blurring fused images;
The facial image is superimposed upon into the virtualization fused images top, the fused images are obtained.
7. a kind of terminal, it is characterised in that include:
Display unit, for being under screen lock state in terminal, shows N lock screen image, wherein, the N is whole more than 1
Number;
Adding device, the N lock screen image for the display unit to be shown is added to predeterminable area;
Processing unit, permeates a fused images for the N that adds the adding device lock screen image, and in institute
State predeterminable area and show the fused images.
8. terminal according to claim 7, it is characterised in that the display unit specifically for:
Obtain in image library apart from the nearest N of current time lock screen image;Locking screen interface is illustrated according to time order and function order
Show the N lock screen image;
Or,
Obtain current location;Show the N lock screen image associated with the current location in the locking screen interface.
9. the terminal according to any one of claim 7 or 8, it is characterised in that the terminal also includes:
Detector unit, after showing N lock screen image in the display unit, detects whether rocking for preset direction
Event, in the detector unit when rocking event of the preset direction is detected, and the N is opened into screen locking by the adding device
Image adds to predeterminable area.
10. terminal according to claim 9, it is characterised in that the detector unit specifically for:
The acceleration of the preset direction is detected whether more than the first predetermined threshold value, if, it is determined that detect the default side
To rock event;
Or,
Whether that detects the preset direction rocks the time more than the second predetermined threshold value, if, it is determined that detect described default
Event is rocked in direction;
Or,
The sway frequency of the preset direction is detected whether more than the 3rd predetermined threshold value, if, it is determined that detect described default
Event is rocked in direction.
11. terminals according to any one of claim 7 to 9, it is characterised in that the processing unit specifically for:
Determine the weighted value of each lock screen image in the N lock screen image, and according to the weighted value of each lock screen image
The N lock screen image is merged, the fused images are obtained.
12. terminals according to any one of claim 7 to 9, it is characterised in that exist in the N lock screen image and include
During the target lock screen image of facial image,
The processing unit specifically for:
Extract the facial image in the target lock screen image;The N is opened in lock screen image except the target lock screen image
Lock screen image in addition carries out virtualization process;Lock screen image after all virtualizations are processed is merged, and is obtained virtualization and is melted
Close image;The facial image is superimposed upon into the virtualization fused images top, the fused images are obtained.
13. a kind of terminals, it is characterised in that include:
Processor and memory;Wherein, code during the processor is by calling the memory or instruction are performing such as power
Profit requires the method described in 1 to 6 any one.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201610822388.2A CN106651751B (en) | 2016-09-13 | 2016-09-13 | Image processing method and terminal |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201610822388.2A CN106651751B (en) | 2016-09-13 | 2016-09-13 | Image processing method and terminal |
Publications (2)
Publication Number | Publication Date |
---|---|
CN106651751A true CN106651751A (en) | 2017-05-10 |
CN106651751B CN106651751B (en) | 2020-05-05 |
Family
ID=58852145
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201610822388.2A Active CN106651751B (en) | 2016-09-13 | 2016-09-13 | Image processing method and terminal |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN106651751B (en) |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN108154475A (en) * | 2017-12-22 | 2018-06-12 | 维沃移动通信有限公司 | A kind of image processing method and device |
CN114780004A (en) * | 2022-04-11 | 2022-07-22 | 北京达佳互联信息技术有限公司 | Image display method and device, electronic equipment and storage medium |
Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20110193778A1 (en) * | 2010-02-05 | 2011-08-11 | Samsung Electronics Co., Ltd. | Device and method for controlling mouse pointer |
CN104267891A (en) * | 2014-09-19 | 2015-01-07 | 苏州天平先进数字科技有限公司 | Touch screen terminal lock screen background setting method |
CN104503659A (en) * | 2014-12-15 | 2015-04-08 | 广东威创视讯科技股份有限公司 | Intelligent terminal screen locking display method and system |
CN105046676A (en) * | 2015-08-27 | 2015-11-11 | 上海斐讯数据通信技术有限公司 | Image fusion method and equipment based on intelligent terminal |
CN105446610A (en) * | 2014-09-30 | 2016-03-30 | 中兴通讯股份有限公司 | Picture processing method and apparatus |
CN105787067A (en) * | 2016-03-01 | 2016-07-20 | 上海卓易科技股份有限公司 | Method and device for customizing a desktop theme |
-
2016
- 2016-09-13 CN CN201610822388.2A patent/CN106651751B/en active Active
Patent Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20110193778A1 (en) * | 2010-02-05 | 2011-08-11 | Samsung Electronics Co., Ltd. | Device and method for controlling mouse pointer |
CN104267891A (en) * | 2014-09-19 | 2015-01-07 | 苏州天平先进数字科技有限公司 | Touch screen terminal lock screen background setting method |
CN105446610A (en) * | 2014-09-30 | 2016-03-30 | 中兴通讯股份有限公司 | Picture processing method and apparatus |
CN104503659A (en) * | 2014-12-15 | 2015-04-08 | 广东威创视讯科技股份有限公司 | Intelligent terminal screen locking display method and system |
CN105046676A (en) * | 2015-08-27 | 2015-11-11 | 上海斐讯数据通信技术有限公司 | Image fusion method and equipment based on intelligent terminal |
CN105787067A (en) * | 2016-03-01 | 2016-07-20 | 上海卓易科技股份有限公司 | Method and device for customizing a desktop theme |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN108154475A (en) * | 2017-12-22 | 2018-06-12 | 维沃移动通信有限公司 | A kind of image processing method and device |
CN114780004A (en) * | 2022-04-11 | 2022-07-22 | 北京达佳互联信息技术有限公司 | Image display method and device, electronic equipment and storage medium |
Also Published As
Publication number | Publication date |
---|---|
CN106651751B (en) | 2020-05-05 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US20210097297A1 (en) | Image processing method, electronic device and storage medium | |
CN107291810B (en) | Data processing method, device and storage medium | |
KR101773885B1 (en) | A method and server for providing augmented reality objects using image authentication | |
CN104899490B (en) | A kind of method of locating terminal and user terminal | |
CN111783756B (en) | Text recognition method and device, electronic equipment and storage medium | |
CN104992096B (en) | A kind of data guard method and mobile terminal | |
CN106791708B (en) | A kind of method for processing video frequency and device | |
CN106878670B (en) | A kind of method for processing video frequency and device | |
CN106161962B (en) | A kind of image processing method and terminal | |
CN106650615B (en) | A kind of image processing method and terminal | |
CN106658672A (en) | Wireless fidelity Wi-Fi connecting method and mobile terminal | |
CN104866755B (en) | Setting method and device for background picture of application program unlocking interface and electronic equipment | |
CN105320871A (en) | Screen unlocking method and screen unlocking apparatus | |
CN109116129B (en) | Terminal detection method, detection device, system and storage medium | |
CN105049597A (en) | Interaction method and system for entering visitor mode during picture browse of mobile terminal | |
CN106657913B (en) | A kind of method for processing video frequency and device | |
CN113486377A (en) | Image encryption method and device, electronic equipment and readable storage medium | |
CN106937087A (en) | A kind of method for processing video frequency and device | |
CN106651751A (en) | Image processing method and terminal | |
CN117115287A (en) | Image generation method, device, electronic equipment and readable storage medium | |
WO2013145874A1 (en) | Information processing device, information processing method and program | |
CN115690845A (en) | Motion trail prediction method and device | |
CN106686588A (en) | Wireless fidelity Wi-Fi connecting method and mobile terminal | |
CN114359789A (en) | Target detection method, device, equipment and medium for video image | |
CN114612321A (en) | Video processing method, device and equipment |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
CB02 | Change of applicant information |
Address after: Changan town in Guangdong province Dongguan 523860 usha Beach Road No. 18 Applicant after: GUANGDONG OPPO MOBILE TELECOMMUNICATIONS CORP., Ltd. Address before: Changan town in Guangdong province Dongguan 523860 usha Beach Road No. 18 Applicant before: GUANGDONG OPPO MOBILE TELECOMMUNICATIONS CORP., Ltd. |
|
CB02 | Change of applicant information | ||
GR01 | Patent grant | ||
GR01 | Patent grant |