Skip to content

Allow ignoring duplicates in sfmMerge#2105

Merged
servantftransperfect merged 1 commit intodevelopfrom
dev/sfmMerge
Apr 2, 2026
Merged

Allow ignoring duplicates in sfmMerge#2105
servantftransperfect merged 1 commit intodevelopfrom
dev/sfmMerge

Conversation

@servantftransperfect
Copy link
Copy Markdown
Contributor

This pull request introduces an option to ignore duplicate views or intrinsics during the SfM data merge process, both in the command-line interface and the Python node definition. This allows users to choose whether to throw an error or silently skip duplicates when using the simple_copy merge method.

Feature: Duplicate Handling in SfM Merge

  • Added a new ignoreDuplicates boolean parameter to the SfMMerge node in SfMMerge.py, allowing users to specify whether to ignore or error on duplicate views/intrinsics when using the simple_copy method.
  • Updated the simpleMerge function in main_sfmMerge.cpp to accept an ignoreDuplicates parameter, skipping errors for duplicates if set to true. [1] [2] [3]
  • Added a corresponding --ignoreDuplicates command-line option to the sfmMerge utility, with logic to pass this parameter through to the merge function. [1] [2] [3]

@servantftransperfect servantftransperfect merged commit 8d04685 into develop Apr 2, 2026
3 of 5 checks passed
@servantftransperfect servantftransperfect deleted the dev/sfmMerge branch April 2, 2026 08:50
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants