In
computer vision
Computer vision tasks include methods for image sensor, acquiring, Image processing, processing, Image analysis, analyzing, and understanding digital images, and extraction of high-dimensional data from the real world in order to produce numerical ...
, the Birchfield–Tomasi dissimilarity is a
pixel
In digital imaging, a pixel (abbreviated px), pel, or picture element is the smallest addressable element in a Raster graphics, raster image, or the smallest addressable element in a dot matrix display device. In most digital display devices, p ...
wise image dissimilarity measure that is robust with respect to
sampling effects. In the comparison of two image elements, it fits the intensity of one pixel to the linearly interpolated intensity around a corresponding pixel on the other image.
[Birchfield and Tomasi (1998)] It is used as a dissimilarity measure in stereo matching, where one-dimensional search for correspondences is performed to recover a dense
disparity
Disparity and disparities may refer to:
in healthcare:
* Health disparities
in finance:
* Income disparity between females and males.
** Male–female income disparity in the United States
** Income gender gap
* Economic inequality
* Income in ...
map from a
stereo image pair.
[Hirschmüller and Scharstein (2007)][Morales et al. (2013)]
Description
When performing pixelwise
image matching, the measure of dissimilarity between pairs of pixels from different images is affected by differences in image acquisition such as
illumination bias
Bias is a disproportionate weight ''in favor of'' or ''against'' an idea or thing, usually in a way that is inaccurate, closed-minded, prejudicial, or unfair. Biases can be innate or learned. People may develop biases for or against an individ ...
and
noise
Noise is sound, chiefly unwanted, unintentional, or harmful sound considered unpleasant, loud, or disruptive to mental or hearing faculties. From a physics standpoint, there is no distinction between noise and desired sound, as both are vibrat ...
. Even when assuming no difference in these aspects between an image pair, additional inconsistencies are introduced by the pixel sampling process, because each pixel is a sample obtained integrating the continuous light signal over a finite region of space, and two pixels matching the same feature of the image content may correspond to slightly different regions of the real object that can reflect light differently and can be subject to partial occlusion, depth discontinuity, or different lens defocus, thus generating different intensity signals.
The Birchfield–Tomasi measure compensates for the sampling effect by considering the
linear interpolation
In mathematics, linear interpolation is a method of curve fitting using linear polynomials to construct new data points within the range of a discrete set of known data points.
Linear interpolation between two known points
If the two known po ...
of the samples. Pixel similarity is then determined by finding the best match between the intensity of a pixel sample in one image and the interpolated function in an interval around a location in the other image.
Considering the stereo matching problem for a
rectified stereo pair, where the search for correspondences is performed in one dimension, given two columns
and
along the same scanline for the left and right image respectively, it is possible to define two symmetric functions
:
where
and
are the linear interpolation functions of the left and right image intensity
and
along the scanline. The Birchfield–Tomasi dissimilarity can then be defined as
:
In practice the measure can be computed with only a small and constant overhead with respect to the calculation of the simple intensity difference, because it is not necessary to reconstruct the interpolant function. Given that the interpolant is linear within each unit interval centred around a pixel, its minimum is located in one of its extremities. Therefore,
can be written as
:
where
:
denoting with
and
the values of the interpolated intensities at the rightmost and leftmost extremities of a one-pixel interval centred around
:
The other function
can be similarly rewritten, completing the expression for
.
References
*
*
*
*
{{DEFAULTSORT:Birchfield-Tomasi dissimilarity
Computer vision