Skip to main content

Module fusion_variants

Module fusion_variants 

Source
Expand description

densify --fusion-variants <file>: build the depth maps once and fuse several times, changing only the fusion settings.

File format: one name|fusion flags per line (same format as densify, whitespace separated). Empty lines and lines starting with # are skipped. The flags are interpreted by the densify subcommand’s argument parser and overlaid on the base settings, so new fusion flags can be used as they are. Flags that change the depth maps (filter, PatchMatch, image size, etc.) are rejected.

Structs§

FusionVariant
One fusion variant.

Functions§

read_variants
Read the variants file and build the settings list in which each line’s flags are overlaid on the base settings (base, with the densify command arguments base_args applied). If a line has no --fusion-mode, it follows the command’s fusion mode (including score fusion).
run_variants
Fuse per variant and write out_dir/<name>.ply. Print the fusion time per variant, and with stats also the point-cloud statistics. Collect name, point count, fusion time and flags in out_dir/fusion_variants.tsv.