如何在Monotouch中对UIImageView进行运动模糊效果? [英] How to do a motion blur effect on an UIImageView in Monotouch?

查看:105
本文介绍了如何在Monotouch中对UIImageView进行运动模糊效果?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

在MonoTouch中进行实时运动模糊的方法是什么?

What's the way to do a realtime motion blur in MonoTouch?

滚动惯性画廊时,我需要在UIImageView上应用运动模糊效果和方向作为参数,如在Photoshop中。

I need to apply a motion blur effect on an UIImageView when scrolling an inertial picture gallery, with strength and direction as parameters, as in Photoshop.

我在CocoaTouch或CoreAnimation中或iOS SDK中的任何地方都找不到任何模糊或运动模糊滤镜。

I can't find any blur or motion blur filter in CocoaTouch or in CoreAnimation or anywhere in the iOS SDK.

MonoTouch中是否有一些2D效果库可以使用适合iPhone的实时模糊滤镜?

Is there some 2D effects library usable from MonoTouch with realtime blur filters that are good for the iPhone?

在此先感谢。

推荐答案

我找到了一个很好的开源库,可以对UIImage做很多效果:

I've found a good open source library to do many effects on UIImage:

https://github.com/gdawg/uiimage-dsp

它还使用Accelerated框架来加速iOS 4.0上的一些事情。

It also uses the Accelerated framework to speed up the things a little on iOS 4.0.

现在,如果只有MonoTouch包装的那个......

Now, if only there was a MonoTouch wrapper of this...

这篇关于如何在Monotouch中对UIImageView进行运动模糊效果?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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