Class HoughTransform

java.lang.Object
one.empty3.io.ProcessFile
one.empty3.feature.HoughTransform

public class HoughTransform extends ProcessFile
  • Field Details

    • NUM_LINES

      public static final int NUM_LINES
      See Also:
    • width

      protected int width
    • height

      protected int height
    • houghArray

      protected int[][] houghArray
    • centerX

      protected float centerX
    • centerY

      protected float centerY
    • houghHeight

      protected int houghHeight
    • doubleHeight

      protected int doubleHeight
    • numPoints

      protected int numPoints
  • Constructor Details

    • HoughTransform

      public HoughTransform()
  • Method Details

    • process

      public boolean process(File in, File out)
      Overrides:
      process in class ProcessFile
    • initialise

      public void initialise()
    • addPoints

      public void addPoints(BufferedImage image)
    • addPoint

      public void addPoint(int x, int y)
    • getLines

      public Vector<HoughLine> getLines(int threshold)
    • getHighestValue

      public int getHighestValue()
    • getHoughArrayImage

      public BufferedImage getHoughArrayImage()