Progress of this program can be monitored. See MONITOR section.
See Also: GRDPNT, GRDPOL, GRDVEC, GRDINT
Name Prompt Count Type FILI Database GDB File Name 1-64 Char FILO Database Output File Name 1-64 Char DBVS Database Vector Segment 0-1 Int DBOC Database Output Channel 1 Int DBOW Database Output Window 0-4 Int FLDNME Attribute Field Name 0-64 Char EXPONEN Power of Exponentiation 0-1 Int MINPNT Minimum Number of Points 0-1 Int STARTRD Starting Searching Radius 1-1 Real MAXRD Maximum Search Radius 1-1 Real EMPTYVL Default Empty Value 0-1 Real IDALGOR Algorithm: SIMPLE/WEIGHT 6-6 Char
EASI>FILI="filespec"
EASI>FILO="filespec"If FILI and FILO are raster files, then FILI can be equal FILO.
EASI>DBVS=iThe vector segment can specify an arbitrary number of structures. If DBVS is not specified, then TFILE must be specified. If both TFILE and DBVS are specified, an error message is issued and the program stops execution.
EASI>DBOC=i
EASI>DBOW=Xoffset,Yoffset,Xsize,Ysize EASI>DBOW= | use entire imageThe offset + size must not exceed the image size.
Valid Values: 1, 2, 3, 4 Default: 2Specifies a power of exponentiation. This value applies only for the Simple Inverse Distance interpolation algorithm.
Valid Values: 1 <= x <= 8 Default: 3Specifies a number of minimum points in the given radius.
Valid Values: x >= 0.0 Default: 300.0Specifies a start searching radius. The magnitude must be in vecunit coordinates.
Valid Values: x >= 0.0 Default: 1500.0Specifies a maximum searching radius. The magnitude must be in vecunit coordinates.
MAXRD > STARTRD
Valid Values: x <= 0.0 , x >= 0.0 Default: 0.0Specifies a default empty value for areas without enough data.
Valid Values: SIMPLE, WEIGHT Default: SIMPLESpecifies the type of Inverse Distance algorithm.
SIMPLE | Simple Inverse Distance Algorithm WEIGHT | Weighted Inverse Distance Algorithm
Valid Values: ATTRIBUTE, ZCOORD, ELEVATION Default: ATTRIBUTESpecifies the field containing the elevation value. If the "FLDNME" parameter is not specified, it defaults to ATTRIBUTE. If the "FLDNME" parameter is ZCOORD, then the actual Z-coordinates of the vectors are used. The names are not case sensitive, and the entire name need not be specified. If more than one match exists, the first name is used.
FLDNME = | Use attribute field named Attribute FLDNME = ZCOORD | Use z-coordinate of vectors FLDNME = ELEVATION | Use field named ElevationThis parameter is used when the Database Vector Segment is specified.
EASI>MONITOR="ON" | turn monitor ON (default)
EASI>MONITOR="OFF" | turn monitor OFF (recommended if
running in batch/background mode)
The grey level values are read from either a GDB layer or a database vector segment stored on the database input file.
STARTRD specifies the size of the starting radius , which defines the starting search area for interpolation points around gridding point. MAXRD specifies the maximum size of the radius for searching. MINPNT specifies the minimum number of interpolation points to satisfy the searching requirement. If the requirement is not met and the minimum number of points are not found, then the area does not have enough data and the empty value (EMPTYVL) will be assigned to this area.
If the specified algorithm is Inverse Distance Simple, the power of exponentiation (EXPONEN) can be used. The default is 2. Higher powers of exponentiation will give better results, but IDINT will run slower.
There are two methods that use weighted moving averages of points within circular zone of influence in this function:
The general formula for simple inverse distance is:
For a point Xe = (xe,ye), estimated value Ze is given by:
Ze = SUM[i=1,n] Z(i) * W(R(i))
where: Z(i) is the sample value at point X(i)
Rs is a search radius about Xe
R(i) is the distance Xe - X(i) within Rs
n is the number of data samples in Rs
The weight function W(i) at X(i) is given by:
W(i) = TO_POWER_P (INVERSE_DISTANCE(R(i)))
___________________________________________
SUM[i=1,n] TO_POWER_P (INVERSE_DISTANCE(Ri))
where: INVERSE_DISTANCE(R(i)) = (1/R(i)),
TO_POWER_P denotes power of exponentiation.
The equation for a Simple Inverse Distance to power N interpolation
method is taken from:
Denis D. Weber and Evan J. Englund, 1994 Evaluation and Comparison of Spatial Interpolators II Mathematical Geology, Vol. 26, No. 5
The general formula for weighted inverse distance is:
For a point Xe = (xe,ye), estimated value Ze is given by:
Ze = SUM[i=1,n] Z(i) * W(R(i))
where Z(i) is the sample value at point X(i)
Rs is a search radius about Xe
R(i) is the distance Xe - X(i) within Rs
n is the number of data samples in Rs
The weight function W(i) at X(i) is given by:
W(i) = SQUARE (Norm(R(i))
____________________________
SUM[i=1,n] SQUARE (Norm(R(i))
where Norm(R(i)) = Rs - R(i)
The equation for a Weighted Inverse Distance interpolation method is
taken from:
Denis D. Weber and Evan J. Englund, 1994 Evaluation and Comparison of Spatial Interpolators II Mathematical Geology, Vol. 26, No. 5
Create a new vector segment with the sample points:
EASI>FILI="irvine.pix" | Database file to get image grey-scale EASI>FILO="irvine.pix" | Database file to receive vector segment EASI>NSAMPLE=400 | Pick 400 points over the image EASI>DBIC=10 | The channel where an DEM image is stored EASI>RUN RSAMVS | Run the program to create a vector segmentAdd one 32-bit channel to irvine.pix file to store the interpolation results. PCIMOD can add channels to PCIDSK files created by any program, including LINK, IMAGELN, or CIM.
EASI>FILE="irvine.pix" EASI>PCIOP="ADD" EASI>PCIVAL=0,0,0,1 EASI>RUN PCIMODRun the interpolation program to get an interpolated image, assuming RSAMVS has created a vector segment with segment number 38 and the original image has dimension 512 pixels X 512 lines offset at (0,0):
EASI>FILI="irvine.pix" | database file which holds vector seg. EASI>FILO="irvine.pix" | file to receive interpolation results EASI>DBVS=LASC | input data from DBVS not TFILE EASI>DBOC=12 | 32-bit channel to receive results EASI>DBOW= | entire image EASI>EXPONEN = | default is 2 for exponent EASI>MINPNT = | default is 3 EASI>STARTRD = 300 | value is in metres EASI>MAXRD = 1500 | value is in metres EASI>EMPTYVL = -1 EASI>IDALGOR = "SIMPLE" | Simple Inverse Distance Algorithm EASI>FLDNME= "ZCOORD" | use grey value from attribute EASI>RUN IDINTThe above example illustrates how to run the IDINT program using a vector segment as input.