Miscellaneous Functions for Working with 'stars' Rasters
Calculate topographic aspect from a DEM
Calculate the Convergence Index (CI) from a slope raster
Detrend a Digital Elevation Model
Calculate raster of distances to nearest feature
Extract raster values by lines or polygons
Calculate flow length
Apply a focal filter on a raster
Apply a focal filter on a raster (R)
Footprints
Get stars
layer values as matrix
Get stars
layer values as vector
Make 'stars' grid from 'sf' layer
Extend matrix
Get neighboring cell values for given matrix cell
Convert matrix
to stars
Trim matrix
Mode
Normalize a 2D 'stars' object
Normalize a 3D 'stars' object
Convert RGB to greyscale
Calculate topographic slope from a DEM
starsExtra: Miscellaneous Functions for Working with 'stars' Rasters
Remove empty outer rows and columns
Create matrix with azimuths to center
Create matrix with circular weight pattern
Miscellaneous functions for working with 'stars' objects, mainly single-band rasters. Currently includes functions for: (1) focal filtering, (2) detrending of Digital Elevation Models, (3) calculating flow length, (4) calculating the Convergence Index, (5) calculating topographic aspect and topographic slope.
Useful links