Package: SurfRough 0.0.1.0

SurfRough: Calculate Surface/Image Texture Indexes

Methods for the computation of surface/image texture indices using a geostatistical based approach (Trevisani et al. (2023) <doi:10.1016/j.geomorph.2023.108838>). It provides various functions for the computation of surface texture indices (e.g., omnidirectional roughness and roughness anisotropy), including the ones based on the robust MAD estimator. The kernels included in the software permit also to calculate the surface/image texture indices directly from the input surface (i.e., without de-trending) using increments of order 2. It also provides the new radial roughness index (RRI), representing the improvement of the popular topographic roughness index (TRI). The framework can be easily extended with ad-hoc surface/image texture indices.

Authors:Sebastiano Trevisani [aut, cre], Ilich Alexander [ctb]

SurfRough_0.0.1.0.tar.gz
SurfRough_0.0.1.0.zip(r-4.5)SurfRough_0.0.1.0.zip(r-4.4)SurfRough_0.0.1.0.zip(r-4.3)
SurfRough_0.0.1.0.tgz(r-4.4-any)SurfRough_0.0.1.0.tgz(r-4.3-any)
SurfRough_0.0.1.0.tar.gz(r-4.5-noble)SurfRough_0.0.1.0.tar.gz(r-4.4-noble)
SurfRough_0.0.1.0.tgz(r-4.4-emscripten)SurfRough_0.0.1.0.tgz(r-4.3-emscripten)
SurfRough.pdf |SurfRough.html
SurfRough/json (API)

# Install 'SurfRough' in R:
install.packages('SurfRough', repos = c('https://strevisani.r-universe.dev', 'https://cloud.r-project.org'))

Peer review:

Bug tracker:https://github.com/strevisani/surfrough/issues

Datasets:
  • k05ck2 - Basic kernels
  • k1c - Basic kernels
  • k1ck2 - Basic kernels
  • k2c - Basic kernels
  • k2ck2 - Basic kernels
  • k4c - Basic kernels
  • k6c - Basic kernels
  • k8c - Basic kernels

On CRAN:

3.48 score 1 stars 142 downloads 8 exports 2 dependencies

Last updated 1 months agofrom:f1079b3d41. Checks:OK: 7. Indexed: yes.

TargetResultDate
Doc / VignettesOKNov 14 2024
R-4.5-winOKNov 14 2024
R-4.5-linuxOKNov 14 2024
R-4.4-winOKNov 14 2024
R-4.4-macOKNov 14 2024
R-4.3-winOKNov 14 2024
R-4.3-macOKNov 14 2024

Exports:circularDispersionGVcircularDispersionNVKernelCircularKernelRectangularMadscanMeanscanRRITrik2

Dependencies:Rcppterra

Readme and manuals

Help Manual

Help pageTopics
Calculate the direction of maximum continuity considering 4 directionsanisoDir
Calculate the direction of maximum continuity considering 4 directionsanisoDirL
Calculate the index of anisotropy considering the spatial variability along 4 directionsanisoR
Calculate the index of anisotropy considering the spatial variability along 4 directionsanisoRL
Calculate the mean of absolute values raised to an exponent found in a search windowCalcMeans
Calculate the median of absolute values found in a search window for each raster in a listCalcMedians
Compute circular variance of aspect (i.e. of the gradient vector)circularDispersionGV
Compute circular variance of normal vectors to surfacecircularDispersionNV
Compute circular variance of normal vectors to surfacecircularEigenNV
basic kernelsk05ck2
basic kernelsk1c
basic kernelsk1ck2
basic kernelsk2c
basic kernelsk2ck2
basic kernelsk4c
basic kernelsk6c
basic kernelsk8c
Build a circular moving windowKernelCircular
Build a rectangular kernel of size X x YKernelRectangular
Calculate MAD basic indexesMadscan
Calculate less robust geostatistical indexes (mean of absolute differences raised to an exponent)Meanscan
RRI: Radial Roughness indexRRI
RRI: Radial Roughness indexRRI.numeric
RRI: Radial Roughness indexRRI.SpatRaster
Improved TRI (with differences of order 2), removing slope dependence.Trik2
Improved TRI (with differences of order 2), removing slope dependence.Trik2.numeric
Improved TRI (with differences of order 2), removing slope dependence.Trik2.SpatRaster