Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Lens Distortion #2048

Closed
soulslicer opened this issue Aug 27, 2019 · 3 comments
Closed

Lens Distortion #2048

soulslicer opened this issue Aug 27, 2019 · 3 comments
Labels
stale Issue has not had recent activity

Comments

@soulslicer
Copy link

I need to simulate having a distorted lens for both RGB and Depth Image. I understand that CARLA does not explicitly support it currently.

I want to know if it's as naive as say, using opencv to distort the image after getting the depth image.

@cassfalg
Copy link
Contributor

In theory... during my research I found that opencv has functions to calibrate / figure out distortion parameters and undistort images, but not to distort them given a set of distortion parameters. If anyone knows of a public solution, please post and let me know?

There is a Paper called "Realistic Lens Distortion Rendering" by Martin Lambers, Hendrik Sommerhoff and Andreas Kolb from the University of Siegen, but they don't have code available and I did not reach out to them. I did not deem their approach feasible for my problem anyway.

@soulslicer
Copy link
Author

Yes, would like to know too. I need to simulate a distorted camera, and i cannot find an opencv function for this

@stale
Copy link

stale bot commented Nov 3, 2019

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

@stale stale bot added the stale Issue has not had recent activity label Nov 3, 2019
@stale stale bot closed this as completed Nov 10, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
stale Issue has not had recent activity
Projects
None yet
Development

No branches or pull requests

2 participants