Class ContourTracerBase


  • public class ContourTracerBase
    extends java.lang.Object
    • Field Summary

      Fields 
      Modifier and Type Field Description
      protected boofcv.struct.image.GrayU8 binary  
      protected int dir  
      protected int indexBinary  
      protected int label  
      protected int[] nextDirection  
      protected int[] offsetsBinary  
      protected boofcv.struct.ConnectRule rule  
      protected int ruleN  
      protected int x  
      protected int y  
    • Constructor Summary

      Constructors 
      Constructor Description
      ContourTracerBase​(boofcv.struct.ConnectRule rule)
      Specifies connectivity rule
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      void setInputs​(boofcv.struct.image.GrayU8 binary)  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Field Detail

      • rule

        protected final boofcv.struct.ConnectRule rule
      • ruleN

        protected final int ruleN
      • binary

        protected boofcv.struct.image.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 Detail

      • ContourTracerBase

        public ContourTracerBase​(boofcv.struct.ConnectRule rule)
        Specifies connectivity rule
        Parameters:
        rule - Specifies 4 or 8 as connectivity rule
    • Method Detail

      • setInputs

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