Examples of Error Propagation

Error propagation theory is important in computer vision because basic feature-extraction operations are often affected by noise, such as measuring color intensity or locating a particular image feature. It is therefore important to understand how this noise affects subsequent computations.

Measurement error due to additive noise is modeled as $x = \hat{x} + \varepsilon$, where $x$ is the observed value, $\hat{x}$ is the true value, and $\varepsilon$ is the additive noise, for example, white Gaussian noise with variance $\sigma^{2}_{x}$.

In vision, it may be useful to estimate how the error generated by imprecisely observing an image point propagates through the system. In this case, the observed variables are the $(x,y)$ image coordinates, both affected by localization error, with variances $\sigma^{2}_{x}$ and $\sigma^{2}_{y}$, respectively. These variables are normally (at least as a first approximation) uncorrelated.

Using the result of Equation (2.37), a general function $z(x,y)$ of two random variables can be approximated to first order by a Taylor series expansion:

\begin{displaymath}
z(x', y') \approx z(x, y) + \left. \frac{\partial z}{\partia...
...eft. \frac{\partial z}{\partial y} \right\vert _{x,y} (y' - y)
\end{displaymath} (2.40)

This allows us to estimate the uncertainty in the value of $z$ by applying the variance propagation result from the previous section, giving
\begin{displaymath}
\sigma^{2}_{z} = \left( \frac{\partial z}{\partial x} \righ...
...left( \frac{\partial z}{\partial y} \right)^{2} \sigma^{2}_{y}
\end{displaymath} (2.41)

where the derivative is evaluated at $(x,y)$.

This formulation gives rise to the following examples:

Example 1
The error propagation for $z = x + y$ is
\begin{displaymath}
\sigma^{2}_{z} = \sigma^2_{x} + \sigma^2_{y}
\end{displaymath} (2.42)

a result derived earlier.

Example 2
The error propagation for $z = x y$ is
\begin{displaymath}
\sigma^{2}_{z} = y^2 \sigma^2_{x} + x^2 \sigma^2_{y}
\end{displaymath} (2.43)

Example 3
The error propagation for $z = \frac{1}{x \pm y}$ is
\begin{displaymath}
\sigma^{2}_{z} = \frac{ \sigma^{2}_{x} + \sigma^{2}_{y} } { (x \pm y)^4 }
\end{displaymath} (2.44)

Example 4
The error propagation for $z = \frac{x}{y}$ is
\begin{displaymath}
\sigma^{2}_{z} = \frac{1}{y^{2}} \sigma^{2}_{x} + \frac{x^{2}}{y^{4}} \sigma^{2}_{y}
\end{displaymath} (2.45)

Example 5
The error propagation for $z = \sqrt{x^2 + y^2}$ is
\begin{displaymath}
\sigma^{2}_{z} = \frac{x^2 \sigma^{2}_{x} + y^2 \sigma^{2}_{y}}{x^2 + y^{2}}
\end{displaymath} (2.46)

It is interesting to note from these equations that the absolute values of the variables ($x$ and $y$ in the examples) directly affect the estimated error in the final variable $z$: for some variables, the variance of the result decreases as their magnitude increases, while for others it may increase. For this reason, depending on the transformation and hence on the model estimate being sought, some image points may be more important to observe than others.

Paolo medici
2026-10-19