public class TModel2D extends Model
Modifier and Type | Field and Description |
---|---|
static int |
MIN_SET_SIZE |
Constructor and Description |
---|
TModel2D() |
Modifier and Type | Method and Description |
---|---|
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
|
TModel2D |
clone()
clone
|
static TModel2D |
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 TModel2D |
estimateModel(java.util.List<PointMatch> candidates,
java.util.Collection<PointMatch> inliers,
int iterations,
float epsilon,
float min_inliers)
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
|
Matrix |
getMatrix() |
void |
minimize(java.util.Collection<PointMatch> matches) |
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
|
TRModel2D |
toTRModel2D() |
betterThan, test
public static final int MIN_SET_SIZE
public float[] apply(float[] point)
Model
public void applyInPlace(float[] point)
Model
applyInPlace
in class Model
public float[] applyInverse(float[] point)
Model
applyInverse
in class Model
public void applyInverseInPlace(float[] point)
Model
applyInverseInPlace
in class Model
public boolean fit(PointMatch[] min_matches)
Model
public java.lang.String toString()
Model
public void minimize(java.util.Collection<PointMatch> matches)
public final void shake(java.util.Collection<PointMatch> matches, float scale, float[] center)
public static TModel2D estimateModel(java.util.List<PointMatch> candidates, java.util.Collection<PointMatch> inliers, int iterations, float epsilon, float min_inliers)
public static TModel2D estimateBestModel(java.util.List<PointMatch> candidates, java.util.Collection<PointMatch> inliers, float min_epsilon, float max_epsilon, float min_inlier_ratio)
public TRModel2D toTRModel2D()