Class ContourTracerBase

java.lang.Object
boofcv.alg.filter.binary.ContourTracerBase

public class ContourTracerBase
extends Object
  • Field Details

    • rule

      protected final ConnectRule rule
    • ruleN

      protected final int ruleN
    • binary

      protected GrayU8 binary
    • x

      protected int x
    • y

      protected int y
    • label

      protected int label
    • dir

      protected int dir
    • indexBinary

      protected int indexBinary
    • offsetsBinary

      protected int[] offsetsBinary
    • nextDirection

      protected int[] nextDirection
  • Constructor Details

    • ContourTracerBase

      public ContourTracerBase​(ConnectRule rule)
      Specifies connectivity rule
      Parameters:
      rule - Specifies 4 or 8 as connectivity rule
  • Method Details

    • setInputs

      public void setInputs​(GrayU8 binary)
      Parameters:
      binary - Binary image with a border of zeros added to the outside.