Filter editor

Edit a user-defined linear filter or view the contents of a linear system filter. Linear filters use a linear combination of all pixels in a rectangle around the input pixel.

The Filter editor is opened:

Options:

Matrix:

The window shows a matrix with the number of rows and columns as specified before when creating a linear filter. The rows and columns of the filter are numbered; cell 0,0 is the center of the filter. If the filter is rather large, scroll bars appear.

To edit values in the matrix:

  • select a cell at a time and type a value, or
  • select multiple cells, click the selection with the right mouse button and choose Edit from the context-sensitive menu.
  • select multiple cells, and choose Edit from the Edit menu.

Description:

Optionally, type a description for the filter. The description is visible on the status bar of the Main window when moving the mouse pointer over a filter in the Catalog.

Gain:

Type a value for the Gain factor yourself, see the example below.

Moving through the matrix by keyboard:

Example:

When considering a linear filter of size 3x3, the 9 matrix values are multiplied with 9 pixel values in the input raster map, this is summed and multiplied by the gain factor. The result is assigned to the center pixel in the output map.

Tips:

  1. To view the contents of a linear system filter:
  2. System filters cannot be edited.

  3. To copy the contents of a filter to clipboard:
  4. To copy the whole filter editor window to clipboard:

See also: