Fuzzy membership

This tool can be used to create fuzzy membership probability (MP) images. The user must specify the name of the input and output raster images and the model type (sigmoidal or linear). The output image contains membership probabilities, and therefore the grid cells in the output raster vary from zero to one. The user can optionally specify a lower bound for membership (i.e. value at which MP rises above 0 and value at which MP rises to 1), an upper bound for membership (i.e. value at which MP falls below 1 and value at which MP falls to 0), or both. If only a lower membership boundary is desired, leave the upper bound membership boxes blank. Similarly, if an upper membership boundary is desired, leave the lower bound membership boxes blank. For a good discussion of fuzzy membership functions please see Burrough and McDonnell (1998), pages 268-272.

See Also:

Scripting:

The following is an example of a Python script that uses this tool:

wd = pluginHost.getWorkingDirectory()
inputFile = wd + "input.dep"
outputFile = wd + "output.dep"
modelType = "sigmoidal"
mpRisesAbove0At = "55.0"
mpRisesTo1At = "90.0"
mpFallsBelow1At = "not specified"
mpFallsTo0At = "not specified"
args = [inputFile, outputFile, modelType, mpRisesAbove0At, mpRisesTo1At, mpFallsBelow1At, mpFallsTo0At]
pluginHost.runPlugin("FuzzyMembership", args, False)

This is a Groovy script also using this tool:

def wd = pluginHost.getWorkingDirectory()
def inputFile = wd + "input.dep"
def outputFile = wd + "output.dep"
def modelType = "linear"
def mpRisesAbove0At = "55.0"
def mpRisesTo1At = "90.0"
def mpFallsBelow1At = "95.0"
def mpFallsTo0At = "120.0"
String[] args = [inputFile, outputFile, modelType, mpRisesAbove0At, mpRisesTo1At, mpFallsBelow1At, mpFallsTo0At]
pluginHost.runPlugin("FuzzyMembership", args, false)

Credits:

References: