Progress of this program can be monitored. See MONITOR section.
Name Prompt Count Type FILE Database File Name 1-64 Char DBIC Database Input Channel List 1 Int DBOC Database Output Channel List 1 Int STHRESH Polygon Size Threshold 1 Int KEEPVALU Values not to be filtered 0-16 Int CONNECT Connectedness of Lines (4 or 8) 1 Int
EASI>FILE="filespec"
EASI> DBIC=i
EASI> DBOC=i
Valid Values: x >= 0 Default: <none>Specifies the size in pixels of the smallest polygon not to be merged into a neighbour. Large values of Polygon Size Threshold will require more memory.
EASI>STHRESH=n
Valid Values: <see below> Default: <none>Specifies a list of up to 16 image values that should not be affected by the sieve operation. Polygons with these values will not be replaced, nor will other polygons be replaced with these values unless the polygon is surrounded by pixels in this list.
EASI>KEEPVALU=i
Valid Values: 4, 8 Default: 4Specifies whether polygons are determined on the basis of eight connectedness, or four connectedness.
EASI>CONNECT=8 | polygons are 8-connected EASI>CONNECT=4 | polygons are 4-connected EASI>CONNECT= | defaults to 4-connectedPolygons are determined on the basis of adjacent pixels of the same value. In a four connected polygon pixels are considered adjacent if they are in contact horizontally or vertically. Eight connectedness also includes pixels in contact on the diagonal.
EASI>MONITOR="ON" | turn monitor ON (default)
EASI>MONITOR="OFF" | turn monitor OFF (recommended if
| running in batch/background mode)
A polygon is defined as a four or eight connected collection of pixels with the same digital value. Eight connected implies that two pixels with the same grey level value are part of the polygon if they are side by side, one above the other, or diagonally in contact. Four connected, on the other hand only includes side by side, or one above the other.
The SIEVE program may have to make multiple passes to remove all polygons smaller than the threshold size, though this is rarely necessary. Also note that the SIEVE program operates on integer values, and 32R input channels will lose precision.
The SIEVE program builds up a list of all the polygons in the input channel in memory. Therefore input channels with many small polygons will require much more memory than those with relatively few polygons. An error will occur if SIEVE exhausts available memory for storing polygon information. It may be helpful to run SIEVE outside of EASI to make additional memory available, or to run FMO to reduce the number of polygons before running SIEVE.
EASI> FILE = "irvine.pix" EASI> DBIC = 7 EASI> DBOC = 8 EASI> STHRESH = 6 EASI> RUN SIEVE