Lens distortion models
For computer vision and machine learning, there is often very helpful to generate synthetic datasets using Blender, etc. It often comes in hand with specific camera distortion.
I think it would be nice, to add other widely used distortion models. Even better would be to add an option to define custom lens distortion models.
I would very much like like to be able to use the rectilinear/fisheye in this form: link
Because there is not an option for rectilinear lens distortion, I had to use the fisheye polynomial model, which unfortunately does not correspond to the OpenCV fisheye model: stackoverflow link
Is there any other way to get the rectilinear distortion model into a camera? If there isn't I would be interested in helping with the development of such a feature/extension.
Other users would welcome such a feature: forum link
2 Comments
Adding an option for advanced users to define their own distortions could work with inheritance. First, you inherit a template class, override "distortion" method (or something similar). Then you would import the file as a module.
In case you would like to connect with me: hulmakerik@gmail.com