如何在android中实现不错的色彩效果和图像处理?

时间:2013-10-30 07:25:29

标签: android bitmap

我正在开发一个图像编辑器android应用程序。我需要将效果应用于BeFunkey等图像。我尝试过如此多的链接:

Android - How to apply diffenernt Image Effects on bitmap like sepia, blackand white, blur etc

Convert a Bitmap to GrayScale in Android

Drawable => grayscale

http://shaikhhamadali.blogspot.in/2013/06/gray-scale-image-in-imageview-android_29.html

http://www.shaikhhamadali.blogspot.ro/p/home.html

http://android.okhelp.cz/hue-color-colored-filter-bitmap-image-android-example/

http://developer.android.com/reference/android/media/effect/EffectFactory.html

http://my.fit.edu/~vkepuska/ece5570/adt-bundle-windows-x86_64/sdk/samples/android-17/

http://www.blogosfera.co.uk/2013/06/how-to-give-a-posterize-effect-on-imageview/

http://xjaphx.wordpress.com/learning/tutorials/

Android apply colorMatrix colorFilter on part of imageView with a mask

http://activetuts.s3.amazonaws.com/tuts/070_effectsTester/Preview/EffectsTester.html [RGB效果计算器]

Understanding the Use of ColorMatrix and ColorMatrixColorFilter to Modify a Drawable's Hue

Android apply colorMatrix colorFilter on part of imageView with a mask

http://docs.rainmeter.net/tips/colormatrix-guide(Color Guid)

http://www.adobetutorialz.com/articles/1987/1/Color-Matrix

http://blog.xamarin.com/android-tricks-vignette-image-effect/

How to move the text view?

How to save an image in sdcard after applying RGB color filter in android

http://www.showandtell-graphics.com/photosketch.html

但我仍然无法达到这些效果。

我需要从BeFunkey应用以下效果。 ::

即时1

取景器2

跨进程

夏天2

旧照片1

Vintage 3

Lomo Art

自然饱和

TiltShift

但是我无法理解Befunkey究竟发生了什么。我已经尝试了很多东西,比如在Android中使用ColorMatrix。我正在制作差异颜色矩阵并将其传递给以下函数:

public void makingEffects(float[] mat, ImageView img) {

        ColorMatrix cm = new ColorMatrix();
        cm.postConcat(new ColorMatrix(mat));
        ColorFilter colorFilter = new ColorMatrixColorFilter(cm);

        img.setColorFilter(colorFilter);
    }

但我只获得色彩效果,但我想要像BeFunkey这样的效果。有人可以帮我实现这个目标吗?

0 个答案:

没有答案