I - Type of imagepublic interface LandmarkModel<I extends Image<?,I>>
LandmarkModel models local image content and provides functionality
to move a point in an image to a nearby point with a lower cost than at the
initial point.
Landmarks are normally associated with points in PointLists and thus
quite often have an associated "intrinsic scale". This scale can be used to
dynamically change the size of the support region of a landmark so that is
scales with the PointLists intrinsic scale.
| Modifier and Type | Method and Description |
|---|---|
float |
computeCost(I image,
Point2d point,
PointList pointList)
Evaluate the cost function using the given image and point.
|
void |
updateModel(I image,
Point2d point,
PointList pointList)
Update the internal model of local image content by adding information
from the provided image.
|
ObjectFloatPair<Point2d> |
updatePosition(I image,
Point2d initial,
PointList pointList)
Estimate an improved fit based on a local neighbourhood search.
|
void updateModel(I image, Point2d point, PointList pointList)
image - the imagepoint - the point in the image representing the landmarkpointList - the pointList to which the point belongsfloat computeCost(I image, Point2d point, PointList pointList)
image - the imagepoint - the point in the imagepointList - the pointList to which the point belongsObjectFloatPair<Point2d> updatePosition(I image, Point2d initial, PointList pointList)
image - the imageinitial - the initial point in the imagepointList - the pointList to which the point belongs