This tool rounds the values in an input image. If the fractional component is halfway between two integers, one of which is even and the other odd, then the even number is returned. For example, 0.5 rounds to 0, and 1.5 and 2.5 both round to 2. This is sometimes called banker's rounding, and it is commonly used to compensate for bias in summation of rounded values.
NoData values in the input image will be assigned 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("Round", 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("Round", args, false)