• 大小: 0.94M
    文件类型: .zip
    金币: 1
    下载: 0 次
    发布日期: 2020-12-23
  • 标签: 源代码  

资源简介

有多种处理照片的滤镜方式

     下面是图片效果:


原图:



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



 

 

    目前该库中默认效果达到99种。本人会在后续版本中开始重构代码并着手提升部分filter的执行效率(有朋友反映某些滤镜执行起来比较消耗资源,且时间过长) 。

资源截图

代码片段和文件信息

/* 
 * HaoRan ImageFilter Classes v0.1
 * Copyright (C) 2012 Zhenjun Dai
 *
 * This library is free software; you can redistribute it and/or modify it
 * under the terms of the GNU Lesser General Public License as published by the
 * Free Software Foundation; either version 2.1 of the License or (at your
 * option) any later version.
 *
 * This library is distributed in the hope that it will be useful but WITHOUT
 * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
 * FITNESS FOR A PARTICULAR PURPOSE.  See the GNU Lesser General Public License
 * for more details.
 *
 * You should have received a copy of the GNU Lesser General Public License
 * along with this library; if not write to the Free Software Foundation.
 */


package HaoRan.ImageFilter;

/**
 * 自动校正效果
 * @

 属性            大小     日期    时间   名称
----------- ---------  ---------- -----  ----
     目录           0  2012-06-21 03:50  ImageFilterForAndroid-master\
     文件         356  2012-06-21 03:50  ImageFilterForAndroid-master\.classpath
     文件         186  2012-06-21 03:50  ImageFilterForAndroid-master\.gitignore
     文件         824  2012-06-21 03:50  ImageFilterForAndroid-master\.project
     文件         749  2012-06-21 03:50  ImageFilterForAndroid-master\AndroidManifest.xml
     文件          43  2012-06-21 03:50  ImageFilterForAndroid-master\README.md
     文件        1248  2012-06-21 03:50  ImageFilterForAndroid-master\proguard.cfg
     文件         360  2012-06-21 03:50  ImageFilterForAndroid-master\project.properties
     目录           0  2012-06-21 03:50  ImageFilterForAndroid-master\res\
     目录           0  2012-06-21 03:50  ImageFilterForAndroid-master\res\drawable-hdpi\
     文件        4147  2012-06-21 03:50  ImageFilterForAndroid-master\res\drawable-hdpi\ic_launcher.png
     目录           0  2012-06-21 03:50  ImageFilterForAndroid-master\res\drawable-ldpi\
     文件        1723  2012-06-21 03:50  ImageFilterForAndroid-master\res\drawable-ldpi\ic_launcher.png
     目录           0  2012-06-21 03:50  ImageFilterForAndroid-master\res\drawable-mdpi\
     文件        2574  2012-06-21 03:50  ImageFilterForAndroid-master\res\drawable-mdpi\ic_launcher.png
     目录           0  2012-06-21 03:50  ImageFilterForAndroid-master\res\drawable\
     文件        7900  2012-06-21 03:50  ImageFilterForAndroid-master\res\drawable\autoadjust_filter.jpg
     文件        8748  2012-06-21 03:50  ImageFilterForAndroid-master\res\drawable\banner_filter1.jpg
     文件        8794  2012-06-21 03:50  ImageFilterForAndroid-master\res\drawable\banner_filter2.jpg
     文件        9515  2012-06-21 03:50  ImageFilterForAndroid-master\res\drawable\bigbrother_filter.jpg
     文件        6644  2012-06-21 03:50  ImageFilterForAndroid-master\res\drawable\blackwhite_filter.jpg
     文件        7524  2012-06-21 03:50  ImageFilterForAndroid-master\res\drawable\blind_filter1.jpg
     文件        7052  2012-06-21 03:50  ImageFilterForAndroid-master\res\drawable\blind_filter2.jpg
     文件        7347  2012-06-21 03:50  ImageFilterForAndroid-master\res\drawable\blockprint_filter.jpg
     文件        6958  2012-06-21 03:50  ImageFilterForAndroid-master\res\drawable\brick_filter.jpg
     文件        7890  2012-06-21 03:50  ImageFilterForAndroid-master\res\drawable\brightcontrast_filter.jpg
     文件        8446  2012-06-21 03:50  ImageFilterForAndroid-master\res\drawable\bulge_filter.jpg
     文件        8271  2012-06-21 03:50  ImageFilterForAndroid-master\res\drawable\colorquantize_filter.jpg
     文件        9487  2012-06-21 03:50  ImageFilterForAndroid-master\res\drawable\colortone_filter.jpg
     文件        9541  2012-06-21 03:50  ImageFilterForAndroid-master\res\drawable\colortone_filter2.jpg
     文件        8065  2012-06-21 03:50  ImageFilterForAndroid-master\res\drawable\colortone_filter3.jpg
............此处省略174个文件信息

评论

共有 条评论