Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[fuseCut] added a parameter to filter points based on number of observations #885

Merged
merged 4 commits into from
Dec 1, 2020

Conversation

raphael2692
Copy link
Contributor

@raphael2692 raphael2692 commented Sep 10, 2020

Description

Added a new parameter (minVis) in the graph cut step in order to filter out points with observation < minVis.

Features list

New parameter for the meshing node of the reconstruction pipe.

Implementation remarks

I think the implementation is trivial however I am not sure the new parameter should have been referenced elsewhere in the code (I know it should be added to meshroom API).

Added a condition in DelaunayGraphCut::fuseFromDepthMaps to filter out points based on their number of observations (passed via the minVis parameter).
@fabiencastan fabiencastan added this to the 2020.1.0 milestone Sep 20, 2020
// Filter points based on their number of observations
if(visCams.size() < params.minVis)
{
ALICEVISION_LOG_DEBUG("minVis value:" << params.minVis);
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Remove this log, add a counter, and log at the end the number of points filtered based on the number of observations.

add counter for points filtered out (not enough observation)
add info log for total count
add info log for parameter minVis in log header
@fabiencastan fabiencastan modified the milestones: 2020.1.0, 2020.2.0 Oct 8, 2020
@fabiencastan fabiencastan merged commit c00a526 into alicevision:develop Dec 1, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants