stereo
Public Member Functions | Public Attributes | List of all members
stereo::Homography Struct Reference

#include <homography.h>

Public Member Functions

bool estimateFromDistanceImage (const base::samples::DistanceImage &dImage, size_t center_x, size_t center_y, double radius)
 
void reproject (const cv::Mat &source, cv::Mat &target, size_t center_x, size_t center_y, double radius)
 
const Eigen::Matrix3f & getTransform ()
 

Public Attributes

Eigen::Matrix3f intrinsic
 
Eigen::Matrix3f homography
 
cv::Mat dbgImg
 

Member Function Documentation

◆ estimateFromDistanceImage()

bool Homography::estimateFromDistanceImage ( const base::samples::DistanceImage &  dImage,
size_t  center_x,
size_t  center_y,
double  radius 
)

estimate homography from distance image this functions samples the region around center_x, center_y in the distance image and creates a homography transform for that patch.

◆ getTransform()

const Eigen::Matrix3f& stereo::Homography::getTransform ( )
inline

◆ reproject()

void Homography::reproject ( const cv::Mat &  source,
cv::Mat &  target,
size_t  center_x,
size_t  center_y,
double  radius 
)

use the homography transform to reproject a patch with the given radius to the target.

Member Data Documentation

◆ dbgImg

cv::Mat stereo::Homography::dbgImg

◆ homography

Eigen::Matrix3f stereo::Homography::homography

◆ intrinsic

Eigen::Matrix3f stereo::Homography::intrinsic

The documentation for this struct was generated from the following files: