Based on more than 70 filters (v0.3), 26 images are added. Currently, the source code of the three platforms has been synchronized and tested.
A friend reported that a compilation error occurred during use on the ios platform. It should be noted that, because I do not have a mac Book, I only use VC for development, according to the corresponding object-c code, the corresponding transformation program is written, so it is not guaranteed that 100% of the compilation on xcode is successful. However, you can try invertfilter first. the H file (in the source code) is rewritten. mm file (xcode will regard it as C ++ code for compilation), so that you can write the remaining filter code to the object-c Project step by step.
The following figure shows the image effect:
Source image:
VideoFilter1
VideoFilter2
VideoFilter3
VideoFilter4
TileReflectionFilter1
TileReflectionFilter2
FillPatternFilter1
FillPatternFilter2
MirrorFilter1
MirrorFilter2
YCBCrLinearFilter1
YCBCrLinearFilter2
TexturerFilter1
TexturerFilter2
TexturerFilter3
TexturerFilter4
TexturerFilter5
HslModifyFilter1
HslModifyFilter2
HslModifyFilter3
HslModifyFilter4
HslModifyFilter5
HslModifyFilter6
HslModifyFilter7
HslModifyFilter8
HslModifyFilter9
Currently, this database has 99 results by default. I will start to refactor the code in later versions and improve the execution efficiency of some filters (some may report that some filters consume resources and take too long ).
Download source code:
Https://github.com/daizhenjun/ImageFilterC C ++ for ios
Windows Phone7 https://github.com/daizhenjun/ImageFilterForWindowsPhone
Https://github.com/daizhenjun/ImageFilterForAndroid Android 2.1 and later
Link: http://www.cnblogs.com/daizhj/archive/2012/06/21/2557550.html
Author: daizhj, Dai zhenjun
Weibo: http://weibo.com/daizhj
Tags: imagefilter, android, windowsphone, ios, vs2010, c ++, java, c #