pyorc.Frames.project#
- Frames.project(resolution=None)[source]#
Project frames into a projected frames object, with information from the camera_config attr. This requires that the CameraConfig contains full gcp information. If a CRS is provided, also “lat” and “lon” variables will be added to the output, containing geographical latitude and longitude coordinates.
- Parameters:
resolution (float, optional) –
- resolution to project to. If not provided, this will be taken from the camera config in the metadata
(Default value = None)
- Returns:
frames – projected frames and x and y in local coordinate system (origin: top-left), lat and lon if a crs was provided.
- Return type:
xr.DataArray