Spatial frequency

From HandWiki
Revision as of 20:38, 6 February 2024 by John Marlo (talk | contribs) (add)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Short description: Characteristic of any structure that is periodic across a position in space
Green Sea Shell image
Green Sea Shell image
Spatial frequency representation of the Green Sea Shell image
Spatial frequency representation of the Green Sea Shell image
Image and its spatial frequencies: Magnitude of frequency domain is logarithmically scaled, and zero frequency is in the center. Notable is the clustering of the content on the lower frequencies, a typical property of natural images.

In mathematics, physics, and engineering, spatial frequency is a characteristic of any structure that is periodic across position in space. The spatial frequency is a measure of how often sinusoidal components (as determined by the Fourier transform) of the structure repeat per unit of distance.

The SI unit of spatial frequency is the reciprocal metre (m−1),[1] although cycles per meter (c/m) is also common. In image-processing applications, spatial frequency is often expressed in units of cycles per millimeter (c/mm) or also line pairs per millimeter (LP/mm).

In wave propagation, the spatial frequency is also known as wavenumber. Ordinary wavenumber is defined as the reciprocal of wavelength [math]\displaystyle{ \lambda }[/math] and is commonly denoted by [math]\displaystyle{ \xi }[/math][2] or sometimes [math]\displaystyle{ \nu }[/math]:[3] [math]\displaystyle{ \xi = \frac{1}{\lambda}. }[/math] Angular wavenumber [math]\displaystyle{ k }[/math], expressed in radian per metre (rad/m), is related to ordinary wavenumber and wavelength by [math]\displaystyle{ k = 2 \pi \xi = \frac{2 \pi}{\lambda}. }[/math]

Visual perception

In the study of visual perception, sinusoidal gratings are frequently used to probe the capabilities of the visual system, such as contrast sensitivity. In these stimuli, spatial frequency is expressed as the number of cycles per degree of visual angle. Sine-wave gratings also differ from one another in amplitude (the magnitude of difference in intensity between light and dark stripes), orientation, and phase.

Spatial-frequency theory

The spatial-frequency theory refers to the theory that the visual cortex operates on a code of spatial frequency, not on the code of straight edges and lines hypothesised by Hubel and Wiesel on the basis of early experiments on V1 neurons in the cat.[4][5] In support of this theory is the experimental observation that the visual cortex neurons respond even more robustly to sine-wave gratings that are placed at specific angles in their receptive fields than they do to edges or bars. Most neurons in the primary visual cortex respond best when a sine-wave grating of a particular frequency is presented at a particular angle in a particular location in the visual field.[6] (However, as noted by Teller (1984),[7] it is probably not wise to treat the highest firing rate of a particular neuron as having a special significance with respect to its role in the perception of a particular stimulus, given that the neural code is known to be linked to relative firing rates. For example, in color coding by the three cones in the human retina, there is no special significance to the cone that is firing most strongly – what matters is the relative rate of firing of all three simultaneously. Teller (1984) similarly noted that a strong firing rate in response to a particular stimulus should not be interpreted as indicating that the neuron is somehow specialized for that stimulus, since there is an unlimited equivalence class of stimuli capable of producing similar firing rates.)

The spatial-frequency theory of vision is based on two physical principles:

  1. Any visual stimulus can be represented by plotting the intensity of the light along lines running through it.
  2. Any curve can be broken down into constituent sine waves by Fourier analysis.

The theory (for which empirical support has yet to be developed) states that in each functional module of the visual cortex, Fourier analysis (or its piecewise form [8]) is performed on the receptive field and the neurons in each module are thought to respond selectively to various orientations and frequencies of sine wave gratings.[9] When all of the visual cortex neurons that are influenced by a specific scene respond together, the perception of the scene is created by the summation of the various sine-wave gratings. (This procedure, however, does not address the problem of the organization of the products of the summation into figures, grounds, and so on. It effectively recovers the original (pre-Fourier analysis) distribution of photon intensity and wavelengths across the retinal projection, but does not add information to this original distribution. So the functional value of such a hypothesized procedure is unclear. Some other objections to the "Fourier theory" are discussed by Westheimer (2001) [10]). One is generally not aware of the individual spatial frequency components since all of the elements are essentially blended together into one smooth representation. However, computer-based filtering procedures can be used to deconstruct an image into its individual spatial frequency components.[11] Research on spatial frequency detection by visual neurons complements and extends previous research using straight edges rather than refuting it.[12]

Further research shows that different spatial frequencies convey different information about the appearance of a stimulus. High spatial frequencies represent abrupt spatial changes in the image, such as edges, and generally correspond to featural information and fine detail. M. Bar (2004) has proposed that low spatial frequencies represent global information about the shape, such as general orientation and proportions.[13] Rapid and specialised perception of faces is known to rely more on low spatial frequency information.[14] In the general population of adults, the threshold for spatial frequency discrimination is about 7%. It is often poorer in dyslexic individuals.[15]

Spatial frequency in MRI

When spatial frequency is used as a variable in a mathematical function, the function is said to be in k-space. Two dimensional k-space has been introduced into MRI as a raw data storage space. The value of each data point in k-space is measured in the unit of 1/meter, i.e. the unit of spatial frequency.

It is very common that the raw data in k-space shows features of periodic functions. The periodicity is not spatial frequency, but is temporal frequency. An MRI raw data matrix is composed of a series of phase-variable spin-echo signals. Each of the spin-echo signal is a sinc function of time, which can be described by [math]\displaystyle{ \text{Spin-Echo} = \frac {M_\mathrm{0}\sin \omega_\mathrm{r}t}{\omega_\mathrm{r}t} }[/math] Where [math]\displaystyle{ \omega_\mathrm{r}=\omega_\mathrm{0} + \bar{\gamma} rG }[/math] Here [math]\displaystyle{ \bar{\gamma} }[/math] is the gyromagnetic ratio constant, and [math]\displaystyle{ \omega_\mathrm{0} }[/math] is the basic resonance frequency of the spin. Due to the presence of the gradient G, the spatial information r is encoded onto the frequency [math]\displaystyle{ \omega }[/math]. The periodicity seen in the MRI raw data is just this frequency [math]\displaystyle{ \omega_\mathrm{r} }[/math], which is basically the temporal frequency in nature.

In a rotating frame, [math]\displaystyle{ \omega_\mathrm{0}=0 }[/math], and [math]\displaystyle{ \omega_\mathrm{r} }[/math] is simplified to [math]\displaystyle{ \bar{\gamma} rG }[/math]. Just by letting [math]\displaystyle{ k= \bar{\gamma} Gt }[/math], the spin-echo signal is expressed in an alternative form [math]\displaystyle{ \text{Spin-Echo} = \frac {M_\mathrm{0}\sin rk}{rk} }[/math]

Now, the spin-echo signal is in the k-space. It becomes a periodic function of k with r as the k-space frequency but not as the "spatial frequency", since "spatial frequency" is reserved for the name of the periodicity seen in the real space r.

The k-space domain and the space domain form a Fourier pair. Two pieces of information are found in each domain, the spatial information and the spatial frequency information. The spatial information, which is of great interest to all medical doctors, is seen as periodic functions in the k-space domain and is seen as the image in the space domain. The spatial frequency information, which might be of interest to some MRI engineers, is not easily seen in the space domain but is readily seen as the data points in the k-space domain.

See also

References

  1. "ISO 80000-3:2019 Quantities and units — Part 3: Space and time". International Organization for Standardization. 2019. https://www.iso.org/standard/64974.html.  [1] (11 pages)
  2. SPIE Optipedia article: "Spatial Frequency"
  3. The symbol [math]\displaystyle{ \nu }[/math] is also used to represent temporal frequency, as in, e.g., Planck's formula.
  4. "Complex receptive fields in primary visual cortex". Neuroscientist 9 (5): 317–31. 2003. doi:10.1177/1073858403252732. PMID 14580117. 
  5. De Valois, R. L.; De Valois, K. K. (1988). Spatial vision. New York: Oxford University Press. 
  6. "Spatial frequency maps in cat visual cortex". The Journal of Neuroscience 20 (22): 8504–8514. 2000. doi:10.1523/JNEUROSCI.20-22-08504.2000. PMID 11069958. 
  7. "Linking propositions". Vision Research 24 (10): 1233–1246. 1984. doi:10.1016/0042-6989(84)90178-0. PMID 6395480. 
  8. Glezer, V. D. (1995). Vision and mind: Modeling mental functions. Lawrence Erlbaum Associates, Inc. https://doi.org/10.4324/9780203773932
  9. Barghout, Lauren (2014). Vision: How Global Perceptual Context Changes Local Contrast Processing (Ph.D. Dissertation 2003). Updated for Computer Vision Techniques. Scholars' Press. ISBN 978-3-639-70962-9. https://www.morebooks.de/store/gb/book/vision/isbn/978-3-639-70962-9. 
  10. Westheimer, G. "The Fourier Theory of Vision"
  11. Blake, R. and Sekuler, R., Perception, 3rd ed. Chapter 3. ISBN:978-0-072-88760-0
  12. Pinel, J. P. J., Biopsychology, 6th ed. 293–294. ISBN:0-205-42651-4
  13. Bar M (Aug 2004). "Visual objects in context". Nat. Rev. Neurosci. 5 (8): 617–29. doi:10.1038/nrn1476. PMID 15263892. 
  14. "Faster, stronger, lateralized: Low spatial frequency information supports face processing". Neuropsychologia 49 (13): 3583–3590. 2011. doi:10.1016/j.neuropsychologia.2011.08.027. PMID 21939676. 
  15. "Sequential spatial frequency discrimination is consistently impaired among adult dyslexics". Vision Res. 44 (10): 1047–63. May 2004. doi:10.1016/j.visres.2003.12.001. PMID 15031099. 

External links