Click here to Skip to main content
15,885,278 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
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.
Posted
Updated 22-Dec-18 0:45am

It probably can be done with the Bosch Video SDK, but this is not for the faint hearted, see search results here: Search[^]
 
Share this answer
 
Comments
ilostmyid2 22-Dec-18 6:59am    
I couldn't find Bosch Video SDK in the search result.
ilostmyid2 22-Dec-18 7:03am    
my search led me to:
https://ipp.boschsecurity.com/en/news-events/product-news/video-sdk-6-04/video-sdk
with everything other than suitable solution for this purpose
RickZeeland 22-Dec-18 7:14am    
Websites are often not up to date, maybe it's best to contact Bosch directly although my experiences are that it's hard to get to a knowledgeable person. Told you: not for the fainthearted :)
ilostmyid2 22-Dec-18 7:25am    
Calling me a fainthearted person and persisting on it is not certainly a good solution for the problem, is it?
Anyway, I've spent enough time on the available documents on the website and found not a valuable thing.
RickZeeland 22-Dec-18 7:40am    
In contrary, I think you are not fainthearted as you don't seem to give up that easily, just meant that I struggled with Bosch support too. Good luck and merry Xmas !
See here: c# - Circular Fisheye Image dewarp to flat image - Stack Overflow[^] - you aren't going to find code which exactly does what you want, so you are going to have to use the transformation formulae given there and work out exactly what you need yourself.
 
Share this answer
 
Comments
ilostmyid2 22-Dec-18 6:58am    
I had seen the url, but the output is not what I expect. It gives just a better shaped of the whole image. It doesn't do rectilinear dewarping.

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900