public class Component
extends java.lang.Object
Constructor and Description |
---|
Component(int label) |
Modifier and Type | Method and Description |
---|---|
double |
area() |
void |
finalize() |
int |
getArea() |
java.awt.Rectangle |
getBounds() |
double |
getCentroidX() |
double |
getCentroidY() |
ChainCode |
getChainCode() |
double |
getCircularity() |
java.awt.Color |
getColor() |
double |
getCompactness() |
double |
getEccentricity() |
int |
getHeight() |
int |
getLabel() |
double |
getOrientation() |
double |
getPerimeter() |
java.util.Iterator<Location> |
getPoints() |
int |
getWidth() |
void |
include(Location pt) |
double |
mX() |
double |
mXX() |
double |
mXY() |
double |
mY() |
double |
mYY() |
double |
normalizedMoment(int x,
int y) |
double |
normalizedMXX() |
double |
normalizedMXY() |
double |
normalizedMYY() |
void |
setChainCode(ChainCode code) |
public java.awt.Color getColor()
public double getCircularity()
public double getPerimeter()
public void setChainCode(ChainCode code)
public ChainCode getChainCode()
public void finalize()
finalize
in class java.lang.Object
public double getCompactness()
public int getWidth()
public int getHeight()
public java.awt.Rectangle getBounds()
public int getLabel()
public double mXX()
public double mYY()
public double area()
public double mY()
public double mX()
public double mXY()
public double getCentroidX()
public double getCentroidY()
public int getArea()
public double normalizedMoment(int x, int y)
public double normalizedMXX()
public double normalizedMYY()
public double normalizedMXY()
public double getEccentricity()
public double getOrientation()
public void include(Location pt)
public java.util.Iterator<Location> getPoints()