|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectregistration.LocatedCircle
public class LocatedCircle
This is a circle located in an image and is used by circle finding algorithms.
(c) 1999-2002 Michael Abramoff. All rights reserved.| Constructor Summary | |
|---|---|
LocatedCircle(double x,
double y,
double radius)
Create new HoughCircle. |
|
LocatedCircle(double x,
double y,
double radius,
double confidence)
Create new HoughCircle. |
|
| Method Summary | |
|---|---|
void |
drawCenter(ij.process.ImageProcessor ip)
Draws the center on an ImageProcessor. |
void |
drawOutline(ij.ImagePlus imp)
Returns a circle containing the circumference as a Roi. |
ij.process.ImageProcessor |
getCircleCentersImageProcessor(ij.ImagePlus imp,
java.util.Vector circles)
Make an overlay over an image imp indicating all the centers anf the circles. |
double |
getConfidence()
|
float[] |
getMask(int width,
int height)
Make a mask that masks this circle. |
static float[] |
getMask(LocatedCircle c,
float[] reference,
int width)
Create a mask for the field of view c |
double |
getRadius()
|
ij.gui.OvalRoi |
getRoi(int width,
int height)
Get an ImageJ OvalRoi corresponding to this circle. |
double |
getX()
|
double |
getY()
|
void |
setRadius(double radius)
|
java.lang.String |
toString()
|
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public LocatedCircle(double x,
double y,
double radius,
double confidence)
public LocatedCircle(double x,
double y,
double radius)
| Method Detail |
|---|
public double getX()
public double getY()
public double getConfidence()
public double getRadius()
public void setRadius(double radius)
public void drawOutline(ij.ImagePlus imp)
public void drawCenter(ij.process.ImageProcessor ip)
public ij.gui.OvalRoi getRoi(int width,
int height)
width - height - the width and height of the image beyound which the Roi cannot extend.
public ij.process.ImageProcessor getCircleCentersImageProcessor(ij.ImagePlus imp,
java.util.Vector circles)
imp - the original image.circles - a Vector of HougCircles containg the circle parameters.
public float[] getMask(int width,
int height)
width - the width of the mask.height - the height of the mask.
public static float[] getMask(LocatedCircle c,
float[] reference,
int width)
c - a LocatedCircle with information of the center and diameter of the FOV.
public java.lang.String toString()
toString in class java.lang.Object
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||