This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#include <cmath> | |
#include "ceres/ceres.h" | |
#include "glog/logging.h" | |
#include <opencv2/opencv.hpp> | |
using namespace std; | |
using ceres::AutoDiffCostFunction; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#include <iostream> | |
#include <vector> | |
#include <cmath> | |
#include <opencv2/opencv.hpp> | |
using namespace std; | |
template <typename T> | |
static float distancePointLine(const cv::Point_<T> point, const cv::Vec<T,3>& line) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# minimum version of CMake | |
cmake_minimum_required(VERSION 2.8 FATAL_ERROR) | |
project(triangulation) | |
set(CMAKE_CXX_COMPILER g++) | |
set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -std=c++11") | |
set(CMAKE_MODULE_PATH "${CMAKE_SOURCE_DIR}/CMake") |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#include <opencv2/opencv.hpp> | |
#include <pcl/common/common_headers.h> | |
#include <pcl/io/pcd_io.h> | |
#include <pcl/point_types.h> | |
#include <pcl/point_cloud.h> | |
#include <pcl/visualization/pcl_visualizer.h> | |
#include <Eigen/Core> | |
#include <Eigen/LU> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#include "singleImageCalibration.hpp" | |
int main(int argc, char* argv[]) | |
{ | |
if(argc != 2){ | |
showUsage(); | |
return -1; | |
} | |
string image_name = argv[1]; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#include <iostream> | |
#include <opencv2/opencv.hpp> | |
#include <vector> | |
#include <string> | |
using namespace cv; | |
using namespace std; | |
void showUsage() { | |
cout << "this.out [image name]" << endl; |
NewerOlder