Modifier and Type | Class and Description |
---|---|
class |
Contour
A contour or hierarchical set of contours within an image.
|
Modifier and Type | Field and Description |
---|---|
PointList |
ActiveShapeModel.IterationResult.shape
The updated shape in image coordinates
|
Modifier and Type | Method and Description |
---|---|
ActiveShapeModel.IterationResult |
ActiveShapeModel.fit(I image,
PointList initialShape)
Iteratively apply
ActiveShapeModel.performIteration(Image, PointList) until the
maximum number of iterations is exceeded, or the number of points that
moved less than 0.5 of their maximum distance in an iteration is less
than the target inlier percentage. |
ActiveShapeModel.IterationResult |
MultiResolutionActiveShapeModel.fit(I initialImage,
PointList initialShape)
Perform multi-resolution fitting of the initial shape to
the initial image.
|
ActiveShapeModel.IterationResult |
ActiveShapeModel.performIteration(I image,
PointList currentShape)
Perform a single iteration of model fitting.
|
Modifier and Type | Method and Description |
---|---|
static <I extends Image<?,I> & SinglebandImageProcessor.Processable<Float,FImage,I>> |
MultiResolutionActiveShapeModel.trainModel(int numLevels,
PrincipalComponentAnalysis.ComponentSelector selector,
List<IndependentPair<PointList,I>> data,
PointDistributionModel.Constraint constraint,
LandmarkModelFactory<I> factory)
Train a new
MultiResolutionActiveShapeModel from the given
data. |
static <I extends Image<?,I>> |
ActiveShapeModel.trainModel(PrincipalComponentAnalysis.ComponentSelector selector,
List<IndependentPair<PointList,I>> data,
PointDistributionModel.Constraint constraint,
LandmarkModelFactory<I> factory)
Train a new
ActiveShapeModel using the given data and parameters. |
Constructor and Description |
---|
IterationResult(Jama.Matrix pose,
PointList shape,
double fit,
double[] parameters) |
Modifier and Type | Method and Description |
---|---|
List<PointList> |
ShapeModelDataset.getPointLists()
Get the points for each instance
|
Modifier and Type | Method and Description |
---|---|
static <IMAGE extends Image<?,IMAGE>> |
ShapeModelDatasets.create(List<IndependentPair<PointList,IMAGE>> data,
PointListConnections connections)
Create a dataset with the given data.
|
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.
|
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 |
Polyline
|
Modifier and Type | Method and Description |
---|---|
PointList |
PointList.clone() |
static PointList |
PointList.computeMean(Collection<PointList> shapes)
Compute the mean of a set of
PointList s. |
PointList |
PointList.scaleX(float sc)
Scale the
PointList only in the x-direction by the given amount
about (0,0). |
PointList |
PointList.scaleXY(float scx,
float scy)
Scale the
PointList by the given amount about (0,0). |
PointList |
PointList.scaleY(float sc)
Scale the
PointList only in the y-direction by the given amount
about (0,0). |
PointList |
PointList.transform(Jama.Matrix transform)
Apply a 3x3 transform matrix to a copy of the
PointList and
return it |
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 . |
void |
PointListConnections.addConnection(PointList pl,
Point2d from,
Point2d to)
Add a connection between two points in the given
PointList . |
Point2dImpl |
PointListConnections.calculateNormal(int id,
PointList pointList)
Calculate the normal vector at a given vertex id.
|
Point2dImpl |
PointListConnections.calculateNormal(Point2d pt,
PointList pointList)
Calculate the normal vector at a given vertex.
|
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.
|
Point2d[] |
PointListConnections.getConnections(Point2d pt,
PointList pl)
Get the points connected to the given point.
|
List<Line2d> |
PointListConnections.getLines(PointList pointList)
Get the connections as a list of lines based on the points in the given
PointList . |
Modifier and Type | Method and Description |
---|---|
static PointList |
PointList.computeMean(Collection<PointList> shapes)
Compute the mean of a set of
PointList s. |
Constructor and Description |
---|
PointListConnections(PointList pl,
List<Line2d> lines)
|
Modifier and Type | Class and Description |
---|---|
class |
Polygon
A polygon, modelled as a list of vertices.
|
class |
TriangulatedPolygon
A polygon that has been broken into triangles.
|
Modifier and Type | Field and Description |
---|---|
protected PointList |
PointDistributionModel.mean |
Modifier and Type | Method and Description |
---|---|
PointList |
PointDistributionModel.generateNewShape(double[] scaling)
Generate a plausible new shape from the scaling vector.
|
PointList |
PointDistributionModel.getMean() |
Modifier and Type | Method and Description |
---|---|
IndependentPair<Jama.Matrix,double[]> |
PointDistributionModel.fitModel(PointList observed)
Determine the best parameters of the PDM for the given model.
|
Constructor and Description |
---|
PointDistributionModel(List<PointList> data)
Construct a
PointDistributionModel from the given data with a
PointDistributionModel.NullConstraint . |
PointDistributionModel(PointDistributionModel.Constraint constraint,
List<PointList> data)
Construct a
PointDistributionModel from the given data and
PointDistributionModel.Constraint . |
Modifier and Type | Field and Description |
---|---|
protected PointList |
ProcrustesAnalysis.reference |
Modifier and Type | Method and Description |
---|---|
PointList |
GeneralisedProcrustesAnalysis.align(List<PointList> shapes)
Align the input shapes to the "mean" shape.
|
static PointList |
GeneralisedProcrustesAnalysis.alignPoints(List<PointList> inputShapes,
float threshold,
int maxIters)
Align the input shapes to the "mean" shape using Generalised Procrustes Analysis.
|
protected static PointList |
GeneralisedProcrustesAnalysis.alignPointsAndAverage(List<PointList> shapes,
PointList reference,
double referenceScaling,
Point2d referenceCog) |
Modifier and Type | Method and Description |
---|---|
Jama.Matrix |
ProcrustesAnalysis.align(PointList toAlign)
Align the given shape to the reference.
|
protected static PointList |
GeneralisedProcrustesAnalysis.alignPointsAndAverage(List<PointList> shapes,
PointList reference,
double referenceScaling,
Point2d referenceCog) |
static float |
ProcrustesAnalysis.computeProcrustesDistance(PointList l1,
PointList l2)
Compute the Procrustes Distance between two
PointList s. |
protected static double |
ProcrustesAnalysis.computeScale(PointList pl,
double tx,
double ty) |
Modifier and Type | Method and Description |
---|---|
PointList |
GeneralisedProcrustesAnalysis.align(List<PointList> shapes)
Align the input shapes to the "mean" shape.
|
static PointList |
GeneralisedProcrustesAnalysis.alignPoints(List<PointList> inputShapes,
float threshold,
int maxIters)
Align the input shapes to the "mean" shape using Generalised Procrustes Analysis.
|
protected static PointList |
GeneralisedProcrustesAnalysis.alignPointsAndAverage(List<PointList> shapes,
PointList reference,
double referenceScaling,
Point2d referenceCog) |
Constructor and Description |
---|
ProcrustesAnalysis(PointList reference)
Construct the
ProcrustesAnalysis with the given
reference shape. |
ProcrustesAnalysis(PointList reference,
boolean normalise)
Construct the
ProcrustesAnalysis with the given
reference shape. |
Modifier and Type | Method and Description |
---|---|
abstract PointList |
VideoObjectVisualisation.trackObject(MBFImage frame)
Tracks an object within the frame and returns a set of points
that somehow delineate the object or give its position.
|
Modifier and Type | Method and Description |
---|---|
abstract void |
VideoObjectVisualisation.DrawType.draw(MBFImage vis,
int xoffset,
int yoffset,
PointList pl)
Draw the point list into the given visualisation at the given offset.
|