How to apply all instagram photo effects in android

坚强是说给别人听的谎言 提交于 2019-12-11 05:06:51

问题


Hi Guys I am developing a similar app like Instagram, tumbler, Filker etc. But I stuck in photo effects actually I need photo effects like Instagram.

I generated some new effects by the help of Color Matrix, saturation, image masking etc. But I am not able to get similar effect like Instagram have.

Any know about instagram photo effects color matrix or other fectors which give me exact effects or any library which provide me similar effects.

I want to include one thing that I create some instagram effects by the help masking of images but that's not actual one. I am ready to R&D but give some way to do it.

Thanks in advance.


回答1:


Instagram actually acquired a company to enhance its photo and video filters,for which this app is so famous. So this should give you an idea on how elaborated is their concept.

However there is a library OpenCV. This is by far the most efficient opensource library for image/video processing. It is also used in advanced robotics and AI projects.

It also has a JAVA wrapper called JavaCV. Actually, OpenCV is written in C, and JavaCv is a java wrapper for it.

This could be your solution. But again, this library does not have direct functions implemented for a specific effect. You need to use its basic functions to manipulate your image/video. It will involve some RnD for sure, but I guess the effort will be worth it.

Other than this(OpenCv/JavaCv), you may find some libraries on GitHub to serve your need.These libraries may provide you with direct functions like, toSepia(bitmap) etc, but your app's image filters will be limited to scope of the Library you choose.

Hope this helps!



来源:https://stackoverflow.com/questions/24730252/how-to-apply-all-instagram-photo-effects-in-android

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!