Binary filters

Binary filters regard the input map as a binary map. This means that zero values in the input map are regarded as 0 (false), and all other defined values as 1 (true). By ordering the 9 input pixels in a certain way, the filter produces a number of 9 binary digits. This figure solely depends on the positions of true and false pixels in the map. To decide whether to assign a 0 or 1 to the output pixel, the binary number is looked up in a table which is present in each binary filter itself.

Binary filters are widely used for morphologic filtering.

Standard binary filters are: BINMAJOR, CONN8TO4, DILATE4, DILATE8, SHRINK4, SHRINK8, INBND4, INBND8, OUTBND4, OUTBND8, PEPPSALT, LIFEGAME.

There are no possibilities to define your own binary filters.

See also: