Blender Git Commit Log

Git Commits -> Revision ed2ddc9

Revision ed2ddc9 by Sergey Sharybin (master)
April 17, 2014, 11:28 (GMT)
Support multiple distortion models, including a new division model

This commit makes it so CameraIntrinsics is no longer hardcoded
to use the traditional polynomial radial distortion model. Currently
the distortion code has generic logic which is shared between
different distortion models, but had no other models until now.

This moves everything specific to the polynomial radial distortion
to a subclass PolynomialDistortionCameraIntrinsics(), and adds a
new division distortion model suitable for cameras such as the
GoPro which have much stronger distortion due to their fisheye lens.

This also cleans up the internal API of CameraIntrinsics to make
it easier to understand and reduces old C-style code.

New distortion model is available in the Lens panel of MCE.

- Polynomial is the old well-known model
- Division is the new one which s intended to deal better with huge
distortion.

Coefficients of this model works independent from each other
and for division model one probably want to have positive values
to have a barrel distortion.

Commit Details:

Full Hash: ed2ddc9f706b956ea955ac86b3e7ec5e0b41d9cd
Parent Commit: 39bfde6
Lines Changed: +2479, -1260

5 Added Paths:

/extern/libmv/libmv-util.cc (+309, -0) (View)
/extern/libmv/libmv-util.h (+69, -0) (View)
/extern/libmv/libmv/simple_pipeline/camera_intrinsics_impl.h (+192, -0) (View)
/extern/libmv/libmv/simple_pipeline/distortion_models.cc (+197, -0) (View)
/extern/libmv/libmv/simple_pipeline/distortion_models.h (+131, -0) (View)

25 Modified Paths:

/extern/libmv/bundle.sh (+2, -0) (Diff)
/extern/libmv/ChangeLog (+124, -83) (Diff)
/extern/libmv/CMakeLists.txt (+5, -0) (Diff)
/extern/libmv/files.txt (+3, -0) (Diff)
/extern/libmv/libmv-capi.cc (+503, -519) (Diff)
/extern/libmv/libmv-capi.h (+18, -7) (Diff)
/extern/libmv/libmv-capi_stub.cc (+5, -15) (Diff)
/extern/libmv/libmv/simple_pipeline/bundle.cc (+104, -48) (Diff)
/extern/libmv/libmv/simple_pipeline/bundle.h (+7, -6) (Diff)
/extern/libmv/libmv/simple_pipeline/camera_intrinsics.cc (+194, -299) (Diff)
/extern/libmv/libmv/simple_pipeline/camera_intrinsics.h (+335, -135) (Diff)
/extern/libmv/libmv/simple_pipeline/detect.cc (+41, -15) (Diff)
/extern/libmv/libmv/simple_pipeline/detect.h (+22, -13) (Diff)
/extern/libmv/libmv/simple_pipeline/keyframe_selection.cc (+9, -22) (Diff)
/extern/libmv/libmv/simple_pipeline/keyframe_selection.h (+4, -3) (Diff)
/release/scripts/startup/bl_ui/space_clip.py (+12, -4) (Diff)
/source/blender/blenkernel/BKE_tracking.h (+2, -1) (Diff)
/source/blender/blenkernel/intern/movieclip.c (+18, -4) (Diff)
/source/blender/blenkernel/intern/tracking.c (+25, -30) (Diff)
/source/blender/blenkernel/intern/tracking_solver.c (+10, -51) (Diff)
/source/blender/blenkernel/intern/tracking_util.c (+67, -0) (Diff)
/source/blender/blenkernel/tracking_private.h (+9, -0) (Diff)
/source/blender/editors/space_clip/clip_ops.c (+9, -3) (Diff)
/source/blender/makesdna/DNA_tracking_types.h (+15, -2) (Diff)
/source/blender/makesrna/intern/rna_tracking.c (+38, -0) (Diff)
By: Miika HämäläinenLast update: Nov-07-2014 14:18MiikaHweb | 2003-2021