Skip to contents

All functions

hsi_apply_mnf()
Apply Minimum Noise Fraction transformation to a SpatRaster
hsi_bind_layers()
Bind hyperspectral SpatRasters along the spectral axis
hsi_bind_rows()
Bind hyperspectral SpatRasters along the y-axis
hsi_calc_difference()
Calculate band difference
hsi_calc_mnf()
Compute Minimum Noise Fraction transform
hsi_calc_ndi()
Calculate normalized difference index (NDI)
hsi_calc_raba()
Calculate Relative Absorption Band Area (RABA)
hsi_calc_rabd()
Calculate Relative Absorption Band Depth (RABD)
hsi_calc_ratio()
Calculate band ratio
hsi_calc_rcv()
Calculate coefficient of variation of reflectance (Rcv)
hsi_calc_reflectance()
Calculate hyperspectral reflectance
hsi_calc_remp()
Calculate lambdaREMP
hsi_calc_rmean()
Calculate mean reflectance (Rmean)
hsi_calc_rmedian()
Calculate median reflectance (Rmedian)
hsi_calc_rsd()
Calculate standard deviation of reflectance (Rsd)
hsi_calc_stretch()
Stretch selected bands to an RGB preview
hsi_calibration_direct()
Create spatial calibration from known resolution
hsi_calibration_from_dims()
Create spatial calibration from image dimensions and physical distance
hsi_calibration_from_scale()
Create spatial calibration from a digitized scale reference
hsi_check_gcp()
Assess affine transformation quality from matched GCPs
hsi_coregister()
Co-register source raster to target raster grid
hsi_create_metadata()
Create structured hyperspectral metadata
hsi_destripe()
Destripe hyperspectral raster
hsi_drop_crs()
Drop CRS from a SpatRaster or SpatVector
hsi_extract_profile()
Extract value profile along an axis
hsi_extract_spectrum()
Extract averaged spectrum from hyperspectral raster
hsi_find_extent()
Find a fixed-width extent from reference points
hsi_match_gcp()
Match ground control points between two SpatVectors
hsi_pixels_to_units()
Convert pixel coordinates to physical units
hsi_plot_composite()
Composite hyperspectral indices plots Can composite line profiles and SpatRasters
hsi_plot_profile()
Plot a depth profile
hsi_plot_raster()
Plot a single-layer SpatRaster
hsi_plot_raster_rgb()
Plot a three-layer pseudoRGB SpatRaster
hsi_plot_spectrum()
Plot a reflectance spectrum
hsi_read_metadata()
Read hsi_metadata from file
hsi_remove_continuum()
Remove continuum from hyperspectral data
hsi_set_extent()
Set raster extent to physical units
hsi_smooth_median()
Focal raster smooth with a median
hsi_smooth_savgol()
Spectral raster smooth with a Savitzky-Golay filter
hsi_subset()
Subset SpatRaster by wavelength
hsi_subset_range()
Subset SpatRaster by wavelength range
hsi_tiled()
Process a SpatRaster in parallel tiles
hsi_write_metadata()
Write hsi_metadata to file
hsi_write_scaled()
Write HSI reflectance raster as a scaled integer or float GeoTIFF
spectral_indices
Preset spectral indices definitions
wavelength_position()
Find position of selected wavelengths