42 double relative_rmse = 1e-6,
43 double relative_fitness = 1e-6)
69 double inlier_rmse = 0.0,
98 float depth_huber_delta = 0.05,
99 float intensity_huber_delta = 0.1)
105 "Depth outlier truncation < 0, outliers will be counted!");
109 "Huber delta is greater than truncation, huber norm will "
110 "degenerate to L2 norm!");
151 const float depth_scale = 1000.0f,
152 const float depth_max = 3.0f,
153 const std::vector<OdometryConvergenceCriteria>& criteria_list = {10, 5,
156 const OdometryLossParams& params = OdometryLossParams());
189 const float depth_outlier_trunc,
190 const float depth_huber_delta);
236 const float depth_outlier_trunc,
237 const float intensity_huber_delta);
295 const float depth_outlier_trunc,
296 const float depth_huber_delta,
297 const float intensity_huber_delta);
306 const float dist_thr,
307 const float depth_scale = 1000.0f,
308 const float depth_max = 3.0f);
#define LogWarning(...)
Definition: Logging.h:60
static Tensor Eye(int64_t n, Dtype dtype, const Device &device)
Create an identity matrix of size n x n.
Definition: Tensor.cpp:386
The Image class stores image with customizable rows, cols, channels, dtype and device.
Definition: Image.h:29
RGBDImage A pair of color and depth images.
Definition: RGBDImage.h:21
Definition: RGBDOdometry.h:30
int max_iteration_
Maximum iteration before iteration stops.
Definition: RGBDOdometry.h:50
OdometryConvergenceCriteria(int max_iteration, double relative_rmse=1e-6, double relative_fitness=1e-6)
Constructor for the convergence criteria, where we stop iterations once the criteria are met.
Definition: RGBDOdometry.h:41
double relative_fitness_
Definition: RGBDOdometry.h:56
double relative_rmse_
Definition: RGBDOdometry.h:53
Definition: RGBDOdometry.h:87
float intensity_huber_delta_
Definition: RGBDOdometry.h:118
float depth_huber_delta_
Definition: RGBDOdometry.h:117
float depth_outlier_trunc_
Depth difference threshold used to filter projective associations.
Definition: RGBDOdometry.h:116
OdometryLossParams(float depth_outlier_trunc=0.07, float depth_huber_delta=0.05, float intensity_huber_delta=0.1)
Constructor for the odometry loss function.
Definition: RGBDOdometry.h:97
Definition: RGBDOdometry.h:59
OdometryResult(const core::Tensor &transformation=core::Tensor::Eye(4, core::Float64, core::Device("CPU:0")), double inlier_rmse=0.0, double fitness=0.0)
Constructor for the odometry result.
Definition: RGBDOdometry.h:67
double inlier_rmse_
RMSE of all inlier. Lower is better.
Definition: RGBDOdometry.h:81
core::Tensor transformation_
The estimated transformation matrix of dtype Float64 on CPU device.
Definition: RGBDOdometry.h:79
~OdometryResult()
Definition: RGBDOdometry.h:75
double fitness_
Definition: RGBDOdometry.h:84
const Dtype Float64
Definition: Dtype.cpp:43
Method
Definition: RGBDOdometry.h:23
OdometryResult RGBDOdometryMultiScale(const RGBDImage &source, const RGBDImage &target, const Tensor &intrinsics, const Tensor &init_source_to_target, const float depth_scale, const float depth_max, const std::vector< OdometryConvergenceCriteria > &criteria, const Method method, const OdometryLossParams ¶ms)
Create an RGBD image pyramid given the original source and target RGBD images, and perform hierarchic...
Definition: RGBDOdometry.cpp:56
OdometryResult ComputeOdometryResultHybrid(const Tensor &source_depth, const Tensor &target_depth, const Tensor &source_intensity, const Tensor &target_intensity, const Tensor &target_depth_dx, const Tensor &target_depth_dy, const Tensor &target_intensity_dx, const Tensor &target_intensity_dy, const Tensor &source_vertex_map, const Tensor &intrinsics, const Tensor &init_source_to_target, const float depth_outlier_trunc, const float depth_huber_delta, const float intensity_huber_delta)
Estimates the 4x4 rigid transformation T from source to target, with inlier rmse and fitness....
Definition: RGBDOdometry.cpp:453
OdometryResult ComputeOdometryResultPointToPlane(const Tensor &source_vertex_map, const Tensor &target_vertex_map, const Tensor &target_normal_map, const Tensor &intrinsics, const Tensor &init_source_to_target, const float depth_outlier_trunc, const float depth_huber_delta)
Estimates the 4x4 rigid transformation T from source to target, with inlier rmse and fitness....
Definition: RGBDOdometry.cpp:392
OdometryResult ComputeOdometryResultIntensity(const Tensor &source_depth, const Tensor &target_depth, const Tensor &source_intensity, const Tensor &target_intensity, const Tensor &target_intensity_dx, const Tensor &target_intensity_dy, const Tensor &source_vertex_map, const Tensor &intrinsics, const Tensor &init_source_to_target, const float depth_outlier_trunc, const float intensity_huber_delta)
Estimates the 4x4 rigid transformation T from source to target, with inlier rmse and fitness....
Definition: RGBDOdometry.cpp:420
core::Tensor ComputeOdometryInformationMatrix(const geometry::Image &source_depth, const geometry::Image &target_depth, const core::Tensor &intrinsic, const core::Tensor &source_to_target, const float dist_thr, const float depth_scale, const float depth_max)
Definition: RGBDOdometry.cpp:489
Definition: PinholeCameraIntrinsic.cpp:16