j2d.edge
Class HoughCircles

java.lang.Object
  extended by j2d.edge.HoughCircles
All Implemented Interfaces:
ImageProcessorFactory, ImageProcessorInterface

public class HoughCircles
extends java.lang.Object
implements ImageProcessorInterface, ImageProcessorFactory


Field Summary
 int height
           
 int maxCircles
           
 int offset
           
 int offx
           
 int offy
           
 float radius
           
 int threshold
           
 int width
           
 
Constructor Summary
HoughCircles(java.awt.Image image)
           
 
Method Summary
 void drawHoughLine(int x, int y, short[][] s)
           
 ImageProcessorInterface getProcessor(int a)
          get a parameterized image processor.
 java.awt.Image hough(java.awt.Image img)
           
 java.awt.Image process(java.awt.Image img)
          a basic garbage in, garbage out processor.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

radius

public float radius

maxCircles

public int maxCircles

threshold

public int threshold

width

public int width

height

public int height

offset

public int offset

offx

public int offx

offy

public int offy
Constructor Detail

HoughCircles

public HoughCircles(java.awt.Image image)
Method Detail

getProcessor

public ImageProcessorInterface getProcessor(int a)
Description copied from interface: ImageProcessorFactory
get a parameterized image processor.

Specified by:
getProcessor in interface ImageProcessorFactory
Parameters:
a - some integer parameter used to create the image processor
Returns:
an ImageProcessor instance.

process

public java.awt.Image process(java.awt.Image img)
Description copied from interface: ImageProcessorInterface
a basic garbage in, garbage out processor.

Specified by:
process in interface ImageProcessorInterface
Parameters:
img - input image
Returns:
output image

drawHoughLine

public void drawHoughLine(int x,
                          int y,
                          short[][] s)

hough

public java.awt.Image hough(java.awt.Image img)