Skip to content

Commit e320d64

Browse files
Merge branch 'semantic_segmentation' of github.com:diffCheckOrg/diffCheck into semantic_segmentation
2 parents 1adc9de + f6fd4e9 commit e320d64

File tree

1 file changed

+11
-0
lines changed

1 file changed

+11
-0
lines changed

src/diffCheck/segmentation/DFSegmentation.hh

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,5 +24,16 @@ namespace diffCheck::segmentation
2424
bool useKnnNeighborhood = true,
2525
int knnNeighborhoodSize = 10,
2626
int radiusNeighborhoodSize = 10);
27+
28+
/**
29+
* @brief From a vector of mesh faces, finds in a vector of cloud segments the corresponding segments as a unified point cloud
30+
* @param meshFaces the mesh faces to compare
31+
* @param segments the segments to compare
32+
* @return std::tuple<std::shared_ptr<geometry::DFPointCloud>, std::vector<std::shared_ptr<geometry::DFPointCloud>> > the unified point cloud and the corresponding segments as a tuple
33+
*/
34+
static std::tuple<std::shared_ptr<geometry::DFPointCloud>, std::vector<std::shared_ptr<geometry::DFPointCloud>>> AssociateSegments(
35+
std::vector<std::shared_ptr<geometry::DFMesh>> meshFaces,
36+
std::vector<std::shared_ptr<geometry::DFPointCloud>> segments,
37+
double associationThreshold);
2738
};
2839
} // namespace diffCheck::segmentation

0 commit comments

Comments
 (0)