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(dem[, transform, crs, resample])Apply the estimated transform to a DEM.
apply_pts(coords)Apply the estimated transform to a set of 3D points.
copy()Return an identical copy of the class.
error(reference_dem, dem_to_be_aligned[, ...])Calculate the error of a coregistration approach.
fit(reference_dem, dem_to_be_aligned[, ...])Estimate the coregistration transform on the given DEMs.
fit_pts(reference_dem, dem_to_be_aligned[, ...])Estimate the coregistration transform between a DEM and a reference point elevation data.
residuals(reference_dem, dem_to_be_aligned)Calculate the residual offsets (the difference) between two DEMs after applying the transformation.