Comments (2)
Hello,
we do not use the OpenCV calibration model, but a 4th order polynomial described e.g. by Davide Scaramuzza. Both models can not be derived from each other and therefore have no equivalent representations.
The following text is an excerpt from the calibration description that can be found along with the calibrations.
The intrinsic calibration is given in a calibration model that describes the radial distortion using a 4th order polynomial
rho(theta) = k1 * theta + k2 * theta ** 2 + k3 * theta ** 3 + k4 * theta ** 4,
where theta is the angle of incidence with respect to the optical axis and rho is the distance between the image center and projected point. The coefficients k1, k2, k3 and k4 are given in the calibration files.
The image width and height as well as the offset (cx, cy) of the principal point are given in pixels.For completeness, the projection of a 3D point (X, Y, Z) given in camera coordinates to image coordinates (u, v) looks like:
chi = sqrt( X ** 2 + Y ** 2)
theta = arctan2( chi, Z ) = pi / 2 - arctan2( Z, chi )
rho = rho(theta)
u’ = rho * X / chi if chi != 0 else 0
v’ = rho * Y / chi if chi != 0 else 0
u = u’ + cx + width / 2 - 0.5
v = v’ * aspect_ratio + cy + height / 2 - 0.5The last two lines show the final conversion to image coordinates assuming that the origin of the image coordinate system is located in the upper left corner with the upper left pixel at (0, 0). The projection itself is implemented in
projection.py
which can be found at https://github.com/valeoai/WoodScape/tree/master/scripts/calibration.
from woodscape.
@sleepywitti
Thank you for the explanation. Can you provide the data/images used for your calibration so that people who wants to use the OpenCV model can calibrate accordingly.
from woodscape.
Related Issues (20)
- Dealing With Dynamic Objects HOT 1
- The coordinate system of the 3D annotation in SynWoodScape HOT 4
- Extrinsic parameters of Synwoodscape HOT 6
- SynWoodScape visualize HOT 4
- fisheye images visualize HOT 2
- Project 3D bounding boxes on the fisheye image of SynWoodScape HOT 1
- Does the Synwoodscape have time stamps information? HOT 1
- Fisheye img visualization HOT 2
- Semantic Segmentation Annotations 404 HOT 1
- synWoodScape HOT 1
- I don't find 3D bbox label ? HOT 1
- About Inference time
- Cropping in data preprocessing HOT 1
- sidewalk class for semantic segmentation HOT 1
- Fish eye distortion removal HOT 2
- 2d to 3d; how to bev image HOT 2
- Applying Optical Flow Transform in SynWoodscape
- generating new images from woodscape dataset
- Semantic Annotations for the Test_set isn't given
- Missing info on vehicle’s mechanical data HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from woodscape.