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);
cmdLineReadable * params[]
static Tensor Eye(int64_t n, Dtype dtype, const Device &device)
Create an identity matrix of size n x n.
The Image class stores image with customizable rows, cols, channels, dtype and device.
RGBDImage A pair of color and depth images.
int max_iteration_
Maximum iteration before iteration stops.
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.
float depth_outlier_trunc_
Depth difference threshold used to filter projective associations.
float intensity_huber_delta_
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.
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.
double inlier_rmse_
RMSE of all inlier. Lower is better.
core::Tensor transformation_
The estimated transformation matrix of dtype Float64 on CPU device.
static const double relative_fitness
static const double relative_rmse
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...
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)
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....
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....
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....
Generic file read and write utility for python interface.