PICCANTE  0.4
The hottest HDR imaging library!
Namespaces | Functions
homography_matrix.hpp File Reference
#include <vector>
#include <random>
#include <stdlib.h>
#include "../base.hpp"
#include "../util/math.hpp"
#include "../util/eigen_util.hpp"
#include "../externals/Eigen/Dense"
#include "../externals/Eigen/SVD"
#include "../externals/Eigen/Geometry"
#include "../computer_vision/nelder_mead_opt_homography.hpp"

Go to the source code of this file.

Namespaces

 pic
 

Functions

PIC_INLINE Eigen::Matrix3d pic::estimateHomography (std::vector< Eigen::Vector2f > &points0, std::vector< Eigen::Vector2f > &points1)
 estimateHomography estimates an homography matrix H between image 1 to image 2 More...
 
PIC_INLINE Eigen::Matrix3d pic::estimateHomographyRansac (std::vector< Eigen::Vector2f > &points0, std::vector< Eigen::Vector2f > &points1, std::vector< unsigned int > &inliers, unsigned int maxIterations=100, double threshold=4.0, unsigned int seed=1)
 estimateHomographyRansac computes the homography such that: points1 = H * points0 More...
 
PIC_INLINE Eigen::Matrix3d pic::estimateHomographyWithNonLinearRefinement (std::vector< Eigen::Vector2f > &points0, std::vector< Eigen::Vector2f > &points1, std::vector< unsigned int > &inliers, unsigned int maxIterationsRansac=10000, double thresholdRansac=2.5, unsigned int seedRansac=1, unsigned int maxIterationsNonLinear=10000, float thresholdNonLinear=1e-5f)
 estimateHomographyRansac computes the homography such that: points1 = H * points0 More...