where volume is the input volume, local average refers to the (pseudo) lowpass filtering operation of local averaging, and local max/min refer to the operation of local maximum/minimum.
The ``local average'' step is optional. If left out, the morphological gradient reduces to
x filter dim = 3The ``function = unsmoothed'' option does not use the local average before doing the maximum or minimum operations; the option ``function = smoothed'' does.
y filter dim = 3
z filter dim = 3
function = unsmoothed
threshold = 0
input from vol # = 0
copy output to vol # = 0
The parameter ``threshold = '' can be used to zero out points will small morphological gradient.
Philip Americus