Filter effect display method and device and mobile terminal

文档序号:1277179 发布日期:2020-08-25 浏览:17次 中文

阅读说明:本技术 一种滤镜效果显示方法、装置和移动终端 (Filter effect display method and device and mobile terminal ) 是由 傅茜 于 2017-09-27 设计创作,主要内容包括:一种滤镜效果显示方法、装置和移动终端,滤镜效果显示方法包含:在检测到移动终端的相机模块被触发启动后,获取当前场景的预览数据(S101);检测当前环境的色温并获取当前用户选择的滤镜效果(S102);采用滤镜效果对应的算法并结合当前环境的色温对当前场景的预览数据进行处理,得到处理后的数据(S103);显示处理后的数据(S104)。能够选择多样化的滤镜效果,支持实时滤镜,能够直观地显示滤镜应用在特定图像中的显示效果。(A filter effect display method, a device and a mobile terminal are provided, wherein the filter effect display method comprises the following steps: acquiring preview data of a current scene after detecting that a camera module of the mobile terminal is triggered and started (S101); detecting a color temperature of a current environment and acquiring a filter effect selected by a current user (S102); processing preview data of the current scene by adopting an algorithm corresponding to a filter effect and combining the color temperature of the current environment to obtain processed data (S103); the processed data is displayed (S104). The filter can select diversified filter effects, supports a real-time filter, and can visually display the display effect of the filter applied to a specific image.)

A filter effect display method is applied to a mobile terminal and is characterized by comprising the following steps:

acquiring preview data of a current scene after detecting that a camera module of the mobile terminal is triggered and started;

detecting the color temperature of the current environment and acquiring the filter effect selected by the current user;

processing the preview data of the current scene by adopting an algorithm corresponding to the filter effect and combining the color temperature of the current environment to obtain processed data;

and displaying the processed data.

The filter effect display method of claim 1, wherein the obtaining preview data of the current scene further comprises:

acquiring a camera opening instruction input by a user;

and responding to the camera starting instruction, and starting the camera module.

The filter effect display method of claim 1, wherein processing the preview data of the current scene to obtain processed data comprises:

processing preview data of the current scene by adopting an algorithm corresponding to the filter effect according to the filter effect selected by a user to obtain first data;

processing the preview data of the current scene by adopting an algorithm corresponding to the current color temperature according to the color temperature of the current environment to obtain second data;

and performing reverse deduction and combination on the first data and the second data to obtain processed data.

The filter effect display method according to any one of claims 1 to 3, further comprising, after displaying the processed data:

and setting the effect parameters of the processed data.

A filter effect display device, said device comprising:

the viewfinder is used for acquiring preview data of a current scene after detecting that a photographing application program of the mobile terminal is triggered and started;

the detection acquisition module is used for detecting the color temperature of the current environment and acquiring the filter effect selected by the current user;

the filter processing module is used for processing the preview data of the current scene by adopting an algorithm corresponding to the filter effect and combining the color temperature of the current environment to obtain processed data;

and the display module is used for displaying the processed data.

The filter effect display device of claim 5, further comprising:

the instruction acquisition module is used for acquiring a camera opening instruction input by a user;

and the response module is used for responding the camera starting instruction and starting the camera module.

The filter effect display device according to claim 5, wherein the detection acquisition module comprises:

a color temperature detection unit for detecting a color temperature of a surrounding environment;

and the filter effect acquisition unit is used for acquiring the filter effect selected by the current user.

The filter effect display device of claim 5, wherein the filter processing module comprises:

the first processing unit is used for processing the preview data of the current scene by adopting an algorithm corresponding to the filter effect according to the filter effect selected by the user to obtain first data;

the second processing unit is used for processing the preview data of the current scene by adopting an algorithm corresponding to the current color temperature according to the color temperature of the current environment to obtain second data;

and the reverse deduction unit is used for performing reverse deduction combination on the first data and the second data to obtain processed data.

The filter effect display device according to any one of claims 5 to 7, further comprising a setting unit for setting an effect parameter of the processed data.

A mobile terminal characterized by comprising the filter effect display device according to any one of claims 5 to 9.

26页详细技术资料下载
上一篇:一种医用注射器针头装配设备
下一篇:光圈装置、透镜镜筒及摄像装置或投影装置

网友询问留言

已有0条留言

还没有人留言评论。精彩留言会获得点赞!

精彩留言,会给你点赞!

技术分类