Font Size: a A A

Camera Development With Real-time Filter Function Based On Android Platform

Posted on:2019-05-21Degree:MasterType:Thesis
Country:ChinaCandidate:K G YangFull Text:PDF
GTID:2428330590475426Subject:Software engineering
Abstract/Summary:PDF Full Text Request
With the rapid development of Internet,the popularity of smart phones is also increasing.Users are also concerned about the application of smart phones.The application of the smart phone with its own camera is difficult to meet the needs of the user.For example,the user wants the smart phone camera to be more fluent,more functional,better photographed,and better to beautify the picture.To do well these functions,we need to develop a Camera application that meets the needs of the user.The camera with real-time filter function can improve the user's photo experience.At present,there are many ways to realize the real-time image processing based on the Android platform.One of them is the combination of CPU and NDK,which uses CPU to calculate the filter.However,because CPU occupies too much resources,it leads the application get lags and lose its frame.With the improvement of the hardware parameters of mobile devices,the performance of GPU is also improved.Using the powerful computing power of GPU,the complex and high-speed image processing can replace the original scheme without taking up the system resources at the same time.On this basis,this paper updates the original filter processing system,and uses the image rendering tool OpenGL and its scripting language GLSL to play the advantage of GPU in data processing,so as to realize the function of real-time filter preview.The thesis is mainly completed from four aspects.(1)Based on the Android platform,a custom camera is developed and the multi attribute parameter modification function is added.Compared with the single function of the original camera and the boring interface,the camera can complete the detailed setting of the camera parameters,set up the storage,and have the exquisite features of the interface.(2)The filter module is developed based on OpenGL and GLSL,and the effects of various filters are added to improve the performance of filter processing and enhance user experience.On this basis,the functions of various filter effects and real-time preview are realized.(3)Taking picture module,photo module and filter module of this paper are implemented using the mode of functional block respectively,which reduces the coupling between the modules and strengthens the extensibility of the program.(4)This paper analyzes and implements a variety of filter algorithm proposed in this paper,and carries out a complete functional and non functional test on the filter module,which ensures the correctness of the algorithm and the efficiency of the implementation of this filter.Compared with the original camera,this paper provides a solution to enhance the competitiveness of enterprise product application.
Keywords/Search Tags:Camera, OpenGL, GLSL, Android, real-time filter
PDF Full Text Request
Related items