|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectmpi.cbg.fly.Model
mpi.cbg.fly.TRModel2D
public class TRModel2D
| Field Summary | |
|---|---|
static int |
MIN_SET_SIZE
|
| Fields inherited from class mpi.cbg.fly.Model |
|---|
error |
| Constructor Summary | |
|---|---|
TRModel2D()
|
|
| Method Summary | |
|---|---|
float[] |
apply(float[] point)
apply the model to a point location |
void |
applyInPlace(float[] point)
apply the model to a point location |
float[] |
applyInverse(float[] point)
apply the inverse of the model to a point location |
void |
applyInverseInPlace(float[] point)
apply the inverse of the model to a point location |
TRModel2D |
clone()
clone |
void |
concatenate(TRModel2D model)
|
static TRModel2D |
estimateBestModel(java.util.List<PointMatch> candidates,
java.util.Collection<PointMatch> inliers,
float min_epsilon,
float max_epsilon,
float min_inlier_ratio)
estimate the transformation model for a set of feature correspondences containing a high number of outliers using RANSAC increase the error as long as not more inliers occur |
static TRModel2D |
estimateModel(java.util.List<PointMatch> candidates,
java.util.Collection<PointMatch> inliers,
int iterations,
float epsilon,
float min_inlier_ratio)
estimate the transformation model for a set of feature correspondences containing a high number of outliers using RANSAC |
boolean |
fit(PointMatch[] min_matches)
fit the model to a minimal set of point correpondences estimates a model to transform match.p2.local to match.p1.world |
java.awt.geom.AffineTransform |
getAffine()
|
void |
minimize(java.util.Collection<PointMatch> matches)
|
void |
preConcatenate(TRModel2D model)
|
void |
shake(java.util.Collection<PointMatch> matches,
float scale,
float[] center)
change the model a bit estimates the necessary amount of shaking for each single dimensional distance in the set of matches |
java.lang.String |
toString()
string to output stream |
| Methods inherited from class mpi.cbg.fly.Model |
|---|
betterThan, test |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Field Detail |
|---|
public static final int MIN_SET_SIZE
| Constructor Detail |
|---|
public TRModel2D()
| Method Detail |
|---|
public java.awt.geom.AffineTransform getAffine()
getAffine in class Modelpublic float[] apply(float[] point)
Model
apply in class Modelpublic void applyInPlace(float[] point)
Model
applyInPlace in class Modelpublic float[] applyInverse(float[] point)
Model
applyInverse in class Modelpublic void applyInverseInPlace(float[] point)
Model
applyInverseInPlace in class Modelpublic boolean fit(PointMatch[] min_matches)
Model
fit in class Modelmin_matches - minimal set of point correpondences
public java.lang.String toString()
Model
toString in class Modelpublic void minimize(java.util.Collection<PointMatch> matches)
minimize in class Model
public final void shake(java.util.Collection<PointMatch> matches,
float scale,
float[] center)
shake in class Modelmatches - point matchesscale - gives a multiplicative factor to each dimensional distance (increases the amount of shaking)center - local pivot point
public static TRModel2D estimateModel(java.util.List<PointMatch> candidates,
java.util.Collection<PointMatch> inliers,
int iterations,
float epsilon,
float min_inlier_ratio)
candidates - set of correspondence candidatesinliers - set ot correspondences that fit the finally estimated model if anyiterations - number of iterationsepsilon - maximally allowed displacementmin_inlier_ratio - minimal amount of inliers
public static TRModel2D estimateBestModel(java.util.List<PointMatch> candidates,
java.util.Collection<PointMatch> inliers,
float min_epsilon,
float max_epsilon,
float min_inlier_ratio)
public TRModel2D clone()
Model
clone in class Modelpublic void preConcatenate(TRModel2D model)
public void concatenate(TRModel2D model)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||