Map and Table Calculation

Predefined variable %P

Returns the position of a neighbour in the neighbourhood expression.

Syntax

%P

Notes:

Usable in

MapCalc

Examples

Ridges = NBCNT8(10-Aspect#=NBPOS)

Calculate for each pixel the number of neighbour pixels for which the aspect is in the direction of the central pixel. A result of zero indicates a ridge or a flat area.

See also: