没有合适的资源?快使用搜索试试~ 我知道了~
资源推荐
资源详情
资源评论
Graphics and
Image Processing
J. D. Foley
Editor
Random Sample
Consensus: A
Paradigm for Model
Fitting with
Apphcatlons to
Image
Analysis and
Automated
Cartography
Martin A. Fischler and Robert C. Bolles
SRI International
A new paradigm, Random Sample Consensus
(RANSAC),
for fitting a model to experimental data is
introduced. RANSAC is capable of interpreting/
smoothing data containing a significant percentage of
gross errors, and is thus ideally suited for applications
in automated image analysis where interpretation is
based on the data provided by error-prone feature
detectors. A major portion of this paper describes the
application of RANSAC to the Location Determination
Problem (LDP): Given an image depicting a set of
landmarks with known locations, determine that point
in space from which the image was obtained. In
response to a RANSAC requirement, new results are
derived on the minimum number of landmarks needed
to obtain a solution, and algorithms are presented for
computing these minimum-landmark solutions in closed
form. These results provide the basis for an automatic
system that can solve the LDP under difficult viewing
Permission to copy without fee all or part of this material is
granted provided that the copies are not made or distributed for direct
commercial advantage, the ACM copyright notice and the title of the
publication and its date appear, and notice is given that copying is by
permission of the Association for Computing Machinery. To copy
otherwise, or to republish, requires a fee and/or specific permission.
The work reported herein was supported by the Defense Advanced
Research Projects Agency under Contract Nos. DAAG29-76-C-0057
and MDA903-79-C-0588.
Authors' Present Address: Martin A. Fischler and Robert C.
Bolles, Artificial Intelligence Center, SRI International, Menlo Park
CA 94025.
© 1981 ACM 0001-0782/81/0600-0381 $00.75
381
and analysis conditions. Implementation details and
computational examples are also presented.
Key Words and Phrases: model fitting, scene
analysis, camera calibration, image matching, location
determination, automated cartography.
CR Categories: 3.60, 3.61, 3.71, 5.0, 8.1, 8.2
I. Introduction
We introduce a new paradigm, Random Sample
Consensus
(RANSAC),
for fitting a model to experimental
data; and illustrate its use in scene analysis and auto-
mated cartography. The application discussed, the loca-
tion determination problem (LDP), is treated at a level
beyond that of a mere example of the use of the RANSAC
paradigm; new basic findings concerning the conditions
under which the LDP can be solved are presented and
a comprehensive approach to the solution of this problem
that we anticipate will have near-term practical appli-
cations is described.
To a large extent, scene analysis (and, in fact, science
in general) is concerned with the interpretation of sensed
data in terms of a set of predefmed models. Conceptually,
interpretation involves two distinct activities: First, there
is the problem of finding the best match between the
data and one of the available models (the classification
problem); Second, there is the problem of computing the
best values for the free parameters of the selected model
(the parameter estimation problem). In practice, these
two problems are not independent--a solution to the
parameter estimation problem is often required to solve
the classification problem.
Classical techniques for parameter estimation, such
as least squares, optimize (according to a specified ob-
jective function) the fit of a functional description
(model) to
all
of the presented data. These techniques
have no internal mechanisms for detecting and rejecting
gross errors. They are averaging techniques that rely on
the assumption (the smoothing assumption) that the
maximum expected deviation of any datum from the
assumed model is a direct function of the size of the data
set, and thus regardless of the size of the data set, there
will always be enough good values to smooth out any
gross deviations.
In many practical parameter estimation problems the
smoothing assumption does not hold; i.e., the data con-
tain uncompensated gross errors. To deal with this situ-
ation, several heuristics have been proposed. The tech-
nique usually employed is some variation of first using
all the data to derive the model parameters, then locating
the datum that is farthest from agreement with the
instantiated model, assuming that it is a gross error,
deleting it, and iterating this process until either the
maximum deviation is less then some preset threshold or
until there is no longer sufficient data to proceed.
It can easily be shown that a single gross error
("poisoned point"), mixed in with a set of good data, can
Communications June 1981
of Volume 24
the ACM Number 6
Fig. 1. Failure of Least Squares (and the "Throwing Out The Worst Residual" Heuristic), to Deal with an Erroneous Data Point.
PROBLEM: Given the set of seven (x,y) pairs shown in the plot, find a best fit line, assuming that no valid datum
deviates from this line by more than 0.8 units.
5
4
3
2
IDEAL
MODEL
I I I ~ I
GROSS ERROR
(POINT 7)
,,,,-
FINAL LEAST
SQUARES LINE
/
0./ I I I I I I I I I
0 1 2 3 4 5 6 7 8 9 10
X
POINT x y
1 0 0
2 1 1
3 2 2
4 3 2
5 3 3
6 4 4
7 10 2
COMMENT:
Six of the seven points are valid data and can be fit by the solid line. Using Least Squares (and the
"throwing out the worst residual" heuristic), we terminate after four iterations with four remaining
points, including the gross error at (10,2) fit by the dashed line.
SUCCESSIVE LEAST SQUARES APPROXIMATIONS
ITERATION DATA SET FITTING LINE
1
2
3
4
1,2,3,4,5,6,7
1,2,3,4,5,7
1,2,3,4,/
2,3,4,7
1.48 + .16x
1.25 + .13x
0.96 + .14x
1.51 +'.06x
COMPUTATION OF RESIDUALS
POINT
ITERATION 1
RESIDUALS
- 1.48
-0.64
-0.20
0.05
1.05
1.89*
- 1.06
ITERATION 2
RESIDUALS
-1.25
-0.38
0.49
0.36
1.36*
ITERATION 3
RESIDUALS
-.96*
-.10
.76
.63
-0.57
- .33
ITERATION 4
RESIDUALS
-
.57
.37
.31
-.11
382
Communications
of
the ACM
June 1981
Volume 24
Number 6
cause the above heuristic to fail (for example, see Figure
1). It is our contention that averaging is not an appro-
priate technique to apply to an unverified data set.
In the following section we introduce the RANSAC
paradigm, which is capable of smoothing data that con-
tain a significant percentage of gross errors. This para-
digm is particularly applicable to scene analysis because
local feature detectors, which often make mistakes, are
the source of the data provided to the interpretation
algorithms. Local feature detectors make two types of
errors--classification errors and measurement errors.
Classification errors occur when a feature detector in-
correctly identifies a portion of an image as an occur-
rence of a feature. Measurement errors occur when the
feature detector correctly identifies the feature, but
slightly miscalculates one of its parameters (e.g., its image
location). Measurement errors generally follow a normal
distribution, and therefore the smoothing assumption is
applicable to them. Classification errors, however, are
gross errors, having a significantly larger effect than
measurement errors, and do not average out.
In the final sections of this paper the application of
RANSAC tO the location determination problem is dis-
cussed:
Given a set of "landmarks" ("control points"), whose locations are
known in some coordinate frame, determine the location (relative to
the coordinate frame of the landmarks) of that point in space from
which an image of the landmarks was obtained.
In response to a RANSAC requirement, some new
results are derived on the minimum number of land-
marks needed to obtain a solution, and then algorithms
are presented for computing these minimum-landmark
solutions in closed form. (Conventional techniques are
iterative and require a good initial guess to assure con-
vergence.) These results form the basis for an automatic
system that can solve the LDP under severe viewing and
analysis conditions. In particular, the system performs
properly even if a significant number of landmarks are
incorrectly located due to low visibility, terrain changes,
or image analysis errors. Implementation details and
experimental results are presented to complete our de-
scription of the LDP application.
II. Random Sample Consensus
The RANSAC procedure is opposite to that of conven-
tional smoothing techniques: Rather than using as much
of the data as possible to obtain an initial solution and
then attempting to eliminate the invalid data points,
RANSAC uses as small an initial data set as feasible and
enlarges this set with consistent data when possible. For
example, given the task of fitting an arc of a circle to a
set of two-dimensional points, the RANSAC approach
would be to select a set of three points (since three points
are required to determine a circle), compute the center
and radius of the implied circle, and count the number
of points that are close enough to that circle to suggest
their compatibility with it (i.e., their deviations are small
enough to be measurement errors). If there are enough
compatible points, RANSAC would employ a smoothing
technique such as least squares, to compute an improved
estimate for the parameters of the circle now that a set
of mutually consistent points has been identified.
The RANSAC paradigm is more formally stated as
follows:
Given a model that requires a minimum of n data points to instantiate
its free parameters, and a set of data points P such that the number of
points in P is greater than n [g(P) __- n], randomly select a subset SI of
n data points from P and instantiate the model. Use the instantiated
model M1 to determine the subset SI* of points in P that are within
some error tolerance of Ml. The set SI* is called the consensus set of
S1.
If g (SI*) is greater than some threshold t, which is a function of the
estimate of the number of gross errors in P, use SI* to compute
(possibly using least squares) a new model MI *.
If g (SI*) is less than t, randomly select a new subset $2 and repeat the
above process. If, after some predetermined number of trials, no
consensus set with t or more members has been found, either solve the
model with the largest consensus set found, or terminate in failure.
There are two obvious improvements to the above
algorithm: First, if there is a problem related rationale
for selecting points to form the S's, use a deterministic
selection process instead of a random one; second, once
a suitable consensus set S* has been found and a model
M* instantiated, add any new points from P that are
consistent with M* to S* and compute a new model on
the basis of this larger set.
The RANSAC paradigm contains three unspecified
parameters: (1) the error tolerance used to determine
whether or not a point is compatible with a model, (2)
the number of subsets to try, and (3) the threshold t,
which is the number of compatible points used to imply
that the correct model has been found. Methods are
discussed for computing reasonable values for these pa-
rameters in the following subsections.
A. Error Tolerance For Establishing Datum/Model
Compatibility
The deviation of a datum from a model is a function
of the error associated with the datum and the error
associated with the model (which, in part, is a function
of the errors associated with the data used to instantiate
the model). If the model is a simple function of the data
points, it may be practical to establish reasonable bounds
on error tolerance analytically. However, this straight-
forward approach is often unworkable; for such cases it
is generally possible to estimate bounds on error toler-
ance experimentally. Sample deviations can be produced
by perturbing the data, computing the model, and mea-
suring the implied errors. The error tolerance could then
be set at one or two standard deviations beyond the
measured average error.
The expected deviation of a datum from an assumed
model is generally a function of the datum, and therefore
the error tolerance should be different for each datum.
However, the variation in error tolerances is usually
383
Communications June
1981
of Volume 24
the ACM Number 6
剩余14页未读,继续阅读
资源评论
- peipeidd2013-08-14很不错 比较有用
lct721521
- 粉丝: 12
- 资源: 5
上传资源 快速赚钱
- 我的内容管理 展开
- 我的资源 快来上传第一个资源
- 我的收益 登录查看自己的收益
- 我的积分 登录查看自己的积分
- 我的C币 登录后查看C币余额
- 我的收藏
- 我的下载
- 下载帮助
安全验证
文档复制为VIP权益,开通VIP直接复制
信息提交成功