Regression and Optimization Methods for Model Analysis

One of the most common problems in computer vision (and, more generally, in information theory) is fitting a predefined model to a set of noisy measurements (for example, the pixels of an image).

In addition to noise—which may be white Gaussian noise, but could potentially follow any statistical distribution—we must also consider the possible presence of outliers, a term used in statistics for data points that are too far from the model to belong to it.

This chapter presents several regression techniques for estimating the parameters $\boldsymbol\beta$ of a stationary model from a set of noisy data, as well as techniques for identifying and removing outliers from the input data.

The next chapter presents “regression” techniques more closely related to classification.

Some techniques from the literature for estimating model parameters are:

Least Squares Fitting
If all the data points are inliers, there are no outliers, and the only disturbance is additive white Gaussian noise, least squares regression is the optimal technique (Section 4.2);
M-Estimator
Even a few outliers can substantially shift the model because the errors are squared (Hub96): assigning nonquadratic weights to points far from the estimated model improves the estimate itself (Section 4.8);
IRLS
Iteratively reweighted least squares is used when there are few outliers and they are far from the model. In this case, an iterative regression can be performed (Section 4.9), removing points with excessively large errors (ILS) or assigning them different weights (IRLS) at each iteration;
Hough
If the input data are both noisy and contain many outliers, and may follow a multimodal distribution, but the model has few parameters, the Hough transform (Hou59) can identify the model with the greatest statistical prevalence (Section 4.11);
RANSAC
If the number of outliers is comparable to the number of inliers and the noise is very small (relative to the locations of the outliers), RANdom SAmpling and Consensus (FB87) can identify the best model in the scene (Section 4.12);
LMedS
Least Median of Squares is an algorithm similar to RANSAC. It sorts points according to their distance from a randomly generated model and selects the model with the smallest median error (Rou84) (Section 4.12.2);
Kalman
Finally, a Kalman filter can be used to estimate model parameters (see 3.9) when this information is needed at runtime.

Only RANSAC and the Hough transform can effectively handle cases where two or more distributions in the measurements simultaneously fit the model.

Finally, nothing prevents the use of hybrid techniques. For example, a fairly coarse Hough transform (and therefore a fast one with a low memory footprint) can be used to remove outliers, followed by least squares regression to estimate the model parameters more precisely.



Subsections
Paolo medici
2026-10-19