CN107450796A - A kind of image processing method, mobile terminal and computer-readable recording medium - Google Patents
A kind of image processing method, mobile terminal and computer-readable recording medium Download PDFInfo
- Publication number
- CN107450796A CN107450796A CN201710521393.4A CN201710521393A CN107450796A CN 107450796 A CN107450796 A CN 107450796A CN 201710521393 A CN201710521393 A CN 201710521393A CN 107450796 A CN107450796 A CN 107450796A
- Authority
- CN
- China
- Prior art keywords
- time point
- application program
- class application
- pictorial element
- interactive class
- 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
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F3/00—Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
- G06F3/01—Input arrangements or combined input and output arrangements for interaction between user and computer
- G06F3/048—Interaction techniques based on graphical user interfaces [GUI]
- G06F3/0481—Interaction techniques based on graphical user interfaces [GUI] based on specific properties of the displayed interaction object or a metaphor-based environment, e.g. interaction with desktop elements like windows or icons, or assisted by a cursor's changing behaviour or appearance
- G06F3/04817—Interaction techniques based on graphical user interfaces [GUI] based on specific properties of the displayed interaction object or a metaphor-based environment, e.g. interaction with desktop elements like windows or icons, or assisted by a cursor's changing behaviour or appearance using icons
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F3/00—Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
- G06F3/01—Input arrangements or combined input and output arrangements for interaction between user and computer
- G06F3/048—Interaction techniques based on graphical user interfaces [GUI]
- G06F3/0487—Interaction techniques based on graphical user interfaces [GUI] using specific features provided by the input device, e.g. functions controlled by the rotation of a mouse with dual sensing arrangements, or of the nature of the input device, e.g. tap gestures based on pressure sensed by a digitiser
- G06F3/0488—Interaction techniques based on graphical user interfaces [GUI] using specific features provided by the input device, e.g. functions controlled by the rotation of a mouse with dual sensing arrangements, or of the nature of the input device, e.g. tap gestures based on pressure sensed by a digitiser using a touch-screen or digitiser, e.g. input of commands through traced gestures
Landscapes
- Engineering & Computer Science (AREA)
- General Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- Human Computer Interaction (AREA)
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- User Interface Of Digital Computer (AREA)
Abstract
A kind of image processing method, mobile terminal and computer-readable recording medium, the image processing method include:Mobile terminal records detect the first time point of default control instruction and obtain pending picture according to default control instruction;When judging to meet preparatory condition, obtain the interactive class application program that is used in the preset duration before first time point of mobile terminal and use the second time point of interactive class application program;The classification of pictorial element is carried out to the pending picture of acquisition according to the number of the interactive class application program of acquisition and default control instruction;According to the corresponding icon for showing interactive class application program in the pictorial element of each second time point after sorting;When detecting the control operation to the icon of one or more interactive class application programs, obtain control operation information and sharing for pictorial element is carried out according to control operation information.The embodiment of the present invention realizes sharing for the pictorial element that is included to picture, improves Consumer's Experience.
Description
Technical field
The present embodiments relate to but be not limited to intelligent terminal technology, espespecially a kind of image processing method, mobile terminal and
Computer-readable recording medium.
Background technology
With the development of science and technology, increasing user uses interactive class application program (for example, wechat application program, qq
Application program etc.) sharing for data is carried out, for example, user can will shoot picture either screenshot picture by shortcut by handing over
Mutual class application program is shared with other users.But up to the present it can not also realize to certain parts of images element in picture
Sharing method, cause Consumer's Experience bad.
The content of the invention
It is the general introduction of the theme to being described in detail herein below.It is to limit the protection model of claim that this general introduction, which is not,
Enclose.
, can the embodiments of the invention provide a kind of image processing method, mobile terminal and computer-readable recording medium
Sharing for the pictorial element included to picture is realized, lifts Consumer's Experience.
In order to reach the application purpose, the embodiments of the invention provide a kind of image processing method, including:
When detect default control instruction when, mobile terminal records detect default control instruction first time point and
Pending picture is obtained according to default control instruction;
When judging that state of the mobile terminal in the preset duration before first time point meets preparatory condition, obtain
One or more interactive class application programs and make that mobile terminal uses in the preset duration before first time point
With the second time point of each interactive class application program;
The pending picture of acquisition is carried out according to the number of the interactive class application program of acquisition and default control instruction
The classification of pictorial element;
According to the corresponding icon for showing interactive class application program in the pictorial element of each second time point after sorting;
When detecting the control operation to the icon of one or more interactive class application programs, control operation is obtained
Information simultaneously carries out sharing for pictorial element according to control operation information.
Alternatively, the default control instruction includes:Photographing instruction or screenshotss instruction;
It is described that pending picture bag is obtained according to default control instruction when default control instruction is photographing instruction
Include:
Obtain the first camera data of the first camera;
Obtain the second camera data of second camera;
First camera data and second camera data are synthesized based on preset algorithm, to obtain comprising every
The pending picture of the depth of field value of individual pixel.
Alternatively, when default control instruction is the photographing instruction, the interactive class application journey according to acquisition
The classification that number and the default control instruction of sequence carry out pictorial element to the pending picture of acquisition includes:
According to the depth of field value of the number of the interactive class application program of the acquisition and each pixel to the pending figure
First depth of field value of the pictorial element after the piecemeal and each piecemeal of determination of piece progress pictorial element;
Obtain the second depth of field value of the pictorial element and described image element corresponding to the focusing of the pending picture;
Calculate the absolute value of difference between each first depth of field value and second depth of field value;
According to the pictorial element corresponding to focusing of the size order of the absolute value calculated to the pending picture and
Pictorial element after the piecemeal is classified.
Alternatively, when default control instruction is the screenshotss instruction, the interactive class application journey according to acquisition
The classification that number and the default control instruction of sequence carry out pictorial element to the pending picture of acquisition includes:
The piecemeal of pictorial element is carried out to the pending picture according to preset strategy and the interaction of the acquisition is set
The first preset threshold range of number of class application program;
Obtain the central spot of the pending picture the first colouring information and each piecemeal after pictorial element
Second colouring information;
Calculate the absolute value of difference between each second colouring information and first colouring information;
It is determined that the first preset threshold range residing for each absolute value calculated;
According to the first preset threshold range residing for each absolute value calculated determined to the image primitive after piecemeal
Element is classified.
Alternatively, it is corresponding in the basis each second time point pictorial element after sorting to show interactive class application
Before the icon of program, this method also includes:
When finding using the second time point of same social class application program more than one, when storage is with described first
Between put the second time point of social class application program described in the minimum use of time interval, and delete and the first time point
The minimum use of time interval described in social class application program the second time point outside use described in social class application journey
Second time point of sequence.
Alternatively, it is corresponding in the pictorial element of the basis each second time point after sorting to show interactive class application journey
The icon of sequence includes:
Calculate the time interval between each second time point and the first time point;
According to the ascending order and the corresponding relation of the pictorial element after different classifications of the time interval calculated
The corresponding icon for showing the interactive class application program.
Alternatively, the control operation information includes:Drag one or more than one interactive class application program figure
Target motion track information, or, the positional information of one or more than one interactive class application program the icon of click;
It is described according to control operation information carry out pictorial element share including:
The motion track information of one or more than one interactive class application program the icon of dragging is included
One or more pictorial elements share in corresponding interactive class application program;Or
One that the positional information for clicking on one or more than one interactive class application program icon is included
Individual pictorial element is shared in corresponding interactive class application program.
Alternatively, the mobile terminal records detect the first time point of default control instruction and according to default controls
Instruct after obtaining pending picture, one used in the acquisition mobile terminal in the preset duration before first time point
Before second time point of individual or more than one interactive class application program and each interactive class application program of use, this method is also
Including:
Judge whether state of the mobile terminal in the preset duration before the first time point meets institute
State preparatory condition.
Wherein, state of the judgement mobile terminal in the preset duration before the first time point is
It is no to meet that the preparatory condition includes:
Judge whether the mobile terminal uses the interaction in the preset duration before the first time point
Class application program;
When judging that the mobile terminal uses the interaction in the preset duration before the first time point
During class application program, judge that state of the mobile terminal in the preset duration before first time point meets preparatory condition;
When judge the mobile terminal in the preset duration before the first time point be not used the friendship
During mutual class application program, judge that state of the mobile terminal in the preset duration before first time point is unsatisfactory for default bar
Part.
The embodiment of the present invention additionally provides a kind of mobile terminal, including:Memory, processor and communication bus;
Communication bus is used to realize the connection communication between processor and memory;
Processor is used to perform the picture processing program stored in memory, to realize at the picture described in any of the above-described
The step of reason method.
The embodiment of the present invention additionally provides a kind of computer-readable recording medium, is deposited on the computer-readable recording medium
One or more picture processing programs are contained, one or more of picture processing programs can be executed by one or more processors
When, the step of to realize the image processing method described in any of the above-described.
Compared with correlation technique, technical scheme includes:When detecting default control instruction, mobile terminal records
Detect the first time point of default control instruction and pending picture is obtained according to default control instruction;When judging to move
When state of the terminal in the preset duration before first time point meets preparatory condition, mobile terminal is obtained in first time point
One or more interactive class application programs for being used in preset duration before and use each interactive class application program
The second time point;The pending picture to acquisition is instructed according to the number of the interactive class application program of acquisition and default control
Carry out the classification of pictorial element;Interactive class application journey is shown according to corresponding in the pictorial element of each second time point after sorting
The icon of sequence;When detecting the control operation to the icon of one or more interactive class application programs, control behaviour is obtained
Make information and sharing for pictorial element is carried out according to control operation information.The embodiment of the present invention realizes the figure included to picture
Sharing for pixel element, improves Consumer's Experience.
After reading and understanding accompanying drawing and being described in detail, it can be appreciated that other aspects.
Brief description of the drawings
Accompanying drawing described herein is used for providing a further understanding of the present invention, forms the part of the application, this hair
Bright schematic description and description is used to explain the present invention, does not form inappropriate limitation of the present invention.In the accompanying drawings:
Fig. 1 is the hardware architecture diagram for realizing each one optional mobile terminal of embodiment of the present invention;
Fig. 2 is a kind of communications network system Organization Chart provided in an embodiment of the present invention;
Fig. 3 is the flow chart of image processing method of the embodiment of the present invention;
Fig. 4 is the schematic diagram of human-computer interaction interface of the embodiment of the present invention;
Fig. 5 (a) is the exemplary plot of clicking operation of the embodiment of the present invention;
Fig. 5 (b) is the exemplary plot of drag operation of the embodiment of the present invention.
Embodiment
For the object, technical solutions and advantages of the present invention are more clearly understood, below in conjunction with accompanying drawing to the present invention
Embodiment be described in detail.It should be noted that in the case where not conflicting, in the embodiment and embodiment in the application
Feature can mutually be combined.
It should be appreciated that the specific embodiments described herein are merely illustrative of the present invention, it is not intended to limit the present invention.
In follow-up description, the suffix using such as " module ", " part " or " unit " for representing element is only
Be advantageous to the explanation of the present invention, itself there is no a specific meaning.Therefore, " module ", " part " or " unit " can mix
Ground uses.
Terminal can be implemented in a variety of manners.For example, the terminal described in the present invention can include such as mobile phone, flat board
Computer, notebook computer, palm PC, personal digital assistant (Personal Digital Assistant, PDA), portable
Media player (Portable Media Player, PMP), guider, wearable device, Intelligent bracelet, pedometer etc. move
Dynamic terminal, and the fixed terminal such as digital TV, desktop computer.
It will be illustrated in subsequent descriptions by taking mobile terminal as an example, it will be appreciated by those skilled in the art that except special
Outside element for moving purpose, construction according to the embodiment of the present invention can also apply to the terminal of fixed type.
Referring to Fig. 1, its hardware architecture diagram for a kind of mobile terminal of each embodiment of the realization present invention, the shifting
Dynamic terminal 100 can include:RF (Radio Frequency, radio frequency) unit 101, WiFi module 102, audio output unit
103rd, A/V (audio/video) input block 104, sensor 105, display unit 106, user input unit 107, interface unit
108th, the part such as memory 109, processor 110 and power supply 111.It will be understood by those skilled in the art that shown in Fig. 1
Mobile terminal structure does not form the restriction to mobile terminal, and mobile terminal can be included than illustrating more or less parts,
Either combine some parts or different parts arrangement.
The all parts of mobile terminal are specifically introduced with reference to Fig. 1:
Radio frequency unit 101 can be used for receiving and sending messages or communication process in, the reception and transmission of signal, specifically, by base station
Downlink information receive after, handled to processor 110;In addition, up data are sent to base station.Generally, radio frequency unit 101
Including but not limited to antenna, at least one amplifier, transceiver, coupler, low-noise amplifier, duplexer etc..In addition, penetrate
Frequency unit 101 can also be communicated by radio communication with network and other equipment.Above-mentioned radio communication can use any communication
Standard or agreement, including but not limited to GSM (Global System of Mobile communication, global system for mobile telecommunications
System), GPRS (General Packet Radio Service, general packet radio service), CDMA2000 (Code
Division Multiple Access 2000, CDMA 2000), WCDMA (Wideband Code Division
Multiple Access, WCDMA), TD-SCDMA (Time Division-Synchronous Code
Division Multiple Access, TD SDMA), FDD-LTE (Frequency Division
Duplexing-Long Term Evolution, FDD Long Term Evolution) and TDD-LTE (Time Division
Duplexing-Long Term Evolution, time division duplex Long Term Evolution) etc..
WiFi belongs to short range wireless transmission technology, and mobile terminal can help user to receive and dispatch electricity by WiFi module 102
Sub- mail, browse webpage and access streaming video etc., it has provided the user wireless broadband internet and accessed.Although Fig. 1 shows
Go out WiFi module 102, but it is understood that, it is simultaneously not belonging to must be configured into for mobile terminal, completely can be according to need
To be omitted in the essential scope for do not change invention.
Audio output unit 103 can be in call signal reception pattern, call mode, record mould in mobile terminal 100
When under the isotypes such as formula, speech recognition mode, broadcast reception mode, by radio frequency unit 101 or WiFi module 102 it is receiving or
It is sound that the voice data stored in memory 109, which is converted into audio signal and exported,.Moreover, audio output unit 103
The audio output related to the specific function that mobile terminal 100 performs can also be provided (for example, call signal receives sound, disappeared
Breath receives sound etc.).Audio output unit 103 can include loudspeaker, buzzer etc..
A/V input blocks 104 are used to receive audio or video signal.A/V input blocks 104 can include graphics processor
(Graphics Processing Unit, GPU) 1041 and microphone 1042, graphics processor 1041 is in video acquisition mode
Or the static images or the view data of video obtained in image capture mode by image capture apparatus (such as camera) are carried out
Reason.Picture frame after processing may be displayed on display unit 106.Picture frame after the processing of graphics processor 1041 can be deposited
Storage is transmitted in memory 109 (or other storage mediums) or via radio frequency unit 101 or WiFi module 102.Mike
Wind 1042 can connect in telephone calling model, logging mode, speech recognition mode etc. operational mode via microphone 1042
Quiet down sound (voice data), and can be voice data by such acoustic processing.Audio (voice) data after processing can
To be converted to the form output that mobile communication base station can be sent to via radio frequency unit 101 in the case of telephone calling model.
Microphone 1042 can implement various types of noises and eliminate (or suppression) algorithm to eliminate (or suppression) in reception and send sound
Caused noise or interference during frequency signal.
Mobile terminal 100 also includes at least one sensor 105, such as optical sensor, motion sensor and other biographies
Sensor.Specifically, optical sensor includes ambient light sensor and proximity transducer, wherein, ambient light sensor can be according to environment
The light and shade of light adjusts the brightness of display panel 1061, and proximity transducer can close when mobile terminal 100 is moved in one's ear
Display panel 1061 and/or backlight.As one kind of motion sensor, accelerometer sensor can detect in all directions (general
For three axles) size of acceleration, size and the direction of gravity are can detect that when static, the application available for identification mobile phone posture
(such as horizontal/vertical screen switching, dependent game, magnetometer pose calibrating), Vibration identification correlation function (such as pedometer, percussion) etc.;
The fingerprint sensor that can also configure as mobile phone, pressure sensor, iris sensor, molecule sensor, gyroscope, barometer,
The other sensors such as hygrometer, thermometer, infrared ray sensor, will not be repeated here.
Display unit 106 is used for the information for showing the information inputted by user or being supplied to user.Display unit 106 can wrap
Display panel 1061 is included, liquid crystal display (Liquid Crystal Display, LCD), Organic Light Emitting Diode can be used
Forms such as (Organic Light-Emitting Diode, OLED) configures display panel 1061.
User input unit 107 can be used for the numeral or character information for receiving input, and produce the use with mobile terminal
The key signals input that family is set and function control is relevant.Specifically, user input unit 107 may include contact panel 1071 with
And other input equipments 1072.Contact panel 1071, also referred to as touch-screen, collect touch operation of the user on or near it
(for example user uses any suitable objects or annex such as finger, stylus on contact panel 1071 or in contact panel 1071
Neighbouring operation), and corresponding attachment means are driven according to formula set in advance.Contact panel 1071 may include touch detection
Two parts of device and touch controller.Wherein, the touch orientation of touch detecting apparatus detection user, and detect touch operation band
The signal come, transmits a signal to touch controller;Touch controller receives touch information from touch detecting apparatus, and by it
Contact coordinate is converted into, then gives processor 110, and the order sent of reception processing device 110 and can be performed.In addition, can
To realize contact panel 1071 using polytypes such as resistance-type, condenser type, infrared ray and surface acoustic waves.Except contact panel
1071, user input unit 107 can also include other input equipments 1072.Specifically, other input equipments 1072 can wrap
Include but be not limited to physical keyboard, in function key (such as volume control button, switch key etc.), trace ball, mouse, action bars etc.
One or more, do not limit herein specifically.
Further, contact panel 1071 can cover display panel 1061, detect thereon when contact panel 1071 or
After neighbouring touch operation, processor 110 is sent to determine the type of touch event, is followed by subsequent processing device 110 according to touch thing
The type of part provides corresponding visual output on display panel 1061.Although in Fig. 1, contact panel 1071 and display panel
1061 be the part independent as two to realize the input of mobile terminal and output function, but in certain embodiments, can
Input and the output function of mobile terminal are realized so that contact panel 1071 and display panel 1061 is integrated, is not done herein specifically
Limit.
Interface unit 108 is connected the interface that can pass through as at least one external device (ED) with mobile terminal 100.For example,
External device (ED) can include wired or wireless head-band earphone port, external power source (or battery charger) port, wired or nothing
Line FPDP, memory card port, the port for connecting the device with identification module, audio input/output (I/O) end
Mouth, video i/o port, ear port etc..Interface unit 108 can be used for receiving the input from external device (ED) (for example, number
It is believed that breath, electric power etc.) and the input received is transferred to one or more elements in mobile terminal 100 or can be with
For transmitting data between mobile terminal 100 and external device (ED).
Memory 109 can be used for storage software program and various data.Memory 109 can mainly include storing program area
And storage data field, wherein, storing program area can storage program area, application program (such as the sound needed at least one function
Sound playing function, image player function etc.) etc.;Storage data field can store according to mobile phone use created data (such as
Voice data, phone directory etc.) etc..In addition, memory 109 can include high-speed random access memory, 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 110 is the control centre of mobile terminal, utilizes each of various interfaces and the whole mobile terminal of connection
Individual part, by running or performing the software program and/or module that are stored in memory 109, and call and be stored in storage
Data in device 109, the various functions and processing data of mobile terminal are performed, so as to carry out integral monitoring to mobile terminal.Place
Reason device 110 may include one or more processing units;Preferably, processor 110 can integrate application processor and modulatedemodulate is mediated
Device is managed, wherein, application processor mainly handles operating system, user interface and application program etc., and modem processor is main
Handle radio communication.It is understood that above-mentioned modem processor can not also be integrated into processor 110.
Mobile terminal 100 can also include the power supply 111 (such as battery) to all parts power supply, it is preferred that power supply 111
Can be logically contiguous by power-supply management system and processor 110, so as to realize management charging by power-supply management system, put
The function such as electricity and power managed.
Although Fig. 1 is not shown, mobile terminal 100 can also will not be repeated here including bluetooth module etc..
For the ease of understanding the embodiment of the present invention, the communications network system being based on below to the mobile terminal of the present invention enters
Row description.
Referring to Fig. 2, Fig. 2 is a kind of communications network system Organization Chart provided in an embodiment of the present invention, the communication network system
Unite as the LTE system of universal mobile communications technology, the UE that the LTE system includes communicating connection successively (User Equipment, is used
Family equipment) 201, E-UTRAN (Evolved UMTS Terrestrial Radio Access Network, evolved UMTS lands
Ground wireless access network) 202, EPC (Evolved Packet Core, evolved packet-based core networks) 203 and operator IP operation
204。
Specifically, UE201 can be above-mentioned terminal 100, and here is omitted.
E-UTRAN202 includes eNodeB2021 and other eNodeB2022 etc..Wherein, eNodeB2021 can be by returning
Journey (backhaul) (such as X2 interface) is connected with other eNodeB2022, and eNodeB2021 is connected to EPC203,
ENodeB2021 can provide UE201 to EPC203 access.
EPC203 can include MME (Mobility Management Entity, mobility management entity) 2031, HSS
(Home Subscriber Server, home subscriber server) 2032, other MME2033, SGW (Serving Gate Way,
Gateway) 2034, PGW (PDN Gate Way, grouped data network gateway) 2035 and PCRF (Policy and
Charging Rules Function, policy and rate functional entity) 2036 etc..Wherein, MME2031 be processing UE201 and
The control node of signaling between EPC203, there is provided carrying and connection management.HSS2032 is all to manage for providing some registers
Such as the function of attaching position register (not shown) etc, and preserve some and used about service features, data rate etc.
The special information in family.All customer data can be transmitted by SGW2034, and PGW2035 can provide UE 201 IP
Address is distributed and other functions, and PCRF2036 is strategy and the charging control strategic decision-making of business data flow and IP bearing resources
Point, it selects and provided available strategy and charging control decision-making with charge execution function unit (not shown) for strategy.
IP operation 204 can include internet, Intranet, IMS (IP Multimedia Subsystem, IP multimedia
System) or other IP operations etc..
Although above-mentioned be described by taking LTE system as an example, those skilled in the art it is to be understood that the present invention not only
Suitable for LTE system, be readily applicable to other wireless communication systems, such as GSM, CDMA2000, WCDMA, TD-SCDMA with
And following new network system etc., do not limit herein.
Based on above-mentioned mobile terminal hardware configuration and communications network system, each embodiment of the inventive method is proposed.
Fig. 3 is the flow chart of image processing method of the embodiment of the present invention, as shown in figure 3, including:
Step 301:When detecting default control instruction, when mobile terminal records detect the first of default control instruction
Between point and pending picture is obtained according to default control instruction.
Wherein, default control of embodiment of the present invention instruction includes:Photographing instruction or screenshotss instruction.
Wherein, when default control instruction is photographing instruction, the embodiment of the present invention obtains according to default control instruction and waits to locate
Reason picture includes:
Obtain the first camera data of the first camera;
Obtain the second camera data of second camera;
The first camera data and the second camera data are synthesized based on preset algorithm, to obtain comprising each pixel
The pending picture of depth of field value.
It should be noted that how using binocular camera (the first camera and second camera) camera data (the
One camera data and the second camera data) picture for including depth of field value is synthesized, belong to well-known to those skilled in the art usual
Technological means, here is omitted, is not intended to limit the application.
Alternatively, also include before present invention method:Add and be used in the system setup menu of mobile terminal
It is turned on and off the configuration item of pictorial element sharing function;
When detecting user to open operation for being turned on and off the configuration item of pictorial element sharing function, open
Motion video element sharing function;
Whether detect that default control instructs.
Alternatively, present invention method also includes:When detecting user to for being turned on and off pictorial element point
When enjoying the configuration item progress shutoff operation of function, pictorial element sharing function is closed.
Step 302:When judging that state of the mobile terminal in the preset duration before first time point meet default bar
During part, one or more interactive class application journeys that mobile terminal uses in the preset duration before first time point are obtained
Sequence and the second time point using each interactive class application program.
Wherein, interactive class of embodiment of the present invention application program is defined as:Data network and other mobile terminals can be passed through
The application program (APP) carried out data transmission, such as wechat application program, qq application programs.
Alternatively, detect the first time point of default control instruction in mobile terminal records and referred to according to default control
Make after obtaining pending picture, one or one used in acquisition mobile terminal in the preset duration before first time point
Before second time point of individual above interactive class application program and each interactive class application program of use, embodiment of the present invention side
Method also includes:
Judge whether state of the mobile terminal in the preset duration before first time point meets preparatory condition.
Wherein, the embodiment of the present invention judges whether state of the mobile terminal in the preset duration before first time point be full
Sufficient preparatory condition includes:
Judge whether mobile terminal uses interactive class application program in the preset duration before first time point;
When judging that mobile terminal uses interactive class application program in the preset duration before first time point, judge
Go out state of the mobile terminal in the preset duration before first time point and meet preparatory condition;
When judging that interactive class application program is not used in the preset duration before first time point in mobile terminal, sentence
Break and state of the mobile terminal in the preset duration before first time point and be unsatisfactory for preparatory condition.
It should be noted that on how to judge whether mobile terminal is this area skill using a certain interactive class application program
Conventional techniques known to art personnel, such as mobile terminal can decide whether to receive for the social class applications trigger
Interactive instruction, for example, wechat application in whether sent out information, or whether rest on wechat application interface in, herein
No longer repeat one by one, be not intended to limit the application.
Step 303:According to the number of the interactive class application program of acquisition and default control instruction to the pending of acquisition
Picture carries out the classification of pictorial element.
Wherein, when default control instruction is photographing instruction, the embodiment of the present invention is according to the interactive class application program of acquisition
Number and default control instruction the classification of pictorial element is carried out to the pending picture of acquisition and is included:
Figure is carried out to pending picture according to the depth of field value of the number of the interactive class application program of acquisition and each pixel
First depth of field value of the pictorial element after the piecemeal and each piecemeal of determination of pixel element;
Obtain the second depth of field value of the pictorial element and the pictorial element corresponding to the focusing of pending picture;
Calculate the absolute value of difference between each first depth of field value and the second depth of field value;
According to the pictorial element and piecemeal corresponding to focusing of the size order of the absolute value calculated to pending picture
Pictorial element afterwards is classified.
Wherein, the embodiment of the present invention is according to the number of the interactive class application program of acquisition and the depth of field value pair of each pixel
The piecemeal that pending picture carries out pictorial element includes:
The second preset threshold range of number of the interactive class application program obtained is set;
The absolute value of difference between the depth of field value of each pixel and predetermined threshold value is calculated respectively;
Multiple pixels corresponding to the absolute value that will belong in same second preset threshold range are divided into same pictorial element.
It should be noted that the second preset threshold range of number for the interactive class application program that the embodiment of the present invention obtains
Be it is continuous, continuous second preset threshold range refer to each second preset threshold range the upper limit be less than it is adjacent thereto and
The lower limit of the second big preset threshold range than its scope, and the lower limit of each second preset threshold range is more than adjacent thereto
And the lower limit of second preset threshold range smaller than its scope, for example, [0,3), [3,4), [4,6) and [6,7) it is exactly continuous
Number range, or, [0,2), [2,4), [4,6) and [6,8) it is continuous number range, or [0,1.2), [1.2,2.2)
[2.2,3.2) it is continuous number range.
For example, the corresponding pictorial element that will can focus is divided into the first kind, by the absolute value of first small (minimum)
Pictorial element after corresponding each piecemeal is divided into the second class, by the image primitive after each piecemeal corresponding to the second small absolute value
Element is divided into the 3rd class, and the rest may be inferred.
Wherein, when default control instruction is screenshotss instruction, the embodiment of the present invention is according to the interactive class application program of acquisition
Number and default control instruction the classification of pictorial element is carried out to the pending picture of acquisition and is included:
The piecemeal of pictorial element is carried out to pending picture according to preset strategy and the interactive class application journey obtained is set
The first preset threshold range of number of sequence;
Obtain the central spot of pending picture the first colouring information and each piecemeal after pictorial element second
Colouring information;
Calculate the absolute value of difference between each second colouring information and the first colouring information;
It is determined that the first preset threshold range residing for each absolute value calculated;
According to the first preset threshold range residing for each absolute value calculated determined to the image primitive after piecemeal
Element is classified.
Wherein, it is right according to their needs by user can be to provide a human-computer interaction interface for preset strategy of the embodiment of the present invention
Pending picture carries out piecemeal (such as can carry out piecemeal, dragging drags the position of frame and adjusts dragging frame by dragging frame
Size can select the size of piecemeal), as shown in Figure 4;Piecemeal can also be carried out according to colouring information to pending picture (to be divided into
Predetermined number), on how according to colouring information picture to be carried out piecemeal belong to this area computing staff known to it is usual
Technological means, here is omitted, is not intended to limit the application.
It should be noted that the first preset threshold range of number for the interactive class application program that the embodiment of the present invention obtains
Be it is continuous, continuous first preset threshold range refer to each first preset threshold range the upper limit be less than it is adjacent thereto and
The lower limit of the first big preset threshold range than its scope, and the lower limit of each first preset threshold range is more than adjacent thereto
And the lower limit of first preset threshold range smaller than its scope.
Step 304:Interactive class application program is shown according to corresponding in the pictorial element of each second time point after sorting
Icon.
Alternatively, after step 302, before step 304, present invention method also includes:
When finding using the second time point of same social class application program more than one, storage and first time point
Time interval minimum the second time point using social class application program, and delete with the time interval of first time point most
The second time point using social class application program outside small the second time point using social class application program.
Alternatively, when not finding using the second time point of same social class application program more than one, the present invention
Embodiment method also includes:It is transferred to step 304.
Wherein, step 304 of the embodiment of the present invention includes:
Calculate the time interval between each second time point and first time point;
According to the ascending order and the corresponding relation of the pictorial element after different classifications of the time interval calculated
The corresponding icon for showing interactive class application program.
If for example, it (is respectively the first kind and that the pictorial element after pending picture piecemeal divide into two classes
Two classes), and the social class application obtained in the preset duration before first time point is wechat application program and qq applications
Program, and be less than using the second time point of wechat application program and the time interval of first time point using qq application programs
Second time point and the time interval of first time point, then piecemeal picture corresponding to the pictorial element of the first kind can belonged to
The icon of middle display wechat application program, shows qq application programs in piecemeal picture corresponding to the pictorial element of the second class is belonged to
Icon;Or the icon of wechat application program can be shown in piecemeal picture corresponding to the pictorial element of the second class is belonged to,
The icon of qq application programs is shown in piecemeal picture corresponding to the pictorial element of the first kind is belonged to.
Alternatively, after the step 304, present invention method also includes:
Obtain the screen pixels number a shared by the pictorial element after each piecemeal, and the application journey at the pictorial element
Screen pixels number b shared by the icon of sequence;
Screen pixels number shared by the icon of application program at the pictorial element and the screen shared by the pictorial element
When the ratio of curtain number of pixels is more than default ratio, the screen pixels shared by the icon of the application program reduced at the pictorial element
Number is to cause figure corresponding to the appropriate icon being shown in the application program of the icon of the application program at the pictorial element
At pixel element.
It should be noted that on how the screen pixels number shared by the icon of the application program at downscaled images element
And narrow down to that how many number of pixels belong to conventional techniques well-known to those skilled in the art, here is omitted, and
It is not limited to the application.
Step 305:When detecting the control operation to the icon of one or more interactive class application programs, obtain
Control operation information simultaneously carries out sharing for pictorial element according to control operation information.
Wherein, control operation of embodiment of the present invention information includes:Drag one or more interactive class application programs
The motion track information of icon, or, click on the positional information of the icon of one or more interactive class application programs.
Wherein, the embodiment of the present invention according to control operation information carry out pictorial element share including:
The motion track information for the icon for dragging one or more interactive class application programs is included one or
More than one pictorial element is shared in corresponding interactive class application program;Or
It will click on the image primitive that the positional information of the icon of one or more interactive class application programs is included
Element is shared in corresponding interactive class application program.
For example, if the icon that user drags wechat application program has drawn a circle on picture, then this circle
The pictorial element for being formed and (being included) is shared in wechat application program;If user clicks some wechat application program
Icon when, the pictorial element at the icon position is shared in wechat application program.
Wherein, shown in the schematic diagram of clicking operation such as Fig. 5 (a), wherein, be in Fig. 5 (a) right hand of user thumb point
The icon of a certain interactive class application program is hit, and the icon is circular, with other finger points of the other fingers or left hand of the right hand
Hit the icon (and/or other shapes of icon (for example, square, triangle or other polygons)) of a certain interactive class application program
Schematic diagram repeat no more.
Wherein, shown in the schematic diagram of drag operation such as Fig. 5 (b), wherein, it is that the forefinger of the right hand of user drags in Fig. 5 (b)
The icon of a certain interactive class application program, and the icon is circular, what dotted line represented is the figure for dragging the interactive class application program
Target movement locus, with other fingers of the other fingers or left hand of the right hand drag a certain interactive class application program icon (and/or
Other shapes of icon (for example, square, triangle or other polygons)) schematic diagram repeat no more.
In the application embodiment, pass through number and the default control instruction pair of the interactive class application program according to acquisition
The pending picture obtained carries out the classification of pictorial element, according to corresponding in pictorial element after sorting of each second time point
The icon of interactive class application program is shown, and when the control for detecting the icon to one or more interactive class application programs
During system operation, obtain control operation information and sharing for pictorial element is carried out according to control operation information, it is achieved thereby that to figure
Sharing for the pictorial element that piece is included, improves Consumer's Experience.
The embodiment of the present invention additionally provides a kind of mobile terminal, including:Memory, processor and communication bus;
Communication bus is used to realize the connection communication between processor and memory;
Processor is used to perform the picture processing program stored in memory, to realize following steps:
When detecting default control instruction, record detects the first time point of default control instruction and according to default
Control instruction obtains pending picture;
When judging that it is default that state of the mobile terminal belonging to itself in the preset duration before first time point meets
During condition, the mobile terminal belonging to itself uses in the preset duration before first time point one or more are obtained
Interactive class application program and the second time point using each interactive class application program;
The pending picture of acquisition is carried out according to the number of the interactive class application program of acquisition and default control instruction
The classification of pictorial element;
According to the corresponding icon for showing interactive class application program in the pictorial element of each second time point after sorting;
When detecting the control operation to the icon of one or more interactive class application programs, control operation is obtained
Information simultaneously carries out sharing for pictorial element according to control operation information.
Wherein, default control of embodiment of the present invention instruction includes:Photographing instruction or screenshotss instruction.
Wherein, when default control instruction is photographing instruction, mobile terminal of the embodiment of the present invention also includes the first camera
And second camera;Wherein,
First camera, it is configured to shoot the first camera data;
Second camera, it is configured to shoot the second camera data;Now,
It is used to be included according to the pending picture of default control instruction acquisition in processor of the embodiment of the present invention:
Obtain the first camera data of the first camera;
Obtain the second camera data of second camera;
The first camera data and the second camera data are synthesized based on preset algorithm, to obtain comprising each pixel
The pending picture of depth of field value.
Wherein, interactive class of embodiment of the present invention application program is defined as:Data network and other mobile terminals can be passed through
The application program (APP) carried out data transmission, such as wechat application program, qq application programs.
Alternatively, before the first time point that mobile terminal records detect default control instruction, the embodiment of the present invention
Processor is additionally operable to perform picture processing program, to realize following steps:Add and use in the system setup menu of mobile terminal
In the configuration item for being turned on and off pictorial element sharing function;
When detecting user to open operation for being turned on and off the configuration item of pictorial element sharing function, open
Motion video element sharing function;
Whether detect that default control instructs.
Alternatively, processor of the embodiment of the present invention is additionally operable to perform picture processing program, to realize following steps:Work as detection
To user to for be turned on and off pictorial element sharing function configuration item carry out shutoff operation when, close pictorial element share
Function.
Alternatively, detect the first time point of default control instruction in record and instruct acquisition to treat according to default control
After handling picture, obtain used in the preset duration before first time point one of mobile terminal belonging to itself or
Before second time point of more than one interactive class application program and each interactive class application program of use, the embodiment of the present invention
Processor is additionally operable to perform picture processing program, to realize following steps:
Judge whether state of the mobile terminal in the preset duration before first time point belonging to itself meets to preset
Condition.
Wherein, it is used to judge the mobile terminal belonging to itself before first time point in processor of the embodiment of the present invention
Whether the state in preset duration meets that preparatory condition includes:
Judge whether the mobile terminal belonging to itself uses interactive class application in the preset duration before first time point
Program;
When judging that the mobile terminal belonging to itself uses interactive class application in the preset duration before first time point
During program, judge that state of the mobile terminal belonging to itself in the preset duration before first time point meets default bar
Part;
When judge the mobile terminal belonging to itself in the preset duration before first time point be not used interactive class should
During with program, judge that state of the mobile terminal in the preset duration before first time point belonging to itself is unsatisfactory for presetting
Condition.
Wherein, when default control instruction is photographing instruction, it is used for the friendship according to acquisition in processor of the embodiment of the present invention
The classification that the number of mutual class application program and default control instruction carry out pictorial element to the pending picture of acquisition includes:
Figure is carried out to pending picture according to the depth of field value of the number of the interactive class application program of acquisition and each pixel
First depth of field value of the pictorial element after the piecemeal and each piecemeal of determination of pixel element;
Obtain the second depth of field value of the pictorial element and the pictorial element corresponding to the focusing of pending picture;
Calculate the absolute value of difference between each first depth of field value and the second depth of field value;
According to the pictorial element and piecemeal corresponding to focusing of the size order of the absolute value calculated to pending picture
Pictorial element afterwards is classified.
Wherein, the number of the interactive class application program according to acquisition and each picture are used in processor of the embodiment of the present invention
The piecemeal that the depth of field value of element carries out pictorial element to pending picture includes:
The second preset threshold range of number of the interactive class application program obtained is set;
The absolute value of difference between the depth of field value of each pixel and predetermined threshold value is calculated respectively;
Multiple pixels corresponding to the absolute value that will belong in same second preset threshold range are divided into same pictorial element.
For example, the corresponding pictorial element that will can focus is divided into the first kind, by the absolute value of first small (minimum)
Pictorial element after corresponding each piecemeal is divided into the second class, by the image primitive after each piecemeal corresponding to the second small absolute value
Element is divided into the 3rd class, and the rest may be inferred.
Wherein, when default control instruction is screenshotss instruction, it is used for the friendship according to acquisition in processor of the embodiment of the present invention
The classification that the number of mutual class application program and default control instruction carry out pictorial element to the pending picture of acquisition includes:
The piecemeal of pictorial element is carried out to pending picture according to preset strategy and the interactive class application journey obtained is set
The first preset threshold range of number of sequence;
Obtain the central spot of pending picture the first colouring information and each piecemeal after pictorial element second
Colouring information;
Calculate the absolute value of difference between each second colouring information and the first colouring information;
It is determined that the first preset threshold range residing for each absolute value calculated;
According to the first preset threshold range residing for each absolute value calculated determined to the image primitive after piecemeal
Element is classified.
Wherein, it is right according to their needs by user can be to provide a human-computer interaction interface for preset strategy of the embodiment of the present invention
Pending picture carries out piecemeal (such as can carry out piecemeal, dragging drags the position of frame and adjusts dragging frame by dragging frame
Size can select the size of piecemeal), as shown in Figure 4;Piecemeal can also be carried out according to colouring information to pending picture (to be divided into
Predetermined number), on how according to colouring information picture to be carried out piecemeal belong to this area computing staff known to it is usual
Technological means, here is omitted, is not intended to limit the application.
Alternatively, interactive class application program is being shown according to corresponding in pictorial element after sorting of each second time point
Icon before, processor of the embodiment of the present invention be additionally operable to perform picture processing program, to realize following steps:
When finding using the second time point of same social class application program more than one, storage and first time point
Time interval minimum the second time point using social class application program, and delete with the time interval of first time point most
The second time point using social class application program outside small the second time point using social class application program.
Alternatively, processor of the embodiment of the present invention is additionally operable to perform picture processing program, to realize following steps:When not looking into
When finding using the second time point of same social class application program more than one, perform and classified according to each second time point
In pictorial element afterwards the step of the icon of corresponding display interactive class application program.
Wherein, it is used in processor of the embodiment of the present invention according to right in pictorial element after sorting of each second time point
The icon of interactive class application program, which should be shown, to be included:
Calculate the time interval between each second time point and first time point;
According to the ascending order and the corresponding relation of the pictorial element after different classifications of the time interval calculated
The corresponding icon for showing interactive class application program.
Alternatively, interactive class application program is being shown according to corresponding in pictorial element after sorting of each second time point
Icon after, processor of the embodiment of the present invention be additionally operable to perform picture processing program, to realize following steps:
Obtain the screen pixels number a shared by the pictorial element after each piecemeal, and the application journey at the pictorial element
Screen pixels number b shared by the icon of sequence;
Screen pixels number shared by the icon of application program at the pictorial element and the screen shared by the pictorial element
When the ratio of curtain number of pixels is more than default ratio, the screen pixels shared by the icon of the application program reduced at the pictorial element
Number is to cause figure corresponding to the appropriate icon being shown in the application program of the icon of the application program at the pictorial element
At pixel element.
Wherein, control operation of embodiment of the present invention information includes:Drag one or more interactive class application programs
The motion track information of icon, or, click on the positional information of the icon of one or more interactive class application programs.
Wherein, in processor of the embodiment of the present invention be used for according to control operation information carry out pictorial element share including:
The motion track information for the icon for dragging one or more interactive class application programs is included one or
More than one pictorial element is shared in corresponding interactive class application program;Or
It will click on the image primitive that the positional information of the icon of one or more interactive class application programs is included
Element is shared in corresponding interactive class application program.
For example, if the icon that user drags wechat application program has drawn a circle on picture, then this circle
The pictorial element for being formed and (being included) is shared in wechat application program;If user clicks some wechat application program
Icon when, the pictorial element at the icon position is shared in wechat application program.
The embodiment of the present invention additionally provides a kind of computer-readable recording medium, is stored with computer-readable recording medium
One or more picture processing programs, when one or more picture processing programs can be executed by one or more processors, with reality
Existing following steps:When detect default control instruction when, record detect default control instruction first time point and according to
Default control instruction obtains pending picture;When judging state of the mobile terminal in the preset duration before first time point
When meeting preparatory condition, one or more friendships that mobile terminal uses in the preset duration before first time point are obtained
Mutual class application program and the second time point using each interactive class application program;According to the interactive class application program of acquisition
Number and default control instruction carry out the classification of pictorial element to the pending picture of acquisition;Existed according to each second time point
The corresponding icon for showing interactive class application program in sorted pictorial element;When detecting to one or more interactive class
During the control operation of the icon of application program, obtain control operation information and point of pictorial element is carried out according to control operation information
Enjoy.
Wherein, default control of embodiment of the present invention instruction includes:Photographing instruction or screenshotss instruction.
Wherein, when default control instruction is photographing instruction, the embodiment of the present invention obtains according to default control instruction and waits to locate
Reason picture includes:
Obtain the first camera data of the first camera;
Obtain the second camera data of second camera;
The first camera data and the second camera data are synthesized based on preset algorithm, to obtain comprising each pixel
The pending picture of depth of field value.
Wherein, interactive class of embodiment of the present invention application program is defined as:Data network and other mobile terminals can be passed through
The application program (APP) carried out data transmission, such as wechat application program, qq application programs.
Alternatively, before the first time point that record detects default control instruction, one or more picture processing
Program can also be by one or more computing device, to realize following steps:
The configuration item for being turned on and off pictorial element sharing function is added in the system setup menu of mobile terminal;
When detecting user to open operation for being turned on and off the configuration item of pictorial element sharing function, open
Motion video element sharing function;
Whether detect that default control instructs.
Alternatively, one or more picture processing program can also by one or more computing device, with realize with
Lower step:When detecting user to carrying out shutoff operation for being turned on and off the configuration item of pictorial element sharing function, close
Close pictorial element sharing function.
Alternatively, detect the first time point of default control instruction in record and instruct acquisition to treat according to default control
After handling picture, in one or more friendships that acquisition mobile terminal uses in the preset duration before first time point
Before second time point of mutual class application program and each interactive class application program of use, one or more picture processing journey
Sequence can also be by one or more computing device, to realize following steps:
Judge whether state of the mobile terminal in the preset duration before first time point meets preparatory condition.
Wherein, the embodiment of the present invention judges whether state of the mobile terminal in the preset duration before first time point be full
Sufficient preparatory condition includes:
Judge whether mobile terminal uses interactive class application program in the preset duration before first time point;
When judging that mobile terminal uses interactive class application program in the preset duration before first time point, judge
State of the mobile terminal in the preset duration before first time point meets preparatory condition;
When judging that interactive class application program is not used in the preset duration before first time point in mobile terminal, sentence
Break and state of the mobile terminal in the preset duration before first time point and be unsatisfactory for preparatory condition.
Wherein, when default control instruction is photographing instruction, the embodiment of the present invention is according to the interactive class application program of acquisition
Number and default control instruction the classification of pictorial element is carried out to the pending picture of acquisition and is included:
Figure is carried out to pending picture according to the depth of field value of the number of the interactive class application program of acquisition and each pixel
First depth of field value of the pictorial element after the piecemeal and each piecemeal of determination of pixel element;
Obtain the second depth of field value of the pictorial element and the pictorial element corresponding to the focusing of pending picture;
Calculate the absolute value of difference between each first depth of field value and the second depth of field value;
According to the pictorial element and piecemeal corresponding to focusing of the size order of the absolute value calculated to pending picture
Pictorial element afterwards is classified.
Wherein, the embodiment of the present invention is according to the number of the interactive class application program of acquisition and the depth of field value pair of each pixel
The piecemeal that pending picture carries out pictorial element includes:
The second preset threshold range of number of the interactive class application program obtained is set;
The absolute value of difference between the depth of field value of each pixel and predetermined threshold value is calculated respectively;
Multiple pixels corresponding to the absolute value that will belong in same second preset threshold range are divided into same pictorial element.
For example, the corresponding pictorial element that will can focus is divided into the first kind, by the absolute value of first small (minimum)
Pictorial element after corresponding each piecemeal is divided into the second class, by the image primitive after each piecemeal corresponding to the second small absolute value
Element is divided into the 3rd class, and the rest may be inferred.
Wherein, when default control instruction is screenshotss instruction, the embodiment of the present invention is according to the interactive class application program of acquisition
Number and default control instruction the classification of pictorial element is carried out to the pending picture of acquisition and is included:
The piecemeal of pictorial element is carried out to pending picture according to preset strategy and the interactive class application journey obtained is set
The first preset threshold range of number of sequence;
Obtain the central spot of pending picture the first colouring information and each piecemeal after pictorial element second
Colouring information;
Calculate the absolute value of difference between each second colouring information and the first colouring information;
It is determined that the first preset threshold range residing for each absolute value calculated;
According to the first preset threshold range residing for each absolute value calculated determined to the image primitive after piecemeal
Element is classified.
Wherein, it is right according to their needs by user can be to provide a human-computer interaction interface for preset strategy of the embodiment of the present invention
Pending picture carries out piecemeal (such as can carry out piecemeal, dragging drags the position of frame and adjusts dragging frame by dragging frame
Size can select the size of piecemeal), as shown in Figure 4;Piecemeal can also be carried out according to colouring information to pending picture (to be divided into
Predetermined number), on how according to colouring information picture to be carried out piecemeal belong to this area computing staff known to it is usual
Technological means, here is omitted, is not intended to limit the application.
Alternatively, interactive class application program is being shown according to corresponding in pictorial element after sorting of each second time point
Icon before, one or more picture processing program can also be by one or more computing device, to realize following walk
Suddenly:
When finding using the second time point of same social class application program more than one, storage and first time point
Time interval minimum the second time point using social class application program, and delete with the time interval of first time point most
The second time point using social class application program outside small the second time point using social class application program.
Alternatively, one or more picture processing program can also by one or more computing device, with realize with
Lower step:When not finding the second time point using same social class application program and being more than one, perform according to each the
In the pictorial element of two time points after sorting the step of the icon of corresponding display interactive class application program.
Wherein, the embodiment of the present invention shows interactive class according to corresponding in pictorial element after sorting of each second time point
The icon of application program includes:
Calculate the time interval between each second time point and first time point;
According to the ascending order and the corresponding relation of the pictorial element after different classifications of the time interval calculated
The corresponding icon for showing interactive class application program.
Alternatively, interactive class application program is being shown according to corresponding in pictorial element after sorting of each second time point
Icon after, one or more picture processing program can also be by one or more computing device, to realize following walk
Suddenly:
Obtain the screen pixels number a shared by the pictorial element after each piecemeal, and the application journey at the pictorial element
Screen pixels number b shared by the icon of sequence;
Screen pixels number shared by the icon of application program at the pictorial element and the screen shared by the pictorial element
When the ratio of curtain number of pixels is more than default ratio, the screen pixels shared by the icon of the application program reduced at the pictorial element
Number is to cause figure corresponding to the appropriate icon being shown in the application program of the icon of the application program at the pictorial element
At pixel element.
It should be noted that on how the screen pixels number shared by the icon of the application program at downscaled images element
And narrow down to that how many number of pixels belong to conventional techniques well-known to those skilled in the art, here is omitted, and
It is not limited to the application.
Wherein, control operation of embodiment of the present invention information includes:Drag one or more interactive class application programs
The motion track information of icon, or, click on the positional information of the icon of one or more interactive class application programs.
Wherein, the embodiment of the present invention according to control operation information carry out pictorial element share including:
The motion track information for the icon for dragging one or more interactive class application programs is included one or
More than one pictorial element is shared in corresponding interactive class application program;Or
It will click on the image primitive that the positional information of the icon of one or more interactive class application programs is included
Element is shared in corresponding interactive class application program.
For example, if the icon that user drags wechat application program has drawn a circle on picture, then this circle
The pictorial element for being formed and (being included) is shared in wechat application program;If user clicks some wechat application program
Icon when, the pictorial element at the icon position is shared in wechat application program.
It should be noted that herein, term " comprising ", "comprising" or its any other variant are intended to non-row
His property includes, so that process, method, article or device including a series of elements not only include those key elements, and
And also include the other element being not expressly set out, or also include for this process, method, article or device institute inherently
Key element.In the absence of more restrictions, the key element limited by sentence "including a ...", it is not excluded that including this
Other identical element also be present in the process of key element, method, article or device.
The embodiments of the present invention are for illustration only, do not represent the quality of embodiment.
One of ordinary skill in the art will appreciate that all or part of step in the above method can be instructed by program
Related hardware (such as processor) is completed, and described program can be stored in computer-readable recording medium, as read-only storage,
Disk or CD etc..Alternatively, all or part of step of above-described embodiment can also be come using one or more integrated circuits
Realize.Correspondingly, each module/unit in above-described embodiment can be realized in the form of hardware, such as pass through integrated electricity
Its corresponding function is realized on road, can also be realized in the form of software function module, such as be stored in by computing device
Program/instruction in memory realizes its corresponding function.The present invention is not restricted to the hardware and software of any particular form
With reference to.
Although disclosed herein embodiment as above, described content be only readily appreciate the present invention and use
Embodiment, it is not limited to the present invention.Technical staff in any art of the present invention, taken off not departing from the present invention
On the premise of the spirit and scope of dew, any modification and change, but the present invention can be carried out in the form and details of implementation
Scope of patent protection, still should be subject to the scope of the claims as defined in the appended claims.
Claims (10)
- A kind of 1. image processing method, it is characterised in that including:When detect default control instruction when, mobile terminal records detect default control instruction first time point and according to Default control instruction obtains pending picture;When judging that state of the mobile terminal in the preset duration before first time point meets preparatory condition, movement is obtained One or more interactive class application programs and use every that terminal uses in the preset duration before first time point Second time point of individual interactive class application program;Image is carried out to the pending picture of acquisition according to the number of the interactive class application program of acquisition and default control instruction The classification of element;According to the corresponding icon for showing interactive class application program in the pictorial element of each second time point after sorting;When detecting the control operation to the icon of one or more interactive class application programs, control operation information is obtained And sharing for pictorial element is carried out according to control operation information.
- 2. image processing method according to claim 1, it is characterised in that the default control instruction includes:Take pictures finger Order or screenshotss instruction;It is described to be included according to the pending picture of default control instruction acquisition when default control instruction is photographing instruction:Obtain the first camera data of the first camera;Obtain the second camera data of second camera;First camera data and second camera data are synthesized based on preset algorithm, each picture is included to obtain The pending picture of the depth of field value of element.
- 3. image processing method according to claim 2, it is characterised in that when default control instruction is described takes pictures During instruction, number and the default control instruction of the interactive class application program according to acquisition are entered to the pending picture of acquisition The classification of row pictorial element includes:The pending picture is entered according to the depth of field value of the number of the interactive class application program of the acquisition and each pixel First depth of field value of the pictorial element after the piecemeal and each piecemeal of determination of row pictorial element;Obtain the second depth of field value of the pictorial element and described image element corresponding to the focusing of the pending picture;Calculate the absolute value of difference between each first depth of field value and second depth of field value;According to the pictorial element corresponding to focusing of the size order of the absolute value calculated to the pending picture and described Pictorial element after piecemeal is classified.
- 4. image processing method according to claim 2, it is characterised in that when default control instruction is the screenshotss During instruction, number and the default control instruction of the interactive class application program according to acquisition are entered to the pending picture of acquisition The classification of row pictorial element includes:The piecemeal of pictorial element is carried out to the pending picture according to preset strategy and sets the interactive class of the acquisition should With the first preset threshold range of number of program;Obtain the central spot of the pending picture the first colouring information and each piecemeal after pictorial element second Colouring information;Calculate the absolute value of difference between each second colouring information and first colouring information;It is determined that the first preset threshold range residing for each absolute value calculated;The pictorial element after piecemeal is entered according to the first preset threshold range residing for each absolute value calculated determined Row classification.
- 5. the image processing method according to claim 3 or 4, it is characterised in that at the basis each second time point In pictorial element after sorting before the corresponding icon for showing interactive class application program, this method also includes:When finding using the second time point of same social class application program more than one, storage and the first time point Second time point of social class application program described in the minimum use of time interval, and delete with the first time point when Between be spaced social class application program described in use outside the second time point of social class application program described in the use of minimum Second time point.
- 6. image processing method according to claim 1 or 5, it is characterised in that basis each second time point exists The corresponding icon for showing interactive class application program includes in sorted pictorial element:Calculate the time interval between each second time point and the first time point;It is corresponding with the corresponding relation of the pictorial element after different classifications according to the ascending order of the time interval calculated Show the icon of the interactive class application program.
- 7. image processing method according to claim 6, it is characterised in that the control operation information includes:Dragging institute State the motion track information of the icon of one or more interactive class application programs, or, click on it is one or one with The positional information of the icon of upper interactive class application program;It is described according to control operation information carry out pictorial element share including:One that the motion track information of one or more than one interactive class application program the icon of dragging is included Individual or more than one pictorial element is shared in corresponding interactive class application program;OrThe figure that the positional information for clicking on one or more than one interactive class application program icon is included Pixel element is shared in corresponding interactive class application program.
- 8. image processing method according to claim 1, it is characterised in that the mobile terminal records detect default control After making the first time point of instruction and obtaining pending picture according to default control instruction, exist in the acquisition mobile terminal One or more interactive class application programs for being used in preset duration before first time point and use each interaction Before second time point of class application program, this method also includes:It is described pre- to judge whether state of the mobile terminal in the preset duration before the first time point meets If condition.Wherein, whether the state for judging the mobile terminal in the preset duration before the first time point is full The foot preparatory condition includes:Judge whether the mobile terminal should using the interactive class in the preset duration before the first time point Use program;When judge the mobile terminal in the preset duration before the first time point using the interactive class should During with program, judge that state of the mobile terminal in the preset duration before first time point meets preparatory condition;When judge the mobile terminal in the preset duration before the first time point be not used the interactive class During application program, judge that state of the mobile terminal in the preset duration before first time point is unsatisfactory for preparatory condition;
- A kind of 9. mobile terminal, it is characterised in that including:Memory, processor and communication bus;Communication bus is used to realize the connection communication between processor and memory;Processor is used to perform the picture processing program stored in memory, is appointed with realizing in following steps such as claim 1 to 8 The step of image processing method described in one.
- A kind of 10. computer-readable recording medium, it is characterised in that be stored with the computer-readable recording medium one or Multiple picture processing programs, when one or more of picture processing programs can be executed by one or more processors, to realize The step of image processing method as any one of claim 1 to 8.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201710521393.4A CN107450796B (en) | 2017-06-30 | 2017-06-30 | A kind of image processing method, mobile terminal and computer readable storage medium |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201710521393.4A CN107450796B (en) | 2017-06-30 | 2017-06-30 | A kind of image processing method, mobile terminal and computer readable storage medium |
Publications (2)
Publication Number | Publication Date |
---|---|
CN107450796A true CN107450796A (en) | 2017-12-08 |
CN107450796B CN107450796B (en) | 2019-10-08 |
Family
ID=60487247
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201710521393.4A Active CN107450796B (en) | 2017-06-30 | 2017-06-30 | A kind of image processing method, mobile terminal and computer readable storage medium |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN107450796B (en) |
Cited By (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN108459799A (en) * | 2018-01-26 | 2018-08-28 | 努比亚技术有限公司 | A kind of processing method of picture, mobile terminal and computer readable storage medium |
CN108710539A (en) * | 2018-05-18 | 2018-10-26 | 珠海格力电器股份有限公司 | A kind of information processing method, terminal and readable storage medium storing program for executing |
CN108898081A (en) * | 2018-06-19 | 2018-11-27 | Oppo广东移动通信有限公司 | image processing method, device, mobile terminal and computer readable storage medium |
CN110580486A (en) * | 2018-06-07 | 2019-12-17 | 阿里巴巴集团控股有限公司 | Data processing method and device, electronic equipment and readable medium |
Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN104020923A (en) * | 2014-04-02 | 2014-09-03 | 深圳市东方拓宇科技有限公司 | Method for displaying icons of touch control terminal of electronic product and electronic product |
CN105787030A (en) * | 2016-02-25 | 2016-07-20 | 努比亚技术有限公司 | Mobile terminal and data processing method thereof |
CN105955992A (en) * | 2016-04-19 | 2016-09-21 | 乐视控股(北京)有限公司 | Picture processing method and apparatus |
US20170054663A1 (en) * | 2015-08-18 | 2017-02-23 | Blend Systems, Inc. | Systems and methods for sharing videos and images in a texting environment |
-
2017
- 2017-06-30 CN CN201710521393.4A patent/CN107450796B/en active Active
Patent Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN104020923A (en) * | 2014-04-02 | 2014-09-03 | 深圳市东方拓宇科技有限公司 | Method for displaying icons of touch control terminal of electronic product and electronic product |
US20170054663A1 (en) * | 2015-08-18 | 2017-02-23 | Blend Systems, Inc. | Systems and methods for sharing videos and images in a texting environment |
CN105787030A (en) * | 2016-02-25 | 2016-07-20 | 努比亚技术有限公司 | Mobile terminal and data processing method thereof |
CN105955992A (en) * | 2016-04-19 | 2016-09-21 | 乐视控股(北京)有限公司 | Picture processing method and apparatus |
Cited By (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN108459799A (en) * | 2018-01-26 | 2018-08-28 | 努比亚技术有限公司 | A kind of processing method of picture, mobile terminal and computer readable storage medium |
CN108459799B (en) * | 2018-01-26 | 2021-10-15 | 努比亚技术有限公司 | Picture processing method, mobile terminal and computer readable storage medium |
CN108710539A (en) * | 2018-05-18 | 2018-10-26 | 珠海格力电器股份有限公司 | A kind of information processing method, terminal and readable storage medium storing program for executing |
CN110580486A (en) * | 2018-06-07 | 2019-12-17 | 阿里巴巴集团控股有限公司 | Data processing method and device, electronic equipment and readable medium |
CN110580486B (en) * | 2018-06-07 | 2024-04-12 | 斑马智行网络(香港)有限公司 | Data processing method, device, electronic equipment and readable medium |
CN108898081A (en) * | 2018-06-19 | 2018-11-27 | Oppo广东移动通信有限公司 | image processing method, device, mobile terminal and computer readable storage medium |
Also Published As
Publication number | Publication date |
---|---|
CN107450796B (en) | 2019-10-08 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN107562336A (en) | A kind of method, equipment and computer-readable recording medium for controlling suspension ball | |
CN107145293A (en) | A kind of screenshot method, mobile terminal and storage medium | |
CN107566721A (en) | A kind of method for information display, terminal and computer-readable recording medium | |
CN108037893A (en) | A kind of display control method of flexible screen, device and computer-readable recording medium | |
CN108234295A (en) | Display control method, terminal and the computer readable storage medium of group's functionality controls | |
CN109213401A (en) | Double-sided screen application icon method for sorting, mobile terminal and readable storage medium storing program for executing | |
CN107343083A (en) | One kind lifting game experiencing method, apparatus and computer-readable recording medium | |
CN107145385A (en) | A kind of multitask interface display methods, mobile terminal and computer-readable storage medium | |
CN107219972A (en) | A kind of method of application management, equipment and computer-readable recording medium | |
CN107657583A (en) | A kind of screenshot method, terminal and computer-readable recording medium | |
CN107273035A (en) | Application program recommends method and mobile terminal | |
CN107181865A (en) | Processing method, terminal and the computer-readable recording medium of unread short messages | |
CN109697008A (en) | A kind of content share method, terminal and computer readable storage medium | |
CN107463326A (en) | A kind of recognition methods of mobile terminal touch control gesture, mobile terminal and storage medium | |
CN107463324A (en) | A kind of image display method, mobile terminal and computer-readable recording medium | |
CN107809534A (en) | A kind of control method, terminal and computer-readable storage medium | |
CN108172161A (en) | Display methods, mobile terminal and computer readable storage medium based on flexible screen | |
CN107450796B (en) | A kind of image processing method, mobile terminal and computer readable storage medium | |
CN107404618A (en) | A kind of image pickup method and terminal | |
CN108449513A (en) | A kind of interaction regulation and control method, equipment and computer readable storage medium | |
CN107329683A (en) | One kind grips exchange method, equipment and computer-readable recording medium | |
CN107229410A (en) | Interactive operation method, mobile terminal and computer-readable recording medium | |
CN107608613A (en) | A kind of method and terminal for preventing maloperation | |
CN107566608A (en) | A kind of system air navigation aid, equipment and computer-readable recording medium | |
CN107423065A (en) | Method, mobile terminal and the computer-readable recording medium that a kind of application is attended to anything else |
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 |