public class Radius extends Border
Modifier and Type | Field and Description |
---|---|
protected double[][] |
centers |
protected boolean |
firstCall |
CONSUMED, fromOut, NO_COVERAGE, NON_PHYSICAL, SPLIT_X, SPLIT_XY, SPLIT_Y, UNCHECKED
Constructor and Description |
---|
Radius() |
Modifier and Type | Method and Description |
---|---|
protected double |
criterion(int i,
int nx,
int ny,
double x,
double y)
Being close to the center is the goal.
|
cornerMatch, edgeOff, findImages, getCandidate, getImage, getInputLimits, minDist, printOut, radiusSquared, setStrict
factory
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.