193 std::unique_ptr<PatchMatchCuda> patch_match_cuda_;
230 const std::string& workspace_path,
231 const std::string& workspace_format,
232 const std::string& pmvs_option_name,
233 const std::string& config_path =
"");
237 void ReadWorkspace();
239 void ReadGpuIndices();
241 const size_t problem_idx);
244 const std::string workspace_path_;
245 const std::string workspace_format_;
246 const std::string pmvs_option_name_;
247 const std::string config_path_;
249 std::unique_ptr<ThreadPool> thread_pool_;
250 std::mutex workspace_mutex_;
251 std::unique_ptr<Workspace> workspace_;
252 std::vector<PatchMatch::Problem> problems_;
253 std::vector<int> gpu_indices_;
254 std::vector<std::pair<float, float>> depth_ranges_;
PatchMatchController(const PatchMatchOptions &options, const std::string &workspace_path, const std::string &workspace_format, const std::string &pmvs_option_name, const std::string &config_path="")
Mat< float > GetSelProbMap() const
ConsistencyGraph GetConsistencyGraph() const
NormalMap GetNormalMap() const
PatchMatch(const PatchMatchOptions &options, const Problem &problem)
DepthMap GetDepthMap() const
#define CHECK_OPTION_LT(val1, val2)
#define CHECK_OPTION_LE(val1, val2)
#define CHECK_OPTION_GT(val1, val2)
#define CHECK_OPTION_GE(val1, val2)
static const size_t kMaxPatchMatchWindowRadius
int filter_min_num_consistent
double min_triangulation_angle
double geom_consistency_max_cost
double filter_geom_consistency_max_cost
double geom_consistency_regularizer
double filter_min_triangulation_angle
bool write_consistency_graph
double incident_angle_sigma
std::vector< Image > * images
std::vector< NormalMap > * normal_maps
std::vector< DepthMap > * depth_maps
std::vector< int > src_image_idxs