Class ProjectionProfile

java.lang.Object
technology.tabula.ProjectionProfile

public class ProjectionProfile extends Object
  • Field Details

  • Constructor Details

    • ProjectionProfile

      public ProjectionProfile(Page area, List<? extends Rectangle> elements, float horizontalKernelSize, float verticalKernelSize)
  • Method Details

    • getVerticalProjection

      public float[] getVerticalProjection()
    • getHorizontalProjection

      public float[] getHorizontalProjection()
    • findVerticalSeparators

      public float[] findVerticalSeparators(float minColumnWidth)
    • findHorizontalSeparators

      public float[] findHorizontalSeparators(float minRowHeight)
    • smooth

      public static float[] smooth(float[] data, int kernelSize)
    • filter

      public static float[] filter(float[] data, float alpha)
      Simple Low pass filter
    • getAutocorrelation

      public static float[] getAutocorrelation(float[] projection)
    • getFirstDeriv

      public static float[] getFirstDeriv(float[] projection)