Progress of this program can be monitored. See MONITOR section.
See Also: FAV, FED, FME, FGA, FMO, 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 FLTFIL Text File for Filter Weights 0-64 Char MR01 Matrix: Row 01 0-11 Real MR02 Matrix: Row 02 0-11 Real MR03 Matrix: Row 03 0-11 Real MR04 Matrix: Row 04 0-11 Real MR05 Matrix: Row 05 0-11 Real MR06 Matrix: Row 06 0-11 Real MR07 Matrix: Row 07 0-11 Real MR08 Matrix: Row 08 0-11 Real MR09 Matrix: Row 09 0-11 Real MR10 Matrix: Row 10 0-11 Real MR11 Matrix: Row 11 0-11 Real
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>FLTFIL = "filespec" | Text File EASI>FLTFIL = "10" | Segment TextNote: If MRnn filter matrix parameters are specified, then FLTFIL parameter is ignored.
EASI>MR01=i,j,...,p
The MASK parameter specifies the area within the input channel which will be processed. Only area under 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 define the area to be filtered. When four values are specified, these values define the x,y offsets and x,y dimensions of rectangular window within the image to be filtered. If defaulted, then entire database is processed.
EASI>MONITOR="ON" | turn monitor ON (default)
EASI>MONITOR="OFF" | turn monitor OFF (recommended if
| running in batch/background mode)
Filtered window 3x3 Weight values set by user.
+---------+ +---------+
|P1 P2 P3 | |M1 M2 M3 |
|P4 P5 P6 | |M4 M5 M6 |
|P7 P8 P9 | |M7 M8 M9 |
+---------+ +---------+
The resulting grey level value R for the smoothed pixel is:
R = (P1*M1 + P2*M2 + ... + P9*M9) / (M1 + M2 + ... + M9)
where:
P1 .. Pn are grey levels of each pixel in filter window
M1 .. Mn are weights (as defined by users) for each pixel
If the sum of filter weights is zero,( M1 + M2 + ... + M9 = 0), then
:
R = (P1*M1 + P2*M2 + ... + P9*M9)
Example of using filter 3x3 on database image 8x8, using Laplacian
mask Q:
+---------+
| 0 -1 0 |
|-1 5 -1 |
| 0 -1 0 |
+---------+
Image before filtering Image after filtering
8 8 9 9 9 7 6 6 6 6
+----------------+ +--------------------+
8 |8 9 9 9 7 6 6 6 | 6 | 7 10 9 13 7 5 6 6 |
8 |8 9 9 7 6 6 6 6 | 6 | 6 11 12 5 4 6 6 6 |
9 |9 8 8 6 6 6 6 6 | 6 |11 6 10 2 6 7 6 6 |
9 |9 8 7 7 6 5 6 6 | 6 |12 9 5 10 6 1 7 6 |
7 |7 7 7 6 6 6 6 6 | 6 | 6 7 9 4 6 7 6 6 |
6 |6 6 6 6 6 6 6 6 | 6 | 5 5 5 6 6 6 6 7 |
6 |6 6 6 6 6 6 6 5 | 5 | 6 6 6 6 6 6 7 1 |
6 |6 6 6 6 6 6 6 6 | 6 | 6 6 6 6 6 6 6 7 |
+----------------+ +--------------------+
6 6 6 6 6 6 6 6 6 6
Note: In the "Image before filtering" on the left, columns and
scanlines outside the box represent the last image column or
scanline being reused, for the case where the filter does not have a
full window.
EASI>FILE = "IRVINE.PIX" EASI>DBIC = 1 EASI>DBOC = 1 EASI>FLSZ = 3,3 | Filter 3x3 EASI>MASK = | Entire database EASI>MR01 = 0,-1, 0 | EASI>MR02 = -1, 5,-1 | Laplacian mask Q EASI>MR03 = 0,-1, 0 | EASI>RUN FPR