IOS上的图像处理过滤器,如白平衡,曝光,分离音等 [英] Image Manipulation Filter like white Balance, Exposure, split Tone etc on IOS

查看:154
本文介绍了IOS上的图像处理过滤器,如白平衡,曝光,分离音等的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我一直在尝试为我的IOS应用程序实现一些图像操作过滤器,如WHITE BALANCE,EXPOSURE和SPLIT TONING(如在Photoshop中),但我没有得到任何标准实现来实现它们。 / p>

我发现shell脚本通过 ImageMagick



但不知道如何将这些脚本更改为C或目标C中的等效脚本。
我只是使用一些转换命令做神奇的事情。



提前致谢。请帮助。



通过改变图像的温度和色调,可以实现白平衡。所以,如果那里有人知道如何操纵这些色调和温度的图像,请帮我解决这个问题。谢谢。

解决方案

作为 ios-image-filters ,我可以告诉你,我们的项目有一个可用于修改白平衡的水平方法。它作为UIImage上的类别实现并模仿Photoshop滤镜,因此调用它就像:

  [self.imageView。图像等级:0 mid:128 white:255]; 

此外,它兼容iOS 3& 4,不仅仅是iOS 5.它是开源的,没有依赖关系,所以如果找不到你需要的过滤器,应该很容易修改。


I have been trying since one week to achieve some image manipulation filters like WHITE BALANCE, EXPOSURE and SPLIT TONING (as in Photoshop) for my IOS app, but I didn't get a standard implementation to achieve any of them.

I found the shell scripts to achieve them through ImageMagick

but don't know how to change these scripts to its equivalent in C or objective C. I simply uses some convert command to do the magic things.

Thanks in advance. Please Help.

White Balance is achievable through changing temperature and tint of the image also. so if someone out there knows how to manipulate these tint and temperature of image, please help me out of this. Thanks.

解决方案

As the author of ios-image-filters, I can tell you that our project has a levels method that you can use to modify white balance. It is implemented as a category on UIImage and mimics Photoshop filters, so calling it is as straightforward as:

[self.imageView.image levels:0 mid:128 white:255];

Moreover, it's compatible with iOS 3 & 4, not just iOS 5. It's open source and has no dependencies, so it should be easy to modify if you don't find the filter you need.

这篇关于IOS上的图像处理过滤器,如白平衡,曝光,分离音等的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆