Modifier and Type | Method and Description |
---|---|
static List<Point2d> |
DTConsistency.getDuplicatePoints(List<? extends Point2d> pts) |
Modifier and Type | Method and Description |
---|---|
static int |
DTConsistency.computeDTScore(List<? extends Pair<? extends Point2d>> matches) |
static DTConsistency.DTConsistencyInfo |
DTConsistency.computeTriangulationInfo(List<? extends Pair<? extends Point2d>> matches) |
static List<Point2d> |
DTConsistency.getDuplicatePoints(List<? extends Point2d> pts) |
static List<Triangle> |
DTConsistency.triangulateFirst(List<? extends Pair<? extends Point2d>> matches) |
static List<Triangle> |
DTConsistency.triangulateSecond(List<? extends Pair<? extends Point2d>> matches) |
Modifier and Type | Class and Description |
---|---|
class |
ScaleSpaceLocation
ScaleSpaceLocation represents a
Location in scale-space. |
class |
SpatialLocation
SpatialLocation represents a
Location in 2d-space. |
Modifier and Type | Method and Description |
---|---|
static <T,I extends Image<T,I>> |
MatchingUtilities.drawMatches(I im1,
I im2,
List<? extends Pair<? extends Point2d>> matches,
T col)
Draw matches between two images in the given colour.
|
static <T,I extends Image<T,I>> |
MatchingUtilities.drawMatches(I im1,
I im2,
List<? extends Pair<? extends Point2d>> matches,
T col,
List<? extends Pair<? extends Point2d>> matches2,
T col2)
Draw two sets of matches between two images in the given colours.
|
static <T,I extends Image<T,I>> |
MatchingUtilities.drawMatches(I im1,
I im2,
List<? extends Pair<? extends Point2d>> matches,
T col,
List<? extends Pair<? extends Point2d>> matches2,
T col2)
Draw two sets of matches between two images in the given colours.
|
static <T,I extends Image<T,I>> |
MatchingUtilities.drawMatches(I image,
List<IndependentPair<Point2d,Point2d>> matches,
T col)
Draw matches between two images in the given colour.
|
static <T,I extends Image<T,I>> |
MatchingUtilities.drawMatches(I image,
List<IndependentPair<Point2d,Point2d>> matches,
T col)
Draw matches between two images in the given colour.
|
Modifier and Type | Class and Description |
---|---|
class |
ConsistentLocalFeatureMatcher2d<T extends LocalFeature<?,?> & Point2d>
Object to attempt to find a consistent geometric mapping of two sets of local
features according to a given model.
|
Modifier and Type | Field and Description |
---|---|
protected RobustModelFitting<Point2d,Point2d,?> |
ConsistentLocalFeatureMatcher2d.modelfit |
protected RobustModelFitting<Point2d,Point2d,?> |
ConsistentLocalFeatureMatcher2d.modelfit |
Modifier and Type | Method and Description |
---|---|
Model<Point2d,Point2d> |
ConsistentLocalFeatureMatcher2d.getModel() |
Model<Point2d,Point2d> |
ConsistentLocalFeatureMatcher2d.getModel() |
Model<Point2d,Point2d> |
LocalConsistentKeypointMatcher.getModel() |
Model<Point2d,Point2d> |
LocalConsistentKeypointMatcher.getModel() |
Model<Point2d,Point2d> |
ModelFittingLocalFeatureMatcher.getModel()
Get the model that has been learned.
|
Model<Point2d,Point2d> |
ModelFittingLocalFeatureMatcher.getModel()
Get the model that has been learned.
|
Modifier and Type | Method and Description |
---|---|
void |
ConsistentLocalFeatureMatcher2d.setFittingModel(RobustModelFitting<Point2d,Point2d,?> mf) |
void |
ConsistentLocalFeatureMatcher2d.setFittingModel(RobustModelFitting<Point2d,Point2d,?> mf) |
void |
LocalConsistentKeypointMatcher.setFittingModel(RobustModelFitting<Point2d,Point2d,?> mf) |
void |
LocalConsistentKeypointMatcher.setFittingModel(RobustModelFitting<Point2d,Point2d,?> mf) |
void |
ModelFittingLocalFeatureMatcher.setFittingModel(RobustModelFitting<Point2d,Point2d,?> mf)
Set the object which robustly attempts to fit matches to the model
|
void |
ModelFittingLocalFeatureMatcher.setFittingModel(RobustModelFitting<Point2d,Point2d,?> mf)
Set the object which robustly attempts to fit matches to the model
|
Constructor and Description |
---|
ConsistentLocalFeatureMatcher2d(LocalFeatureMatcher<T> innerMatcher,
RobustModelFitting<Point2d,Point2d,?> fit)
Default constructor
|
ConsistentLocalFeatureMatcher2d(LocalFeatureMatcher<T> innerMatcher,
RobustModelFitting<Point2d,Point2d,?> fit)
Default constructor
|
Modifier and Type | Method and Description |
---|---|
Point2d[] |
Image.drawCubicBezier(Point2d p1,
Point2d p2,
Point2d c1,
Point2d c2,
int thickness,
Q col)
Draw a cubic Bezier curve into the image with 100 point accuracy.
|
Point2d |
DisplayUtilities.ImageComponent.getCurrentMouseImagePosition()
Returns the current mouse position in the coordinates of the image and is
determined by the scaling factors and the position of the image within the
viewport.
|
Point2d |
DisplayUtilities.ImageComponent.getCurrentMousePosition()
Returns the current mouse position in pixels within the viewport.
|
Modifier and Type | Method and Description |
---|---|
Point2d[] |
Image.drawCubicBezier(Point2d p1,
Point2d p2,
Point2d c1,
Point2d c2,
int thickness,
Q col)
Draw a cubic Bezier curve into the image with 100 point accuracy.
|
void |
Image.drawImage(I image,
Point2d pt)
Draw into this image the provided image at the given coordinates.
|
void |
Image.drawLine(Point2d p1,
Point2d p2,
int thickness,
Q col)
Draw a line from the coordinates specified using the given colour and
thickness.
|
void |
Image.drawLine(Point2d p1,
Point2d p2,
Q col)
Draw a line from the coordinates specified using the given colour.
|
void |
Image.drawPoint(Point2d p,
Q col,
int size)
Draw a dot centered on the given location (rounded to nearest integer
location) at the given size and with the given color.
|
void |
Image.drawText(AttributedString text,
Point2d pt)
Render the text using its attributes.
|
<F extends Font<F>> |
Image.drawText(String text,
Point2d pt,
F f,
int sz)
Render the text in the given font with the default style.
|
<F extends Font<F>> |
Image.drawText(String text,
Point2d pt,
F f,
int sz,
Q col)
Render the text in the given font in the given colour with the default
style.
|
void |
Image.drawText(String text,
Point2d pt,
FontStyle<Q> f)
Render the text with the given
FontStyle . |
I |
Image.extractCentreSubPix(Point2d centre,
I out)
Sub-pixel sampling of a centred rectangular region such that
dst(x, y) = src(x + center.x (width(dst) 1) ⇤ 0.5, y + center.y (height(dst) 1) ⇤ 0.5)
. |
I |
Image.extractCentreSubPix(Point2d centre,
int width,
int height)
Sub-pixel sampling of a centred rectangular region such that
dst(x, y) = src(x + center.x (width(dst) 1) ⇤ 0.5, y + center.y (height(dst) 1) ⇤ 0.5)
. |
Modifier and Type | Method and Description |
---|---|
void |
Image.drawConnectedPoints(List<? extends Point2d> pts,
Q col)
Draw onto this image lines drawn with the given colour between the points
given.
|
void |
Image.drawPoints(Iterable<? extends Point2d> pts,
Q col,
int size)
Draw the given list of points using
Image.drawPoint(Point2d, Object, int) with the given colour and size. |
Modifier and Type | Method and Description |
---|---|
Point2d |
CameraIntrinsics.applyDistortion(Point2d p)
Apply the radial and tangential distortion of this camera to the given
projected point (presumably computed by projecting a world point through
the homography defined by the extrinsic parameters of a camera).
|
Point2d |
Camera.project(Point2d pt)
Project a 2d point (technically a 3d point on the z=0 world plane)
|
Point2d |
Camera.project(Point3d pt)
Project a 3d point onto the image plane
|
Modifier and Type | Method and Description |
---|---|
Point2d |
CameraIntrinsics.applyDistortion(Point2d p)
Apply the radial and tangential distortion of this camera to the given
projected point (presumably computed by projecting a world point through
the homography defined by the extrinsic parameters of a camera).
|
Point2d |
Camera.project(Point2d pt)
Project a 2d point (technically a 3d point on the z=0 world plane)
|
Modifier and Type | Field and Description |
---|---|
protected List<List<? extends IndependentPair<? extends Point2d,? extends Point2d>>> |
CameraCalibrationZhang.points |
protected List<List<? extends IndependentPair<? extends Point2d,? extends Point2d>>> |
CameraCalibrationZhang.points |
Modifier and Type | Method and Description |
---|---|
static void |
ChessboardCornerFinder.drawChessboardCorners(MBFImage image,
int patternWidth,
int patternHeight,
List<? extends Point2d> corners,
boolean found)
Draw the given chessboard corners from on the given image.
|
Constructor and Description |
---|
CameraCalibration(List<List<? extends IndependentPair<? extends Point2d,? extends Point2d>>> points,
int width,
int height) |
CameraCalibration(List<List<? extends IndependentPair<? extends Point2d,? extends Point2d>>> points,
int width,
int height) |
CameraCalibrationZhang(List<List<? extends IndependentPair<? extends Point2d,? extends Point2d>>> points,
int width,
int height)
Calibrate a camera using Zhang's method based on the given model-image
point pairs across a number of images.
|
CameraCalibrationZhang(List<List<? extends IndependentPair<? extends Point2d,? extends Point2d>>> points,
int width,
int height)
Calibrate a camera using Zhang's method based on the given model-image
point pairs across a number of images.
|
Modifier and Type | Class and Description |
---|---|
class |
ByteDSIFTKeypoint
Dense SIFT keypoint with a location and byte feature vector.
|
class |
FloatDSIFTKeypoint
Dense SIFT keypoint with a location and float feature vector.
|
Modifier and Type | Class and Description |
---|---|
class |
AffineSimulationKeypoint
An extension of a
Keypoint that holds the AffineParams and
simulation index of the affine simulation from which it was detected. |
static class |
AffineSimulationKeypoint.AffineSimulationKeypointLocation
A
KeypointLocation extended to hold a rotation, tilt and index
corresponding to an affine simulation. |
Modifier and Type | Class and Description |
---|---|
class |
AffineInterestPointKeypoint
A keypoint with an elliptical shape from an affine transform.
|
class |
CircularInterestPointKeypoint
A keypoint with circular support
|
Modifier and Type | Class and Description |
---|---|
class |
EllipticInterestPointData |
class |
InterestPointData |
Modifier and Type | Method and Description |
---|---|
Point2dImpl |
SubPixelCorners.findSubPixCorner(FImage src,
Point2d corner)
Find the sub-pixel estimated position of a corner
|
Modifier and Type | Method and Description |
---|---|
List<Point2dImpl> |
SubPixelCorners.findSubPixCorners(FImage src,
List<? extends Point2d> corners)
Find the sub-pixel estimated position of each corner
|
Modifier and Type | Class and Description |
---|---|
class |
FloatKeypoint
A local interest point with a location, scale, orientation and associated
feature.
|
class |
InterestPointKeypoint<T extends InterestPointData>
An oriented feature with at a location defined by an
InterestPointData . |
class |
Keypoint
A local interest point with a location, scale, orientation and associated
feature.
|
class |
KeypointLocation
The location of a
Keypoint . |
class |
MinMaxKeypoint
A
Keypoint extended to hold information on whether was detected at a
maxima or minima. |
static class |
MinMaxKeypoint.MinMaxKeypointLocation
The location of a
MinMaxKeypoint . |
class |
SIFTGeoKeypoint.SIFTGeoLocation
The location of a
SIFTGeoKeypoint . |
Modifier and Type | Method and Description |
---|---|
Point2d |
FloatKeypoint.copy() |
Point2d |
Keypoint.copy() |
Point2d |
FloatKeypoint.minus(Point2d a) |
Point2d |
Keypoint.minus(Point2d a) |
Modifier and Type | Method and Description |
---|---|
void |
FloatKeypoint.copyFrom(Point2d p) |
void |
Keypoint.copyFrom(Point2d p) |
Point2d |
FloatKeypoint.minus(Point2d a) |
Point2d |
Keypoint.minus(Point2d a) |
void |
FloatKeypoint.translate(Point2d v) |
void |
Keypoint.translate(Point2d v) |
Modifier and Type | Class and Description |
---|---|
class |
QuantisedKeypoint
|
Modifier and Type | Method and Description |
---|---|
Point2d |
QuantisedKeypoint.copy() |
Point2d |
QuantisedKeypoint.minus(Point2d a) |
Point2d |
QuantisedKeypoint.transform(Jama.Matrix m) |
Modifier and Type | Method and Description |
---|---|
void |
QuantisedKeypoint.copyFrom(Point2d p) |
Point2d |
QuantisedKeypoint.minus(Point2d a) |
void |
QuantisedKeypoint.translate(Point2d v) |
Modifier and Type | Method and Description |
---|---|
ObjectFloatPair<Point2d> |
FNormalLandmarkModel.updatePosition(FImage image,
Point2d initial,
PointList pointList) |
ObjectFloatPair<Point2d> |
FPatchLandmarkModel.updatePosition(FImage image,
Point2d initial,
PointList pointList) |
ObjectFloatPair<Point2d> |
LandmarkModel.updatePosition(I image,
Point2d initial,
PointList pointList)
Estimate an improved fit based on a local neighbourhood search.
|
Modifier and Type | Method and Description |
---|---|
float |
FNormalLandmarkModel.computeCost(FImage image,
Point2d point,
PointList pointList) |
float |
FPatchLandmarkModel.computeCost(FImage image,
Point2d point,
PointList pointList) |
float |
LandmarkModel.computeCost(I image,
Point2d point,
PointList pointList)
Evaluate the cost function using the given image and point.
|
protected FImage |
FPatchLandmarkModel.extractBlock(FImage image,
Point2d pt,
int sz) |
void |
FNormalLandmarkModel.updateModel(FImage image,
Point2d point,
PointList pointList) |
void |
FPatchLandmarkModel.updateModel(FImage image,
Point2d point,
PointList pointList) |
void |
LandmarkModel.updateModel(I image,
Point2d point,
PointList pointList)
Update the internal model of local image content by adding information
from the provided image.
|
ObjectFloatPair<Point2d> |
FNormalLandmarkModel.updatePosition(FImage image,
Point2d initial,
PointList pointList) |
ObjectFloatPair<Point2d> |
FPatchLandmarkModel.updatePosition(FImage image,
Point2d initial,
PointList pointList) |
ObjectFloatPair<Point2d> |
LandmarkModel.updatePosition(I image,
Point2d initial,
PointList pointList)
Estimate an improved fit based on a local neighbourhood search.
|
Modifier and Type | Class and Description |
---|---|
class |
FValuePixel
Represents a pixel location.
|
class |
GenericValuePixel<T>
Represents a pixel location.
|
class |
IntValuePixel
Represents a pixel location.
|
class |
Pixel
Represents a pixel within an image, storing its coordinates.
|
class |
ValuePixel<T>
An abstract class for objects that represent a pixel and its value.
|
Modifier and Type | Method and Description |
---|---|
Point2d |
Pixel.minus(Point2d a) |
Modifier and Type | Method and Description |
---|---|
void |
Pixel.copyFrom(Point2d p)
Copy the values of the given point into this point.
|
Point2d |
Pixel.minus(Point2d a) |
void |
Pixel.translate(Point2d v) |
Modifier and Type | Method and Description |
---|---|
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) |
Modifier and Type | Method and Description |
---|---|
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) |
Constructor and Description |
---|
FacialKeypoint(FacialKeypoint.FacialKeypointType type,
Point2d pt)
Construct a FacialKeypoint with the specified type and position.
|
Constructor and Description |
---|
DetectedFacePart(FacialKeypoint.FacialKeypointType type,
Point2d position)
Construct with the given parameters
|
Modifier and Type | Method and Description |
---|---|
static <Q extends List<T>,T extends Point2d,I extends Image<?,I>> |
AffineSimulation.transformToOriginal(Q points,
I original,
float theta,
float tilt)
Transform the coordinates of the given points from a transformed image to
the original space.
|
Modifier and Type | Method and Description |
---|---|
protected static Point2d |
AffineSimulation.internalTransformToOriginal(Point2d pt,
int width,
int height,
float Rtheta,
float t1) |
static Point2d |
AffineSimulation.transformToOriginal(Point2d pt,
Image<?,?> original,
AffineParams params)
Compute the position of a point in an image given the position in the
transformed image and the transform parameters.
|
static Point2d |
AffineSimulation.transformToOriginal(Point2d pt,
Image<?,?> original,
float theta,
float t)
Compute the position of a point in an image given the position in the
transformed image and the transform parameters.
|
static Point2d |
AffineSimulation.transformToOriginal(Point2d pt,
int width,
int height,
AffineParams params)
Compute the position of a point in an image given the position in the
transformed image and the transform parameters.
|
static Point2d |
AffineSimulation.transformToOriginal(Point2d pt,
int width,
int height,
float theta,
float t)
Compute the position of a point in an image given the position in the
transformed image and the transform parameters.
|
Modifier and Type | Method and Description |
---|---|
protected List<Pair<Point2d>> |
PiecewiseMeshWarp.polyMatchToPointsMatch(Polygon pa,
Polygon pb) |
Modifier and Type | Method and Description |
---|---|
Shape |
PiecewiseMeshWarp.getMatchingShape(Point2d p)
Get the shape in the observation space for a point in the canonical
space.
|
int |
PiecewiseMeshWarp.getMatchingShapeIndex(Point2d p)
Get the shape pair index for a point in the canonical space.
|
protected Jama.Matrix |
PiecewiseMeshWarp.getTransform(Point2d p) |
protected static Point2d |
AffineSimulation.internalTransformToOriginal(Point2d pt,
int width,
int height,
float Rtheta,
float t1) |
protected boolean |
ProjectionProcessor.isInside(int shapeIndex,
Shape[][] projectRectangleShapes,
Point2d realPoint) |
static Point2d |
AffineSimulation.transformToOriginal(Point2d pt,
Image<?,?> original,
AffineParams params)
Compute the position of a point in an image given the position in the
transformed image and the transform parameters.
|
static Point2d |
AffineSimulation.transformToOriginal(Point2d pt,
Image<?,?> original,
float theta,
float t)
Compute the position of a point in an image given the position in the
transformed image and the transform parameters.
|
static Point2d |
AffineSimulation.transformToOriginal(Point2d pt,
int width,
int height,
AffineParams params)
Compute the position of a point in an image given the position in the
transformed image and the transform parameters.
|
static Point2d |
AffineSimulation.transformToOriginal(Point2d pt,
int width,
int height,
float theta,
float t)
Compute the position of a point in an image given the position in the
transformed image and the transform parameters.
|
Modifier and Type | Method and Description |
---|---|
protected Jama.Matrix |
PiecewiseMeshWarp.getTransform3(List<Pair<Point2d>> pts) |
protected Jama.Matrix |
PiecewiseMeshWarp.getTransform4(List<Pair<Point2d>> pts) |
Modifier and Type | Method and Description |
---|---|
Point2d[] |
ImageRenderer.drawCubicBezier(Point2d p1,
Point2d p2,
Point2d c1,
Point2d c2,
int thickness,
Q col)
Draw a cubic Bezier curve into the image with 100 point accuracy.
|
Point2d[] |
ImageRenderer.drawQuadBezier(Point2d p1,
Point2d p2,
Point2d c1,
int thickness,
Q colour)
Draw a Quadratic Bezier curve
|
Modifier and Type | Method and Description |
---|---|
Point2d[] |
ImageRenderer.drawCubicBezier(Point2d p1,
Point2d p2,
Point2d c1,
Point2d c2,
int thickness,
Q col)
Draw a cubic Bezier curve into the image with 100 point accuracy.
|
void |
ImageRenderer.drawLine(Point2d p1,
Point2d p2,
int thickness,
Q col)
Draw a line from the coordinates specified by
(x0,y0) to
(x1,y1) using the given colour and thickness. |
void |
ImageRenderer.drawLine(Point2d p1,
Point2d p2,
Q col)
Draw a line from the coordinates specified by
(x0,y0) to
(x1,y1) using the given colour. |
void |
SVGRenderer.drawPoint(Point2d p,
Float[] col,
int size) |
void |
FImageRenderer.drawPoint(Point2d p,
Float grey,
int size)
Draw a dot centered on the given location (rounded to nearest integer
location) at the given size and with the given color.
|
abstract void |
ImageRenderer.drawPoint(Point2d p,
Q col,
int size)
Draw a dot centered on the given location (rounded to nearest integer
location) at the given size and with the given color.
|
void |
MultiBandRenderer.drawPoint(Point2d p,
T[] col,
int size)
Draw a dot centered on the given location (rounded to nearest integer
location) at the given size and with the given color.
|
Point2d[] |
ImageRenderer.drawQuadBezier(Point2d p1,
Point2d p2,
Point2d c1,
int thickness,
Q colour)
Draw a Quadratic Bezier curve
|
void |
ImageRenderer.drawText(AttributedString text,
Point2d pt)
Render the text using its attributes.
|
<F extends Font<F>> |
ImageRenderer.drawText(String text,
Point2d pt,
F f,
int sz)
Render the text in the given font with the default style.
|
<F extends Font<F>> |
ImageRenderer.drawText(String text,
Point2d pt,
F f,
int sz,
Q col)
Render the text in the given font in the given colour with the default
style.
|
void |
ImageRenderer.drawText(String text,
Point2d pt,
FontStyle<Q> f)
Render the text with the given
FontStyle . |
Modifier and Type | Method and Description |
---|---|
void |
ImageRenderer.drawConnectedPoints(List<? extends Point2d> pts,
Q col)
Draw onto this image lines drawn with the given colour between the points
given.
|
void |
ImageRenderer.drawPoints(Iterable<? extends Point2d> pts,
Q col,
int size)
Draw the given list of points using
ImageRenderer.drawPoint(Point2d, Object, int) with the given colour and size. |
static void |
ScanRasteriser.scanFill(List<Point2d> p,
ScanRasteriser.ScanLineListener listener)
The scan-fill algorithm.
|
Modifier and Type | Method and Description |
---|---|
List<IndependentPair<Point2d,Point2d>> |
LiuSamarabanduTextExtractorBasic.calculateHomography(Polygon p)
Calculates the point pairing for a given distorted polygon into
orthogonal space.
|
List<IndependentPair<Point2d,Point2d>> |
LiuSamarabanduTextExtractorBasic.calculateHomography(Polygon p)
Calculates the point pairing for a given distorted polygon into
orthogonal space.
|
Modifier and Type | Method and Description |
---|---|
Point2d |
GeometricObject2d.calculateCentroid()
Calculate the centroid of the shape
|
Modifier and Type | Method and Description |
---|---|
void |
GeometricObject2d.scale(Point2d centre,
float sc)
Scale the shape by the given amount about the given point.
|
Modifier and Type | Field and Description |
---|---|
Point2d |
Line2d.begin
Start point of line
|
Point2d |
Line2d.end
End point of line
|
Point2d |
Line2d.IntersectionResult.intersectionPoint
The point at which the lines intersect (if the type is INTERSECTING)
|
Modifier and Type | Method and Description |
---|---|
Point2d |
Line2d.begin() |
Point2d |
Line2d.calculateCentroid() |
Point2d |
Line2d.end() |
Point2d |
Line2d.getBeginPoint()
Get the start point
|
Point2d |
Line2d.getEndPoint()
Get the end point
|
Point2d |
Line2d.reflectAroundLine(Point2d pointToReflect)
Reflects a point around a this line.
|
Point2d |
Line2d.setEndPoint()
Get the end point
|
Modifier and Type | Method and Description |
---|---|
static double |
Line2d.distance(Point2d p1,
Point2d p2)
Get the Euclidean distance between two points
|
float |
Line2d.distanceToLine(Point2d p)
Returns the shortest distance between the point and this 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.
|
boolean |
Line2d.isInLine(Point2d p,
float tolerance)
Tests whether the given point lies on this line.
|
boolean |
Line2d.isOnLine(Point2d p,
float tolerance)
Tests whether the given point lies on this line.
|
Point2d |
Line2d.reflectAroundLine(Point2d pointToReflect)
Reflects a point around a this line.
|
void |
Line2d.scale(Point2d centre,
float sc) |
void |
Line2d.setBeginPoint(Point2d begin)
Set the start point
|
void |
Line2d.setEndPoint(Point2d end)
Set the end point
|
Constructor and Description |
---|
IntersectionResult(Point2d point)
Construct the IntersectionResult with the given intersection point
|
Line2d(Point2d begin,
Point2d end)
Construct a line
|
Modifier and Type | Method and Description |
---|---|
Point2d |
Polyline.begin() |
Point2d |
Path2d.begin()
Get the beginning of the path
|
Point2d |
Polyline.end() |
Point2d |
Path2d.end()
Get the end of the path
|
Constructor and Description |
---|
Polyline(Point2d... points)
Construct a
Polyline from points |
Constructor and Description |
---|
Polyline(List<? extends Point2d> points)
Construct a
Polyline from points |
Polyline(List<? extends Point2d> points,
boolean copy)
Construct a
Polyline from the points, possibly copying the points
first |
Modifier and Type | Interface and Description |
---|---|
interface |
ScaleSpacePoint
ScaleSpacePoint represents a
Point2d in scale-space. |
Modifier and Type | Class and Description |
---|---|
class |
AbstractPoint2d
Abstract base for
Point2d implementations that retains the underlying
precision. |
class |
DoublePoint2dImpl
Double-precision 2d point
|
class |
Point2dImpl
Simple concrete implementation of a two dimensional point.
|
Modifier and Type | Field and Description |
---|---|
List<Point2d> |
PointList.points
The points in the
PointList |
Modifier and Type | Method and Description |
---|---|
Point2d |
PointList.calculateCentroid()
Get the centre of gravity of the
PointList |
Point2d |
Point2d.copy()
Clone the point
|
Point2d |
DoublePoint2dImpl.copy() |
static Point2d |
Point2dImpl.createRandomPoint()
Create a random point in ([0..1], [0..1]).
|
static Point2d |
Point2dImpl.createRandomPoint(Random rng)
Create a random point in ([0..1], [0..1]) with the given random number
generator.
|
static Point2d |
Point2dImpl.fromDoubleArray(double[] calculateCentroid) |
Point2d |
PointList.get(int i)
Get the ith point
|
Point2d[] |
PointListConnections.getConnections(Point2d pt,
PointList pl)
Get the points connected to the given point.
|
Point2d |
Point2d.minus(Point2d a)
Take point point from another point such that return = this - a
|
Point2d |
Point2dImpl.minus(Point2d a) |
Point2d |
AbstractPoint2d.minus(Point2d a) |
Point2d |
Point2d.transform(Jama.Matrix m)
Transform the point by the given matrix
|
Point2d |
AbstractPoint2d.transform(Jama.Matrix transform) |
Modifier and Type | Method and Description |
---|---|
Iterator<Point2d> |
PointList.iterator() |
Modifier and Type | Method and Description |
---|---|
void |
PointListConnections.addConnection(PointList pl,
Point2d from,
Point2d to)
Add a connection between two points in the given
PointList . |
Point2dImpl |
PointListConnections.calculateNormal(Point2d pt,
PointList pointList)
Calculate the normal vector at a given vertex.
|
Line2d |
PointListConnections.calculateNormalLine(Point2d pt,
PointList pointList,
float scale)
Calculate a normal line for a given vertex.
|
void |
Point2d.copyFrom(Point2d p)
Copy the values of the given point into this point.
|
void |
Point2dImpl.copyFrom(Point2d p) |
void |
AbstractPoint2d.copyFrom(Point2d p) |
Point2d[] |
PointListConnections.getConnections(Point2d pt,
PointList pl)
Get the points connected to the given point.
|
Point2d |
Point2d.minus(Point2d a)
Take point point from another point such that return = this - a
|
Point2d |
Point2dImpl.minus(Point2d a) |
Point2d |
AbstractPoint2d.minus(Point2d a) |
void |
PointList.rotate(Point2d origin,
double angle)
Rotate the
PointList about the given origin with the given angle
(in radians) |
void |
PointList.scale(Point2d centre,
float sc)
Scale the
PointList by the given amount about the given point. |
void |
Point2d.translate(Point2d v)
Translate the position of the point by the given amounts
|
void |
Point2dImpl.translate(Point2d v) |
void |
AbstractPoint2d.translate(Point2d v) |
Constructor and Description |
---|
DoublePoint2dImpl(Point2d pt)
Construct with given coordinate
|
Point2dImpl(Point2d p)
Construct a Point2dImpl with the (x,y) coordinates given via another
point.
|
PointList(Point2d... points)
Construct a
PointList from points |
Constructor and Description |
---|
PointList(Collection<? extends Point2d> points)
Construct a
PointList from points |
PointList(Collection<? extends Point2d> points,
boolean copy)
Construct a
PointList from the points, possibly copying the
points first |
Modifier and Type | Field and Description |
---|---|
protected Point2d |
Circle.centre |
Point2d[] |
Triangle.vertices
The vertices of the triangle
|
Modifier and Type | Method and Description |
---|---|
Point2d |
RotatedRectangle.calculateCentroid() |
Point2d |
Rectangle.calculateCentroid() |
Point2d |
Triangle.calculateCentroid() |
Point2d |
Circle.calculateCentroid() |
Point2d |
Polygon.calculateCentroid()
Calculate the centroid of the polygon.
|
Point2d |
Ellipse.calculateCentroid() |
Point2d |
Polygon.closestPoint(Point2d pt)
Find the closest point on the polygon to the given point
|
Point2d |
Triangle.firstVertex() |
Point2d |
Rectangle.getBottomRight() |
Point2d |
Rectangle.getTopLeft() |
Point2d |
Triangle.secondVertex() |
Point2d |
Triangle.thirdVertex() |
Modifier and Type | Method and Description |
---|---|
List<Point2d> |
Polygon.getVertices()
Get the vertices of the polygon
|
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 |
---|---|
void |
Polygon.addVertex(Point2d pt)
Add a vertex to the polygon
|
Point2d |
Polygon.closestPoint(Point2d pt)
Find the closest point on the polygon to the given point
|
boolean |
RotatedRectangle.isInside(Point2d point) |
boolean |
Rectangle.isInside(Point2d point) |
boolean |
Triangle.isInside(Point2d point) |
boolean |
Circle.isInside(Point2d point) |
boolean |
Polygon.isInside(Point2d point)
Test whether the point p is inside the polygon using the winding rule
algorithm.
|
boolean |
Shape.isInside(Point2d point)
Test whether the point p is inside the shape.
|
boolean |
Ellipse.isInside(Point2d point) |
boolean |
Triangle.isInsideOnLine(Point2d point)
Like
Triangle.isInside(Point2d) but counts being "on the line" as being
inside also |
RotatedRectangle |
Rectangle.rotate(Point2d p,
double angle)
Rotate the
Rectangle about the given pivot with the given angle
(in radians) |
void |
RotatedRectangle.scale(Point2d centre,
float sc) |
void |
Rectangle.scale(Point2d centre,
float sc) |
void |
Triangle.scale(Point2d centre,
float sc) |
void |
Circle.scale(Point2d centre,
float sc) |
void |
Polygon.scale(Point2d centre,
float sc)
Scale the polygon by the given amount about the given point.
|
void |
Ellipse.scale(Point2d centre,
float sc) |
Constructor and Description |
---|
Circle(Point2d centre,
float radius)
Construct a circle with the given position and radius
|
Polygon(Point2d... vertices)
Construct a Polygon from vertices
|
Rectangle(Point2d topLeft,
Point2d bottomRight)
Construct a Rectangle with the given parameters.
|
Triangle(Point2d[] vertices)
Construct a Triangle with the given vertices.
|
Triangle(Point2d vertex1,
Point2d vertex2,
Point2d vertex3)
Construct a Triangle with the given vertices.
|
Constructor and Description |
---|
Polygon(Collection<? extends Point2d> vertices)
Construct a Polygon from vertices
|
Polygon(Collection<? extends Point2d> vertices,
boolean copy)
Construct a Polygon from the vertices, possibly copying the vertices
first
|
Modifier and Type | Field and Description |
---|---|
Point2d |
ConvexityDefect.deepestPoint
The deepest point on the shape polygon
|
Point2d |
ConvexityDefect.end
The ending point on the convex hull
|
protected Point2d |
ProcrustesAnalysis.referenceCog |
Point2d |
ConvexityDefect.start
The starting point on the convex hull
|
Modifier and Type | Method and Description |
---|---|
protected static PointList |
GeneralisedProcrustesAnalysis.alignPointsAndAverage(List<PointList> shapes,
PointList reference,
double referenceScaling,
Point2d referenceCog) |
Modifier and Type | Method and Description |
---|---|
protected static Point2d |
GrahamScan.getLowestPoint2d(List<Point2d> Point2ds)
Returns the Point2ds with the lowest y coordinate.
|
Modifier and Type | Method and Description |
---|---|
protected static Set<Point2d> |
GrahamScan.getSortedPoint2dSet(List<Point2d> Point2ds)
Returns a sorted set of Point2ds from the list
Point2ds . |
Modifier and Type | Method and Description |
---|---|
protected static GrahamScan.Turn |
GrahamScan.getTurn(Point2d a,
Point2d b,
Point2d c)
Returns the GrahamScan#Turn formed by traversing through the ordered Point2ds
a , b and c . |
Modifier and Type | Method and Description |
---|---|
protected static boolean |
GrahamScan.areAllCollinear(List<Point2d> Point2ds)
Returns true iff all Point2ds in
Point2ds are collinear. |
static Polygon |
GrahamScan.getConvexHull(List<Point2d> Point2ds)
Returns the convex hull of the Point2ds created from the list
Point2ds . |
protected static Point2d |
GrahamScan.getLowestPoint2d(List<Point2d> Point2ds)
Returns the Point2ds with the lowest y coordinate.
|
protected static Set<Point2d> |
GrahamScan.getSortedPoint2dSet(List<Point2d> Point2ds)
Returns a sorted set of Point2ds from the list
Point2ds . |
Modifier and Type | Method and Description |
---|---|
Point2d |
AffineTransformModel.predict(Point2d p) |
Point2d |
FundamentalModel.predict(Point2d data) |
Point2d |
HomographyModel.predict(Point2d data) |
Modifier and Type | Method and Description |
---|---|
static IndependentPair<Point2d,Point2d> |
TransformUtilities.normalise(IndependentPair<Point2d,Point2d> data,
Pair<Jama.Matrix> normalisations)
Normalise the data, returning a normalised copy.
|
static IndependentPair<Point2d,Point2d> |
TransformUtilities.normalise(IndependentPair<Point2d,Point2d> data,
Pair<Jama.Matrix> normalisations)
Normalise the data, returning a normalised copy.
|
static List<? extends IndependentPair<Point2d,Point2d>> |
TransformUtilities.normalise(List<? extends IndependentPair<Point2d,Point2d>> data,
Pair<Jama.Matrix> normalisations)
Normalise the data, returning a normalised copy.
|
static List<? extends IndependentPair<Point2d,Point2d>> |
TransformUtilities.normalise(List<? extends IndependentPair<Point2d,Point2d>> data,
Pair<Jama.Matrix> normalisations)
Normalise the data, returning a normalised copy.
|
Modifier and Type | Method and Description |
---|---|
Point2d |
AffineTransformModel.predict(Point2d p) |
Point2d |
FundamentalModel.predict(Point2d data) |
Point2d |
HomographyModel.predict(Point2d data) |
static Jama.Matrix |
TransformUtilities.scaleMatrixAboutPoint(double sx,
double sy,
Point2d point)
Create a scaling centered around a point.
|
static Jama.Matrix |
TransformUtilities.translateToPointMatrix(Point2d from,
Point2d to)
Given two points, get a transform matrix that takes points from point a
to point b
|
Modifier and Type | Method and Description |
---|---|
static Jama.Matrix |
TransformUtilities.affineMatrix(List<? extends IndependentPair<? extends Point2d,? extends Point2d>> data)
Construct an affine transform using a least-squares fit of the provided
point pairs.
|
static Jama.Matrix |
TransformUtilities.affineMatrix(List<? extends IndependentPair<? extends Point2d,? extends Point2d>> data)
Construct an affine transform using a least-squares fit of the provided
point pairs.
|
abstract double |
HomographyRefinement.computeError(Jama.Matrix h,
List<? extends IndependentPair<? extends Point2d,? extends Point2d>> data)
Compute the error value being optimised between the two point sets.
|
abstract double |
HomographyRefinement.computeError(Jama.Matrix h,
List<? extends IndependentPair<? extends Point2d,? extends Point2d>> data)
Compute the error value being optimised between the two point sets.
|
double |
FundamentalModel.Fundamental8PtResidual.computeResidual(IndependentPair<Point2d,Point2d> data) |
double |
FundamentalModel.Fundamental8PtResidual.computeResidual(IndependentPair<Point2d,Point2d> data) |
double |
FundamentalModel.EpipolarResidual.computeResidual(IndependentPair<Point2d,Point2d> data) |
double |
FundamentalModel.EpipolarResidual.computeResidual(IndependentPair<Point2d,Point2d> data) |
double |
FundamentalModel.SampsonGeometricResidual.computeResidual(IndependentPair<Point2d,Point2d> data) |
double |
FundamentalModel.SampsonGeometricResidual.computeResidual(IndependentPair<Point2d,Point2d> data) |
boolean |
AffineTransformModel.estimate(List<? extends IndependentPair<Point2d,Point2d>> data) |
boolean |
AffineTransformModel.estimate(List<? extends IndependentPair<Point2d,Point2d>> data) |
boolean |
FundamentalModel.estimate(List<? extends IndependentPair<Point2d,Point2d>> data) |
boolean |
FundamentalModel.estimate(List<? extends IndependentPair<Point2d,Point2d>> data) |
boolean |
HomographyModel.estimate(List<? extends IndependentPair<Point2d,Point2d>> data)
DLT estimation of least-squares solution of 3D homogeneous homography
|
boolean |
HomographyModel.estimate(List<? extends IndependentPair<Point2d,Point2d>> data)
DLT estimation of least-squares solution of 3D homogeneous homography
|
static Jama.Matrix |
TransformUtilities.fundamentalMatrix8Pt(List<? extends IndependentPair<Point2d,Point2d>> data)
The un-normalised 8-point algorithm for estimation of the Fundamental
matrix.
|
static Jama.Matrix |
TransformUtilities.fundamentalMatrix8Pt(List<? extends IndependentPair<Point2d,Point2d>> data)
The un-normalised 8-point algorithm for estimation of the Fundamental
matrix.
|
static Jama.Matrix |
TransformUtilities.fundamentalMatrix8PtNorm(List<? extends IndependentPair<Point2d,Point2d>> data)
The normalised 8-point algorithm for estimating the Fundamental matrix
|
static Jama.Matrix |
TransformUtilities.fundamentalMatrix8PtNorm(List<? extends IndependentPair<Point2d,Point2d>> data)
The normalised 8-point algorithm for estimating the Fundamental matrix
|
protected abstract org.apache.commons.math3.fitting.leastsquares.MultivariateJacobianFunction |
FundamentalRefinement.getFunctions(List<? extends IndependentPair<? extends Point2d,? extends Point2d>> data,
FundamentalRefinement.Parameterisation p) |
protected abstract org.apache.commons.math3.fitting.leastsquares.MultivariateJacobianFunction |
FundamentalRefinement.getFunctions(List<? extends IndependentPair<? extends Point2d,? extends Point2d>> data,
FundamentalRefinement.Parameterisation p) |
protected abstract org.apache.commons.math3.analysis.MultivariateMatrixFunction |
HomographyRefinement.getJacobianFunction(List<? extends IndependentPair<? extends Point2d,? extends Point2d>> data) |
protected abstract org.apache.commons.math3.analysis.MultivariateMatrixFunction |
HomographyRefinement.getJacobianFunction(List<? extends IndependentPair<? extends Point2d,? extends Point2d>> data) |
static Pair<Jama.Matrix> |
TransformUtilities.getNormalisations(List<? extends IndependentPair<? extends Point2d,? extends Point2d>> data)
Generates the data for normalisation of the points such that each matched
point is centered about the origin and also scaled be be within
Math.sqrt(2) of the origin.
|
static Pair<Jama.Matrix> |
TransformUtilities.getNormalisations(List<? extends IndependentPair<? extends Point2d,? extends Point2d>> data)
Generates the data for normalisation of the points such that each matched
point is centered about the origin and also scaled be be within
Math.sqrt(2) of the origin.
|
protected abstract org.apache.commons.math3.analysis.MultivariateVectorFunction |
HomographyRefinement.getValueFunction(List<? extends IndependentPair<? extends Point2d,? extends Point2d>> data) |
protected abstract org.apache.commons.math3.analysis.MultivariateVectorFunction |
HomographyRefinement.getValueFunction(List<? extends IndependentPair<? extends Point2d,? extends Point2d>> data) |
static Jama.Matrix |
TransformUtilities.homographyMatrix(List<? extends IndependentPair<? extends Point2d,? extends Point2d>> data)
Compute the least-squares estimate (the normalised Direct Linear
Transform approach) of the homography between a set of matching data
points.
|
static Jama.Matrix |
TransformUtilities.homographyMatrix(List<? extends IndependentPair<? extends Point2d,? extends Point2d>> data)
Compute the least-squares estimate (the normalised Direct Linear
Transform approach) of the homography between a set of matching data
points.
|
static Jama.Matrix |
TransformUtilities.homographyMatrixNorm(List<? extends IndependentPair<? extends Point2d,? extends Point2d>> data)
Compute the least-squares estimate (the normalised Direct Linear
Transform approach) of the homography between a set of matching data
points.
|
static Jama.Matrix |
TransformUtilities.homographyMatrixNorm(List<? extends IndependentPair<? extends Point2d,? extends Point2d>> data)
Compute the least-squares estimate (the normalised Direct Linear
Transform approach) of the homography between a set of matching data
points.
|
static IndependentPair<Point2d,Point2d> |
TransformUtilities.normalise(IndependentPair<Point2d,Point2d> data,
Pair<Jama.Matrix> normalisations)
Normalise the data, returning a normalised copy.
|
static IndependentPair<Point2d,Point2d> |
TransformUtilities.normalise(IndependentPair<Point2d,Point2d> data,
Pair<Jama.Matrix> normalisations)
Normalise the data, returning a normalised copy.
|
static List<? extends IndependentPair<Point2d,Point2d>> |
TransformUtilities.normalise(List<? extends IndependentPair<Point2d,Point2d>> data,
Pair<Jama.Matrix> normalisations)
Normalise the data, returning a normalised copy.
|
static List<? extends IndependentPair<Point2d,Point2d>> |
TransformUtilities.normalise(List<? extends IndependentPair<Point2d,Point2d>> data,
Pair<Jama.Matrix> normalisations)
Normalise the data, returning a normalised copy.
|
abstract Jama.Matrix |
HomographyRefinement.refine(Jama.Matrix initial,
List<? extends IndependentPair<? extends Point2d,? extends Point2d>> data)
Refine an initial guess at the homography that takes the first points in
data to the second using non-linear Levenberg Marquardt optimisation.
|
abstract Jama.Matrix |
HomographyRefinement.refine(Jama.Matrix initial,
List<? extends IndependentPair<? extends Point2d,? extends Point2d>> data)
Refine an initial guess at the homography that takes the first points in
data to the second using non-linear Levenberg Marquardt optimisation.
|
Jama.Matrix |
FundamentalRefinement.refine(Jama.Matrix initial,
List<? extends IndependentPair<? extends Point2d,? extends Point2d>> data)
Refine an initial guess at the homography that takes the first points in
data to the second using non-linear Levenberg Marquardt optimisation.
|
Jama.Matrix |
FundamentalRefinement.refine(Jama.Matrix initial,
List<? extends IndependentPair<? extends Point2d,? extends Point2d>> data)
Refine an initial guess at the homography that takes the first points in
data to the second using non-linear Levenberg Marquardt optimisation.
|
Constructor and Description |
---|
Base(List<? extends IndependentPair<? extends Point2d,? extends Point2d>> data) |
Base(List<? extends IndependentPair<? extends Point2d,? extends Point2d>> data) |
F12Epipolar(List<? extends IndependentPair<? extends Point2d,? extends Point2d>> data) |
F12Epipolar(List<? extends IndependentPair<? extends Point2d,? extends Point2d>> data) |
F12Sampson(List<? extends IndependentPair<? extends Point2d,? extends Point2d>> data) |
F12Sampson(List<? extends IndependentPair<? extends Point2d,? extends Point2d>> data) |
F13Epipolar(List<? extends IndependentPair<? extends Point2d,? extends Point2d>> data) |
F13Epipolar(List<? extends IndependentPair<? extends Point2d,? extends Point2d>> data) |
F13Sampson(List<? extends IndependentPair<? extends Point2d,? extends Point2d>> data) |
F13Sampson(List<? extends IndependentPair<? extends Point2d,? extends Point2d>> data) |
F23Epipolar(List<? extends IndependentPair<? extends Point2d,? extends Point2d>> data) |
F23Epipolar(List<? extends IndependentPair<? extends Point2d,? extends Point2d>> data) |
F23Sampson(List<? extends IndependentPair<? extends Point2d,? extends Point2d>> data) |
F23Sampson(List<? extends IndependentPair<? extends Point2d,? extends Point2d>> data) |
Modifier and Type | Class and Description |
---|---|
class |
ConvexityCheck2D<M extends Model<Point2d,Point2d> & MatrixTransformProvider>
Test that a 2d transform model preserves convexity
|
class |
ConvexityCheck2D<M extends Model<Point2d,Point2d> & MatrixTransformProvider>
Test that a 2d transform model preserves convexity
|
class |
OrientationCheck2D<M extends Model<Point2d,Point2d> & MatrixTransformProvider>
Test whether a given model that produces a homogenous transform is
orientation preserving
|
class |
OrientationCheck2D<M extends Model<Point2d,Point2d> & MatrixTransformProvider>
Test whether a given model that produces a homogenous transform is
orientation preserving
|
Modifier and Type | Method and Description |
---|---|
List<? extends IndependentPair<Point2d,Point2d>> |
RobustAffineTransformEstimator.getInliers() |
List<? extends IndependentPair<Point2d,Point2d>> |
RobustAffineTransformEstimator.getInliers() |
List<? extends IndependentPair<Point2d,Point2d>> |
RobustHomographyEstimator.getInliers() |
List<? extends IndependentPair<Point2d,Point2d>> |
RobustHomographyEstimator.getInliers() |
List<? extends IndependentPair<Point2d,Point2d>> |
RobustFundamentalEstimator.getInliers() |
List<? extends IndependentPair<Point2d,Point2d>> |
RobustFundamentalEstimator.getInliers() |
List<? extends IndependentPair<Point2d,Point2d>> |
RobustAffineTransformEstimator.getOutliers() |
List<? extends IndependentPair<Point2d,Point2d>> |
RobustAffineTransformEstimator.getOutliers() |
List<? extends IndependentPair<Point2d,Point2d>> |
RobustHomographyEstimator.getOutliers() |
List<? extends IndependentPair<Point2d,Point2d>> |
RobustHomographyEstimator.getOutliers() |
List<? extends IndependentPair<Point2d,Point2d>> |
RobustFundamentalEstimator.getOutliers() |
List<? extends IndependentPair<Point2d,Point2d>> |
RobustFundamentalEstimator.getOutliers() |
Modifier and Type | Method and Description |
---|---|
boolean |
RobustAffineTransformEstimator.fitData(List<? extends IndependentPair<Point2d,Point2d>> data) |
boolean |
RobustAffineTransformEstimator.fitData(List<? extends IndependentPair<Point2d,Point2d>> data) |
boolean |
RobustHomographyEstimator.fitData(List<? extends IndependentPair<Point2d,Point2d>> data) |
boolean |
RobustHomographyEstimator.fitData(List<? extends IndependentPair<Point2d,Point2d>> data) |
boolean |
RobustFundamentalEstimator.fitData(List<? extends IndependentPair<Point2d,Point2d>> data) |
boolean |
RobustFundamentalEstimator.fitData(List<? extends IndependentPair<Point2d,Point2d>> data) |
Modifier and Type | Method and Description |
---|---|
List<IndependentPair<Point2d,Point2d>> |
BucketingSampler2d.sample(int nItems) |
List<IndependentPair<Point2d,Point2d>> |
BucketingSampler2d.sample(int nItems) |
Modifier and Type | Method and Description |
---|---|
void |
BucketingSampler2d.setCollection(Collection<? extends IndependentPair<Point2d,Point2d>> collection) |
void |
BucketingSampler2d.setCollection(Collection<? extends IndependentPair<Point2d,Point2d>> collection) |
Modifier and Type | Class and Description |
---|---|
class |
AlgebraicResidual2d<M extends Model<Point2d,Point2d> & MatrixTransformProvider>
Compute the algebraic residuals of points mapped by a 2d homogeneous
transform (i.e.
|
class |
AlgebraicResidual2d<M extends Model<Point2d,Point2d> & MatrixTransformProvider>
Compute the algebraic residuals of points mapped by a 2d homogeneous
transform (i.e.
|
class |
SingleImageTransferResidual2d<M extends Model<Point2d,Point2d>>
Compute the 2d geometric Single Image Transfer residual.
|
class |
SingleImageTransferResidual2d<M extends Model<Point2d,Point2d>>
Compute the 2d geometric Single Image Transfer residual.
|
class |
SymmetricTransferResidual2d<M extends Model<Point2d,Point2d> & MatrixTransformProvider>
The points in the first image are projected by the homography matrix to
produce new estimates of the second image points and the second image point
projected by the inverse homography to produce estimates of the first.
|
class |
SymmetricTransferResidual2d<M extends Model<Point2d,Point2d> & MatrixTransformProvider>
The points in the first image are projected by the homography matrix to
produce new estimates of the second image points and the second image point
projected by the inverse homography to produce estimates of the first.
|
class |
TransformedSITR2d<M extends Model<Point2d,Point2d>>
An implementation of a
SingleImageTransferResidual2d that
pre-transforms both sets of points by predetermined transforms. |
class |
TransformedSITR2d<M extends Model<Point2d,Point2d>>
An implementation of a
SingleImageTransferResidual2d that
pre-transforms both sets of points by predetermined transforms. |
Modifier and Type | Method and Description |
---|---|
double |
SingleImageTransferResidual2d.computeResidual(IndependentPair<Point2d,Point2d> data) |
double |
SingleImageTransferResidual2d.computeResidual(IndependentPair<Point2d,Point2d> data) |
double |
TransformedSITR2d.computeResidual(IndependentPair<Point2d,Point2d> data) |
double |
TransformedSITR2d.computeResidual(IndependentPair<Point2d,Point2d> data) |
double |
SymmetricTransferResidual2d.computeResidual(IndependentPair<Point2d,Point2d> data) |
double |
SymmetricTransferResidual2d.computeResidual(IndependentPair<Point2d,Point2d> data) |
double |
AlgebraicResidual2d.computeResidual(IndependentPair<Point2d,Point2d> data) |
double |
AlgebraicResidual2d.computeResidual(IndependentPair<Point2d,Point2d> data) |
void |
SingleImageTransferResidual2d.computeResiduals(List<? extends IndependentPair<Point2d,Point2d>> data,
double[] errors) |
void |
SingleImageTransferResidual2d.computeResiduals(List<? extends IndependentPair<Point2d,Point2d>> data,
double[] errors) |
void |
TransformedSITR2d.computeResiduals(List<? extends IndependentPair<Point2d,Point2d>> data,
double[] errors) |
void |
TransformedSITR2d.computeResiduals(List<? extends IndependentPair<Point2d,Point2d>> data,
double[] errors) |
void |
SymmetricTransferResidual2d.computeResiduals(List<? extends IndependentPair<Point2d,Point2d>> data,
double[] residuals) |
void |
SymmetricTransferResidual2d.computeResiduals(List<? extends IndependentPair<Point2d,Point2d>> data,
double[] residuals) |
void |
AlgebraicResidual2d.computeResiduals(List<? extends IndependentPair<Point2d,Point2d>> data,
double[] residuals) |
void |
AlgebraicResidual2d.computeResiduals(List<? extends IndependentPair<Point2d,Point2d>> data,
double[] residuals) |
Modifier and Type | Method and Description |
---|---|
static org.jgrapht.Graph<Point2d,org.jgrapht.graph.DefaultEdge> |
Voronoi.computeVoronoiGraph(List<? extends Point2d> points)
Compute the Voronoi diagram as a graph of its vertices
|
static org.jgrapht.Graph<Point2d,org.jgrapht.graph.DefaultEdge> |
Voronoi.computeVoronoiGraph(List<? extends Point2d> points,
double width,
double height)
Compute the Voronoi diagram as a graph of its vertices
|
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
|
static org.jgrapht.Graph<Point2d,org.jgrapht.graph.DefaultEdge> |
Voronoi.computeVoronoiGraph(List<? extends Point2d> points)
Compute the Voronoi diagram as a graph of its vertices
|
static org.jgrapht.Graph<Point2d,org.jgrapht.graph.DefaultEdge> |
Voronoi.computeVoronoiGraph(List<? extends Point2d> points,
double width,
double height)
Compute the Voronoi diagram as a graph of its vertices
|
static List<Triangle> |
DelaunayTriangulator.triangulate(List<? extends Point2d> pxyz)
Trianglate a set of vertices.
|
Modifier and Type | Field and Description |
---|---|
protected List<IndependentPair<String,Point2d>> |
MultidimensionalScaling.points |
Modifier and Type | Method and Description |
---|---|
Point2d |
MultidimensionalScaling.getPoint(String key)
Get the predicted point for a specific element.
|
Modifier and Type | Method and Description |
---|---|
List<IndependentPair<String,Point2d>> |
MultidimensionalScaling.getPoints()
Get a list of the 2-D coordinates learned by the MDS algorithm for each
element in the input similarity matrix.
|
Modifier and Type | Method and Description |
---|---|
protected FImage |
MDS.render(List<IndependentPair<String,Point2d>> pts,
int sz) |
Modifier and Type | Field and Description |
---|---|
Map<Point2d,Point2d> |
MotionEstimator.motionVectors
The estimated motion vectors for the last analysed frame
|
Map<Point2d,Point2d> |
MotionEstimator.motionVectors
The estimated motion vectors for the last analysed frame
|
Modifier and Type | Method and Description |
---|---|
Point2d |
MotionEstimatorAlgorithm.PHASE_CORRELATION.estimateMotion(VideoSubFrame<FImage> img2sub,
VideoSubFrame<FImage>... imagesSub)
Calculate the estimated motion vector between
images
which [0] is first in the sequence and img2 which is
second in the sequence. |
Modifier and Type | Method and Description |
---|---|
protected Map<Point2d,Point2d> |
GridMotionEstimator.estimateMotionField(MotionEstimatorAlgorithm estimator,
VideoFrame<FImage> vf,
VideoFrame<FImage>[] array)
This method needs to be overridden for specific layouts of motion
field within the image.
|
protected Map<Point2d,Point2d> |
GridMotionEstimator.estimateMotionField(MotionEstimatorAlgorithm estimator,
VideoFrame<FImage> vf,
VideoFrame<FImage>[] array)
This method needs to be overridden for specific layouts of motion
field within the image.
|
protected abstract Map<Point2d,Point2d> |
MotionEstimator.estimateMotionField(MotionEstimatorAlgorithm estimator,
VideoFrame<FImage> frame,
VideoFrame<FImage>[] array)
This method needs to be overridden for specific layouts of motion
field within the image.
|
protected abstract Map<Point2d,Point2d> |
MotionEstimator.estimateMotionField(MotionEstimatorAlgorithm estimator,
VideoFrame<FImage> frame,
VideoFrame<FImage>[] array)
This method needs to be overridden for specific layouts of motion
field within the image.
|
Map<Point2d,Point2d> |
MotionEstimator.getMotionVectors()
Return the estimated motion vectors for the last processed frame.
|
Map<Point2d,Point2d> |
MotionEstimator.getMotionVectors()
Return the estimated motion vectors for the last processed frame.
|
Modifier and Type | Class and Description |
---|---|
class |
Feature
A tracked feature
|
Modifier and Type | Method and Description |
---|---|
Point2d |
Feature.minus(Point2d a) |
Modifier and Type | Method and Description |
---|---|
void |
Feature.copyFrom(Point2d p) |
Point2d |
Feature.minus(Point2d a) |
void |
Feature.translate(Point2d v) |
Modifier and Type | Method and Description |
---|---|
Point2d |
AxesRenderer2D.calculatePosition(double x,
double y)
Helper function to calulate the render position of a data unit
|
Point2d |
BarVisualisation.getValueAt(int x,
int y)
Returns the units value at the given pixel coordinate.
|
Point2d |
BarVisualisationBasic.getValueAt(int x,
int y)
Returns the units value at the given pixel coordinate.
|
Modifier and Type | Method and Description |
---|---|
Point2d |
TernaryPlot.TernaryData.asPoint() |
Modifier and Type | Method and Description |
---|---|
Point2d |
WorldMap.getCountryLocation(String countryCode)
Returns the lat/long of a country given its country code
|