Filter

Command line (1)

The Filter operation can be directly executed by typing one of the following expressions on the command line of the Main window:

  

OUTMAP

=

MapFilter(InputMapName, FilterName)

OUTMAP

=

MapFilter(InputMapName, FilterExpression)

where:

OUTMAP

is the name of your output map.

MapFilter

is the command to start the Filter operation.

InputMapName

is the name of your input map.

FilterName

avg3x3 | binmajor | conn8to4 | d2fdx2 | d2fdxdy | d2fdy2 | dfddn | dfdup | dfdx | dfdy | dilate4 | dilate8 | edgesenh | inbnd4 | inbnd8 | laplace | lifegame | majority | majundef | majzero | med3x3 | med5x5 | outbnd4 | outbnd8 | peppsalt | shadow | shrink4 | shrink8 | name of user-defined linear filter

FilterExpression

FilterLinear(rows,cols,expression) |

Average(rows,cols) |
RankOrder(
rows,cols,rank[,threshold]) |
Median(rows,cols[,threshold] ) |
Majority(rows,cols) |
ZeroMajority(rows,cols) |
UndefMajority(rows,cols) |
Pattern(threshold) |
FilterStandardDev(rows,cols)

Tips:

When the definition symbol = is used, a dependent output map is created; when the assignment symbol := is used, the dependency link is immediately broken after the output map has been calculated.

See also: