This tool converts the values in an input image into cumulative probabilities. Cumulative probabilities refer to the probability that a variable, in this case the input image, is less than or equal to a specified value. The output image, being a probability, has values ranging from zero to one. NoData values in the input image are not considered during the transformation and remain NoData values in the output image.
The following is an example of a Python script that uses this tool:
wd = pluginHost.getWorkingDirectory()
inputFile = wd + "input.dep"
outputFile = wd + "output.dep"
args = [inputFile, outputFile]
pluginHost.runPlugin("CumulativeDistributionFunction", 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"
String[] args = [inputFile, outputFile]
pluginHost.runPlugin("CumulativeDistributionFunction", args, false)