Class Hough

java.lang.Object
  extended byHough

public class Hough
extends java.lang.Object

Hough class

This class find the center of the circle(s).


Constructor Summary
Hough(ij.process.ImageProcessor ip, int N, boolean blackBackGround, int dimFilter, int percent, double precision, double threshold)
          Constructs a Hough object
 
Method Summary
 RectDouble getCenter()
          Finds the center of de circle(s)
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Hough

public Hough(ij.process.ImageProcessor ip,
             int N,
             boolean blackBackGround,
             int dimFilter,
             int percent,
             double precision,
             double threshold)
Constructs a Hough object

Parameters:
ip - the image to process
N - the dimension of the accumulator
blackBackGround - the image color background (black/white)
dimFilter - the filter dimension
percent - the image voting points percentage
precision - the required precision for the result
threshold - the proportion of the accumulator highest square required for a square to be selected
Method Detail

getCenter

public RectDouble getCenter()
Finds the center of de circle(s)

Returns:
a rectangle object which represents the coordinates of the last accumulator