stereo
homography.h
Go to the documentation of this file.
1 #ifndef __STEREO_HOMGRAPHY_H__
2 #define __STEREO_HOMGRAPHY_H__
3 
4 #include <base/samples/DistanceImage.hpp>
5 #include <Eigen/Core>
6 #include <Eigen/Geometry>
7 #include <Eigen/Eigenvalues>
8 
9 #include "opencv2/features2d/features2d.hpp"
10 
11 namespace stereo
12 {
13  struct Homography
14  {
22  const base::samples::DistanceImage &dImage,
23  size_t center_x, size_t center_y, double radius );
24 
29  void reproject( const cv::Mat& source, cv::Mat& target, size_t center_x, size_t center_y, double radius );
30 
31  const Eigen::Matrix3f& getTransform() { return homography; }
32 
33  Eigen::Matrix3f intrinsic;
34  Eigen::Matrix3f homography;
35  cv::Mat dbgImg;
36  };
37 }
38 
39 #endif
cv::Mat dbgImg
Definition: homography.h:35
const Eigen::Matrix3f & getTransform()
Definition: homography.h:31
Definition: configuration.cpp:3
void reproject(const cv::Mat &source, cv::Mat &target, size_t center_x, size_t center_y, double radius)
Definition: homography.cpp:132
Definition: homography.h:13
Eigen::Matrix3f intrinsic
Definition: homography.h:33
bool estimateFromDistanceImage(const base::samples::DistanceImage &dImage, size_t center_x, size_t center_y, double radius)
Definition: homography.cpp:27
Eigen::Matrix3f homography
Definition: homography.h:34