Module Gradient Vectors from Directional Components
Create lines indicating the gradient.
- Author: O.Conrad (c) 2006
- Specification: grid
- Menu: Shapes|Grid|Vectorization
Parameters
| Name | Type | Identifier | Description | Constraints |
Input | X Component | Grid (input) | X | - | - |
Y Component | Grid (input) | Y | - | - |
Output | Gradient Vectors | Shapes (output) | VECTORS | - | - |
Options | Step | Integer | STEP | - | Minimum: 1 Default: 1 |
Size Range | Value range | SIZE | size range as percentage of step | - |
Aggregation | Choice | AGGR | how to request values if step size is more than one cell | Available Choices: [0] nearest neighbour [1] mean value Default: 1 |
Style | Choice | STYLE | - | Available Choices: [0] simple line [1] arrow [2] arrow (centered to cell) Default: 2 |
Command-line
Usage: saga_cmd shapes_grid 17 -X <str> -Y <str> [-VECTORS <str>] [-STEP <num>] [-SIZE_MIN <str>] [-SIZE_MAX <str>] [-AGGR <str>] [-STYLE <str>]
-X:<str> X Component
Grid (input)
-Y:<str> Y Component
Grid (input)
-VECTORS:<str> Gradient Vectors
Shapes (output)
-STEP:<num> Step
Integer
Minimum: 1
Default: 1
-SIZE_MIN:<str> Size Range
Value range
-SIZE_MAX:<str> Size Range
Value range
-AGGR:<str> Aggregation
Choice
Available Choices:
[0] nearest neighbour
[1] mean value
Default: 1
-STYLE:<str> Style
Choice
Available Choices:
[0] simple line
[1] arrow
[2] arrow (centered to cell)
Default: 2