diff --git a/api/latest/SensorData_8h_source.html b/api/latest/SensorData_8h_source.html
index 51e72182..61dfc314 100644
--- a/api/latest/SensorData_8h_source.html
+++ b/api/latest/SensorData_8h_source.html
@@ -396,160 +396,160 @@ $(document).ready(function(){initNavTree('SensorData_8h_source.html',''); initRe
- 740 void setUserData (
const cv::Mat & userData,
bool clearPreviousData =
true );
- 741 const cv::Mat & userDataRaw()
const {
return _userDataRaw;}
- 742 const cv::Mat & userDataCompressed()
const {
return _userDataCompressed;}
-
-
- 758 const cv::Mat & ground,
- 759 const cv::Mat & obstacles,
- 760 const cv::Mat & empty,
-
- 762 const cv::Point3f & viewPoint);
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- 824 void setFeatures (
const std::vector<cv::KeyPoint> & keypoints,
const std::vector<cv::Point3f> & keypoints3D,
const cv::Mat & descriptors);
-
- 830 const std::vector<cv::KeyPoint> &
keypoints ()
const {
return _keypoints;}
-
- 836 const std::vector<cv::Point3f> &
keypoints3D ()
const {
return _keypoints3D;}
-
-
-
-
-
- 854 void setGlobalDescriptors (
const std::vector<GlobalDescriptor> & descriptors) {_globalDescriptors = descriptors;}
-
-
-
-
-
-
-
-
-
- 884 void setGlobalPose (
const Transform & pose,
const cv::Mat & covariance) {globalPose_ = pose; globalPoseCovariance_ = covariance;}
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- 968 void clearCompressedData (
bool images =
true ,
bool scan =
true ,
bool userData =
true ,
bool occupancyGrid =
true );
- 973 void clearRawData (
bool images =
true ,
bool scan =
true ,
bool userData =
true ,
bool occupancyGrid =
true );
-
-
-
- 986 #ifdef HAVE_OPENCV_CUDEV
- 991 const cv::cuda::GpuMat & imageRawGpu()
const {
return _imageRawGpu;}
-
- 997 void setImageRawGpu(
const cv::cuda::GpuMat & image) {_imageRawGpu = image;}
-
- 1003 const cv::cuda::GpuMat & depthOrRightRawGpu()
const {
return _depthOrRightRawGpu;}
-
- 1009 void setDepthOrRightRawGpu(
const cv::cuda::GpuMat & image) {_depthOrRightRawGpu = image;}
-
-
-
-
-
+ 744 void setUserData (
const cv::Mat & userData,
bool clearPreviousData =
true );
+ 745 const cv::Mat & userDataRaw()
const {
return _userDataRaw;}
+ 746 const cv::Mat & userDataCompressed()
const {
return _userDataCompressed;}
+
+
+ 762 const cv::Mat & ground,
+ 763 const cv::Mat & obstacles,
+ 764 const cv::Mat & empty,
+
+ 766 const cv::Point3f & viewPoint);
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ 828 void setFeatures (
const std::vector<cv::KeyPoint> & keypoints,
const std::vector<cv::Point3f> & keypoints3D,
const cv::Mat & descriptors);
+
+ 834 const std::vector<cv::KeyPoint> &
keypoints ()
const {
return _keypoints;}
+
+ 840 const std::vector<cv::Point3f> &
keypoints3D ()
const {
return _keypoints3D;}
+
+
+
+
+
+ 858 void setGlobalDescriptors (
const std::vector<GlobalDescriptor> & descriptors) {_globalDescriptors = descriptors;}
+
+
+
+
+
+
+
+
+
+ 888 void setGlobalPose (
const Transform & pose,
const cv::Mat & covariance) {globalPose_ = pose; globalPoseCovariance_ = covariance;}
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ 972 void clearCompressedData (
bool images =
true ,
bool scan =
true ,
bool userData =
true ,
bool occupancyGrid =
true );
+ 977 void clearRawData (
bool images =
true ,
bool scan =
true ,
bool userData =
true ,
bool occupancyGrid =
true );
+
+
+
+ 990 #ifdef HAVE_OPENCV_CUDEV
+ 995 const cv::cuda::GpuMat & imageRawGpu()
const {
return _imageRawGpu;}
+
+ 1001 void setImageRawGpu(
const cv::cuda::GpuMat & image) {_imageRawGpu = image;}
+
+ 1007 const cv::cuda::GpuMat & depthOrRightRawGpu()
const {
return _depthOrRightRawGpu;}
+
+ 1013 void setDepthOrRightRawGpu(
const cv::cuda::GpuMat & image) {_depthOrRightRawGpu = image;}
+
-
- 1017 cv::Mat _imageCompressed;
- 1018 cv::Mat _depthOrRightCompressed;
- 1019 cv::Mat _depthConfidenceCompressed;
- 1020 LaserScan _laserScanCompressed;
-
-
-
- 1024 cv::Mat _depthOrRightRaw;
- 1025 cv::Mat _depthConfidenceRaw;
- 1026 LaserScan _laserScanRaw;
-
-
- 1029 std::vector<CameraModel> _cameraModels;
- 1030 std::vector<StereoCameraModel> _stereoCameraModels;
+
+
+
+
+
+ 1021 cv::Mat _imageCompressed;
+ 1022 cv::Mat _depthOrRightCompressed;
+ 1023 cv::Mat _depthConfidenceCompressed;
+ 1024 LaserScan _laserScanCompressed;
+
+
+
+ 1028 cv::Mat _depthOrRightRaw;
+ 1029 cv::Mat _depthConfidenceRaw;
+ 1030 LaserScan _laserScanRaw;
-
- 1033 cv::Mat _userDataCompressed;
- 1034 cv::Mat _userDataRaw;
+
+ 1033 std::vector<CameraModel> _cameraModels;
+ 1034 std::vector<StereoCameraModel> _stereoCameraModels;
-
- 1037 cv::Mat _groundCellsCompressed;
- 1038 cv::Mat _obstacleCellsCompressed;
- 1039 cv::Mat _emptyCellsCompressed;
- 1040 cv::Mat _groundCellsRaw;
- 1041 cv::Mat _obstacleCellsRaw;
- 1042 cv::Mat _emptyCellsRaw;
-
- 1044 cv::Point3f _viewPoint;
-
-
-
-
-
-
-
-
- 1053 std::vector<cv::KeyPoint> _keypoints;
- 1054 std::vector<cv::Point3f> _keypoints3D;
- 1055 cv::Mat _descriptors;
-
-
- 1058 std::vector<GlobalDescriptor> _globalDescriptors;
-
-
- 1061 Transform groundTruth_;
- 1062 Transform globalPose_;
- 1063 cv::Mat globalPoseCovariance_;
-
-
-
-
+
+ 1037 cv::Mat _userDataCompressed;
+ 1038 cv::Mat _userDataRaw;
+
+
+ 1041 cv::Mat _groundCellsCompressed;
+ 1042 cv::Mat _obstacleCellsCompressed;
+ 1043 cv::Mat _emptyCellsCompressed;
+ 1044 cv::Mat _groundCellsRaw;
+ 1045 cv::Mat _obstacleCellsRaw;
+ 1046 cv::Mat _emptyCellsRaw;
+
+ 1048 cv::Point3f _viewPoint;
+
+
+
+
+
+
+
+
+ 1057 std::vector<cv::KeyPoint> _keypoints;
+ 1058 std::vector<cv::Point3f> _keypoints3D;
+ 1059 cv::Mat _descriptors;
+
+
+ 1062 std::vector<GlobalDescriptor> _globalDescriptors;
+
+
+ 1065 Transform groundTruth_;
+ 1066 Transform globalPose_;
+ 1067 cv::Mat globalPoseCovariance_;
- 1069 #ifdef HAVE_OPENCV_CUDEV
- 1076 cv::cuda::GpuMat _imageRawGpu;
- 1077 cv::cuda::GpuMat _depthOrRightRawGpu;
-
-
+
+
+
+
+ 1073 #ifdef HAVE_OPENCV_CUDEV
+ 1080 cv::cuda::GpuMat _imageRawGpu;
+ 1081 cv::cuda::GpuMat _depthOrRightRawGpu;
+
+
-
-
-
-
-
+
+
+
+
+
Represents a pinhole camera model containing intrinsic and extrinsic parameters, used for projection,...
Single environmental measurement (type, value, timestamp).
const Type & type() const
@@ -558,44 +558,44 @@ $(document).ready(function(){initNavTree('SensorData_8h_source.html',''); initRe
Inertial measurement sample (ROS sensor_msgs/Imu-like fields).
Represents 2D or 3D laser scan data with support for multiple point data formats.
Container class for all sensor data captured at a specific time.
-const IMU & imu() const
Returns IMU data.
+const IMU & imu() const
Returns IMU data.
const cv::Mat & depthConfidenceRaw() const
Returns the raw depth confidence map.
-const cv::Mat & gridObstacleCellsRaw() const
Returns raw obstacle cells.
-void addEnvSensor(const EnvSensor &sensor)
Adds a single environmental sensor.
+const cv::Mat & gridObstacleCellsRaw() const
Returns raw obstacle cells.
+void addEnvSensor(const EnvSensor &sensor)
Adds a single environmental sensor.
SensorData(const cv::Mat &image, const CameraModel &cameraModel, int id=0, double stamp=0.0, const cv::Mat &userData=cv::Mat())
Mono camera constructor.
const LaserScan & laserScanCompressed() const
Returns the compressed laser scan.
SensorData(const cv::Mat &left, const cv::Mat &right, const StereoCameraModel &cameraModel, int id=0, double stamp=0.0, const cv::Mat &userData=cv::Mat())
Stereo camera constructor.
-const GPS & gps() const
Returns GPS data.
+const GPS & gps() const
Returns GPS data.
cv::Mat depthRaw() const
Returns the depth image (convenience method)
void setRGBDImage(const cv::Mat &rgb, const cv::Mat &depth, const CameraModel &model, bool clearPreviousData=true)
void setIMU(const IMU &imu)
Sets IMU data.
const cv::Mat & depthOrRightRaw() const
Returns the raw depth or right stereo image.
SensorData(const IMU &imu, int id=0, double stamp=0.0)
IMU-only constructor.
-const cv::Mat & gridGroundCellsRaw() const
Returns raw ground cells.
+const cv::Mat & gridGroundCellsRaw() const
Returns raw ground cells.
void uncompressDataConst(cv::Mat *imageRaw, cv::Mat *depthOrRightRaw, LaserScan *laserScanRaw=0, cv::Mat *userDataRaw=0, cv::Mat *groundCellsRaw=0, cv::Mat *obstacleCellsRaw=0, cv::Mat *emptyCellsRaw=0, cv::Mat *depthConfidenceRaw=0) const
Uncompresses compressed data into provided output buffers (const version)
int isPointVisibleFromCameras(const cv::Point3f &pt) const
Checks if a 3D point is visible from any camera.
void clearCompressedData(bool images=true, bool scan=true, bool userData=true, bool occupancyGrid=true)
-void clearGlobalDescriptors()
Clears all global descriptors.
-const cv::Mat & gridEmptyCellsRaw() const
Returns raw empty cells.
-const EnvSensors & envSensors() const
Returns all environmental sensors.
+void clearGlobalDescriptors()
Clears all global descriptors.
+const cv::Mat & gridEmptyCellsRaw() const
Returns raw empty cells.
+const EnvSensors & envSensors() const
Returns all environmental sensors.
void setId(int id)
Sets the sensor data ID.
-const cv::Mat & gridObstacleCellsCompressed() const
Returns compressed obstacle cells.
-const cv::Point3f & gridViewPoint() const
Returns the occupancy grid viewpoint.
+const cv::Mat & gridObstacleCellsCompressed() const
Returns compressed obstacle cells.
+const cv::Point3f & gridViewPoint() const
Returns the occupancy grid viewpoint.
SensorData(const LaserScan &laserScan, const cv::Mat &rgb, const cv::Mat &depth, const cv::Mat &depthConfidence, const CameraModel &cameraModel, int id=0, double stamp=0.0, const cv::Mat &userData=cv::Mat())
RGB-D constructor with depth confidence and laser scan.
void clearRawData(bool images=true, bool scan=true, bool userData=true, bool occupancyGrid=true)
-const Transform & globalPose() const
Returns the global pose.
+const Transform & globalPose() const
Returns the global pose.
double stamp() const
Returns the timestamp.
-const cv::Mat & globalPoseCovariance() const
Returns the global pose covariance.
+const cv::Mat & globalPoseCovariance() const
Returns the global pose covariance.
void setStamp(double stamp)
Sets the timestamp.
void setOccupancyGrid(const cv::Mat &ground, const cv::Mat &obstacles, const cv::Mat &empty, float cellSize, const cv::Point3f &viewPoint)
Sets occupancy grid data.
-const cv::Mat & descriptors() const
Returns the feature descriptors.
+const cv::Mat & descriptors() const
Returns the feature descriptors.
unsigned long getMemoryUsed() const
Computes the memory usage of this sensor data.
const std::vector< CameraModel > & cameraModels() const
Returns the camera models.
SensorData(const cv::Mat &rgb, const cv::Mat &depth, const std::vector< StereoCameraModel > &cameraModels, int id=0, double stamp=0.0, const cv::Mat &userData=cv::Mat())
Multi-camera stereo constructor.
-void setGroundTruth(const Transform &pose)
Sets the ground truth pose.
+void setGroundTruth(const Transform &pose)
Sets the ground truth pose.
SensorData(const cv::Mat &rgb, const cv::Mat &depth, const cv::Mat &depthConfidence, const std::vector< CameraModel > &cameraModels, int id=0, double stamp=0.0, const cv::Mat &userData=cv::Mat())
Multi-camera RGB-D constructor with depth confidence.
-void setGlobalPose(const Transform &pose, const cv::Mat &covariance)
Sets the global pose with covariance.
-const Landmarks & landmarks() const
Returns landmarks.
+void setGlobalPose(const Transform &pose, const cv::Mat &covariance)
Sets the global pose with covariance.
+const Landmarks & landmarks() const
Returns landmarks.
int id() const
Returns the sensor data ID.
const cv::Mat & depthOrRightCompressed() const
Returns the compressed depth or right stereo image.
SensorData(const cv::Mat &rgb, const cv::Mat &depth, const cv::Mat &depth_confidence, const CameraModel &cameraModel, int id=0, double stamp=0.0, const cv::Mat &userData=cv::Mat())
RGB-D constructor with depth confidence.
@@ -603,26 +603,26 @@ $(document).ready(function(){initNavTree('SensorData_8h_source.html',''); initRe
void setLaserScan(const LaserScan &laserScan, bool clearPreviousData=true)
SensorData()
Default constructor.
virtual ~SensorData()
Virtual destructor.
-float gridCellSize() const
Returns the occupancy grid cell size.
+float gridCellSize() const
Returns the occupancy grid cell size.
void uncompressData()
Uncompresses all compressed data in-place.
cv::Mat rightRaw() const
Returns the right stereo image (convenience method)
const cv::Mat & imageCompressed() const
Returns the compressed RGB/grayscale image.
const std::vector< StereoCameraModel > & stereoCameraModels() const
Returns the stereo camera models.
-const std::vector< cv::Point3f > & keypoints3D() const
Returns the 3D keypoints.
+const std::vector< cv::Point3f > & keypoints3D() const
Returns the 3D keypoints.
void setStereoCameraModel(const StereoCameraModel &stereoCameraModel)
Sets a single stereo camera model (clears previous models)
-void setEnvSensors(const EnvSensors &sensors)
Sets all environmental sensors.
-const cv::Mat & gridGroundCellsCompressed() const
Returns compressed ground cells.
+void setEnvSensors(const EnvSensors &sensors)
Sets all environmental sensors.
+const cv::Mat & gridGroundCellsCompressed() const
Returns compressed ground cells.
void setStereoCameraModels(const std::vector< StereoCameraModel > &stereoCameraModels)
Sets multiple stereo camera models.
SensorData(const cv::Mat &image, int id=0, double stamp=0.0, const cv::Mat &userData=cv::Mat())
Appearance-only constructor.
-void setGlobalDescriptors(const std::vector< GlobalDescriptor > &descriptors)
Sets all global descriptors.
+void setGlobalDescriptors(const std::vector< GlobalDescriptor > &descriptors)
Sets all global descriptors.
SensorData(const LaserScan &laserScan, const cv::Mat &left, const cv::Mat &right, const StereoCameraModel &cameraModel, int id=0, double stamp=0.0, const cv::Mat &userData=cv::Mat())
Stereo camera constructor with laser scan.
SensorData(const LaserScan &laserScan, const cv::Mat &rgb, const cv::Mat &depth, const CameraModel &cameraModel, int id=0, double stamp=0.0, const cv::Mat &userData=cv::Mat())
RGB-D constructor with laser scan.
-const cv::Mat & gridEmptyCellsCompressed() const
Returns compressed empty cells.
-void addGlobalDescriptor(const GlobalDescriptor &descriptor)
Adds a global descriptor.
+const cv::Mat & gridEmptyCellsCompressed() const
Returns compressed empty cells.
+void addGlobalDescriptor(const GlobalDescriptor &descriptor)
Adds a global descriptor.
void setUserData(const cv::Mat &userData, bool clearPreviousData=true)
-const std::vector< GlobalDescriptor > & globalDescriptors() const
Returns all global descriptors.
+const std::vector< GlobalDescriptor > & globalDescriptors() const
Returns all global descriptors.
void setFeatures(const std::vector< cv::KeyPoint > &keypoints, const std::vector< cv::Point3f > &keypoints3D, const cv::Mat &descriptors)
Sets visual features (keypoints, 3D points, descriptors)
-void setGPS(const GPS &gps)
Sets GPS data.
+void setGPS(const GPS &gps)
Sets GPS data.
SensorData(const LaserScan &laserScan, const cv::Mat &rgb, const cv::Mat &depth, const std::vector< StereoCameraModel > &cameraModels, int id=0, double stamp=0.0, const cv::Mat &userData=cv::Mat())
Multi-camera stereo constructor with laser scan.
bool isValid() const
Checks if the sensor data is valid.
void setCameraModel(const CameraModel &model)
Sets a single camera model (clears previous models)
@@ -633,10 +633,10 @@ $(document).ready(function(){initNavTree('SensorData_8h_source.html',''); initRe
SensorData(const cv::Mat &rgb, const cv::Mat &depth, const CameraModel &cameraModel, int id=0, double stamp=0.0, const cv::Mat &userData=cv::Mat())
RGB-D constructor.
const cv::Mat & depthConfidenceCompressed() const
Returns the compressed depth confidence map.
const LaserScan & laserScanRaw() const
Returns the raw laser scan.
-const Transform & groundTruth() const
Returns the ground truth pose.
-void setLandmarks(const Landmarks &landmarks)
Sets landmarks.
+const Transform & groundTruth() const
Returns the ground truth pose.
+void setLandmarks(const Landmarks &landmarks)
Sets landmarks.
void setCameraModels(const std::vector< CameraModel > &models)
Sets multiple camera models.
-const std::vector< cv::KeyPoint > & keypoints() const
Returns the 2D keypoints.
+const std::vector< cv::KeyPoint > & keypoints() const
Returns the 2D keypoints.
A class representing a calibrated stereo camera system.
diff --git a/api/latest/classrtabmap_1_1SensorData.html b/api/latest/classrtabmap_1_1SensorData.html
index 58119979..aafadaf9 100644
--- a/api/latest/classrtabmap_1_1SensorData.html
+++ b/api/latest/classrtabmap_1_1SensorData.html
@@ -2473,9 +2473,9 @@ The class manages memory efficiently by storing either raw or compressed data (o
-
Set user data. Detect automatically if raw or compressed. If raw, the data is compressed too. A matrix of type CV_8UC1 with 1 row is considered as compressed. If you have one dimension unsigned 8 bits raw data, make sure to transpose it (to have multiple rows instead of multiple columns) in order to be detected as not compressed.
Parameters
+Set user data. Detect automatically if raw or compressed. If raw, the data is compressed too, unless compressed user data is already set (only possible with clearPreviousData=false), which is then assumed to be that raw data compressed and kept as is. A matrix of type CV_8UC1 with 1 row is considered as compressed. If you have one dimension unsigned 8 bits raw data, make sure to transpose it (to have multiple rows instead of multiple columns) in order to be detected as not compressed.
Parameters
- clearPreviousData,clear previous raw and compressed user data before setting the new one.
+ clearPreviousData,clear previous raw and compressed user data before setting the new one. With false, setting the raw data of compressed user data already set keeps the compressed one, like setLaserScan() and setRGBDImage() do.
@@ -2505,7 +2505,7 @@ The class manages memory efficiently by storing either raw or compressed data (o
@@ -2532,7 +2532,7 @@ The class manages memory efficiently by storing either raw or compressed data (o
@@ -2621,7 +2621,7 @@ The class manages memory efficiently by storing either raw or compressed data (o
Returns raw ground cells.
Returns Const reference to raw ground cells matrix
-Definition at line 767 of file SensorData.h .
+Definition at line 771 of file SensorData.h .
@@ -2652,7 +2652,7 @@ The class manages memory efficiently by storing either raw or compressed data (o
Returns Const reference to compressed ground cells matrix
Note Use Compression::uncompressData() to uncompress the data.
-Definition at line 774 of file SensorData.h .
+Definition at line 778 of file SensorData.h .
@@ -2682,7 +2682,7 @@ The class manages memory efficiently by storing either raw or compressed data (o
Returns raw obstacle cells.
Returns Const reference to raw obstacle cells matrix
-Definition at line 780 of file SensorData.h .
+Definition at line 784 of file SensorData.h .
@@ -2713,7 +2713,7 @@ The class manages memory efficiently by storing either raw or compressed data (o
Returns Const reference to compressed obstacle cells matrix
Note Use Compression::uncompressData() to uncompress the data.
-Definition at line 787 of file SensorData.h .
+Definition at line 791 of file SensorData.h .
@@ -2743,7 +2743,7 @@ The class manages memory efficiently by storing either raw or compressed data (o
Returns raw empty cells.
Returns Const reference to raw empty cells matrix
-Definition at line 793 of file SensorData.h .
+Definition at line 797 of file SensorData.h .
@@ -2774,7 +2774,7 @@ The class manages memory efficiently by storing either raw or compressed data (o
Returns Const reference to compressed empty cells matrix
Note Use Compression::uncompressData() to uncompress the data.
-Definition at line 800 of file SensorData.h .
+Definition at line 804 of file SensorData.h .
@@ -2804,7 +2804,7 @@ The class manages memory efficiently by storing either raw or compressed data (o
Returns the occupancy grid cell size.
Returns Cell size in meters
-Definition at line 806 of file SensorData.h .
+Definition at line 810 of file SensorData.h .
@@ -2834,7 +2834,7 @@ The class manages memory efficiently by storing either raw or compressed data (o
Returns the occupancy grid viewpoint.
Returns Const reference to viewpoint/origin 3D point
-Definition at line 812 of file SensorData.h .
+Definition at line 816 of file SensorData.h .
@@ -2909,7 +2909,7 @@ The class manages memory efficiently by storing either raw or compressed data (o
Returns the 2D keypoints.
Returns Const reference to vector of 2D keypoints
-Definition at line 830 of file SensorData.h .
+Definition at line 834 of file SensorData.h .
@@ -2939,7 +2939,7 @@ The class manages memory efficiently by storing either raw or compressed data (o
Returns the 3D keypoints.
Returns Const reference to vector of 3D points (in base_link frame)
-Definition at line 836 of file SensorData.h .
+Definition at line 840 of file SensorData.h .
@@ -2969,7 +2969,7 @@ The class manages memory efficiently by storing either raw or compressed data (o
Returns the feature descriptors.
Returns Const reference to descriptors matrix (one row per keypoint)
-Definition at line 842 of file SensorData.h .
+Definition at line 846 of file SensorData.h .
@@ -3005,7 +3005,7 @@ The class manages memory efficiently by storing either raw or compressed data (o
-Definition at line 848 of file SensorData.h .
+Definition at line 852 of file SensorData.h .
@@ -3041,7 +3041,7 @@ The class manages memory efficiently by storing either raw or compressed data (o
-Definition at line 854 of file SensorData.h .
+Definition at line 858 of file SensorData.h .
@@ -3070,7 +3070,7 @@ The class manages memory efficiently by storing either raw or compressed data (o
Clears all global descriptors.
-Definition at line 859 of file SensorData.h .
+Definition at line 863 of file SensorData.h .
@@ -3100,7 +3100,7 @@ The class manages memory efficiently by storing either raw or compressed data (o
Returns all global descriptors.
Returns Const reference to vector of global descriptors
-Definition at line 865 of file SensorData.h .
+Definition at line 869 of file SensorData.h .
@@ -3136,7 +3136,7 @@ The class manages memory efficiently by storing either raw or compressed data (o
-Definition at line 871 of file SensorData.h .
+Definition at line 875 of file SensorData.h .
@@ -3166,7 +3166,7 @@ The class manages memory efficiently by storing either raw or compressed data (o
Returns the ground truth pose.
Returns Const reference to ground truth transform
-Definition at line 877 of file SensorData.h .
+Definition at line 881 of file SensorData.h .
@@ -3213,7 +3213,7 @@ The class manages memory efficiently by storing either raw or compressed data (o
-Definition at line 884 of file SensorData.h .
+Definition at line 888 of file SensorData.h .
@@ -3243,7 +3243,7 @@ The class manages memory efficiently by storing either raw or compressed data (o
Returns the global pose.
Returns Const reference to global pose transform
-Definition at line 890 of file SensorData.h .
+Definition at line 894 of file SensorData.h .
@@ -3273,7 +3273,7 @@ The class manages memory efficiently by storing either raw or compressed data (o
Returns the global pose covariance.
Returns Const reference to pose covariance matrix (6x6, CV_64FC1)
-Definition at line 896 of file SensorData.h .
+Definition at line 900 of file SensorData.h .
@@ -3309,7 +3309,7 @@ The class manages memory efficiently by storing either raw or compressed data (o
-Definition at line 902 of file SensorData.h .
+Definition at line 906 of file SensorData.h .
@@ -3339,7 +3339,7 @@ The class manages memory efficiently by storing either raw or compressed data (o
Returns GPS data.
Returns Const reference to GPS data
-Definition at line 908 of file SensorData.h .
+Definition at line 912 of file SensorData.h .
@@ -3396,7 +3396,7 @@ The class manages memory efficiently by storing either raw or compressed data (o
Returns IMU data.
Returns Const reference to IMU data
-Definition at line 922 of file SensorData.h .
+Definition at line 926 of file SensorData.h .
@@ -3432,7 +3432,7 @@ The class manages memory efficiently by storing either raw or compressed data (o
-Definition at line 928 of file SensorData.h .
+Definition at line 932 of file SensorData.h .
@@ -3468,7 +3468,7 @@ The class manages memory efficiently by storing either raw or compressed data (o
-Definition at line 934 of file SensorData.h .
+Definition at line 938 of file SensorData.h .
@@ -3498,7 +3498,7 @@ The class manages memory efficiently by storing either raw or compressed data (o
Returns all environmental sensors.
Returns Const reference to map of environmental sensors
-Definition at line 940 of file SensorData.h .
+Definition at line 944 of file SensorData.h .
@@ -3535,7 +3535,7 @@ The class manages memory efficiently by storing either raw or compressed data (o
Note Landmark IDs should be positive and non-zero.
-Definition at line 947 of file SensorData.h .
+Definition at line 951 of file SensorData.h .
@@ -3565,7 +3565,7 @@ The class manages memory efficiently by storing either raw or compressed data (o
Returns landmarks.
Returns Const reference to map of landmarks
-Definition at line 953 of file SensorData.h .
+Definition at line 957 of file SensorData.h .
diff --git a/api/latest/index.html b/api/latest/index.html
index 70949bb4..5735afdf 100644
--- a/api/latest/index.html
+++ b/api/latest/index.html
@@ -217,8 +217,8 @@ Occupancy grid
void add(int nodeId, const cv::Mat &ground, const cv::Mat &obstacles, const cv::Mat &empty, float cellSize, const cv::Point3f &viewPoint=cv::Point3f(0, 0, 0))
Inserts or replaces the grid for nodeId (from separate cell mats).
void uncompressDataConst(cv::Mat *imageRaw, cv::Mat *depthOrRightRaw, LaserScan *laserScanRaw=0, cv::Mat *userDataRaw=0, cv::Mat *groundCellsRaw=0, cv::Mat *obstacleCellsRaw=0, cv::Mat *emptyCellsRaw=0, cv::Mat *depthConfidenceRaw=0) const
Uncompresses compressed data into provided output buffers (const version)
-const cv::Point3f & gridViewPoint() const
Returns the occupancy grid viewpoint.
-float gridCellSize() const
Returns the occupancy grid cell size.
+const cv::Point3f & gridViewPoint() const
Returns the occupancy grid viewpoint.
+float gridCellSize() const
Returns the occupancy grid cell size.
Represents a node in RTAB-Map's pose graph.
SensorData & sensorData()
Returns mutable access to the sensor data.
int id() const
Returns the signature ID.
diff --git a/api/latest/namespacertabmap_1_1util3d.html b/api/latest/namespacertabmap_1_1util3d.html
index d41667c4..c5b57b72 100644
--- a/api/latest/namespacertabmap_1_1util3d.html
+++ b/api/latest/namespacertabmap_1_1util3d.html
@@ -1072,9 +1072,6 @@ pcl::IndicesPtr RTABMAP_CORE_EXPORT void RTABMAP_CORE_EXPORT solvePnPRansac (const std::vector< cv::Point3f > &objectPoints, const std::vector< cv::Point2f > &imagePoints, const cv::Mat &cameraMatrix, const cv::Mat &distCoeffs, cv::Mat &rvec, cv::Mat &tvec, bool useExtrinsicGuess, int iterationsCount, float reprojectionError, int minInliersCount, std::vector< int > &inliers, int flags, int refineIterations=1, float refineSigma=3.0f)
Estimates the camera pose using the PnP RANSAC algorithm and optionally refines it.
-
-int RTABMAP_CORE_EXPORT getCorrespondencesCount (const pcl::PointCloud< pcl::PointXYZ >::ConstPtr &cloud_source, const pcl::PointCloud< pcl::PointXYZ >::ConstPtr &cloud_target, float maxDistance)
-
Transform RTABMAP_CORE_EXPORT transformFromXYZCorrespondencesSVD (const pcl::PointCloud< pcl::PointXYZ > &cloud1, const pcl::PointCloud< pcl::PointXYZ > &cloud2)
Estimates the rigid 3D transformation between two point clouds using SVD.
diff --git a/api/latest/util3d__registration_8h_source.html b/api/latest/util3d__registration_8h_source.html
index 1640ffce..69147830 100644
--- a/api/latest/util3d__registration_8h_source.html
+++ b/api/latest/util3d__registration_8h_source.html
@@ -149,104 +149,100 @@ $(document).ready(function(){initNavTree('util3d__registration_8h_source.html','
- 44 int RTABMAP_CORE_EXPORT getCorrespondencesCount(
const pcl::PointCloud<pcl::PointXYZ>::ConstPtr & cloud_source,
- 45 const pcl::PointCloud<pcl::PointXYZ>::ConstPtr & cloud_target,
-
-
-
- 69 const pcl::PointCloud<pcl::PointXYZ> & cloud1,
- 70 const pcl::PointCloud<pcl::PointXYZ> & cloud2);
-
-
- 102 const pcl::PointCloud<pcl::PointXYZ>::ConstPtr & cloud1,
- 103 const pcl::PointCloud<pcl::PointXYZ>::ConstPtr & cloud2,
- 104 double inlierThreshold = 0.02,
- 105 int iterations = 100,
- 106 int refineModelIterations = 10,
- 107 double refineModelSigma = 3.0,
- 108 std::vector<int> * inliers = 0,
- 109 cv::Mat * variance = 0);
-
-
- 140 const pcl::PointCloud<pcl::PointNormal>::ConstPtr & cloudA,
- 141 const pcl::PointCloud<pcl::PointNormal>::ConstPtr & cloudB,
- 142 double maxCorrespondenceDistance,
- 143 double maxCorrespondenceAngle,
-
- 145 int & correspondencesOut,
-
-
- 149 const pcl::PointCloud<pcl::PointXYZINormal>::ConstPtr & cloudA,
- 150 const pcl::PointCloud<pcl::PointXYZINormal>::ConstPtr & cloudB,
- 151 double maxCorrespondenceDistance,
- 152 double maxCorrespondenceAngle,
-
- 154 int & correspondencesOut,
-
-
- 158 const pcl::PointCloud<pcl::PointXYZ>::ConstPtr & cloudA,
- 159 const pcl::PointCloud<pcl::PointXYZ>::ConstPtr & cloudB,
- 160 double maxCorrespondenceDistance,
-
- 162 int & correspondencesOut,
-
-
- 166 const pcl::PointCloud<pcl::PointXYZI>::ConstPtr & cloudA,
- 167 const pcl::PointCloud<pcl::PointXYZI>::ConstPtr & cloudB,
- 168 double maxCorrespondenceDistance,
-
- 170 int & correspondencesOut,
-
-
- 200 const pcl::PointCloud<pcl::PointXYZ>::ConstPtr & cloud_source,
- 201 const pcl::PointCloud<pcl::PointXYZ>::ConstPtr & cloud_target,
- 202 double maxCorrespondenceDistance,
- 203 int maximumIterations,
-
- 205 pcl::PointCloud<pcl::PointXYZ> & cloud_source_registered,
- 206 float epsilon = 0.0f,
-
- 208 float ransacOutlierRatio = 0.0f,
- 209 int * iterationsDone =
nullptr );
-
- 219 const pcl::PointCloud<pcl::PointXYZI>::ConstPtr & cloud_source,
- 220 const pcl::PointCloud<pcl::PointXYZI>::ConstPtr & cloud_target,
- 221 double maxCorrespondenceDistance,
- 222 int maximumIterations,
-
- 224 pcl::PointCloud<pcl::PointXYZI> & cloud_source_registered,
- 225 float epsilon = 0.0f,
-
- 227 float ransacOutlierRatio = 0.0f,
- 228 int * iterationsDone =
nullptr );
-
-
- 256 const pcl::PointCloud<pcl::PointNormal>::ConstPtr & cloud_source,
- 257 const pcl::PointCloud<pcl::PointNormal>::ConstPtr & cloud_target,
- 258 double maxCorrespondenceDistance,
- 259 int maximumIterations,
-
- 261 pcl::PointCloud<pcl::PointNormal> & cloud_source_registered,
- 262 float epsilon = 0.0f,
-
- 264 float ransacOutlierRatio = 0.0f,
- 265 int * iterationsDone =
nullptr );
-
- 275 const pcl::PointCloud<pcl::PointXYZINormal>::ConstPtr & cloud_source,
- 276 const pcl::PointCloud<pcl::PointXYZINormal>::ConstPtr & cloud_target,
- 277 double maxCorrespondenceDistance,
- 278 int maximumIterations,
-
- 280 pcl::PointCloud<pcl::PointXYZINormal> & cloud_source_registered,
- 281 float epsilon = 0.0f,
-
- 283 float ransacOutlierRatio = 0.0f,
- 284 int * iterationsDone =
nullptr );
-
-
-
-
-
+
+ 65 const pcl::PointCloud<pcl::PointXYZ> & cloud1,
+ 66 const pcl::PointCloud<pcl::PointXYZ> & cloud2);
+
+
+ 98 const pcl::PointCloud<pcl::PointXYZ>::ConstPtr & cloud1,
+ 99 const pcl::PointCloud<pcl::PointXYZ>::ConstPtr & cloud2,
+ 100 double inlierThreshold = 0.02,
+ 101 int iterations = 100,
+ 102 int refineModelIterations = 10,
+ 103 double refineModelSigma = 3.0,
+ 104 std::vector<int> * inliers = 0,
+ 105 cv::Mat * variance = 0);
+
+
+ 136 const pcl::PointCloud<pcl::PointNormal>::ConstPtr & cloudA,
+ 137 const pcl::PointCloud<pcl::PointNormal>::ConstPtr & cloudB,
+ 138 double maxCorrespondenceDistance,
+ 139 double maxCorrespondenceAngle,
+
+ 141 int & correspondencesOut,
+
+
+ 145 const pcl::PointCloud<pcl::PointXYZINormal>::ConstPtr & cloudA,
+ 146 const pcl::PointCloud<pcl::PointXYZINormal>::ConstPtr & cloudB,
+ 147 double maxCorrespondenceDistance,
+ 148 double maxCorrespondenceAngle,
+
+ 150 int & correspondencesOut,
+
+
+ 154 const pcl::PointCloud<pcl::PointXYZ>::ConstPtr & cloudA,
+ 155 const pcl::PointCloud<pcl::PointXYZ>::ConstPtr & cloudB,
+ 156 double maxCorrespondenceDistance,
+
+ 158 int & correspondencesOut,
+
+
+ 162 const pcl::PointCloud<pcl::PointXYZI>::ConstPtr & cloudA,
+ 163 const pcl::PointCloud<pcl::PointXYZI>::ConstPtr & cloudB,
+ 164 double maxCorrespondenceDistance,
+
+ 166 int & correspondencesOut,
+
+
+ 196 const pcl::PointCloud<pcl::PointXYZ>::ConstPtr & cloud_source,
+ 197 const pcl::PointCloud<pcl::PointXYZ>::ConstPtr & cloud_target,
+ 198 double maxCorrespondenceDistance,
+ 199 int maximumIterations,
+
+ 201 pcl::PointCloud<pcl::PointXYZ> & cloud_source_registered,
+ 202 float epsilon = 0.0f,
+
+ 204 float ransacOutlierRatio = 0.0f,
+ 205 int * iterationsDone =
nullptr );
+
+ 215 const pcl::PointCloud<pcl::PointXYZI>::ConstPtr & cloud_source,
+ 216 const pcl::PointCloud<pcl::PointXYZI>::ConstPtr & cloud_target,
+ 217 double maxCorrespondenceDistance,
+ 218 int maximumIterations,
+
+ 220 pcl::PointCloud<pcl::PointXYZI> & cloud_source_registered,
+ 221 float epsilon = 0.0f,
+
+ 223 float ransacOutlierRatio = 0.0f,
+ 224 int * iterationsDone =
nullptr );
+
+
+ 252 const pcl::PointCloud<pcl::PointNormal>::ConstPtr & cloud_source,
+ 253 const pcl::PointCloud<pcl::PointNormal>::ConstPtr & cloud_target,
+ 254 double maxCorrespondenceDistance,
+ 255 int maximumIterations,
+
+ 257 pcl::PointCloud<pcl::PointNormal> & cloud_source_registered,
+ 258 float epsilon = 0.0f,
+
+ 260 float ransacOutlierRatio = 0.0f,
+ 261 int * iterationsDone =
nullptr );
+
+ 271 const pcl::PointCloud<pcl::PointXYZINormal>::ConstPtr & cloud_source,
+ 272 const pcl::PointCloud<pcl::PointXYZINormal>::ConstPtr & cloud_target,
+ 273 double maxCorrespondenceDistance,
+ 274 int maximumIterations,
+
+ 276 pcl::PointCloud<pcl::PointXYZINormal> & cloud_source_registered,
+ 277 float epsilon = 0.0f,
+
+ 279 float ransacOutlierRatio = 0.0f,
+ 280 int * iterationsDone =
nullptr );
+
+
+
+
+
void RTABMAP_CORE_EXPORT computeVarianceAndCorrespondences(const pcl::PointCloud< pcl::PointNormal >::ConstPtr &cloudA, const pcl::PointCloud< pcl::PointNormal >::ConstPtr &cloudB, double maxCorrespondenceDistance, double maxCorrespondenceAngle, double &variance, int &correspondencesOut, bool reciprocal)
Compute with variance and correspondences of pcl::PointNormal point cloud type.
Transform RTABMAP_CORE_EXPORT transformFromXYZCorrespondencesSVD(const pcl::PointCloud< pcl::PointXYZ > &cloud1, const pcl::PointCloud< pcl::PointXYZ > &cloud2)
Estimates the rigid 3D transformation between two point clouds using SVD.
diff --git a/index.html b/index.html
index 09e068fc..c1115de5 100644
--- a/index.html
+++ b/index.html
@@ -5,7 +5,7 @@
-
+
RTAB-Map | Real-Time Appearance-Based Mapping