 |
ACloudViewer
3.9.4
A Modern Library for 3D Data Processing
|
Go to the documentation of this file.
97 const std::vector<PlyPoint>&
points) {}
99 const std::string& mesh_path) {}
101 const std::string& textured_path) {}
111 void RunFeatureExtraction();
112 void RunFeatureMatching();
113 void RunSparseMapper();
115 std::unique_ptr<Thread> feature_extractor_;
116 std::unique_ptr<Thread> exhaustive_matcher_;
117 std::unique_ptr<Thread> sequential_matcher_;
118 std::unique_ptr<Thread> vocab_tree_matcher_;
DataType
Definition: automatic_reconstruction.h:21
void ModifyForHighQuality()
Definition: option_manager.cc:155
std::shared_ptr< std::string > image_path
Definition: option_manager.h:100
QTextStream & endl(QTextStream &stream)
Definition: QtCompat.h:718
std::string image_path
Definition: automatic_reconstruction.h:30
std::string image_path
Definition: image_reader.h:23
virtual void OnTexturedMeshGenerated(size_t reconstruction_idx, const std::string &textured_path)
Definition: automatic_reconstruction.h:100
std::shared_ptr< ExhaustiveMatchingOptions > exhaustive_matching
Definition: option_manager.h:106
void CreateDirIfNotExists(const std::string &path)
Definition: misc.cc:112
virtual void RunDenseMapper()
Definition: automatic_reconstruction.cc:262
Mesher mesher
Definition: automatic_reconstruction.h:64
normal_z x
Definition: my_point_types.h:165
const Timer & GetTimer() const
Definition: threading.cc:154
std::filesystem::path MaybeDownloadAndCacheFile(const std::string &uri)
std::shared_ptr< SiftExtractionOptions > sift_extraction
Definition: option_manager.h:103
ReconstructionManager * reconstruction_manager_
Definition: automatic_reconstruction.h:106
bool IsRGB() const
Definition: bitmap.h:261
bool ExistsFile(const std::string &path)
Definition: misc.cc:100
Definition: option_manager.h:38
bool dense
Definition: automatic_reconstruction.h:57
Definition: automatic_reconstruction.h:19
Definition: matching.h:422
std::shared_ptr< mvs::DelaunayMeshingOptions > delaunay_meshing
Definition: option_manager.h:119
bool SetPixel(const int x, const int y, const BitmapColor< uint8_t > &color)
Definition: bitmap.cc:199
std::vector< std::string > GetDirList(const std::string &path)
Definition: misc.cc:195
std::string JoinPaths(T const &... paths)
Definition: misc.h:128
std::string mask_path
Definition: image_reader.h:32
const Options options_
Definition: automatic_reconstruction.h:104
void ModifyForInternetData()
Definition: option_manager.cc:109
void InitializeWithName(const std::string &model_name, const double focal_length, const size_t width, const size_t height)
Definition: camera.cc:212
Definition: threading.h:74
Definition: texturing_controller.h:74
const Reconstruction & Get(const size_t idx) const
Definition: reconstruction_manager.cc:56
bool Allocate(const int width, const int height, const bool as_rgb)
Definition: bitmap.cc:104
math::float4 color
Definition: LineSetBuffers.cpp:46
void WriteBinaryPlyPoints(const std::string &path, const std::vector< PlyPoint > &points, const bool write_normal, const bool write_rgb)
Definition: ply.cc:369
Definition: patch_match.h:227
bool use_gpu
Definition: automatic_reconstruction.h:77
std::string camera_model
Definition: image_reader.h:39
AutomaticReconstructionController(const Options &options, ReconstructionManager *reconstruction_manager)
Definition: automatic_reconstruction.cc:48
std::string vocab_tree_path
Definition: automatic_reconstruction.h:36
void SetPrincipalPointX(const double ppx)
Definition: camera.cc:158
bool ExistsCameraModelWithName(const std::string &model_name)
Definition: camera_models.cc:94
bool IsGrey() const
Definition: bitmap.h:263
int width
Definition: FileIOFactory.cpp:142
void WarpImageBetweenCameras(const Camera &source_camera, const Camera &target_camera, const Bitmap &source_image, Bitmap *target_image)
Definition: warp.cc:51
int num_threads
Definition: automatic_reconstruction.h:71
int height
Definition: FileIOFactory.cpp:143
normal_z y
Definition: my_point_types.h:168
virtual void OnFusedPointsGenerated(size_t reconstruction_idx, const std::vector< PlyPoint > &points)
Definition: automatic_reconstruction.h:96
void ModifyForLowQuality()
Definition: option_manager.cc:113
int Width() const
Definition: bitmap.h:249
bool texturing
Definition: automatic_reconstruction.h:68
void DownsampleImage(const float *data, const int rows, const int cols, const int new_rows, const int new_cols, float *downsampled)
Definition: warp.cc:226
const double * e
Definition: essential_matrix_poly.h:10
void Stop() override
Definition: automatic_reconstruction.cc:159
std::string database_path
Definition: image_reader.h:20
int Height() const
Definition: bitmap.h:250
std::string camera_model
Definition: automatic_reconstruction.h:48
BOOST_AUTO_TEST_CASE(TestIdenticalCameras)
Definition: warp_test.cc:91
const std::vector< std::vector< int > > & GetFusedPointsVisibility() const
Definition: fusion.cc:142
Definition: automatic_reconstruction.h:25
void ModifyForVideoData()
Definition: option_manager.cc:97
Quality quality
Definition: automatic_reconstruction.h:42
std::string mask_path
Definition: automatic_reconstruction.h:33
bool single_camera
Definition: image_reader.h:42
void Write(const std::string &path, const OptionManager *options) const
Definition: reconstruction_manager.cc:83
virtual void Start()
Definition: threading.cc:50
bool single_camera
Definition: automatic_reconstruction.h:45
std::shared_ptr< mvs::PoissonMeshingOptions > poisson_meshing
Definition: option_manager.h:118
bool ExistsDir(const std::string &path)
Definition: misc.cc:104
Definition: image_reader.h:18
Definition: matching.h:443
Quality
Definition: automatic_reconstruction.h:22
virtual void OnMeshGenerated(size_t reconstruction_idx, const std::string &mesh_path)
Definition: automatic_reconstruction.h:98
std::shared_ptr< core::Tensor > image
Definition: FilamentRenderer.cpp:184
std::shared_ptr< SiftMatchingOptions > sift_matching
Definition: option_manager.h:105
DataType data_type
Definition: automatic_reconstruction.h:39
void WritePointsVisibility(const std::string &path, const std::vector< std::vector< int >> &points_visibility)
Definition: fusion.cc:635
int points
Definition: FileIOFactory.cpp:144
std::shared_ptr< BundleAdjustmentOptions > bundle_adjustment
Definition: option_manager.h:113
Thread * active_thread_
Definition: automatic_reconstruction.h:107
void ModifyForMediumQuality()
Definition: option_manager.cc:134
void ModifyForIndividualData()
Definition: option_manager.cc:91
std::string workspace_path
Definition: automatic_reconstruction.h:27
void WarpImageWithHomographyBetweenCameras(const Eigen::Matrix3d &H, const Camera &source_camera, const Camera &target_camera, const Bitmap &source_image, Bitmap *target_image)
Definition: warp.cc:124
const static std::string kDefaultVocabTreeUri
Definition: resources.h:25
size_t NumRegImages() const
Definition: reconstruction.h:440
Thread()
Definition: threading.cc:38
std::shared_ptr< mvs::PatchMatchOptions > patch_match_stereo
Definition: option_manager.h:116
std::shared_ptr< std::string > database_path
Definition: option_manager.h:99
Definition: reconstruction_manager.h:16
void WarpImageWithHomography(const Eigen::Matrix3d &H, const Bitmap &source_image, Bitmap *target_image)
Definition: warp.cc:98
virtual void Wait()
Definition: threading.cc:86
Mesher
Definition: automatic_reconstruction.h:23
void SmoothImage(const float *data, const int rows, const int cols, const float sigma_r, const float sigma_c, float *smoothed)
Definition: warp.cc:215
int max_image_size
Definition: undistortion.h:28
void ModifyForExtremeQuality()
Definition: option_manager.cc:168
virtual void Stop()
Definition: threading.cc:65
Definition: matching.h:388
bool sparse
Definition: automatic_reconstruction.h:51
std::shared_ptr< SequentialMatchingOptions > sequential_matching
Definition: option_manager.h:107
std::shared_ptr< IncrementalMapperOptions > mapper
Definition: option_manager.h:114
std::shared_ptr< mvs::StereoFusionOptions > stereo_fusion
Definition: option_manager.h:117
const std::vector< PlyPoint > & GetFusedPoints() const
Definition: fusion.cc:138
Definition: undistortion.h:18
Definition: AutomaticReconstructionController.h:17
bool GetPixel(const int x, const int y, BitmapColor< uint8_t > *color) const
Definition: bitmap.cc:178
void AddAllOptions()
Definition: option_manager.cc:178
bool IsStopped()
Definition: threading.cc:97
std::shared_ptr< VocabTreeMatchingOptions > vocab_tree_matching
Definition: option_manager.h:108
void PrintMinutes() const
Definition: timer.cc:93
colmap::IncrementalMapperController IncrementalMapperController
Definition: ReconstructionWidget.h:38
void ResampleImageBilinear(const float *data, const int rows, const int cols, const int new_rows, const int new_cols, float *resampled)
Definition: warp.cc:174
Definition: undistortion.h:43
size_t Read(const std::string &path)
Definition: reconstruction_manager.cc:77
std::string to_string(const T &n)
Definition: Common.h:20
bool PoissonMeshing(const PoissonMeshingOptions &options, const std::string &input_path, const std::string &output_path)
Definition: meshing.cc:123
std::string gpu_index
Definition: automatic_reconstruction.h:83
size_t Size() const
Definition: reconstruction_manager.cc:54
std::shared_ptr< TexturingOptions > texturing
Definition: option_manager.h:120
OptionManager option_manager_
Definition: automatic_reconstruction.h:105
std::shared_ptr< ImageReaderOptions > image_reader
Definition: option_manager.h:102