Modifier and Type | Field and Description |
---|---|
List<Line2d> |
DTConsistency.DTConsistencyInfo.firstCommonEdges |
List<Line2d> |
DTConsistency.DTConsistencyInfo.secondCommonEdges |
Modifier and Type | Method and Description |
---|---|
Line2d |
HoughLines.getBestLine()
Returns the top line in the accumulator space.
|
Line2d |
HoughLines.getBestLine(FImage accumulatorSpace,
int offset)
Returns the top line in the given accumulator space.
|
Line2d |
HoughLines.getBestLine(float minTheta,
float maxTheta)
Returns the best line within a certain angular range.
|
Line2d |
HoughLines.getLineFromParams(int theta,
int dist,
int x1,
int x2)
From a r,theta parameterisation of a line, this returns a
Line2d
with endpoints at the given x coordinates. |
Line2d |
HoughLines.next() |
Modifier and Type | Method and Description |
---|---|
List<Line2d> |
HoughLines.getBestLines(int n)
Returns the top n lines from the accumulator space.
|
List<Line2d> |
HoughLines.getBestLines(int n,
FImage accumulatorSpace,
int offset)
Returns the top n lines from the given accumulator space.
|
List<Line2d> |
HoughLines.getBestLines(int n,
float minTheta,
float maxTheta)
Returns the top n lines from the given accumulator space within the range.
|
Iterator<Line2d> |
HoughLines.iterator() |
Modifier and Type | Method and Description |
---|---|
Line2d |
FLineSampler.getSampleLine(Line2d line,
FImage image,
int numSamples) |
Line2d |
LineSampler.getSampleLine(Line2d line,
I image,
int numSamples)
Get the a line representing the extremities of
the pixels that are actually sampled.
|
Modifier and Type | Method and Description |
---|---|
abstract float[] |
FLineSampler.extractSamples(Line2d line,
FImage image,
int numSamples) |
T |
LineSampler.extractSamples(Line2d line,
I image,
int numSamples)
Extract a numSamples samples along the given line
in the given image.
|
Line2d |
FLineSampler.getSampleLine(Line2d line,
FImage image,
int numSamples) |
Line2d |
LineSampler.getSampleLine(Line2d line,
I image,
int numSamples)
Get the a line representing the extremities of
the pixels that are actually sampled.
|
Modifier and Type | Method and Description |
---|---|
float |
FStatisticalPixelProfileModel.computeCost(FImage image,
Line2d line) |
float |
PixelProfileModel.computeCost(I image,
Line2d line)
Compute the cost of a vector of samples extracted
along a line in the given image to the internal model.
|
float |
MBFStatisticalPixelProfileModel.computeCost(MBFImage image,
Line2d line) |
float |
FStatisticalPixelProfileModel.computeMahalanobis(FImage image,
Line2d line)
Compute the Mahalanobis distance of a vector of samples extracted along a
line in the given image to the internal model.
|
float |
MBFStatisticalPixelProfileModel.computeMahalanobis(MBFImage image,
Line2d line)
Compute the Mahalanobis distance of a vector of samples extracted along a
line in the given image to the internal model.
|
float[] |
FStatisticalPixelProfileModel.computeMahalanobisWindowed(FImage image,
Line2d line,
int numSamples)
Extract numSamples samples from the line in the image and then compare
this model at each overlapping position starting from the first sample at
the beginning of the line.
|
float[] |
MBFStatisticalPixelProfileModel.computeMahalanobisWindowed(MBFImage image,
Line2d line,
int numSamples)
Extract numSamples samples from the line in the image and then compare
this model at each overlapping position starting from the first sample at
the beginning of the line.
|
float |
FStatisticalPixelProfileModel.computeMovementDistance(FImage image,
Line2d line,
int numSamples,
Point2d pt) |
float |
PixelProfileModel.computeMovementDistance(I image,
Line2d line,
int numSamples,
Point2d pt)
Compute the distance between the centre of the given
line and the given point, normalised as a function of
the length of the sampling line.
|
float |
MBFStatisticalPixelProfileModel.computeMovementDistance(MBFImage image,
Line2d line,
int numSamples,
Point2d pt) |
Point2d |
FStatisticalPixelProfileModel.computeNewBest(FImage image,
Line2d line,
int numSamples) |
Point2d |
PixelProfileModel.computeNewBest(I image,
Line2d line,
int numSamples)
Extract numSamples samples from the line in the image and
then compare this model at each overlapping position starting
from the first sample at the beginning of the line.
|
Point2d |
MBFStatisticalPixelProfileModel.computeNewBest(MBFImage image,
Line2d line,
int numSamples) |
void |
FStatisticalPixelProfileModel.updateModel(FImage image,
Line2d line) |
void |
PixelProfileModel.updateModel(I image,
Line2d line)
Update the model with a new sample.
|
void |
MBFStatisticalPixelProfileModel.updateModel(MBFImage image,
Line2d line) |
Modifier and Type | Method and Description |
---|---|
Line2d |
DioramaEffect.getAxis()
Get the current tilt axis
|
Modifier and Type | Method and Description |
---|---|
void |
DioramaEffect.setAxis(Line2d axis)
Set the current tilt axis
|
Constructor and Description |
---|
DioramaEffect(Line2d axis)
Construct with the given tilt axis
|
Modifier and Type | Method and Description |
---|---|
Line2d |
Line2d.clone() |
Line2d |
Line2d.getNormal()
Returns a line that is at 90 degrees to the original line.
|
Line2d |
Line2d.getNormal(Point2d p)
Returns a line that is at 90 degrees to the original line and also passes
through the given point.
|
static Line2d |
Line2d.lineFromRotation(int x1,
int y1,
double theta,
int length)
Create a line of a given length that starts at a point and has a given
angle.
|
Line2d |
Line2d.lineWithinSquare(Rectangle r)
Given a rectangle, return the line that actually fits inside the
rectangle for this line
|
Line2d |
Line2d.transform(Jama.Matrix transform)
Transform a line.
|
Modifier and Type | Method and Description |
---|---|
Iterator<Line2d> |
Line2d.lineIterator() |
Modifier and Type | Method and Description |
---|---|
Line2d.IntersectionResult |
Line2d.getIntersection(Line2d otherLine)
Calculates the intersection point of this line and another line
|
Modifier and Type | Method and Description |
---|---|
Iterator<Line2d> |
Polyline.lineIterator() |
Iterator<Line2d> |
Path2d.lineIterator()
Convert the path to a iterated polyline representation
|
Constructor and Description |
---|
Polyline(Iterator<Line2d> lineIterator)
Construct a
Polyline from line segments |
Modifier and Type | Method and Description |
---|---|
Line2d |
PointListConnections.calculateNormalLine(int idx,
PointList pointList,
float scale)
Calculate a normal line for a given vertex.
|
Line2d |
PointListConnections.calculateNormalLine(Point2d pt,
PointList pointList,
float scale)
Calculate a normal line for a given vertex.
|
Modifier and Type | Method and Description |
---|---|
List<Line2d> |
PointList.getLines() |
List<Line2d> |
PointListConnections.getLines(PointList pointList)
Get the connections as a list of lines based on the points in the given
PointList . |
List<Line2d> |
PointList.getLines(PointListConnections conns) |
Modifier and Type | Method and Description |
---|---|
void |
PointListConnections.addConnection(PointList pl,
Line2d line)
Add a connection between the two end points of the given line in the
given
PointList . |
Constructor and Description |
---|
PointListConnections(PointList pl,
List<Line2d> lines)
|
Modifier and Type | Method and Description |
---|---|
List<Line2d> |
Triangle.getEdges() |
Map<Line2d,Point2d> |
Triangle.intersectionSides(Line2d line)
The intersection of this triangle with the line defined by y = mx + c.
|
Modifier and Type | Method and Description |
---|---|
Map<Line2d,Point2d> |
Triangle.intersectionSides(Line2d line)
The intersection of this triangle with the line defined by y = mx + c.
|
Modifier and Type | Method and Description |
---|---|
static List<Line2d> |
Voronoi.computeVoronoiEdges(List<? extends Point2d> points)
Compute the Voronoi diagram as a list of its edges
|
static List<Line2d> |
Voronoi.computeVoronoiEdges(List<? extends Point2d> points,
double width,
double height)
Compute the Voronoi diagram as a list of its edges
|