Washburn's equation: Difference between revisions

From formulasearchengine
Jump to navigation Jump to search
en>Helpful Pixie Bot
m ISBNs (Build KH)
 
en>069952497a
m →‎Washburn's constant: Copyedit (minor)
Line 1: Line 1:
Nice to meet you, my name is Ling and I totally dig that title. He currently lives in Arizona and his mothers  auto warranty and [http://blog.Caranddriver.com/buying-peace-of-mind-how-to-buy-a-used-car-warranty/ fathers live] nearby. Her  extended auto [http://www.ncdoj.gov/Consumer/Automobiles/Extended-Car-Warranties.aspx warranty friends] say it's not great for her but what she enjoys performing is flower arranging and she is trying to make it a occupation. My occupation car warranty is a manufacturing and distribution officer and I'm doing pretty good monetarily.<br><br>my extended car [http://www.popularmechanics.com/cars/how-to/repair/how-to-get-a-used-car-warranty-and-not-get-screwed-6654348 warranty webpage] ... extended auto warranty ([http://Mundominijuegos.es/profile/eamar Learn Even more])
In [[image processing]], '''phase correlation''' is a method of [[image registration]], and uses a fast [[frequency-domain]] approach to estimate the relative [[Translation (geometry)|translative]] offset between two similar [[image]]s.
 
== Example ==
The following image demonstrates the usage of phase correlation to determine relative translative movement between two images corrupted by independent Gaussian noise. The image was translated by (30,33) pixels. Accordingly, one can clearly see a peak in the phase-correlation representation at approximately (30,33).
 
[[Image:Phase correlation.png]]
 
== Method ==
Given two input images <math>\ g_a</math> and <math>\ g_b</math>:
 
Apply a [[window function]] (e.g., a [[Hamming window]]) on both images to reduce edge effects. Then, calculate the discrete 2D [[Discrete Fourier transform|Fourier transform]] of both images.
 
:<math>\ \mathbf{G}_a = \mathcal{F}\{g_a\}, \; \mathbf{G}_b = \mathcal{F}\{g_b\}</math>
 
Calculate the [[Spectral_density#Cross-spectral_density|cross-power spectrum]] by taking the [[complex conjugate]] of the second result, multiplying the [[Fourier transform]]s together elementwise, and normalizing this product elementwise.
 
:<math>\ R = \frac{ \mathbf{G}_a \circ \mathbf{G}_b^*}{|\mathbf{G}_a \mathbf{G}_b^*|}</math>
 
Where <math>\circ</math> is the [[Hadamard_product_(matrices)|Hadamard product]] (entry-wise product).
 
Obtain the normalized cross-correlation by applying the inverse Fourier transform.
 
:<math>\ r = \mathcal{F}^{-1}\{R\}</math>
 
Determine the location of the peak in <math>\ r</math>.
 
:<math>\ (\Delta x, \Delta y) = \arg \max_{(x, y)}\{r\}</math>
 
Commonly, [[interpolation]] methods are used to estimate the peak location to non-[[integer]] values, despite the fact that the data are discrete. Because the Fourier representation of the data has already been computed, it is especially convenient to use the [[Fourier shift theorem]] with [[real number|real]]-valued shifts for this purpose. It is also possible to infer the peak location from phase characteristics in Fourier space without the inverse transformation, as noted by Stone <ref>Harold S. Stone, "A Fast Direct Fourier-Based Algorithm for Subpixel Registration of Images", IEEE Transactions on Geoscience and Remote Sensing, V. 39, No. 10, Oct. 2001, pp.2235-2242. </ref>
 
== Rationale ==
The method is based on the [[Discrete Fourier transform#Shift_theorem|Fourier shift theorem]].
Let the two images <math>\ g_a</math> and <math>\ g_b</math> be circularly-shifted versions of each other:
 
:<math>\ g_b(x,y) \ \stackrel{\mathrm{def}}{=}\  g_a((x - \Delta x) \bmod M, (y - \Delta y) \bmod N)</math>
 
(where the images are <math>\ M \times N</math> in size).
 
Then, the discrete Fourier transforms of the images will be shifted relatively in [[phase (waves)|phase]]:
 
:<math>\mathbf{G}_b(u,v) = \mathbf{G}_a(u,v) e^{-2 \pi i (\frac{u \Delta x}{M} + \frac{v \Delta y}{N}) }</math>
 
One can then calculate the normalized cross-power spectrum to factor out the phase difference:
 
:<math>
\begin{align}
  R(u,v) &= \frac{ \mathbf{G}_a \mathbf{G}_b^*}{|\mathbf{G}_a \mathbf{G}_b^* |} \\
        &= \frac{ \mathbf{G}_a \mathbf{G}_a^* e^{2 \pi i (\frac{u \Delta x}{M} + \frac{v \Delta y}{N}) }}{|\mathbf{G}_a \mathbf{G}_a^* e^{2 \pi i (\frac{u \Delta x}{M} + \frac{v \Delta y}{N}) }|} \\
        &= \frac{ \mathbf{G}_a \mathbf{G}_a^* e^{2 \pi i (\frac{u \Delta x}{M} + \frac{v \Delta y}{N}) }}{|\mathbf{G}_a \mathbf{G}_a^*|} \\
        &= e^{2 \pi i (\frac{u \Delta x}{M} + \frac{v \Delta y}{N}) }
\end{align}
</math>
since the magnitude of an [[Euler's formula|imaginary exponential]] always is one, and the phase of <math>\ \mathbf{G}_a \mathbf{G}_a^*</math> always is zero.
 
The inverse Fourier transform of a complex exponential is a [[Kronecker delta]], i.e. a single peak:
 
:<math>\ r(x,y) = \delta(x + \Delta x, y + \Delta y)</math>
 
This result could have been obtained by calculating the [[cross correlation]] directlyThe advantage of this method is that the discrete Fourier transform and its inverse can be performed using the [[fast Fourier transform]], which is much faster than correlation for large images.
 
=== Benefits ===
Unlike many spatial-domain algorithms, the phase correlation method is resilient to noise, occlusions, and other defects typical of medical or satellite images.{{Citation needed|date=June 2010}}
 
The method can be extended to determine rotation and scaling differences between two images by first converting the images to [[log-polar coordinates]]. Due to properties of the [[Fourier transform]], the rotation and scaling parameters can be determined in a manner invariant to translation.<ref>E. De Castro and C. Morandi "Registration of Translated and Rotated Images Using Finite Fourier Transforms", IEEE Transactions on pattern analysis and machine intelligence, Sept. 1987</ref><ref>B. S Reddy and B. N. Chatterji, “An FFT-based technique for translation, rotation, and scale-invariant image registration”, IEEE Transactions on Image Processing 5, no. 8 (1996): 1266–1271.</ref>
 
=== Limitations ===
 
In practice, it is more likely that <math>\ g_b</math> will be a simple linear shift of <math>\ g_a</math>, rather than a circular shift as required by the explanation above. In such cases, <math>\ r</math> will not be a simple delta function, which will reduce the performance of the method. In such cases, a [[window function]] (such as a Gaussian or Tukey window) should be employed during the Fourier transform to reduce edge effects, or the images should be zero padded so that the edge effects can be ignored.  If the images consist of a flat background, with all detail situated away from the edges, then a linear shift will be equivalent to a circular shift, and the above derivation will hold exactly. The peak can be sharpened by using edge or vector correlation. <ref>http://www.jprr.org/index.php/jprr/article/viewFile/355/148</ref>
 
For [[periodic function|periodic]] images (such as a chessboard), phase correlation may yield ambiguous results with several peaks in the resulting output.
 
== Applications ==
Phase correlation is the preferred method for [[television standards conversion]], as it leaves the fewest artifacts.
 
== See also ==
 
General
* [[Cross correlation]]
* [[Scaled Correlation]]
 
Television
* [[Television standards conversion]]
* [[Reverse Standards Conversion]]
 
== References ==
 
<references/>
 
== External links ==
*[http://www.mathworks.com/products/demos/image/cross_correlation/imreg.html Using Matlab to perform normalized cross-correlation on images]
 
{{Video formats}}
 
{{DEFAULTSORT:Phase Correlation}}
[[Category:Computer vision]]

Revision as of 21:26, 30 March 2013

In image processing, phase correlation is a method of image registration, and uses a fast frequency-domain approach to estimate the relative translative offset between two similar images.

Example

The following image demonstrates the usage of phase correlation to determine relative translative movement between two images corrupted by independent Gaussian noise. The image was translated by (30,33) pixels. Accordingly, one can clearly see a peak in the phase-correlation representation at approximately (30,33).

Method

Given two input images and :

Apply a window function (e.g., a Hamming window) on both images to reduce edge effects. Then, calculate the discrete 2D Fourier transform of both images.

Calculate the cross-power spectrum by taking the complex conjugate of the second result, multiplying the Fourier transforms together elementwise, and normalizing this product elementwise.

Where is the Hadamard product (entry-wise product).

Obtain the normalized cross-correlation by applying the inverse Fourier transform.

Determine the location of the peak in .

Commonly, interpolation methods are used to estimate the peak location to non-integer values, despite the fact that the data are discrete. Because the Fourier representation of the data has already been computed, it is especially convenient to use the Fourier shift theorem with real-valued shifts for this purpose. It is also possible to infer the peak location from phase characteristics in Fourier space without the inverse transformation, as noted by Stone [1]

Rationale

The method is based on the Fourier shift theorem. Let the two images and be circularly-shifted versions of each other:

(where the images are in size).

Then, the discrete Fourier transforms of the images will be shifted relatively in phase:

One can then calculate the normalized cross-power spectrum to factor out the phase difference:

since the magnitude of an imaginary exponential always is one, and the phase of always is zero.

The inverse Fourier transform of a complex exponential is a Kronecker delta, i.e. a single peak:

This result could have been obtained by calculating the cross correlation directly. The advantage of this method is that the discrete Fourier transform and its inverse can be performed using the fast Fourier transform, which is much faster than correlation for large images.

Benefits

Unlike many spatial-domain algorithms, the phase correlation method is resilient to noise, occlusions, and other defects typical of medical or satellite images.Potter or Ceramic Artist Truman Bedell from Rexton, has interests which include ceramics, best property developers in singapore developers in singapore and scrabble. Was especially enthused after visiting Alejandro de Humboldt National Park.

The method can be extended to determine rotation and scaling differences between two images by first converting the images to log-polar coordinates. Due to properties of the Fourier transform, the rotation and scaling parameters can be determined in a manner invariant to translation.[2][3]

Limitations

In practice, it is more likely that will be a simple linear shift of , rather than a circular shift as required by the explanation above. In such cases, will not be a simple delta function, which will reduce the performance of the method. In such cases, a window function (such as a Gaussian or Tukey window) should be employed during the Fourier transform to reduce edge effects, or the images should be zero padded so that the edge effects can be ignored. If the images consist of a flat background, with all detail situated away from the edges, then a linear shift will be equivalent to a circular shift, and the above derivation will hold exactly. The peak can be sharpened by using edge or vector correlation. [4]

For periodic images (such as a chessboard), phase correlation may yield ambiguous results with several peaks in the resulting output.

Applications

Phase correlation is the preferred method for television standards conversion, as it leaves the fewest artifacts.

See also

General

Television

References

  1. Harold S. Stone, "A Fast Direct Fourier-Based Algorithm for Subpixel Registration of Images", IEEE Transactions on Geoscience and Remote Sensing, V. 39, No. 10, Oct. 2001, pp.2235-2242.
  2. E. De Castro and C. Morandi "Registration of Translated and Rotated Images Using Finite Fourier Transforms", IEEE Transactions on pattern analysis and machine intelligence, Sept. 1987
  3. B. S Reddy and B. N. Chatterji, “An FFT-based technique for translation, rotation, and scale-invariant image registration”, IEEE Transactions on Image Processing 5, no. 8 (1996): 1266–1271.
  4. http://www.jprr.org/index.php/jprr/article/viewFile/355/148

External links

Template:Video formats