如何在 Android 中创建照片效果?
我想制作一个 Android 应用程序,让用户可以对用相机拍摄的照片应用很酷的效果。我知道,已经有一些了,但我想亲自尝试一下。
我一直在谷歌搜索和堆栈溢出,但到目前为止,我主要找到了一些已发表的论文或书籍的参考文献。我目前正在从亚马逊订购这个 - 数字图像处理:使用 Java 的算法简介
经过一些阅读,我想我对操作图像中所有像素的 RGB 值有了基本的了解。我的主要问题是如何想出一个能产生很酷效果的转换?
我所说的炫酷效果是指以下 iPhone 应用程序中的效果:
我已经有相当多的 Java 经验,并且我已经为安卓已经有了。有什么想法吗?提前致谢。
I'd like to make an Android app that lets a user apply cool effects to photos taken with the camera. There are already a few out there, I know, but I'd like to try my own hand at one.
I have been googling and stack-overflowing, but so far I've mostly found some references to published papers or books. I am ordering this one from Amazon presently - Digital Image Processing: An Algorithmic Introduction using Java
After some reading, I think I have a basic understanding of manipulating the RGB values for all the pixels in the image. My main question is how do I come up with a transformation that produces cool effects?
By cool effects I mean some like those in these iPhone apps:
I already have quite a bit of experience with Java, and I've made my first app for android already. Any ideas? Thanks in advance.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
有特定的课程可以为您做到这一点!
查看此处的灰度图像处理
这里有一些 C# 中的内容,与 Java 非常相似,您应该明白这一点。
如果您想做一些独特的事情,您可能必须自己尝试调整 RGB 比率。
There are specific classes to do this for you!
Take a look here for grayscale image processing
Here is something in C# which is similar enough to java that you should get the idea.
If you want to do something unique you might have to experiment with the tweaking of the RGB ratios yourself.