CN107015648A - Image processing method and device - Google Patents

Image processing method and device Download PDF

Info

Publication number
CN107015648A
CN107015648A CN201710194142.XA CN201710194142A CN107015648A CN 107015648 A CN107015648 A CN 107015648A CN 201710194142 A CN201710194142 A CN 201710194142A CN 107015648 A CN107015648 A CN 107015648A
Authority
CN
China
Prior art keywords
picture
parameter
gesture operation
processing
display
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
Application number
CN201710194142.XA
Other languages
Chinese (zh)
Other versions
CN107015648B (en
Inventor
朱印
王倩
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Beijing Xiaomi Mobile Software Co Ltd
Original Assignee
Beijing Xiaomi Mobile Software Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Beijing Xiaomi Mobile Software Co Ltd filed Critical Beijing Xiaomi Mobile Software Co Ltd
Priority to CN201710194142.XA priority Critical patent/CN107015648B/en
Publication of CN107015648A publication Critical patent/CN107015648A/en
Application granted granted Critical
Publication of CN107015648B publication Critical patent/CN107015648B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input 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/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/017Gesture based interaction, e.g. based on a set of recognized hand gestures
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input 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/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/048Interaction techniques based on graphical user interfaces [GUI]
    • G06F3/0484Interaction techniques based on graphical user interfaces [GUI] for the control of specific functions or operations, e.g. selecting or manipulating an object, an image or a displayed text element, setting a parameter value or selecting a range
    • G06F3/04845Interaction techniques based on graphical user interfaces [GUI] for the control of specific functions or operations, e.g. selecting or manipulating an object, an image or a displayed text element, setting a parameter value or selecting a range for image manipulation, e.g. dragging, rotation, expansion or change of colour
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T3/00Geometric image transformations in the plane of the image
    • G06T3/04Context-preserving transformations, e.g. by using an importance map

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • General Engineering & Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Human Computer Interaction (AREA)
  • User Interface Of Digital Computer (AREA)

Abstract

Present disclose provides a kind of image processing method and device, belong to picture Processing Technique field.Methods described includes:During the display of the first picture, the gesture operation in capture preset range;When the gesture operation is matched with the first default gesture operation, Target Photo processing parameter is obtained;Based on the Target Photo processing parameter, first picture is handled, and second picture resulting after display processing.The disclosure passes through simple gesture operation, it can trigger electronic equipment and obtain Target Photo processing parameter, and it is automatic to shooting picture progress landscaping treatment based on the Target Photo processing parameter, multiple manual adjusting operation is carried out without user, picture processing efficiency is improved.

Description

Image processing method and device
Technical field
This disclosure relates to picture Processing Technique field, more particularly to a kind of image processing method and device.
Background technology
With the development of picture Processing Technique, image processing method is more and more.User is after photo is shot, it will usually make Certain image processing method is used, landscaping treatment is carried out to the picture that shooting is obtained.
At present, image processing method is as follows:After the completion of shooting, electronic equipment can show the picture that shooting is obtained, Yong Huke To carry out trigger action to edit menu or Edit button, when electronic equipment detects the trigger action, the picture can be shown Picture editor interface, the picture editor interface can provide multiple Treatment Options, and each Treatment Options are used to provide a kind of U.S. Change function, every kind of beautifying functions are used to realize a kind of landscaping effect.User can carry out trigger action to any one Treatment Options, And the beautifying functions provided using the Treatment Options, picture is adjusted manually, until reaching that the beautifying functions can be realized Landscaping effect.
The content of the invention
To overcome problem present in correlation technique, the disclosure provides a kind of image processing method and device.
According to the first aspect of the embodiment of the present disclosure there is provided a kind of image processing method, including:
During the display of the first picture, the gesture operation in capture preset range;
When the gesture operation is matched with the first default gesture operation, Target Photo processing parameter is obtained;
Based on the Target Photo processing parameter, first picture is handled, and after display processing obtained by Second picture.
The method that the embodiment of the present disclosure is provided, passes through simple gesture operation, you can triggering electronic equipment obtains target figure Piece processing parameter, and it is automatic to shooting picture progress landscaping treatment based on the Target Photo processing parameter, carried out without user many Secondary manual adjusting operation, improves picture processing efficiency.
It is described during the display of the first picture in the first implementation of first aspect, capture preset range Interior gesture operation includes:
During the display of first picture, by the camera module of the electronic equipment shoot obtained image come Capture the gesture operation in preset range;Or,
During the display of first picture, by the range sensor of the electronic equipment to the preset range The detection of interior barrier captures the gesture operation in preset range.
The method that the embodiment of the present disclosure is provided, electronic equipment can capture the gesture behaviour of user by any of the above-described kind of mode Make, improve electronic equipment and power is captured as to gesture operation.
It is described when the gesture operation is matched with the first default gesture operation in second of implementation of first aspect When, obtaining Target Photo processing parameter includes:
When the gesture operation is matched with the first default gesture operation, obtain and matched with the described first default gesture operation Picture effect pattern;
The picture processing parameter of the picture effect pattern is obtained, accessed picture processing parameter is regard as the mesh Mark on a map piece processing parameter.
The method that the embodiment of the present disclosure is provided, according to the picture effect pattern matched with the first default gesture operation, is obtained Target Photo processing parameter, and then there is provided a kind of mode for obtaining picture processing parameter for landscaping treatment of the realization to picture.
It is described to be based on the Target Photo processing parameter in the third implementation of first aspect, to described first Picture is handled, and after display processing obtained by second picture after, methods described also includes:
When not capturing any gesture operation in preset duration, the second picture obtained by after processing is deposited Storage.
The method that the embodiment of the present disclosure is provided, user need not carry out any operation, you can realize to the second figure after beautification The automatic storage of piece, and this automatic storage without under operational circumstances can accurately fit the wish of user, improve intelligence Property.
It is described to be based on the Target Photo processing parameter in the 4th kind of implementation of first aspect, to described first Picture is handled, and after display processing obtained by second picture after, methods described also includes:
When capturing the gesture operation matched in preset range with the second default gesture operation in preset duration, delete Second picture obtained by after the processing, and show first picture.
The method that the embodiment of the present disclosure is provided, passes through simple gesture operation, you can easily cancel to the first picture Landscaping treatment, recovers the display of the first picture, improves operating efficiency.
In the 5th kind of implementation of first aspect, the Target Photo processing parameter includes picture display parameters and figure Piece beautifies parameter, and the picture display parameters include luminance parameter, contrast level parameter, white balance parameter and saturation parameters, The picture beautification parameter includes mill skin parameter, colour of skin parameter, speckle removing, acne removing parameter, thin face parameter and eyes amplifying parameters.
The method that the embodiment of the present disclosure is provided, Target Photo processing parameter can include multiple for beautifying to picture The parameter of processing, it is possible to achieve more preferable picture landscaping effect.
According to the second aspect of the embodiment of the present disclosure there is provided a kind of picture processing device, including:
Trapping module, for during the display of the first picture, capturing the gesture operation in preset range;
Acquisition module, for when the gesture operation is matched with the first default gesture operation, obtaining Target Photo processing Parameter;
Processing module, for based on the Target Photo processing parameter, handling first picture;
Display module, for second picture resulting after display processing.
In the first implementation of second aspect, the trapping module, for the display in first picture Cheng Zhong, shoots obtained image to capture the gesture operation in preset range by the camera module of the electronic equipment;Or,
The trapping module, for during the display of first picture, being passed by the distance of the electronic equipment Sensor captures the gesture operation in preset range to the detection of barrier in the preset range.
In second of implementation of second aspect, the acquisition module, for when the gesture operation and first pre- If gesture operation is matched, the picture effect pattern matched with the described first default gesture operation is obtained;Obtain the picture effect The picture processing parameter of fruit pattern, regard accessed picture processing parameter as the Target Photo processing parameter.
In the third implementation of second aspect, described device also includes memory module:
The memory module, for when not capturing any gesture operation in preset duration, obtained by after processing Second picture stored.
In the 4th kind of implementation of second aspect, described device also includes removing module:
The removing module, for being matched with the second default gesture operation when being captured in preset duration in preset range Gesture operation when, the second picture obtained by deleting after the processing;
The display module, is additionally operable to display first picture.
In the 5th kind of implementation of second aspect, the Target Photo processing parameter includes picture display parameters and figure Piece beautifies parameter, and the picture display parameters include luminance parameter, contrast level parameter, white balance parameter and saturation parameters, The picture beautification parameter includes mill skin parameter, colour of skin parameter, speckle removing, acne removing parameter, thin face parameter and eyes amplifying parameters.
According to the third aspect of the embodiment of the present disclosure there is provided a kind of picture processing device, including:
Processor;
Memory for storing the executable instruction of processor;
Wherein, the processor is configured as:
During the display of the first picture, the gesture operation in capture preset range;
When the gesture operation is matched with the first default gesture operation, Target Photo processing parameter is obtained;
Based on the Target Photo processing parameter, first picture is handled, and after display processing obtained by Second picture.
It should be appreciated that the general description of the above and detailed description hereinafter are only exemplary and explanatory, not The disclosure can be limited.
Brief description of the drawings
Accompanying drawing herein is merged in specification and constitutes the part of this specification, shows the implementation for meeting the disclosure Example, and be used to together with specification to explain the principle of the disclosure.
Fig. 1 is a kind of flow chart of image processing method according to an exemplary embodiment.
Fig. 2 is a kind of flow chart of image processing method according to an exemplary embodiment.
Fig. 3 is the effect diagram during a kind of picture processing that the embodiment of the present disclosure is provided.
Fig. 4 is a kind of effect diagram for revocation picture processing that the embodiment of the present disclosure is provided.
Fig. 5 is a kind of block diagram of picture processing device according to an exemplary embodiment.
Fig. 6 is a kind of block diagram of picture processing device according to an exemplary embodiment.
Fig. 7 is a kind of block diagram of picture processing device according to an exemplary embodiment.
Fig. 8 is a kind of block diagram of picture processing device 800 according to an exemplary embodiment.
Embodiment
To make the purpose, technical scheme and advantage of the disclosure clearer, below in conjunction with accompanying drawing to disclosure embodiment party Formula is described in further detail.
Here exemplary embodiment will be illustrated in detail, its example is illustrated in the accompanying drawings.Following description is related to During accompanying drawing, unless otherwise indicated, the same numbers in different accompanying drawings represent same or analogous key element.Following exemplary embodiment Described in embodiment do not represent all embodiments consistent with the disclosure.On the contrary, they be only with it is such as appended The example of the consistent apparatus and method of some aspects be described in detail in claims, the disclosure.
Fig. 1 is a kind of flow chart of image processing method according to an exemplary embodiment, as shown in figure 1, picture Processing method is used in electronic equipment, comprises the following steps:
In a step 101, during the display of the first picture, the gesture operation in capture preset range.
In a step 102, when the gesture operation is matched with the first default gesture operation, Target Photo processing ginseng is obtained Number.
In step 103, based on the Target Photo processing parameter, first picture is handled, and after display processing Resulting second picture.
In the embodiment of the present disclosure, pass through simple gesture operation, you can triggering electronic equipment obtains Target Photo processing ginseng Number, and it is automatic to shooting picture progress landscaping treatment based on the Target Photo processing parameter, carry out repeatedly adjusting manually without user Section operation, improves picture processing efficiency.
, should be during the display of the first picture in a kind of possible implementation, the gesture behaviour in capture preset range Work includes:
During the display of first picture, shoot obtained image to capture by the camera module of the electronic equipment Gesture operation in preset range;Or,
During the display of first picture, by the range sensor of the electronic equipment to obstacle in the preset range The detection of thing captures the gesture operation in preset range.
In a kind of possible implementation, when deserving the gesture operation and being matched with the first default gesture operation, acquisition target Picture processing parameter includes:
When the gesture operation is matched with the first default gesture operation, the figure matched with the first default gesture operation is obtained Piece effect mode;
The picture processing parameter of the picture effect pattern is obtained, accessed picture processing parameter is regard as the target figure Piece processing parameter.
In a kind of possible implementation, the Target Photo processing parameter should be based on, first picture was handled, and After second picture obtained by after display processing, this method also includes:
When not capturing any gesture operation in preset duration, the second picture obtained by after processing is deposited Storage.
In a kind of possible implementation, the Target Photo processing parameter should be based on, first picture was handled, and After second picture obtained by after display processing, this method also includes:
When capturing the gesture operation matched in preset range with the second default gesture operation in preset duration, delete Second picture obtained by after the processing, and show first picture.
In a kind of possible implementation, the Target Photo processing parameter includes picture display parameters and picture beautification ginseng Number, the picture display parameters include luminance parameter, contrast level parameter, white balance parameter and saturation parameters, picture beautification Parameter includes mill skin parameter, colour of skin parameter, speckle removing, acne removing parameter, thin face parameter and eyes amplifying parameters.
Above-mentioned all optional technical schemes, can form the alternative embodiment of the disclosure, herein no longer using any combination Repeat one by one.
Fig. 2 is a kind of flow chart of image processing method according to an exemplary embodiment, as shown in Fig. 2 picture Processing method is used in electronic equipment, comprises the following steps:
In step 201, during the display of the first picture, the gesture operation in capture preset range.
Wherein, the scope that the preset range be able to can photograph for the camera module of electronic equipment, or, electronic equipment The distance range that range sensor can be measured.The gesture operation can be that static gesture or dynamic gesture are operated, the static hand Gesture operation can be the gesture form of user, and dynamic gesture operation can be the moving operation of the palm of user.The disclosure is real Example is applied not limit the concrete form of preset range and gesture operation.
In the embodiment of the present disclosure, user can use any camera of electronic equipment to be shot, as using mobile phone Front camera is autodyned.After the completion of shooting, the electronic equipment can show the first picture that current shooting is obtained.Referring to Fig. 3, Fig. 3 It is the effect diagram during a kind of picture processing that the embodiment of the present disclosure is provided, wherein, the left figure in Fig. 3 is first figure The display schematic diagram of piece, first picture can be the auto heterodyne picture of user.
During the display of first picture, user can carry out gesture operation within a preset range, and electronic equipment can To capture the gesture operation of user by following two modes:
First way, during the display of first picture, is shot by the camera module of the electronic equipment and obtained Image capture the gesture operation in preset range.
In the embodiment of the present disclosure, first picture is the photo that electronic equipment current shooting is completed, now, electronic equipment Camera module is still in shooting state, and the camera module can carry out live view shooting, and will shoot obtained image progress Caching.Whether electronic equipment may determine that in the image of caching gesture feature, and such as gesture feature can be the palm the five fingers Open or scissors hand gesture.If having gesture feature in the image of caching, electronic equipment can determine to capture preset range Interior gesture operation.
The second way, it is pre- to this by the range sensor of the electronic equipment during the display of first picture If barrier detects to capture the gesture operation in preset range in scope.
In the embodiment of the present disclosure, the electronic equipment can be configured with range sensor, and the range sensor is used for outgoing The infrared ray of fixing intensity is penetrated, after barrier is encountered, the infrared ray can be reflected back, and now range sensor is received Ultrared intensity can be less than the fixing intensity.And the ultrared intensity that range sensor is received and barrier and the electronics The distance between equipment is relevant, usually, and the distance between barrier and the electronic equipment are bigger, what electronic sensor was received Ultrared intensity is smaller.In a kind of possible implementation, if the ultrared intensity that electronic equipment is received is more than certain During one threshold value, then electronic equipment can determine to capture the gesture operation in preset range.
Electronic equipment can capture the gesture operation of user by any of the above-described kind of mode, improve electronic equipment to gesture What is operated is captured as power.
It should be noted that in order to guide user how to carry out gesture operation to realize the landscaping treatment to picture, electronics Equipment can also show the first operation indicating message while the first picture is shown, the first operation indicating message is used to carry Show how user carries out operation and could realize the landscaping treatment to picture.The first operation indicating message is specifically as follows:" palm The hanging screen that streaks upwards carries out landscaping treatment ".
In step 202., when the gesture operation is matched with the first default gesture operation, Target Photo processing ginseng is obtained Number.
Wherein, the first default gesture operation can be configured by technical staff in exploitation, can also be made by user It is adjusted during.Referring to Fig. 3, the middle figure in Fig. 3 is the schematic diagram of the first default gesture operation, the first default hand Gesture operation can vacantly streak the operation of electronic equipment screen upwards for user's palm, certainly, and the first default gesture operation is also Can be the gesture operation of other forms, the embodiment of the present disclosure is not limited this.The Target Photo processing parameter can include Picture display parameters and picture beautification parameter, wherein, the picture display parameters can include luminance parameter, contrast level parameter, white Balance parameters and saturation parameters, picture beautification parameter can include mill skin parameter, colour of skin parameter, speckle removing, acne removing parameter, Thin face parameter and eyes amplifying parameters.Certainly, the Target Photo processing parameter, which can also include other, is used to beautify picture Processing parameter, the embodiment of the present disclosure is not limited this.
In the embodiment of the present disclosure, the first default gesture operation is used to carry out landscaping treatment to picture, when electronic equipment is logical When crossing step 201 and capturing the gesture operation in preset range, the gesture operation and the first default gesture operation can be carried out Matching, if the match is successful, electronic equipment can obtain Target Photo processing parameter, and then handle ginseng based on the Target Photo Number, landscaping treatment is carried out to the first picture.In a kind of possible implementation, electronic equipment can be obtained and the first default hand The picture effect pattern of gesture operation matching, and then the picture processing parameter of the picture effect pattern is obtained, by accessed figure Piece processing parameter is used as the Target Photo processing parameter.
It should be noted that in order to which electronic equipment can be grasped capturing the gesture matched with the first default gesture operation When making, the picture effect pattern matched with the first default gesture operation is got immediately, and electronic equipment can prestore this First default gesture operation and corresponding picture effect pattern.Specifically, electronic equipment can show that gesture sets interface, should Gesture sets interface to be used to point out user typing gesture operation, and user can carry out gesture operation according to prompting, and electronic equipment can So that gesture behaviour is retrieved as into the first default gesture operation.And then electronic equipment can guide user set with this first preset The picture effect pattern of gesture operation matching, for example, electronic equipment can provide picture effect pattern setting options, when detecting When user is to the trigger action of the option, display picture effect pattern sets interface, and the picture effect pattern sets interface to be used for Multiple picture processing parameters are provided.User can therefrom choose some picture processing parameters, and the value of these parameters is carried out Adjustment, electronic equipment is according to the selection of the user picture effect pattern different with adjustment display.Different picture effect patterns pair The picture processing parameter answered is different, and the difference can be embodied in the species of picture processing parameter, quantity or value.For example, figure Piece effect mode A picture processing parameter can be:Luminance parameter x, mill skin parameter y, wherein, x and y are picture processing parameter Value, and the picture processing parameter of picture effect Mode B can be:Luminance parameter y, mill skin parameter x, thin face parameter z.In picture In the setting up procedure of effect mode, when detecting user the determination of certain picture effect pattern being operated, electronic equipment can be with Photo current effect mode and the corresponding picture processing parameter of the picture effect pattern are obtained, by the picture effect pattern with being somebody's turn to do First default gesture operation correspondence is stored, and the picture processing parameter of the picture effect pattern is stored in into the picture effect pattern Picture processing parameter list in.
It should be noted that the embodiment of the present disclosure is with the default gesture operation of electronic equipment storage first, electronic equipment is obtained The gesture operation taken is illustrated exemplified by being matched with the first default gesture operation, in fact, electronic equipment can also store many The individual default gesture operation for being used to carry out picture landscaping treatment, each presets a kind of picture effect pattern of gesture operation correspondence, The corresponding relation between default gesture operation and picture effect pattern for example, electronic equipment can be stored with.Correspondingly, if electric When the gesture operation that sub- equipment is captured by step 201 is matched with other default gesture operations, electronic equipment can be according to this Corresponding relation, obtains the picture effect pattern matched with the default gesture operation, and then at the picture of the picture effect pattern The picture processing parameter of the picture effect pattern is obtained in reason parameter list.By providing multiple be used for picture progress landscaping treatment Default gesture operation so that user by using different gesture operations, can obtain the figure of different picture effect patterns Piece processing parameter, realizes different picture landscaping effects.
In step 203, based on the Target Photo processing parameter, first picture is handled, and after display processing Resulting second picture.
In the embodiment of the present disclosure, got by step 202 after Target Photo processing parameter, electronic equipment can be according to this Picture display parameters included by Target Photo processing parameter, change the picture display parameters of first picture, such as by brightness 50% is changed to from 20%.Meanwhile, electronic equipment can also beautify ginseng according to the picture included by the Target Photo processing parameter Number, changes the image data of first picture, such as according to colour of skin parameter, the rgb value of the first picture is adjusted, so as to be handled Second picture afterwards, and show the preview of the second picture so that user can be learnt after the first picture processing by the preview Picture effect.Fig. 3 is a kind of preview schematic diagram for second picture that the embodiment of the present disclosure is provided, referring to Fig. 3, the right side in Fig. 3 Figure is the preview schematic diagram of the second picture, and the picture effect before the beautification of the first picture and after beautification is significantly different.
Above-mentioned steps 201 pass through simple gesture operation to the process of step 203, you can easily realize to the first figure The landscaping treatment of piece, without the manual regulation of user, improves the treatment effeciency of picture.After the completion of picture processing, electronic equipment The picture after beautification reason can be further processed, detailed process is referring to step 204 to step according to the instruction of user 205。
In step 204, when not capturing any gesture operation in preset duration, to second obtained by after processing Picture is stored.
In the embodiment of the present disclosure, during the display of second picture, electronic equipment can according in preset duration whether The gesture operation of user is captured, to determine the processing mode to second picture, the second picture is such as stored or recovers the first figure The display of piece.
If user is without any gesture operation in the preset duration shown apart from second picture, electronic equipment can To store second picture automatically.User need not carry out any operation, you can realize the automatic storage to the second picture after beautification, This user that is stored as automatically without under operational circumstances provides very big convenience.
In step 205, when capturing the hand that is matched in preset range with the second default gesture operation in preset duration When gesture is operated, the second picture obtained by deleting after the processing, and show first picture.
Wherein, the second default gesture operation is used to cancel the landscaping treatment to picture, referring to Fig. 4, and Fig. 4 is that the disclosure is real A kind of effect diagram of revocation picture processing of example offer is provided, wherein, left figure the showing for the second default gesture operation in Fig. 4 It is intended to, the second default gesture operation can be the operation opposite with the first default gesture operation, and such as user's palm is vacantly downward Streak the operation of electronic equipment screen.Certainly, the second default gesture operation can also be gesture behaviour of other forms etc., this public affairs Embodiment is opened not limit this.
It should be noted that in order to guide user how to carry out gesture operation to cancel the landscaping treatment to picture, electronics Equipment can also show the second operation indicating message while second picture is shown, the second operation indicating message is used to carry Show how user carries out operation and can cancel the landscaping treatment to picture.The second operation indicating message is specifically as follows:" palm It is hanging to streak screen revocation landscaping treatment downwards ".
In the embodiment of the present disclosure, if gesture operation is captured in the preset duration that second picture is shown, and the gesture Operation is matched with the second default gesture operation, then electronic equipment can be automatically deleted the second picture, and recover the first picture Display.Pass through simple gesture operation, you can easily cancel the landscaping treatment to the first picture, recover in display such as Fig. 4 Right figure shown in the first picture, improve operating efficiency.For auto heterodyne scene, because the gesture operation is hanging gesture, User can be without contacting electronic equipments screen, more without carrying out clicking operation to any button on screen, you can rapidly Picture is beautified, stored, and then user quickly can be taken pictures next time.
In the embodiment of the present disclosure, pass through simple gesture operation, you can triggering electronic equipment obtains Target Photo processing ginseng Number, and it is automatic to shooting picture progress landscaping treatment based on the Target Photo processing parameter, carry out repeatedly adjusting manually without user Section operation, improves picture processing efficiency.
Fig. 5 is a kind of block diagram of picture processing device according to an exemplary embodiment.Reference picture 5, the device bag Include trapping module 501, acquisition module 502, processing module 503 and display module 504.
Trapping module 501, is configured as during the display of the first picture, the gesture operation in capture preset range;
Acquisition module 502, when being configured as the gesture operation and match with the first default gesture operation, acquisition Target Photo Processing parameter;
Processing module 503, is configured as being based on the Target Photo processing parameter, first picture is handled;
Display module 504, the second picture obtained by being configured as after display processing.
In a kind of possible implementation, the trapping module 501 is configured as during the display of first picture, Shoot obtained image to capture the gesture operation in preset range by the camera module of the electronic equipment;Or,
The trapping module 501, is configured as during the display of first picture, is passed by the distance of the electronic equipment Sensor captures the gesture operation in preset range to the detection of barrier in the preset range.
In a kind of possible implementation, the acquisition module 502 is configured as the gesture operation and the first default gesture During operation matching, the picture effect pattern matched with the first default gesture operation is obtained;Obtain the figure of the picture effect pattern Piece processing parameter, regard accessed picture processing parameter as the Target Photo processing parameter.
In a kind of possible implementation, referring to Fig. 6, the device also includes memory module 505:
The memory module 505, when being configured as not capturing any gesture operation in preset duration, to institute after processing Obtained second picture is stored.
In a kind of possible implementation, referring to Fig. 7, the device also includes removing module 506:
The removing module 506, is configured as capturing in preset duration in preset range and the second default gesture behaviour When making the gesture operation matched, the second picture obtained by deleting after the processing;
The display module 504, is additionally configured to show first picture.
In a kind of possible implementation, the Target Photo processing parameter includes picture display parameters and picture beautification ginseng Number, the picture display parameters include luminance parameter, contrast level parameter, white balance parameter and saturation parameters, picture beautification Parameter includes mill skin parameter, colour of skin parameter, speckle removing, acne removing parameter, thin face parameter and eyes amplifying parameters.
In the embodiment of the present disclosure, pass through simple gesture operation, you can triggering electronic equipment obtains Target Photo processing ginseng Number, and it is automatic to shooting picture progress landscaping treatment based on the Target Photo processing parameter, carry out repeatedly adjusting manually without user Section operation, improves picture processing efficiency.
On the device in above-described embodiment, wherein modules perform the concrete mode of operation in relevant this method Embodiment in be described in detail, explanation will be not set forth in detail herein.
Fig. 8 is a kind of block diagram of picture processing device 800 according to an exemplary embodiment.For example, device 800 can To be mobile phone, computer, digital broadcast terminal, messaging devices, game console, tablet device, Medical Devices are good for Body equipment, personal digital assistant etc..
Reference picture 8, device 800 can include following one or more assemblies:Processing assembly 802, memory 804, power supply Component 806, multimedia groupware 808, audio-frequency assembly 810, the interface 812 of input/output (I/O), sensor cluster 814, and Communication component 816.
The integrated operation of the usual control device 800 of processing assembly 802, such as with display, call, data communication, phase Machine operates the operation associated with record operation.Processing assembly 802 can refer to including one or more processors 820 to perform Order, to complete all or part of step of above-mentioned method.In addition, processing assembly 802 can include one or more modules, just Interaction between processing assembly 802 and other assemblies.For example, processing assembly 802 can include multi-media module, it is many to facilitate Interaction between media component 808 and processing assembly 802.
Memory 804 is configured as storing various types of data supporting the operation in device 800.These data are shown Example includes the instruction of any application program or method for being operated on device 800, and contact data, telephone book data disappears Breath, picture, video etc..Memory 804 can be by any kind of volatibility or non-volatile memory device or their group Close and realize, such as static RAM (SRAM), Electrically Erasable Read Only Memory (EEPROM) is erasable to compile Journey read-only storage (EPROM), programmable read only memory (PROM), read-only storage (ROM), magnetic memory, flash Device, disk or CD.
Power supply module 806 provides electric power for the various assemblies of device 800.Power supply module 806 can include power management system System, one or more power supplys, and other components associated with generating, managing and distributing electric power for device 800.
Multimedia groupware 808 is included in the screen of one output interface of offer between device 800 and user.In some realities Apply in example, screen can include liquid crystal display (LCD) and touch panel (TP).If screen includes touch panel, screen can To be implemented as touch-screen, to receive the input signal from user.Touch panel include one or more touch sensors with Gesture on sensing touch, slip and touch panel.Touch sensor can not only sensing touch or sliding action border, and And also detection and touch or slide related duration and pressure.In certain embodiments, multimedia groupware 808 includes One front camera and/or rear camera.When device 800 is in operator scheme, such as screening-mode or during video mode is preceding The multi-medium data of outside can be received by putting camera and/or rear camera.Each front camera and rear camera can To be a fixed optical lens system or with focusing and optical zoom capabilities.
Audio-frequency assembly 88 is configured as output and/or input audio signal.For example, audio-frequency assembly 810 includes a Mike Wind (MIC), when device 800 be in operator scheme, when such as call model, logging mode and speech recognition mode, microphone by with It is set to reception external audio signal.The audio signal received can be further stored in memory 804 or via communication set Part 816 is sent.In certain embodiments, audio-frequency assembly 810 also includes a loudspeaker, for exports audio signal.
I/O interfaces 812 is provide interface between processing assembly 802 and peripheral interface module, above-mentioned peripheral interface module can To be keyboard, click wheel, button etc..These buttons may include but be not limited to:Home button, volume button, start button and lock Determine button.
Sensor cluster 814 includes one or more sensors, and the state for providing various aspects for device 800 is commented Estimate.For example, sensor cluster 814 can detect opening/closed mode of device 800, the relative positioning of component, such as component For the display and keypad of device 800, sensor cluster 814 can be with the position of 800 1 components of detection means 800 or device Put change, the existence or non-existence that user contacts with device 800, the orientation of device 800 or acceleration/deceleration and the temperature of device 800 Change.Sensor cluster 814 can include proximity transducer, be configured in not any physical contact near detection The presence of object.Sensor cluster 814 can also include optical sensor, such as CMOS or ccd image sensor, for being answered in imaging Used in.In certain embodiments, the sensor cluster 814 can also include acceleration transducer, gyro sensor, magnetic Sensor, pressure sensor or temperature sensor.
Communication component 816 is configured to facilitate the communication of wired or wireless way between device 800 and other equipment.Device 800 can access the wireless network based on communication standard, such as WiFi, 2G or 3G, or combinations thereof.In an exemplary implementation In example, communication component 816 receives broadcast singal or broadcast related information from external broadcasting management system via broadcast channel. In one exemplary embodiment, communication component 816 also includes near-field communication (NFC) module, to promote junction service.For example, Radio frequency identification (RFID) technology, Infrared Data Association (IrDA) technology, ultra wide band (UWB) technology, bluetooth can be based in NFC module (BT) technology and other technologies are realized.
In the exemplary embodiment, device 800 can be believed by one or more application specific integrated circuits (ASIC), numeral Number processor (DSP), digital signal processing appts (DSPD), PLD (PLD), field programmable gate array (FPGA), controller, microcontroller, microprocessor or other electronic components are realized, for performing above-mentioned image processing method.
In the exemplary embodiment, a kind of non-transitorycomputer readable storage medium including instructing, example are additionally provided Such as include the memory 804 of instruction, above-mentioned instruction can be performed to complete the above method by the processor 820 of device 800.For example, Non-transitorycomputer readable storage medium can be ROM, random access memory (RAM), CD-ROM, tape, floppy disk and light Data storage device etc..
In the exemplary embodiment, a kind of non-transitorycomputer readable storage medium is additionally provided, when in storage medium Instruction by the computing device of mobile terminal when so that mobile terminal is able to carry out above-mentioned image processing method.
Those skilled in the art will readily occur to its of the disclosure after considering specification and putting into practice invention disclosed herein Its embodiment.The application is intended to any modification, purposes or the adaptations of the disclosure, these modifications, purposes or Person's adaptations follow the general principle of the disclosure and including the undocumented common knowledge in the art of the disclosure Or conventional techniques.Description and embodiments are considered only as exemplary, and the true scope of the disclosure and spirit are by following Claim is pointed out.
It should be appreciated that the precision architecture that the disclosure is not limited to be described above and is shown in the drawings, and And various modifications and changes can be being carried out without departing from the scope.The scope of the present disclosure is only limited by appended claim.

Claims (13)

1. a kind of image processing method, it is characterised in that applied to electronic equipment, methods described includes:
During the display of the first picture, the gesture operation in capture preset range;
When the gesture operation is matched with the first default gesture operation, Target Photo processing parameter is obtained;
Based on the Target Photo processing parameter, first picture is handled, and after display processing obtained by second Picture.
2. according to the method described in claim 1, it is characterised in that described during the display of the first picture, capture default In the range of gesture operation include:
During the display of first picture, shoot obtained image to capture by the camera module of the electronic equipment Gesture operation in preset range;Or,
During the display of first picture, by the range sensor of the electronic equipment to the preset range cataract or glaucoma The detection of thing is hindered to capture the gesture operation in preset range.
3. according to the method described in claim 1, it is characterised in that described when the gesture operation and the first default gesture operation During matching, obtaining Target Photo processing parameter includes:
When the gesture operation is matched with the first default gesture operation, the figure matched with the described first default gesture operation is obtained Piece effect mode;
The picture processing parameter of the picture effect pattern is obtained, accessed picture processing parameter is regard as the target figure Piece processing parameter.
4. according to the method described in claim 1, it is characterised in that described to be based on the Target Photo processing parameter, to described First picture is handled, and after display processing obtained by second picture after, methods described also includes:
When not capturing any gesture operation in preset duration, the second picture obtained by after processing is stored.
5. according to the method described in claim 1, it is characterised in that described to be based on the Target Photo processing parameter, to described First picture is handled, and after display processing obtained by second picture after, methods described also includes:
When capturing the gesture operation matched in preset range with the second default gesture operation in preset duration, delete described Second picture obtained by after processing, and show first picture.
6. according to the method described in claim 1, it is characterised in that the Target Photo processing parameter includes picture display parameters Beautify parameter with picture, the picture display parameters include luminance parameter, contrast level parameter, white balance parameter and saturation degree ginseng Number, the picture beautification parameter includes mill skin parameter, colour of skin parameter, speckle removing, acne removing parameter, thin face parameter and eyes amplification ginseng Number.
7. a kind of picture processing device, it is characterised in that described device includes:
Trapping module, for during the display of the first picture, capturing the gesture operation in preset range;
Acquisition module, for when the gesture operation is matched with the first default gesture operation, obtaining Target Photo processing parameter;
Processing module, for based on the Target Photo processing parameter, handling first picture;
Display module, for second picture resulting after display processing.
8. device according to claim 7, it is characterised in that the trapping module, in the aobvious of first picture During showing, shoot obtained image to capture the gesture operation in preset range by the camera module of the electronic equipment; Or,
The trapping module, for during the display of first picture, passing through the range sensor of the electronic equipment Gesture operation in preset range is captured to the detection of barrier in the preset range.
9. device according to claim 7, it is characterised in that the acquisition module, for when the gesture operation and During one default gesture operation matching, the picture effect pattern matched with the described first default gesture operation is obtained;Obtain the figure The picture processing parameter of piece effect mode, regard accessed picture processing parameter as the Target Photo processing parameter.
10. device according to claim 7, it is characterised in that described device also includes memory module:
The memory module, for when not capturing any gesture operation in preset duration, to the obtained by after processing Two pictures are stored.
11. device according to claim 7, it is characterised in that described device also includes removing module:
The removing module, the hand matched in preset range with the second default gesture operation is captured for working as in preset duration When gesture is operated, the second picture obtained by deleting after the processing;
The display module, is additionally operable to display first picture.
12. device according to claim 7, it is characterised in that the Target Photo processing parameter includes picture and shows ginseng Number and picture beautify parameter, and the picture display parameters include luminance parameter, contrast level parameter, white balance parameter and saturation degree Parameter, the picture beautification parameter includes mill skin parameter, colour of skin parameter, speckle removing, acne removing parameter, thin face parameter and eyes amplification Parameter.
13. a kind of picture processing device, it is characterised in that described device includes:
Processor;
Memory for storing the executable instruction of processor;
Wherein, the processor is configured as:
During the display of the first picture, the gesture operation in capture preset range;
When the gesture operation is matched with the first default gesture operation, Target Photo processing parameter is obtained;
Based on the Target Photo processing parameter, first picture is handled, and after display processing obtained by second Picture.
CN201710194142.XA 2017-03-28 2017-03-28 Picture processing method and device Active CN107015648B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201710194142.XA CN107015648B (en) 2017-03-28 2017-03-28 Picture processing method and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201710194142.XA CN107015648B (en) 2017-03-28 2017-03-28 Picture processing method and device

Publications (2)

Publication Number Publication Date
CN107015648A true CN107015648A (en) 2017-08-04
CN107015648B CN107015648B (en) 2020-12-18

Family

ID=59445552

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201710194142.XA Active CN107015648B (en) 2017-03-28 2017-03-28 Picture processing method and device

Country Status (1)

Country Link
CN (1) CN107015648B (en)

Cited By (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107656679A (en) * 2017-09-28 2018-02-02 上海传英信息技术有限公司 Picture editing method and terminal
CN109325904A (en) * 2018-08-28 2019-02-12 百度在线网络技术(北京)有限公司 Image filters treating method and apparatus
WO2019071381A1 (en) * 2017-10-09 2019-04-18 深圳传音通讯有限公司 Video recording method, apparatus, and terminal
CN111782598A (en) * 2019-04-04 2020-10-16 Oppo广东移动通信有限公司 Method, device, terminal and storage medium for arranging pictures
CN112347301A (en) * 2019-08-09 2021-02-09 北京字节跳动网络技术有限公司 Image special effect processing method and device, electronic equipment and computer readable storage medium
CN114785950A (en) * 2022-04-21 2022-07-22 北京达佳互联信息技术有限公司 Image processing method, image processing device, electronic apparatus, medium, and product
WO2024119501A1 (en) * 2022-12-09 2024-06-13 深圳传音控股股份有限公司 Image editing method, apparatus, terminal device, and storage medium

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104050692A (en) * 2013-03-12 2014-09-17 腾讯科技(深圳)有限公司 Frame display method and frame display device in photograph beautifying process
CN105118019A (en) * 2015-09-11 2015-12-02 广东欧珀移动通信有限公司 Image processing method and user terminal
CN105224227A (en) * 2015-10-13 2016-01-06 广东欧珀移动通信有限公司 A kind of display control method and mobile terminal taking interface
CN105303523A (en) * 2014-12-01 2016-02-03 维沃移动通信有限公司 Image processing method and mobile terminal
CN105320929A (en) * 2015-05-21 2016-02-10 维沃移动通信有限公司 Synchronous beautification method for photographing and photographing apparatus thereof

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104050692A (en) * 2013-03-12 2014-09-17 腾讯科技(深圳)有限公司 Frame display method and frame display device in photograph beautifying process
CN105303523A (en) * 2014-12-01 2016-02-03 维沃移动通信有限公司 Image processing method and mobile terminal
CN105320929A (en) * 2015-05-21 2016-02-10 维沃移动通信有限公司 Synchronous beautification method for photographing and photographing apparatus thereof
CN105118019A (en) * 2015-09-11 2015-12-02 广东欧珀移动通信有限公司 Image processing method and user terminal
CN105224227A (en) * 2015-10-13 2016-01-06 广东欧珀移动通信有限公司 A kind of display control method and mobile terminal taking interface

Cited By (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107656679A (en) * 2017-09-28 2018-02-02 上海传英信息技术有限公司 Picture editing method and terminal
CN107656679B (en) * 2017-09-28 2019-08-06 上海传英信息技术有限公司 Picture editing method and terminal
WO2019071381A1 (en) * 2017-10-09 2019-04-18 深圳传音通讯有限公司 Video recording method, apparatus, and terminal
CN109325904A (en) * 2018-08-28 2019-02-12 百度在线网络技术(北京)有限公司 Image filters treating method and apparatus
CN111782598A (en) * 2019-04-04 2020-10-16 Oppo广东移动通信有限公司 Method, device, terminal and storage medium for arranging pictures
CN112347301A (en) * 2019-08-09 2021-02-09 北京字节跳动网络技术有限公司 Image special effect processing method and device, electronic equipment and computer readable storage medium
CN114785950A (en) * 2022-04-21 2022-07-22 北京达佳互联信息技术有限公司 Image processing method, image processing device, electronic apparatus, medium, and product
WO2024119501A1 (en) * 2022-12-09 2024-06-13 深圳传音控股股份有限公司 Image editing method, apparatus, terminal device, and storage medium

Also Published As

Publication number Publication date
CN107015648B (en) 2020-12-18

Similar Documents

Publication Publication Date Title
CN107015648A (en) Image processing method and device
CN105635567A (en) Shooting method and device
CN104219445B (en) Screening-mode method of adjustment and device
CN106548764A (en) Screen brightness control method and device
CN105744133B (en) Video light compensation method and device
KR20210133112A (en) Video processing method, apparatus and storage media
CN106408603A (en) Camera method and device
CN104506772A (en) Method and device for regulating shooting parameters
CN105278380A (en) Control method and device of intelligent device
CN104618575B (en) The close method and apparatus of detection object
CN104216525B (en) Method and device for mode control of camera application
CN108108418A (en) Picture management method, device and storage medium
CN106778531A (en) Face detection method and device
CN104407769B (en) Image processing method, device and equipment
CN107463052A (en) Shoot exposure method and device
CN107426489A (en) Processing method, device and terminal during shooting image
CN106911887A (en) Image capturing method and device
CN106534775A (en) Video editing method and device as well as video shooting method and device
CN107122697A (en) Automatic obtaining method and device, the electronic equipment of photo
CN106817532A (en) Image processing method and device
CN106817533A (en) Image processing method and device
CN105224950A (en) The recognition methods of filter classification and device
CN104780256A (en) Address book management method and device and intelligent terminal
CN107992833A (en) Image-recognizing method, device and storage medium
CN106454126A (en) Photographing method and apparatus

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