CN104657956B - A method of realizing smart mobile phone picture beautifying functions - Google Patents
A method of realizing smart mobile phone picture beautifying functions Download PDFInfo
- Publication number
- CN104657956B CN104657956B CN201510113470.3A CN201510113470A CN104657956B CN 104657956 B CN104657956 B CN 104657956B CN 201510113470 A CN201510113470 A CN 201510113470A CN 104657956 B CN104657956 B CN 104657956B
- Authority
- CN
- China
- Prior art keywords
- beautification
- beautifying functions
- algorithm
- picture
- layers
- 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.)
- Active
Links
Landscapes
- Image Processing (AREA)
- Studio Devices (AREA)
- Telephone Function (AREA)
- Telephonic Communication Services (AREA)
Abstract
The present invention discloses a kind of method for realizing smart mobile phone picture beautifying functions, including step:Create the interfaces UI;Edit MMI interface modules;The processing of image data is arranged at Hal layers in setting beautification algorithm, beautification algorithm, and beautification algorithm is executed using hardware driving by Hal layers;Setting beautification algorithm calls, and the bottom frame image data that comes up of transmission returns to APP layers of picture application program by after Hal layers of beautification algorithm process.A kind of method for realizing smart mobile phone picture beautifying functions disclosed by the invention is directly handled image data at HAL layers, and treatment effeciency is high, sense that the user experience is improved.
Description
Technical field
The present invention relates to picture process fields more particularly to smart mobile phone picture to beautify field.
Background technology
Instantly social, smart mobile phone has incorporated people’s lives, has become everybody indispensable companion, it not only plays
Role is communicated, while still equipment is shared in amusement well.Picture beautifying functions are common functions on smart mobile phone, but mesh
Preceding picture beautification application is all directly handled in cell phone application layer, has aggravated APP layers of processing load in this way, and treatment effeciency is low,
User experience is poor.
Invention content
To solve the above problems, the present invention provides a kind of method for realizing smart mobile phone picture beautifying functions, including it is following
Step:
The interfaces UI are created, human-computer interaction is used for, realize selection and the various beautifying functions of picture beautifying functions and type
The input of parameter;
MMI interface modules, the corresponding beautifying functions for calling the interfaces UI selected and beautification species parameter are edited, and is transmitted
Give landscaping treatment function;
The processing of image data is arranged at Hal layers in setting beautification algorithm, including landscaping treatment function, beautification algorithm, by
Hal layers execute beautification algorithm using hardware driving;
Setting beautification algorithm calls, and after selecting picture beautifying functions, the MMI modules receive the behaviour inputted by the interfaces UI
After making information, relevant parameter is called, the corresponding landscaping treatment function that parameter passes to Hal layers by framework layers immediately will
The frame image data transmitted up in bottom frame buffer queue carries out algorithm process, returns again to App layers of picture application program
It is shown.
Specifically, the setting beautification algorithm calling includes:
Handles function is created, for obtaining handle, i.e., various action-item purpose marks on the interfaces UI make landscaping treatment function
The parameter that various operation objects generate on the interfaces UI is called by handle acquiring;
Setting beautification rank interface;The beautification rank interface provides preset parameter and participates in beautification algorithm process;
Beautifying functions are set and enable interface, beautifying functions are opened for controlling;
Setting preview landscaping treatment function obtains client pre- when opening beautifying functions from frame buffer queue
Image data of looking at returns to client, then send upper layer to by image procossing interface after Hal layers are beautified algorithm process
APP is applied, to present in real time in front of the user;
Landscaping treatment function of taking pictures is set, when opening beautifying functions, by the image data warp of taking pictures in frame buffer queue
It crosses after Hal layers of beautification algorithm process to return to take pictures and flow and store.
Further, the picture beautifying functions include face picture beautifying functions.
Specifically, the operation item at the interfaces UI includes mode selecting button, progress bar and simple hierarchical pattern button;
User can be operated by the mode selecting button, progress bar, and corresponding parameter is freely called to enter at beautification algorithm
Reason can also select beautification rank by simple hierarchical pattern button, call preset parameter to carry out by beautification rank interface beautiful
Change algorithm process.
The present invention directly carries out algorithm process at HAL layers to image data, and treatment effeciency is high, sense that the user experience is improved.
Description of the drawings
Fig. 1 is the method flow diagram for realizing smart mobile phone picture beautifying functions.
Fig. 2 is preview beautification flow chart.
Fig. 3 is beautification flow chart of taking pictures.
Specific implementation mode
To make those skilled in the art be better understood from the present invention, the specific implementation mode of invention is made presently in connection with attached drawing
Further instruction.
As shown in Figure 1, a kind of method for realizing smart mobile phone picture beautifying functions, includes the following steps:
Create the interfaces UI;
Edit MMI modules;
Setting beautification algorithm;
Setting beautification algorithm calls.
Further.The setting beautification algorithm, which calls, includes:
Create handles function;
Setting beautification rank interface;
Beautifying functions are set and enable interface;
Preview landscaping treatment function is set;As shown in Fig. 2, when opening beautifying functions, by client from frame buffer queue
The preview picture data of middle acquisition return to client by image procossing interface after Hal layers are beautified algorithm process, then
Upper layer APP applications are sent to, to present in real time in front of the user
Landscaping treatment function of taking pictures is set;As shown in figure 3, when opening beautifying functions, by taking pictures in frame buffer queue
Image data is returned to take pictures and flow and be stored after Hal layers are beautified algorithm process.
After MMI modules receive the operation information inputted by the interfaces UI, relevant parameter, parameter is called to pass through immediately
The framework layers of corresponding landscaping treatment function for passing to Hal layers, the frame picture number that will be transmitted up in bottom frame buffer queue
According to algorithm process is carried out, return again to App layers of picture application program.
It is above the specific implementation of the present invention, the description thereof is more specific and detailed, but can not therefore be interpreted as
Limitation to the scope of the claims of the present invention.It should be pointed out that for those of ordinary skill in the art, not departing from this hair
Under the premise of bright design, various modifications and improvements can be made, these obvious alternative forms belong to the present invention's
Protection domain.
Claims (3)
1. a kind of method for realizing smart mobile phone picture beautifying functions, includes the following steps:
The interfaces UI are created, human-computer interaction is used for, realize selection and the various beautifying functions parameters of picture beautifying functions and type
Input;
MMI interface modules, the corresponding beautifying functions for calling the interfaces UI selected and beautification species parameter are edited, and passes it to U.S.
Change processing function;
The processing of image data is arranged at Hal layers, by Hal layers in setting beautification algorithm, including landscaping treatment function, beautification algorithm
Beautification algorithm is executed using hardware driving;
Setting beautification algorithm calls, and after selecting picture beautifying functions, the MMI modules receive the operation letter inputted by the interfaces UI
After breath, relevant parameter, the corresponding landscaping treatment function that parameter passes to Hal layers by framework layers immediately, by bottom are called
The frame image data transmitted up in frame buffer queue carries out algorithm process, returns again to App layers of picture application program progress
Display;The setting beautification algorithm calling specifically includes:
Handles function is created, for obtaining handle, i.e., various action-item purpose marks on the interfaces UI make landscaping treatment function pass through
Handle acquiring calls the parameter that various operation objects generate on the interfaces UI;
Setting beautification rank interface;The beautification rank interface provides preset parameter and participates in beautification algorithm process;
Beautifying functions are set and enable interface, beautifying functions are opened for controlling;
Preview landscaping treatment function, when opening beautifying functions, preview graph that client is obtained from frame buffer queue are set
Sheet data returns to client, then send upper layer APP to and answer by image procossing interface after Hal layers are beautified algorithm process
With to present in real time in front of the user;
Landscaping treatment function of taking pictures is set, when opening beautifying functions, the image data of taking pictures in frame buffer queue is passed through into Hal
It returns to take pictures after layer beautification algorithm process and flow and store.
2. according to a kind of method for realizing smart mobile phone picture beautifying functions described in claim 1, it is characterised in that:The picture
Beautifying functions include face picture beautifying functions.
3. according to a kind of method for realizing smart mobile phone picture beautifying functions described in claim 1, it is characterised in that:UI circle
The operation item in face includes mode selecting button, progress bar and simple hierarchical pattern button;User one of in the following way into
Row beautification algorithm process:
1)It is operated by the mode selecting button, progress bar, corresponding parameter is freely called to carry out beautification algorithm process;
2)Beautification rank is selected by simple hierarchical pattern button, calls preset parameter to be beautified by beautifying rank interface
Algorithm process.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201510113470.3A CN104657956B (en) | 2015-03-16 | 2015-03-16 | A method of realizing smart mobile phone picture beautifying functions |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201510113470.3A CN104657956B (en) | 2015-03-16 | 2015-03-16 | A method of realizing smart mobile phone picture beautifying functions |
Publications (2)
Publication Number | Publication Date |
---|---|
CN104657956A CN104657956A (en) | 2015-05-27 |
CN104657956B true CN104657956B (en) | 2018-10-02 |
Family
ID=53249034
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201510113470.3A Active CN104657956B (en) | 2015-03-16 | 2015-03-16 | A method of realizing smart mobile phone picture beautifying functions |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN104657956B (en) |
Families Citing this family (15)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN106657757B (en) * | 2015-11-04 | 2020-06-09 | 阿里巴巴集团控股有限公司 | Image preview method and device for camera application and camera application system |
CN105959530A (en) * | 2016-04-26 | 2016-09-21 | 乐视控股(北京)有限公司 | Method and system for invoking a camera function according to an individualized property of an application |
CN106303226A (en) * | 2016-08-01 | 2017-01-04 | 乐视控股(北京)有限公司 | Image processing method and device |
CN106775902A (en) * | 2017-01-25 | 2017-05-31 | 北京奇虎科技有限公司 | A kind of method and apparatus of image procossing, mobile terminal |
CN107424136B (en) * | 2017-07-31 | 2022-06-28 | 北京酷我科技有限公司 | Method for processing Gaussian blur of picture under Mac |
CN108184074B (en) * | 2018-01-03 | 2020-06-16 | 上海传英信息技术有限公司 | Image processing apparatus, electronic device, and image processing method |
CN108986018B (en) * | 2018-07-02 | 2019-05-10 | 上海蒙彤文化传播有限公司 | Automatic U.S. figure platform based on the beautification of the face cheek |
CN109963083B (en) | 2019-04-10 | 2021-09-24 | Oppo广东移动通信有限公司 | Image processor, image processing method, photographing device, and electronic apparatus |
CN110223230A (en) * | 2019-05-30 | 2019-09-10 | 华南理工大学 | A kind of more front end depth image super-resolution systems and its data processing method |
US20210056220A1 (en) * | 2019-08-22 | 2021-02-25 | Mediatek Inc. | Method for improving confidentiality protection of neural network model |
CN110991369A (en) * | 2019-12-09 | 2020-04-10 | Oppo广东移动通信有限公司 | Image data processing method and related device |
CN110933275B (en) * | 2019-12-09 | 2021-07-23 | Oppo广东移动通信有限公司 | Photographing method and related equipment |
CN111061524A (en) * | 2019-12-09 | 2020-04-24 | Oppo广东移动通信有限公司 | Application data processing method and related device |
CN110995994B (en) * | 2019-12-09 | 2021-09-14 | 上海瑾盛通信科技有限公司 | Image shooting method and related device |
CN114520868B (en) * | 2020-11-20 | 2023-05-12 | 华为技术有限公司 | Video processing method, device and storage medium |
Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101779218A (en) * | 2007-08-10 | 2010-07-14 | 株式会社资生堂 | Makeup simulation system, makeup simulation apparatus, makeup simulation method, and makeup simulation program |
CN103618855A (en) * | 2013-12-03 | 2014-03-05 | 厦门美图移动科技有限公司 | Photographing method and device for automatically selecting optimal image |
CN103716535A (en) * | 2013-12-12 | 2014-04-09 | 乐视致新电子科技(天津)有限公司 | Method for switching photographing mode, and electronic device |
Family Cites Families (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US7876320B2 (en) * | 2004-11-25 | 2011-01-25 | Nec Corporation | Face image synthesis method and face image synthesis apparatus |
CN103974007B (en) * | 2013-01-28 | 2017-10-03 | 杭州海康威视数字技术股份有限公司 | The stacking method and device of screen menu type regulative mode information |
CN103442172B (en) * | 2013-08-15 | 2017-09-19 | Tcl集团股份有限公司 | A kind of camera image quality adjusting method, system and mobile terminal based on Android platform |
-
2015
- 2015-03-16 CN CN201510113470.3A patent/CN104657956B/en active Active
Patent Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101779218A (en) * | 2007-08-10 | 2010-07-14 | 株式会社资生堂 | Makeup simulation system, makeup simulation apparatus, makeup simulation method, and makeup simulation program |
CN103618855A (en) * | 2013-12-03 | 2014-03-05 | 厦门美图移动科技有限公司 | Photographing method and device for automatically selecting optimal image |
CN103716535A (en) * | 2013-12-12 | 2014-04-09 | 乐视致新电子科技(天津)有限公司 | Method for switching photographing mode, and electronic device |
Non-Patent Citations (1)
Title |
---|
基于Android平台Camera的设计与实现;周长生;《中国优秀硕士学位论文全文数据库 信息科技辑》;20120115;第2013年卷(第01期);第12页第2段、第34页第5段、第35页图5-1、第55页最后一段 * |
Also Published As
Publication number | Publication date |
---|---|
CN104657956A (en) | 2015-05-27 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN104657956B (en) | A method of realizing smart mobile phone picture beautifying functions | |
EP3220249B1 (en) | Method, device and terminal for implementing regional screen capture | |
CN106125463B (en) | Information processing equipment, information processing method and program | |
CN104423946B (en) | A kind of image processing method and electronic equipment | |
KR20230164069A (en) | User interfaces for managing media styles | |
CN106484396A (en) | Night changing method, device and terminal unit | |
CN105892839B (en) | A kind of screenshot processing method and device based on instant messaging tools | |
DE202012007707U1 (en) | Apparatus for providing a user interface on a device displaying content operators | |
WO2015196038A1 (en) | Image editing using selective editing tools | |
CN102591586B (en) | Terminal video streaming processing method and terminal video streaming processing module | |
CN104967784B (en) | Mobile terminal calls the method and mobile terminal of the substrate features pattern of camera function | |
CN105897961A (en) | Smart phone operation method and device and smart phone | |
CN103139481A (en) | Camera device and camera method | |
CN106817349A (en) | A kind of method and device for making communication interface produce animation effect in communication process | |
WO2019047809A1 (en) | Method and device for processing image in application, terminal device, and storage medium | |
CN102387239A (en) | Method for implementing dynamic wallpaper of mobile phone | |
CN102402367A (en) | Method for implementing dynamic theme in mobile phone terminal | |
CN102999344A (en) | Intelligent terminal and method and device for user-defined operation set thereof | |
CN108683872A (en) | Video call method, device, storage medium and mobile terminal | |
CN104184791B (en) | Image effect extracts | |
CN105516782B (en) | The realization method and system of android system smart television suspension interface mutual exclusion function | |
CN107203312A (en) | Rendering intent, the storage device of mobile terminal and its picture | |
CN101127980A (en) | Layout method for standby interface of mobile terminal | |
CN106354356A (en) | Method and terminal for managing application icon | |
CN104461615B (en) | A kind of processing method and electronic equipment of skin resource |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant |