public class TModel2D extends Model
| 限定符和类型 | 字段和说明 |
|---|---|
static int |
MIN_SET_SIZE |
| 构造器和说明 |
|---|
TModel2D() |
| 限定符和类型 | 方法和说明 |
|---|---|
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
|
java.awt.geom.AffineTransform |
getAffine() |
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, testpublic static final int MIN_SET_SIZE
public float[] apply(float[] point)
Modelpublic void applyInPlace(float[] point)
ModelapplyInPlace 在类中 Modelpublic float[] applyInverse(float[] point)
ModelapplyInverse 在类中 Modelpublic void applyInverseInPlace(float[] point)
ModelapplyInverseInPlace 在类中 Modelpublic boolean fit(PointMatch[] min_matches)
Modelpublic java.lang.String toString()
Modelpublic 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()