Main MRPT website > C++ reference for MRPT 1.5.7
Classes | Functions
mrpt::obs::detail Namespace Reference

Classes

struct  TLevMarData
 

Functions

template<class POINTMAP >
void project3DPointsFromDepthImageInto (mrpt::obs::CObservation3DRangeScan &src_obs, POINTMAP &dest_pointcloud, const mrpt::obs::T3DPointsProjectionParams &projectParams, const mrpt::obs::TRangeImageFilterParams &filterParams)
 
template<class POINTMAP >
void do_project_3d_pointcloud (const int H, const int W, const float *kys, const float *kzs, const mrpt::math::CMatrix &rangeImage, mrpt::utils::PointCloudAdapter< POINTMAP > &pca, std::vector< uint16_t > &idxs_x, std::vector< uint16_t > &idxs_y, const mrpt::obs::TRangeImageFilterParams &filterParams, bool MAKE_DENSE, const int DECIM)
 
template<class POINTMAP >
void do_project_3d_pointcloud_SSE2 (const int H, const int W, const float *kys, const float *kzs, const mrpt::math::CMatrix &rangeImage, mrpt::utils::PointCloudAdapter< POINTMAP > &pca, std::vector< uint16_t > &idxs_x, std::vector< uint16_t > &idxs_y, const mrpt::obs::TRangeImageFilterParams &filterParams, bool MAKE_DENSE)
 
template<typename POINTMAP , bool isDepth>
void range2XYZ (mrpt::utils::PointCloudAdapter< POINTMAP > &pca, mrpt::obs::CObservation3DRangeScan &src_obs, const mrpt::obs::TRangeImageFilterParams &fp, const int H, const int W)
 
template<typename POINTMAP , bool isDepth>
void range2XYZ_LUT (mrpt::utils::PointCloudAdapter< POINTMAP > &pca, mrpt::obs::CObservation3DRangeScan &src_obs, const mrpt::obs::T3DPointsProjectionParams &pp, const mrpt::obs::TRangeImageFilterParams &fp, const int H, const int W, const int DECIM=1)
 
void cam2vec (const TCamera &camPar, CVectorDouble &x)
 
void vec2cam (const CVectorDouble &x, TCamera &camPar)
 
void cost_func (const CVectorDouble &par, const TLevMarData &d, CVectorDouble &err)
 

Function Documentation

◆ cam2vec()

void mrpt::obs::detail::cam2vec ( const TCamera camPar,
CVectorDouble x 
)

◆ cost_func()

void mrpt::obs::detail::cost_func ( const CVectorDouble par,
const TLevMarData d,
CVectorDouble err 
)

◆ do_project_3d_pointcloud()

template<class POINTMAP >
void mrpt::obs::detail::do_project_3d_pointcloud ( const int  H,
const int  W,
const float *  kys,
const float *  kzs,
const mrpt::math::CMatrix rangeImage,
mrpt::utils::PointCloudAdapter< POINTMAP > &  pca,
std::vector< uint16_t > &  idxs_x,
std::vector< uint16_t > &  idxs_y,
const mrpt::obs::TRangeImageFilterParams filterParams,
bool  MAKE_DENSE,
const int  DECIM 
)
inline

◆ do_project_3d_pointcloud_SSE2()

template<class POINTMAP >
void mrpt::obs::detail::do_project_3d_pointcloud_SSE2 ( const int  H,
const int  W,
const float *  kys,
const float *  kzs,
const mrpt::math::CMatrix rangeImage,
mrpt::utils::PointCloudAdapter< POINTMAP > &  pca,
std::vector< uint16_t > &  idxs_x,
std::vector< uint16_t > &  idxs_y,
const mrpt::obs::TRangeImageFilterParams filterParams,
bool  MAKE_DENSE 
)
inline

◆ project3DPointsFromDepthImageInto()

template<class POINTMAP >
void mrpt::obs::detail::project3DPointsFromDepthImageInto ( mrpt::obs::CObservation3DRangeScan src_obs,
POINTMAP &  dest_pointcloud,
const mrpt::obs::T3DPointsProjectionParams projectParams,
const mrpt::obs::TRangeImageFilterParams filterParams 
)

Definition at line 123 of file CObservation3DRangeScan_project3D_impl.h.

References ASSERT_, ASSERTMSG_, mrpt::utils::TColor::B, mrpt::obs::CObservation3DRangeScan::cameraParamsIntensity, mrpt::poses::CPose3D::composeFrom(), mrpt::utils::TCamera::cx(), mrpt::utils::TCamera::cy(), mrpt::obs::T3DPointsProjectionParams::decimation, mrpt::obs::CObservation3DRangeScan::doDepthAndIntensityCamerasCoincide(), mrpt::utils::TCamera::fx(), mrpt::utils::TCamera::fy(), mrpt::utils::TColor::G, mrpt::utils::CImage::get_unsafe(), mrpt::utils::CImage::getHeight(), mrpt::poses::CPose3D::getHomogeneousMatrixVal(), mrpt::poses::CPose3D::getRotationMatrix(), mrpt::utils::CImage::getWidth(), mrpt::obs::CObservation3DRangeScan::hasIntensityImage, mrpt::obs::CObservation3DRangeScan::hasRangeImage, mrpt::math::homogeneousMatrixInverse(), mrpt::obs::CObservation3DRangeScan::intensityImage, mrpt::utils::CImage::isColor(), mrpt::poses::CPose3D::m_coords, mrpt::obs::CObservation3DRangeScan::points3D_idxs_x, mrpt::obs::CObservation3DRangeScan::points3D_idxs_y, mrpt::obs::T3DPointsProjectionParams::PROJ3D_USE_LUT, mrpt::utils::TColor::R, mrpt::obs::CObservation3DRangeScan::range_is_depth, mrpt::obs::CObservation3DRangeScan::rangeImage, mrpt::obs::CObservation3DRangeScan::relativePoseIntensityWRTDepth, mrpt::obs::CObservation3DRangeScan::resizePoints3DVectors(), mrpt::obs::T3DPointsProjectionParams::robotPoseInTheWorld, mrpt::utils::round(), mrpt::obs::CObservation3DRangeScan::sensorPose, and mrpt::obs::T3DPointsProjectionParams::takeIntoAccountSensorPoseOnRobot.

Referenced by mrpt::maps::CColouredOctoMap::internal_insertObservation(), and mrpt::obs::CObservation3DRangeScan::project3DPointsFromDepthImage().

◆ range2XYZ()

template<typename POINTMAP , bool isDepth>
void mrpt::obs::detail::range2XYZ ( mrpt::utils::PointCloudAdapter< POINTMAP > &  pca,
mrpt::obs::CObservation3DRangeScan src_obs,
const mrpt::obs::TRangeImageFilterParams fp,
const int  H,
const int  W 
)
inline

◆ range2XYZ_LUT()

template<typename POINTMAP , bool isDepth>
void mrpt::obs::detail::range2XYZ_LUT ( mrpt::utils::PointCloudAdapter< POINTMAP > &  pca,
mrpt::obs::CObservation3DRangeScan src_obs,
const mrpt::obs::T3DPointsProjectionParams pp,
const mrpt::obs::TRangeImageFilterParams fp,
const int  H,
const int  W,
const int  DECIM = 1 
)
inline

◆ vec2cam()

void mrpt::obs::detail::vec2cam ( const CVectorDouble x,
TCamera camPar 
)



Page generated by Doxygen 1.8.14 for MRPT 1.5.7 Git: 5902e14cc Wed Apr 24 15:04:01 2019 +0200 at lun oct 28 01:39:17 CET 2019