#include "rgbdtools/rgbd_util.h"
Go to the source code of this file.
Namespaces | |
namespace | rgbdtools |
Functions | |
Pose | rgbdtools::AffineFromTRPY (double xoffset, double yoffset, double zoffset, double roll, double pitch, double yaw) |
void | rgbdtools::buildPointCloud (const cv::Mat &depth_img_rect, const cv::Mat &intr_rect_ir, PointCloudT &cloud) |
Constructs a point cloud, a depth image and intrinsic matrix. | |
void | rgbdtools::buildPointCloud (const cv::Mat &depth_img_rect_reg, const cv::Mat &rgb_img_rect, const cv::Mat &intr_rect_rgb, PointCloudT &cloud) |
Constructs a point cloud with color. | |
void | rgbdtools::buildRegisteredDepthImage (const cv::Mat &intr_rect_ir, const cv::Mat &intr_rect_rgb, const cv::Mat &ir2rgb, const cv::Mat &depth_img_rect, cv::Mat &depth_img_rect_reg) |
reprojects a depth image to another depth image, registered in the rgb camera's frame. | |
void | rgbdtools::depthImageFloatTo16bit (const cv::Mat &depth_image_in, cv::Mat &depth_image_out) |
converts a 32FC1 depth image (in meters) to a 16UC1 depth image (in mm). | |
void | rgbdtools::eigenAffineToOpenCVRt (const AffineTransform &transform, cv::Mat &R, cv::Mat &t) |
void | rgbdtools::eigenAffineToXYZRPY (const AffineTransform &transform, float &x, float &y, float &z, float &roll, float &pitch, float &yaw) |
void | rgbdtools::getTfDifference (const AffineTransform &transform, double &dist, double &angle) |
Eigen::Matrix4d | rgbdtools::m4dfromPose (Pose pose) |
void | rgbdtools::openCVRtToEigenAffine (const cv::Mat &R, const cv::Mat &t, AffineTransform &eigen_affine) |
void | rgbdtools::pointCloudFromMeans (const Vector3fVector &means, PointCloudFeature &cloud) |
Creates a pcl point cloud form a vector of eigen matrix means. | |
void | rgbdtools::removeInvalidDistributions (const Vector3fVector &means, const Matrix3fVector &covariances, const BoolVector &valid, Vector3fVector &means_f, Matrix3fVector &covariances_f) |
Filters out a vector of means and a vector of covariances given a mask of valid entries. | |
void | rgbdtools::removeInvalidMeans (const Vector3fVector &means, const BoolVector &valid, Vector3fVector &means_f) |
Filters out a vector of means given a mask of valid entries. | |
void | rgbdtools::setRPY (float roll, float pitch, float yaw, Matrix3f &m) |
void | rgbdtools::transformDistributions (Vector3fVector &means, Matrix3fVector &covariances, const AffineTransform &transform) |
Transforms a vector of means and covariances. | |
void | rgbdtools::transformMeans (Vector3fVector &means, const AffineTransform &transform) |
Transforms a vector of means. | |
void | rgbdtools::unwarpDepthImage (cv::Mat &depth_img_in, const cv::Mat &coeff0, const cv::Mat &coeff1, const cv::Mat &coeff2, int fit_mode=DEPTH_FIT_QUADRATIC) |
Given a depth image, uwarps it according to a polynomial model. | |
void | rgbdtools::XYZRPYToEigenAffine (float x, float y, float z, float roll, float pitch, float yaw, AffineTransform &t) |
Copyright (C) 2013, City University of New York CCNY Robotics Lab <http://robotics.ccny.cuny.edu>
This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version.
This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.
You should have received a copy of the GNU General Public License along with this program. If not, see <http://www.gnu.org/licenses/>.
Definition in file rgbd_util.cpp.