问题描述
使用像Bosch 5000 Panorama这样的相机可以产生鱼眼图像,我们可以将其消失。建议使用一些去扭曲方法,但我更喜欢的是矩形,即给出一个中心,它是图像上的一个点,一个内半径和一个外半径将边界内的像素映射到目标矩形。
1.我需要通过GPU完成操作。
2.我认为可以使用OpenCV或任何其他库来实现,但我不这样做知识。此外,我打开使用自定义代码。
3.我正在寻找这样的东西:链接
4.我正在寻找一个C#解决方案。
如有任何建议,我们表示赞赏。
我的尝试:
我试图将整个图像中的像素逐个映射到客户端矩形,但我没有得到好结果。这种观点显然不自然。现在我认为我需要一个矩形解决方案。
Using cameras like Bosch 5000 Panorama gives a fisheye image that we've to dewarp it. Some dewarping methods are suggested, but what I prefer is rectangular, that's giving a center which is a point on the image, an inner radius and an outer one will map the pixels inside the boundary to a destination rectangle.
1. I need the operation be done by GPU.
2. I think OpenCV or any other library may be available to do it, but I don't know how. Besides, I'm open to use a custom code.
3. I'm looking for such a thing: link
4. I'm looking for a C# solution.
Any suggestions are appreciated.
What I have tried:
I tried to map the pixels one by one from the whole image into the client rectangle, but I didn't get a good result. The perspective is evidently unnatural. Now I think that I need a rectangular solution.
这篇关于971001 - 如何使鱼眼图像消失?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!