diff options
author | Sergey Sharybin <sergey.vfx@gmail.com> | 2013-02-18 14:12:44 +0400 |
---|---|---|
committer | Sergey Sharybin <sergey.vfx@gmail.com> | 2013-02-18 14:12:44 +0400 |
commit | 5cc377022b810cb2ab291a0064e5749b976e185a (patch) | |
tree | c9dc4824b24f31a46d6260447235fdfc7daeb78f /extern/libmv/bundle.sh | |
parent | a0ede5be1de91beaf4bc23d4aea201a35845c6c0 (diff) |
Correction to r54600
Calculate dependent area based on distortion model rather than
using 15% of image resolution for this.
Some assumptions here:
- We're assuming real-life camera calibration is used here
- Maximal undistortion delta would be achieved on frame boundary
- Distortion fully goes inside frame
This makes it possible to approximate margin for distortion by
checking undistortion delta across frame boundary and use it
for dependent area of interest.
We do not use any formula-based equation here because we're likely
support other distortion models and in that case it'll be stupid
to try detecting formula here.
Diffstat (limited to 'extern/libmv/bundle.sh')
0 files changed, 0 insertions, 0 deletions