Class BorderIndex1D_Reflect


  • public class BorderIndex1D_Reflect
    extends boofcv.struct.border.BorderIndex1D

    Access to outside the array are reflected back into the array around the closest border. This is an even symmetric function, e.g. f(-1) = f(1) = 1, f(-2) = f(2) = 2.

    • Field Summary

      • Fields inherited from class boofcv.struct.border.BorderIndex1D

        length
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      BorderIndex1D_Reflect copy()  
      int getIndex​(int index)  
      • Methods inherited from class boofcv.struct.border.BorderIndex1D

        getLength, setLength
      • Methods inherited from class java.lang.Object

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

      • BorderIndex1D_Reflect

        public BorderIndex1D_Reflect()
    • Method Detail

      • getIndex

        public int getIndex​(int index)
        Specified by:
        getIndex in class boofcv.struct.border.BorderIndex1D
      • copy

        public BorderIndex1D_Reflect copy()
        Specified by:
        copy in class boofcv.struct.border.BorderIndex1D