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.
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.
info
([as_str])Summarize information about this coregistration.
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.
is_translation
Metadata dictionary of the coregistration.