block_orientation

block_orientation#

Combine GCPs, Measures files, and Ori directories from multiple sub-blocks into a single file and orientation.

usage: block_orientation [-h] [-meas_out MEAS_OUT] [-gcp_out GCP_OUT]
                         [-fn_mes FN_MES] [-fn_gcp FN_GCP] [-d DIRNAME]
                         [-r REL_ORI] [-o OUTORI] [-homol HOMOL]
                         [-ref_dx REF_DX] [-ortho_res ORTHO_RES] [-no_allfree]
                         [-max_iter MAX_ITER] [-share_gcps]
                         blocks [blocks ...]

Positional Arguments#

blocks

a list of the sub-block numbers to combine

Named Arguments#

-meas_out

the output filename for the Measures file (no extension). (default: AutoMeasures)

Default: 'AutoMeasures'

-gcp_out

the output filename for the GCP file (no extension). (default: AutoGCPs)

Default: 'AutoGCPs'

-fn_mes

the name pattern of the measures files to combine (default: AutoMeasures_block)

Default: 'AutoMeasures_block'

-fn_gcp

the name pattern of the GCP files to combine (default: AutoGCPs_block)

Default: 'AutoGCPs_block'

-d, --dirname

the output directory where the files are saved (default: auto_gcps)

Default: 'auto_gcps'

-r, --rel_ori

the relative orientation to input to GCPBascule (default: Relative -> Ori-Relative)

Default: 'Relative'

-o, --outori

the output orientation from Campari (default: TerrainFinal -> Ori-TerrainFinal)

Default: 'TerrainFinal'

-homol

the Homologue directory to use (default: Homol)

Default: 'Homol'

-ref_dx

the pixel resolution of the reference image, in meters. (default: 15)

Default: 15

-ortho_res

the pixel resolution of the orthoimage being used, in meters. (default: 8)

Default: 8

-no_allfree

run Campari with AllFree set to False

Default: True

-max_iter

the maximum number of iterations to run. (default: 1)

Default: 1

-share_gcps

GCPs are shared between blocks (default: False)

Default: False