Median Filter - Boundary Issues

Boundary Issues

Note that, in the example above, because there is no entry preceding the first value, the first value is repeated, as with the last value, to obtain enough entries to fill the window. This is one way of handling missing window entries at the boundaries of the signal, but there are other schemes that have different properties that might be preferred in particular circumstances:

  • Avoid processing the boundaries, with or without cropping the signal or image boundary afterwards,
  • Fetching entries from other places in the signal. With images for example, entries from the far horizontal or vertical boundary might be selected,
  • Shrinking the window near the boundaries, so that every window is full.

Read more about this topic:  Median Filter

Famous quotes containing the words boundary and/or issues:

    The boundary line between self and external world bears no relation to reality; the distinction between ego and world is made by spitting out part of the inside, and swallowing in part of the outside.
    Norman O. Brown (b. 1913)

    Cynicism formulates issues clearly, but only to dismiss them.
    Mason Cooley (b. 1927)