Class Hough

java.lang.Object
  |
  +--java.lang.Thread
        |
        +--Hough

public class Hough
extends java.lang.Thread

Hough is an algorithm to apply a hough transform to an image

See Also:
code.iface.hough

Fields inherited from class java.lang.Thread
MAX_PRIORITY, MIN_PRIORITY, NORM_PRIORITY
 
Constructor Summary
Hough()
           
 
Method Summary
 TwoImages apply_hough(int[] src_1d, int width, int height, float threshold, float scale, float offset)
          Applies the hough transform to the input image
 
Methods inherited from class java.lang.Thread
activeCount, checkAccess, countStackFrames, currentThread, destroy, dumpStack, enumerate, getContextClassLoader, getName, getPriority, getThreadGroup, interrupt, interrupted, isAlive, isDaemon, isInterrupted, join, join, join, resume, run, setContextClassLoader, setDaemon, setName, setPriority, sleep, sleep, start, stop, stop, suspend, toString, yield
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

Hough

public Hough()
Method Detail

apply_hough

public TwoImages apply_hough(int[] src_1d,
                             int width,
                             int height,
                             float threshold,
                             float scale,
                             float offset)
Applies the hough transform to the input image
Parameters:
src_1d - The source image as a pixel array
width - width of the destination image in pixels
height - height of the destination image in pixels
threshold - The threshold to be applied to the hough space
scale - A scale value to apply ot the hough space
offset - An offset value to apply to the hough space
Returns:
An object containing the hough space image, and the line image