PreviousNext

BinaryMorph Filter

This step is an image-in, image-out operation that applies a binary morphology operator on an input region and produces an output buffer. All pixels in the output buffer have the value 0 or 255. Binary morphology operations consist of erosions and dilations. A polarity switch allows operations on either light or dark objects.

When Polarity is set to:

  • Light, erosion means erosion of white, and light objects become smaller when the operator is applied. When the dilation operator is applied, white objects will become larger.
  • Dark, erosion means erosion of dark. In this case, dark objects become smaller when erode operator is applied, and larger when the dilation operator is applied.

For the purpose of this document, a pixel is considered:

  • On
    when Polarity = LIGHT and its value is 255, or
    when Polarity = DARK and its value is 0
  • Off
    when Polarity = LIGHT and its value is 0, or
    when Polarity = DARK and its value is 255

PreviousNext