Skip to content

[python] Add DynamicImagePairsSize parallelization - #2217

Merged
servantftransperfect merged 1 commit into
developfrom
dev/dynamicImagePairsSize
Oct 20, 2026
Merged

servantftransperfect merged 1 commit into
developfrom
dev/dynamicImagePairsSize

Conversation

@servantftransperfect

Copy link
Copy Markdown
Contributor

Description

Adds DynamicImagePairsSize to parallelization.py: a dynamic parallelization size equal to the number of unique image pairs in an image pairs list file (minimum 1).

It loads the file through the existing matchingImageCollection.loadPairsFromFile binding (symmetric pairs, so (i, j) and (j, i) count once) and raises RuntimeError if the file cannot be loaded, like the SfMData-based classes.

Testing

Only checked that the module compiles; not run against a built pyalicevision.

🤖 Generated with Claude Code

Compute the number of chunks from the number of unique image pairs
in an image pairs list file, using the matchingImageCollection binding.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@servantftransperfect
servantftransperfect merged commit f5ddf6c into develop Oct 20, 2026
5 checks passed
@servantftransperfect
servantftransperfect deleted the dev/dynamicImagePairsSize branch October 20, 2026 08:14
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