sigus.templateMatching
Class HoughCircles_
java.lang.Object
sigus.templateMatching.HoughCircles_
- All Implemented Interfaces:
- ij.plugin.filter.PlugInFilter
- public class HoughCircles_
- extends java.lang.Object
- implements ij.plugin.filter.PlugInFilter
HoughCircles_.java
This ImageJ plugin shows the Hough Transform Space for circles
of predefined radius. The source image must be an 8-Bit black & white.
- Author:
- Hemerson Pistori (pistori@ec.ucdb.br)
e Eduardo Rocha Costa (eduardo.rocha@poli.usp.br)
The Hough Transform implementation was based on an
applet by Mark A. Schulze (http://www.markschulze.net/)
Fields inherited from interface ij.plugin.filter.PlugInFilter |
DOES_16, DOES_32, DOES_8C, DOES_8G, DOES_ALL, DOES_RGB, DOES_STACKS, DONE, NO_CHANGES, NO_IMAGE_REQUIRED, NO_UNDO, ROI_REQUIRED, STACK_REQUIRED, SUPPORTS_MASKING |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
radius
public float radius
maxCircles
public int maxCircles
threshold
public int threshold
imageValues
byte[] imageValues
houghValues
double[][] houghValues
width
public int width
height
public int height
offset
public int offset
offx
public int offx
offy
public int offy
centerPoint
java.awt.Point[] centerPoint
vectorMaxSize
private int vectorMaxSize
useThreshold
boolean useThreshold
HoughCircles_
public HoughCircles_()
setup
public int setup(java.lang.String arg,
ij.ImagePlus imp)
- Specified by:
setup
in interface ij.plugin.filter.PlugInFilter
run
public void run(ij.process.ImageProcessor ip)
- Specified by:
run
in interface ij.plugin.filter.PlugInFilter
showAbout
void showAbout()
readParameters
boolean readParameters()
houghTransform
private void houghTransform()
createHoughPixels
private void createHoughPixels(byte[] houghPixels)
drawCircles
public void drawCircles(byte[] circlespixels)
outOfBounds
private boolean outOfBounds(int y,
int x)
nthMaxCenter
public java.awt.Point nthMaxCenter(int i)
getCenterPoints
private void getCenterPoints(int i)
getCenterPointsByThreshold
private void getCenterPointsByThreshold(int threshold)