Phase Stretch Transform
   HOME

TheInfoList



OR:

Phase stretch transform (PST) is a computational approach to signal and image processing. One of its utilities is for feature detection and classification.M. H. Asghari, and B. Jalali, "Edge detection in digital images using dispersive phase stretch", International Journal of Biomedical Imaging, Vol. 2015, Article ID 687819, pp. 1–6 (2015). PST is related to
time stretch dispersive Fourier transform Time stretch dispersive Fourier transform (TS-DFT), otherwise known as time-stretch transform (TST), temporal Fourier transform or photonic time-stretch (PTS) is a spectroscopy technique that uses optical dispersion instead of a grating or prism to ...
. It transforms the image by emulating propagation through a diffractive medium with engineered 3D dispersive property (refractive index). The operation relies on symmetry of the dispersion profile and can be understood in terms of dispersive eigenfunctions or stretch modes.B. Jalali and A. Mahjoubfar, "Tailoring Wideband Signals With a Photonic Hardware Accelerator", Proceedings of the IEEE, Vol. 103, No. 7, pp. 1071–1086 (2015). PST performs similar functionality as phase-contrast microscopy, but on digital images. PST can be applied to digital images and temporal (time series) data. It is a physics-based feature engineering algorithm.


Operation principle

Here the principle is described in the context of feature enhancement in digital images. The image is first filtered with a spatial kernel followed by application of a nonlinear frequency-dependent phase. The output of the transform is the phase in the spatial domain. The main step is the 2-D phase function which is typically applied in the frequency domain. The amount of phase applied to the image is frequency dependent, with higher amount of phase applied to higher frequency features of the image. Since sharp transitions, such as edges and corners, contain higher frequencies, PST emphasizes the edge information. Features can be further enhanced by applying thresholding and morphological operations. PST is a pure phase operation whereas conventional edge detection algorithms operate on amplitude.


Physical and mathematical foundations of phase stretch transform

Photonic time stretch technique can be understood by considering the propagation of an optical pulse through a dispersive fiber. By disregarding the loss and non-linearity in fiber, the non-linear Schrödinger equation governing the optical pulse propagation in fiber upon integration Agrawal, G. P. (2007). Nonlinear fiber optics. Academic press. Chicago. reduces to: : E_o(z,t)= \frac \int_^\infty \tilde_i(0,\omega) \cdot e^\frac \cdot e^ \, d\omega (1) where \beta_2 = GVD parameter, ''z'' is propagation distance, E_o(z,t) is the reshaped output pulse at distance ''z'' and time ''t''. The response of this dispersive element in the time-stretch system can be approximated as a phase propagator as presented in H(\omega)=e^=e^= \prod_^\infty H_m(\omega) (2) Therefore, Eq. 1 can be written as following for a pulse that propagates through the time-stretch system and is reshaped into a temporal signal with a complex envelope given by : E_o(t)= \frac \int_^\infty \tilde_i(\omega)\cdot H(\omega) \cdot e^ \,d\omega (3) The time stretch operation is formulated as generalized phase and amplitude operations, : \mathbb\=\int_^\mathcal\ \cdot e^ \cdot \tilde(\omega) \cdot e^ d\omega (4) where e^ is the phase filter and \tilde(\omega) is the amplitude filter. Next the operator is converted to discrete domain, : \mathbb\=\frac\sum_^FFT\ \cdot \tilde(u) \cdot \tilde(u) \cdot e^ (5) where u is the discrete frequency, \tilde(u) is the phase filter, \tilde(u) is the amplitude filter and FFT is fast Fourier transform. The stretch operator \mathbb \ for a digital image is then : \mathbb\=\frac\sum_^\sum_^FFT^2\ \cdot \tilde(u,v) \cdot \tilde(u,v) \cdot e^ \cdot e^ (6) In the above equations, E_i ,m/math> is the input image, n and m are the spatial variables, FFT^2 is the two-dimensional fast Fourier transform, and u and v are spatial frequency variables. The function \tilde(u,v) is the warped phase kernel and the function \tilde(u,v) is a localization kernel implemented in frequency domain. PST operator is defined as the phase of the Warped Stretch Transform output as follows : PST\\triangleq \measuredangle \ (7) where \measuredangle \ is the angle operator.


PST kernel implementation

The warped phase kernel \tilde(u,v) can be described by a nonlinear frequency dependent phase : \tilde(u,v) = e^ While arbitrary phase kernels can be considered for PST operation, here we study the phase kernels for which the kernel phase derivative is a linear or sublinear function with respect to frequency variables. A simple example for such phase derivative profiles is the inverse tangent function. Consider the phase profile in the polar coordinate system : \varphi(u,v) = \varphi_\text(r,\theta) = \varphi_\text(r) From \frac=\tan^(r) we have \varphi(r) = r\tan^(r) - \frac\log(r^2+1) Therefore, the PST kernel is implemented as : \varphi(r) = S\cdot\frac where S and W are real-valued numbers related to the strength and warp of the phase profile


Applications

PST has been used for edge detection in biological and biomedical images as well as
synthetic-aperture radar Synthetic-aperture radar (SAR) is a form of radar that is used to create two-dimensional images or three-dimensional reconstructions of objects, such as landscapes. SAR uses the motion of the radar antenna over a target region to provide fine ...
(SAR) image processing. PST has also been applied to improve the point spread function for single molecule imaging in order to achieve super-resolution. The transform exhibits intrinsic superior properties compared to conventional edge detectors for feature detection in low contrast visually impaired images. The PST function can also be performed on 1-D temporal waveforms in the analog domain to reveal transitions and anomalies in real time.


Open source code release

On February 9, 2016, a UCLA Engineering research group has made public the computer code for PST algorithm that helps computers process images at high speeds and "see" them in ways that human eyes cannot. The researchers say the code could eventually be used in face,
fingerprint A fingerprint is an impression left by the friction ridges of a human finger. The recovery of partial fingerprints from a crime scene is an important method of forensic science. Moisture and grease on a finger result in fingerprints on surfac ...
, and iris recognition systems for high-tech security, as well as in self-driving cars' navigation systems or for inspecting industrial products. The Matlab implementation for PST can also be downloaded from Matlab Files Exchange. However, it is provided for research purposes only, and a license must be obtained for any commercial applications. The software is protected under a US patent. The code was then significantly refactored and improved to support GPU acceleration. In May 2022, it became one algorithm in
PhyCV PhyCV is the first computer vision library which utilizes algorithms directly derived from the equations of physics governing physical phenomena. The algorithms appearing in the first release emulate the propagation of light through a physical ...
: the first physics-inspired computer vision library.


See also

* Edge detection * Feature detection (computer vision) *
Time stretch analog-to-digital converter The time-stretch analog-to-digital converter (TS-ADC), also known as the time-stretch enhanced recorder (TiSER), is an analog-to-digital converter (ADC) system that has the capability of digitizing very high bandwidth signals that cannot be captured ...
*
Time stretch dispersive Fourier transform Time stretch dispersive Fourier transform (TS-DFT), otherwise known as time-stretch transform (TST), temporal Fourier transform or photonic time-stretch (PTS) is a spectroscopy technique that uses optical dispersion instead of a grating or prism to ...
* Phase-stretch Adaptive Gradient-field Extractor *
PhyCV PhyCV is the first computer vision library which utilizes algorithms directly derived from the equations of physics governing physical phenomena. The algorithms appearing in the first release emulate the propagation of light through a physical ...


References

{{Reflist


External links


Github repository for MATLAB and python implementation for PST
Image processing Computational physics