xdem.coreg.Coreg

xdem.coreg.Coreg#

class xdem.coreg.Coreg(meta=None)[source]#

Generic co-registration processing class.

Used to implement methods common to all processing steps (rigid alignment, bias corrections, filtering). Those are: instantiation, copying and addition (which casts to a Pipeline object).

Made to be subclassed.

__init__(meta=None)[source]#

Instantiate a generic processing step method.

Methods

__init__([meta])

Instantiate a generic processing step method.

apply(elev[, bias_vars, resample, ...])

Apply the estimated transform to a DEM.

copy()

Return an identical copy of the class.

error(reference_elev, to_be_aligned_elev[, ...])

Calculate the error of a coregistration approach.

fit(reference_elev, to_be_aligned_elev[, ...])

Estimate the coregistration transform on the given DEMs.

fit_and_apply(reference_elev, to_be_aligned_elev)

Estimate and apply the coregistration to a pair of elevation data.

residuals(reference_elev, to_be_aligned_elev)

Calculate the residual offsets (the difference) between two DEMs after applying the transformation.

Attributes

is_affine

Check if the transform be explained by a 3D affine transform.

meta

Metadata dictionary of the coregistration.