powered by
Calculates the root mean square slope of a raster or matrix surface using the two-point method.
sdq(x)
A numeric value representing the two-point root mean square slope, Sdq. The units of the returned value are change in z per one unit (pixel).
A raster or matrix.
This function is based on the equations found at https://www.ntmdt-si.ru/data/media/files/manuals/image_analisys_p9_nov12.e.pdf.
# import raster image data(normforest) normforest <- terra::unwrap(normforest) # calculate root mean square slope Sdq <- sdq(normforest)
Run the code above in your browser using DataLab