Progress of this program can be monitored. See MONITOR section.
See Also: FAV, FED, FGA, FMO, FPR, FAD, FLE, FSOBEL, FPRE, FSHARP
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 FLSZ Filter Size: Pixels, Lines 1-2 Int MASK Area Mask (Window or Bitmap) 0-4 Int
EASI>FILE="filespec"
EASI>DBIC=i
EASI>DBOC=j
EASI>FLSZ=i,j
EASI> MASK = | process entire channel
EASI> MASK = xoff,yoff,xsize,ysize | process window
EASI> MASK = b | process only under bitmap
| stored in segment b
EASI>MONITOR="ON" | turn monitor ON (default)
EASI>MONITOR="OFF" | turn monitor OFF (recommended if
| running in batch/background mode)
The MASK parameter specifies the area within the input channel which will be processed. Only the area under the mask will be filtered and the rest of the image will be unchanged. If a single value is specified, then this value points to a bitmap segment, which defines the area to be filtered. When four values are specified, these values define the x,y offsets and x,y dimensions of the rectangular window within the image to be filtered. If MASK is defaulted, the entire database is processed.
All pixels are filtered. In order to filter pixels located near the edges of an image, edge pixel values are replicated to give sufficient data.
+--------+
| 5 3 11 |
|12 4 9 | <--- Filter window 3 X 3
| 8 6 14 |
+--------+
The median filter finds the median pixel value ( the "middle" value
in an ordered set of values, below and above which there is an equal
number of values). For example 8 is the median value for given set
of values: (3,4,5,6,(8),9,11,12,14).Example of using 5x5 median filter on 8x8 pixel database.
Image Before Filtering Image After Filtering
8 8 8 9 9 9 7 6 6 6 6 6
8 8 8 9 9 9 7 6 6 6 6 6
+----------------+ +----------------+
8 8 |8 9 9 9 7 6 6 6 | 6 6 |8 9 8 8 6 6 6 6 |
8 8 |8 9 9 7 6 6 6 6 | 6 6 |8 8 8 7 6 6 6 6 |
9 9 |9 8 8 6 6 6 6 6 | 6 6 |8 8 7 7 6 6 6 6 |
9 9 |9 8 7 7 6 5 6 6 | 6 6 |8 7 7 6 6 6 6 6 |
7 7 |7 7 7 6 6 6 6 6 | 6 6 |7 7 6 6 6 6 6 6 |
6 6 |6 6 6 6 6 6 6 6 | 6 6 |6 6 6 6 6 6 6 6 |
6 6 |6 6 6 6 6 6 6 5 | 5 5 |6 6 6 6 6 6 6 6 |
6 6 |6 6 6 6 6 6 6 6 | 6 6 |6 6 6 6 6 6 6 6 |
+----------------+ +----------------+
6 6 6 6 6 6 6 6 6 6 6 6
6 6 6 6 6 6 6 6 6 6 6 6
In the "Image Before Filtering" on the left, columns and scanlines
outside the box represent the last image column or scanline being
reused, for cases where the filter does not have a full window.
EASI>FILE = "IRVINE.PIX" EASI>DBIC = 4 | Near IR EASI>DBOC = 8 | Working area EASI>FLSZ = 5,5 | Filter 5x5 EASI>MASK = 11 | Bitmap 11 EASI>RUN FMEA 5 by 5 median filter is used under 16-bit sign database channels 10 (which contains elevation data), using IRVINE.PIX file. The output channel equals the input channel.
EASI>FILE = "IRVINE.PIX" EASI>DBIC = 10 | Elevation data EASI>DBOC = 10 EASI>FLSZ = 5,5 | Filter 5x5 EASI>MASK = | Entire database EASI>RUN FME