[HM3D]--Connected Components Utility; CC-based Semantic BBox generation; Mesh connectivity reporting#1669
Merged
jturner65 merged 19 commits intofacebookresearch:mainfrom Feb 23, 2022
Conversation
Skylion007
previously requested changes
Feb 17, 2022
Contributor
Skylion007
left a comment
There was a problem hiding this comment.
Performance improvements
Contributor
Author
|
Thanks as always @Skylion007 :) |
Also move conditionalDFS to geo, to make available for others to use.
bd9a58f to
cc94d43
Compare
Skylion007
reviewed
Feb 22, 2022
Skylion007
reviewed
Feb 22, 2022
Also add semantic OBJ bbox setting based on largest volume CC.
444757b to
a92bcaa
Compare
b3ca2ab to
1711567
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Motivation and Context
This PR adds the following functionality :
Derive connected components on a set of vertices conditioned on some vertex attribute, such as color. It finds all cc's that share the same vertex attribute value, finds the AABB of the resultant vertex cloud, and aggregates the results into a map keyed by semantic object IDX.
Semantic BBoxes are being generated when needed (currently only in HM3D dataset) using CC with largest BBox (by volume) for a particular semantic annotation.
Reporting tools are provided through viewer, including the ability to go through all the scenes in a dataset to derive and save the report to csv file. A python binding is also provided to give access to this data.
How Has This Been Tested
All existing local c++ and python tests pass.
Types of changes
Checklist