|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectplugins.big.bigsnakeutils.shape.priorshapes.ShapeProjector
public class ShapeProjector
Class that projects spline curves onto an affine invariant shape space.
| Constructor Summary | |
|---|---|
ShapeProjector(PriorShape shape,
Jama.Matrix projector,
Jama.Matrix orthoProjector)
Constructor affine transform (discrete). |
|
ShapeProjector(PriorShape shape,
Jama.Matrix projector,
Jama.Matrix orthoProjector,
Jama.Matrix B)
Constructor Similarity transform. |
|
| Method Summary | |
|---|---|
Jama.Matrix |
getOrthoprojectionMatrix()
Returns the matrix that encodes the orthogonal projector of an arbitrary shape to the subspace orthogonal to the shape-space. |
Jama.Matrix |
getProjectionMatrix()
Returns the matrix that encodes the orthogonal projector of an arbitrary shape to the shape-space. |
PriorShape |
getShape()
Returns the type of prior-shape that is used. |
Snake2DNode[] |
orthoProject(Snake2DNode[] inputNodes)
Projects a set of snake-defining nodes to the subspace orthogonal to the corresponding shape-space. |
double |
orthoProjectionDistanceAffine(Snake2DNode[] inputNodes)
Returns the distance between the shape space and the projection of the input shape to the orthogonal complement. |
double |
orthoProjectionDistanceSimilarity(Snake2DNode[] inputNodes)
Returns the distance between the shape space and the projection of the input shape to the orthogonal complement. |
Snake2DNode[] |
project(Snake2DNode[] inputNodes)
Projects a set of snake-defining nodes to the corresponding shape-space. |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public ShapeProjector(PriorShape shape,
Jama.Matrix projector,
Jama.Matrix orthoProjector)
public ShapeProjector(PriorShape shape,
Jama.Matrix projector,
Jama.Matrix orthoProjector,
Jama.Matrix B)
| Method Detail |
|---|
public double orthoProjectionDistanceAffine(Snake2DNode[] inputNodes)
public double orthoProjectionDistanceSimilarity(Snake2DNode[] inputNodes)
public Snake2DNode[] project(Snake2DNode[] inputNodes)
public Snake2DNode[] orthoProject(Snake2DNode[] inputNodes)
public Jama.Matrix getProjectionMatrix()
public Jama.Matrix getOrthoprojectionMatrix()
public PriorShape getShape()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||