ACloudViewer  3.9.4
A Modern Library for 3D Data Processing
mvs.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 
12 #include "mvs/fusion.h"
13 #include "mvs/meshing.h"
14 #include "mvs/patch_match.h"
15 
16 namespace cloudViewer {
17 
18 int MeshDelaunay(
19  const std::string& input_path,
20  const std::string& output_path,
21  const std::string& input_type = "dense",
22  const colmap::mvs::DelaunayMeshingOptions& delaunay_meshing_options =
24 
25 int StereoPatchMatch(const std::string& workspace_path,
26  const std::string& config_path = "",
27  const std::string& workspace_format = "COLMAP",
28  const std::string& pmvs_option_name = "option-all",
29  const colmap::mvs::PatchMatchOptions& patch_match_options =
31 
32 int MeshPoisson(
33  const std::string& input_path,
34  const std::string& output_path,
35  const colmap::mvs::PoissonMeshingOptions& poisson_meshing_options =
37 
38 int StereoFuse(const std::string& workspace_path,
39  const std::string& output_path,
40  const std::string& bbox_path = "",
41  const std::string& stereo_input_type = "geometric",
42  const std::string& output_type = "PLY",
43  const std::string& workspace_format = "COLMAP",
44  const std::string& pmvs_option_name = "option-all",
45  const colmap::mvs::StereoFusionOptions& stereo_fusion_options =
47 
48 } // namespace cloudViewer
Generic file read and write utility for python interface.
int StereoPatchMatch(const std::string &workspace_path, const std::string &config_path, const std::string &workspace_format, const std::string &pmvs_option_name, const colmap::mvs::PatchMatchOptions &patch_match_options)
Definition: mvs.cpp:32
int StereoFuse(const std::string &workspace_path, const std::string &output_path, const std::string &bbox_path, const std::string &stereo_input_type, const std::string &output_type, const std::string &workspace_format, const std::string &pmvs_option_name, const colmap::mvs::StereoFusionOptions &stereo_fusion_options)
Definition: mvs.cpp:64
int MeshDelaunay(const std::string &input_path, const std::string &output_path, const std::string &input_type, const colmap::mvs::DelaunayMeshingOptions &delaunay_meshing_options)
Definition: mvs.cpp:15
int MeshPoisson(const std::string &input_path, const std::string &output_path, const colmap::mvs::PoissonMeshingOptions &poisson_meshing_options)
Definition: mvs.cpp:51