ACloudViewer  3.9.4
A Modern Library for 3D Data Processing
OdometryOption.h
Go to the documentation of this file.
1 // ----------------------------------------------------------------------------
2 // - CloudViewer: www.cloudViewer.org -
3 // ----------------------------------------------------------------------------
4 // Copyright (c) 2018-2024 www.cloudViewer.org
5 // SPDX-License-Identifier: MIT
6 // ----------------------------------------------------------------------------
7 
8 #pragma once
9 
10 #include <string>
11 #include <vector>
12 
13 namespace cloudViewer {
14 namespace pipelines {
15 namespace odometry {
16 
21 public:
33  const std::vector<int> &iteration_number_per_pyramid_level =
34  {20, 10,
35  5} /* {smaller image size to original image size} */,
36  double max_depth_diff = 0.03,
37  double min_depth = 0.0,
38  double max_depth = 4.0)
40  iteration_number_per_pyramid_level),
41  max_depth_diff_(max_depth_diff),
42  min_depth_(min_depth),
43  max_depth_(max_depth) {}
45 
46 public:
56  double min_depth_;
58  double max_depth_;
59 };
60 
61 } // namespace odometry
62 } // namespace pipelines
63 } // namespace cloudViewer
OdometryOption(const std::vector< int > &iteration_number_per_pyramid_level={20, 10, 5}, double max_depth_diff=0.03, double min_depth=0.0, double max_depth=4.0)
Parameterized Constructor.
double min_depth_
Pixels that has larger than specified depth values are ignored.
double max_depth_
Pixels that has larger than specified depth values are ignored.
Generic file read and write utility for python interface.