Skip to content
This repository has been archived by the owner on Aug 31, 2021. It is now read-only.

Commit

Permalink
add geometric calibration to surround360
Browse files Browse the repository at this point in the history
Summary:
tool that produces an accurate description of the rig geometry

inputs are:
- an approximate description of the rig geometry
- a set of feature matches between all the cameras in the rig

Reviewed By: fbriggs

Differential Revision: D4412390

fbshipit-source-id: 8f8a9df02db0fb260f2a44e643cb6479400e44ef
  • Loading branch information
tox-fb authored and facebook-github-bot committed Jan 31, 2017
1 parent 7a4daf3 commit 4573382
Show file tree
Hide file tree
Showing 4 changed files with 1,156 additions and 2 deletions.
21 changes: 21 additions & 0 deletions surround360_render/CMakeLists.txt
Expand Up @@ -4,6 +4,7 @@ PROJECT(Surround360Render CXX)

FIND_PACKAGE(OpenCV)
FIND_PACKAGE(Ceres REQUIRED)
FIND_PACKAGE(boost COMPONENTS filesystem system)

INCLUDE_DIRECTORIES(${OpenCV_INCLUDE_DIRS})
INCLUDE_DIRECTORIES(${CMAKE_CURRENT_SOURCE_DIR}/source)
Expand Down Expand Up @@ -513,3 +514,23 @@ TARGET_LINK_LIBRARIES(
${CERES_LIBRARIES}
${PLATFORM_SPECIFIC_LIBS}
)

### GeoemtricCalibration ###

ADD_EXECUTABLE(
GeometricCalibration
source/calibration/GeometricCalibration.cpp
)
TARGET_LINK_LIBRARIES(
GeometricCalibration
LibVrCamera
LibJSON
gflags
glog
folly
boost_filesystem
boost_system
${OpenCV_LIBS}
${PLATFORM_SPECIFIC_LIBS}
${CERES_LIBRARIES}
)
4 changes: 2 additions & 2 deletions surround360_render/res/config/17cmosis_rig.json
Expand Up @@ -678,8 +678,8 @@
"group" : "",
"id" : "cam16",
"origin" : [
-10,
-0,
0,
9.8,
-13.1
],
"principal" : [
Expand Down

0 comments on commit 4573382

Please sign in to comment.