Two methods are available for obtaining the regions and replacement values, selected through Parameter MODE:
from the parameter system (see Parameters SECTION and NEWVAL). The task loops until there are no more elements to change, indicated by a null value in response to a prompt. For non-interactive processing, supply the value of Parameter NEWVAL on the command line.
The second approach uses a text file, that is especially beneficial where there are too many section and value pairs to enter manually. The file should contain two space-separated columns; the first column is the NDF section to replace, and the second supplies the value to insert into the section (see Parameter FILE).
"Error"is the alternative to
"Variance"and causes the square of the supplied replacement value to be stored in the output VARIANCE array.
"File". Each line should contain an NDF section of a region (see Parameter SECTION), then one or more spaces, followed by the replacement value. The value is either numeric or
"Bad", the latter requests that the bad value be inserted into the section. The file may contain comment lines with the first character
"Interface" — sections and values are obtained via Parameters SECTION and NEWVAL
"File" — sections and values are obtained from a text file specified by Parameter FILE.
"Bad"instructs that the bad value appropriate for the array data type be substituted. Placing NEWVAL on the command line permits only one section to be replaced. If there are multiple replacements, a null value (
!) terminates the loop. If the section being modified contains only a single pixel, then the original value of that pixel is used as the suggested default value.
"3,4,5"would select the pixel at (3,4,5);
"3:5,"would replace all elements in Columns 3 to 5;
",4"replaces Line 4. See Section 9 for details. A null value (
!) terminates the loop during multiple replacements.
!) propagates the title from the input NDF to the output NDF.
badbaseline.txtto obtain the editing commands to be applied to the NDF called harpcube to form the NDF harpmasked.