在Android的球形过滤器 [英] Spherical filter in android

查看:174
本文介绍了在Android的球形过滤器的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我要申请一个球形过滤器在Android的一个形象,我已经连接的输入和预期的输出图像。输出的图像会从输入图像的方形中心区域进行处理,并映射到球体。任何想法如何在Android中做到这一点。我将不得不使用OpenGL进行这样或2D-改造中单独将执行的任务。

I have to apply a spherical filter on a image in android, I have attached input and expected output image. Output image will be processed from the squared centered region of input image and mapped it to sphere. Any idea how to do this in Android. Will I have to use openGL for doing this or 2D-trasformation alone will do the task.



推荐答案

以下code <一个href="http://stackoverflow.com/questions/1927145/how-to-simulate-fisheye-lens-effect-by-opencv/6281006#6281006">Fish眼晶状体的创建球体并应用了一些修改,缩放领域和背景的产生,它会工作多为方形的图像。

the following code Fish Eye lens for creating the Sphere and apply some modifications for scaling the sphere and background generation, it will work mostly for square images.

这篇关于在Android的球形过滤器的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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