Sep 6, 2013
Android Image Filters
Image Filter allows you to add various effects on image.
There are mainly two purpose of Image Processing
1. Image Understanding: It is used to identify content of image, weather image has human faces, objects (bus, train, etc.), measure dimension of objects,etc. OpenCV (Open Source Computer Vision Library) is one of the main library used for Image Understanding.
2. Image Beautify : It is used to beautify image by adding different filters, adjust colour, adjust contrast, etc..
Android provides two options for Image Filters/Processing
1. Using SDK with Java Code,Android SDK has "android.graphics" package which contains classes related to Image Processing.
2. Using NDK with C/C++ Code.
List of classes from android.graphics
This article explains simple Android application which demonstrates 30 different image filters. Application has one button to select image from gallery, bottom strip contains visual representation of effect then simply click on effect to apply into your selected photo. Application will apply selected effect and store image in root folder of SDCard with effect name.
The entire logic of Image filter/processing is written in pure java (without NDK/C++).
Application Screen shots
Image source : http://www.theotherhome.com/images/PackageImages/Large/2013-03-0811-37-01.jpg
Different image filters available in Application
Download Source Code
I would like to thanks Mr Peter Huston (http://petehouston.com/) for providing Android Image Filters tutorials in his blog.
Original Source Code: http://xjaphx.wordpress.com/learning/tutorials/