public class Radius extends Border
Modifier and Type | Field | Description |
---|---|---|
protected double[][] |
centers |
|
protected boolean |
firstCall |
CONSUMED, fromOut, NO_COVERAGE, NON_PHYSICAL, SPLIT_X, SPLIT_XY, SPLIT_Y, UNCHECKED
Constructor | Description |
---|---|
Radius() |
Modifier and Type | Method | Description |
---|---|---|
protected double |
criterion(int i,
int nx,
int ny,
double x,
double y) |
Being close to the center is the goal.
|
factory
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
cornerMatch, edgeOff, findImages, getCandidate, getImage, getInputLimits, minDist, printOut, radiusSquared, setStrict
protected double criterion(int i, int nx, int ny, double x, double y)
criterion
in class Border
i
- The index of the image being considerednx
- The width of the candidate imageny
- The height of the caandiate imagex
- The x-value of the requested point.y
- The y-value of the requested point.