xdem.coreg.Coreg.fit_and_apply

xdem.coreg.Coreg.fit_and_apply#

Coreg.fit_and_apply(reference_elev, to_be_aligned_elev, inlier_mask=None, bias_vars=None, weights=None, subsample=None, transform=None, crs=None, area_or_point=None, z_name='z', resample=True, resampling='bilinear', random_state=None, fit_kwargs=None, apply_kwargs=None)[source]#
Overloads:
  • self, reference_elev (NDArrayf | MArrayf | RasterType | gpd.GeoDataFrame | PointCloudType), to_be_aligned_elev (MArrayf), inlier_mask (NDArrayb | Raster | None), bias_vars (dict[str, NDArrayf | MArrayf | RasterType] | None), weights (NDArrayf | None), subsample (float | int | None), transform (rio.transform.Affine | None), crs (rio.crs.CRS | None), area_or_point (Literal[‘Area’, ‘Point’] | None), z_name (str), resample (bool), resampling (str | rio.warp.Resampling), random_state (int | np.random.Generator | None), fit_kwargs (dict[str, Any] | None), apply_kwargs (dict[str, Any] | None) → tuple[MArrayf, rio.transform.Affine]

  • self, reference_elev (NDArrayf | MArrayf | RasterType | gpd.GeoDataFrame | PointCloudType), to_be_aligned_elev (NDArrayf), inlier_mask (NDArrayb | Raster | None), bias_vars (dict[str, NDArrayf | MArrayf | RasterType] | None), weights (NDArrayf | None), subsample (float | int | None), transform (rio.transform.Affine | None), crs (rio.crs.CRS | None), area_or_point (Literal[‘Area’, ‘Point’] | None), z_name (str), resample (bool), resampling (str | rio.warp.Resampling), random_state (int | np.random.Generator | None), fit_kwargs (dict[str, Any] | None), apply_kwargs (dict[str, Any] | None) → tuple[NDArrayf, rio.transform.Affine]

  • self, reference_elev (NDArrayf | MArrayf | RasterType | gpd.GeoDataFrame | PointCloudType), to_be_aligned_elev (RasterType | gpd.GeoDataFrame | PointCloudType), inlier_mask (NDArrayb | Raster | None), bias_vars (dict[str, NDArrayf | MArrayf | RasterType] | None), weights (NDArrayf | None), subsample (float | int | None), transform (rio.transform.Affine | None), crs (rio.crs.CRS | None), area_or_point (Literal[‘Area’, ‘Point’] | None), z_name (str), resample (bool), resampling (str | rio.warp.Resampling), random_state (int | np.random.Generator | None), fit_kwargs (dict[str, Any] | None), apply_kwargs (dict[str, Any] | None) → RasterType | gpd.GeoDataFrame

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

Parameters: