Public Member Functions | Public Attributes

ntk::RGBDCalibration Class Reference

#include <calibration.h>

List of all members.

Public Member Functions

 RGBDCalibration ()
 ~RGBDCalibration ()
void loadFromFile (const char *filename)
const cv::Size & rgbSize () const
void setRgbSize (cv::Size s)
const cv::Size & rawRgbSize () const
void setRawRgbSize (cv::Size s)
const cv::Size & depthSize ()

Public Attributes

cv::Mat1d rgb_intrinsics
cv::Mat1d rgb_distortion
bool zero_rgb_distortion
cv::Mat1d depth_intrinsics
cv::Mat1d depth_distortion
bool zero_depth_distortion
cv::Mat1d R
cv::Mat1d T
Pose3Ddepth_pose
Pose3Drgb_pose
cv::Mat rgb_undistort_map1
cv::Mat rgb_undistort_map2
cv::Mat depth_undistort_map1
cv::Mat depth_undistort_map2
double depth_baseline
double depth_offset
cv::Size raw_rgb_size
cv::Size rgb_size
cv::Size raw_depth_size
cv::Size depth_size

Detailed Description

Store calibration parameters for an RGB+Depth camera. The camera follows a pin-hole models with distortions.


Constructor & Destructor Documentation

ntk::RGBDCalibration::RGBDCalibration (  )  [inline]
ntk::RGBDCalibration::~RGBDCalibration (  ) 

Member Function Documentation

const cv::Size& ntk::RGBDCalibration::depthSize (  )  [inline]

Size of the depth image.

void ntk::RGBDCalibration::loadFromFile ( const char *  filename  ) 

Load calibration parameters from a yaml file.

const cv::Size& ntk::RGBDCalibration::rawRgbSize (  )  const [inline]

Size of raw rgb images.

const cv::Size& ntk::RGBDCalibration::rgbSize (  )  const [inline]

Size of postprocessed rgb images.

void ntk::RGBDCalibration::setRawRgbSize ( cv::Size  s  )  [inline]
void ntk::RGBDCalibration::setRgbSize ( cv::Size  s  )  [inline]

Member Data Documentation

Depth baseline parameter for Kinect depth computation. See http://www.ros.org/wiki/kinect_calibration/technical .

Distortion 1x5 matrix for depth channel.

Intrinsics 3x3 matrix for the depth channel

Depth offset parameter for Kinect depth computation. See http://www.ros.org/wiki/kinect_calibration/technical .

Pose of the depth camera.

See also:
Pose3D.

Rotation and translation between RGB and Depth sensor. The depth sensor is the reference. R is a 3x3 rotation matrix, and T a 1x3 translation vector. This is estimated from OpenCV stereoCalibrate.

Distortion 1x5 matrix for rgb channel.

Intrinsics 3x3 matrix for the rgb channel

Pose of the rgb camera.

See also:
Pose3D.

Distortion maps for cv::undistort.

Whether there are distortions for the depth image or not.

Whether there are distortions for the rgb image or not.


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