r3.gradient1grass
Computes gradient of a 3d raster map and outputs gradient components as three 3d raster maps.
Usage
r3.gradient
r3.gradient --help
r3.gradient input=name
output=grad_x,grad_y,grad_z
[,grad_x,grad_y,grad_z, ...]
[blocksize=size_x,size_y,size_z
[,size_x,size_y,size_z, ...]]
[--overwrite]
[--help]
[--verbose]
[--quiet]
[--ui]
Keywords
raster3d, gradient, voxel
Overview
Module r3.gradient computes gradient from a 3D raster map. Results are three 3D raster maps describing the x, y, z components of the computed gradient field.
Examples
# create a 3D rasterg.region s=0 n=100 w=0 e=100 b=0 t=100 -pr3.mapcalc "test_gradient = sqrt(row()*row() +col()*col()+ depth()*depth())"# compute gradientr3.gradient input=test_gradient output=grad_x,grad_y,grad_z
Source code
Available at: r3.gradient source code (history)
Accessed: Monday Feb 24 17:51:06 2025
Main index | 3D raster index | Topics index | Keywords index | Graphical index | Full index
© 2003-2025 GRASS Development Team, GRASS GIS 8.4.1 Reference Manual
Releases
5 releases since Debian 9 (Stretch); the text changed 4 times.