Skip to content

Add optional gain reference to reconstruct (create_settings --gain_path)#23

Open
Dendooventom wants to merge 1 commit into
mgflast:masterfrom
Dendooventom:add-gain-correction
Open

Add optional gain reference to reconstruct (create_settings --gain_path)#23
Dendooventom wants to merge 1 commit into
mgflast:masterfrom
Dendooventom:add-gain-correction

Conversation

@Dendooventom

Copy link
Copy Markdown

Frames that aren't pre-gain-corrected need a gain reference. WarpTools applies this at create_settings via --gain_path (+ optional --gain_flip_x/y, --gain_transpose), not at fs_motion.

This threads an optional --gain argument (plus orientation switches --gain_flip_x/--gain_flip_y/--gain_transpose) from the reconstruct CLI through reconstruct() into the frame-series create_settings call.

Fully backward-compatible: default is None, so when --gain is unset the emitted command string is unchanged.

Frame series that are not pre-gain-corrected need a gain reference. WarpTools
applies this at create_settings via --gain_path (+ optional --gain_flip_x/y,
--gain_transpose). This threads an optional --gain argument (and orientation
switches) from the CLI through reconstruct() into the frame-series
create_settings call. Default None is fully backward-compatible: no gain
arguments are emitted when unset.
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.

1 participant