HARP (algorithm)

Harmonic phase (HARP) algorithm[1] is a medical image analysis technique capable of extracting and processing motion information from tagged magnetic resonance image (MRI) sequences.

It was initially developed by N. F. Osman and J. L. Prince at the Image Analysis and Communications Laboratory at Johns Hopkins University.

The method uses spectral peaks in the Fourier domain of tagged MRI, calculating the phase images of their inverse Fourier transforms, which are called harmonic phase (HARP) images.

The motion of material points through time is then tracked, under the assumption that the HARP value of a fixed material point is time-invariant.

In cardiac magnetic resonance imaging, tagging techniques[2][3][4][5] make it possible to capture and store the motion information of myocardium in vivo.

Tags deform together with the myocardium as the heart beats and are captured by MR imaging.

Analysis of the motion of the tag features in many images taken from different orientations and at different times can be used to track material points in the myocardium.

[6][7] Tagged MRI is widely used to develop and refine models of normal and abnormal myocardial motion[8][9][10][11] to better understand the correlation of coronary artery disease with myocardial motion abnormalities and the effects of treatment after myocardial infarction.

However, suffered from long imaging and post-processing times,[12] tagged MRI was slow in entering into routine clinical use until the HARP algorithm was developed and published in 1999.

[13] A tagged MRI showing motion of a human heart is shown in the image (a).

The effect of tagging can be described as a multiplication of the underlying image by a sinusoid tag pattern having a certain fundamental frequency, causing an amplitude modulation of the underlying image and replicating its Fourier transform into the pattern shown in (b).

HARP processing uses a bandpass filter to isolate one of the spectral peaks.

For example, the circle drawn in (b) is the -3 dB isocontour of the bandpass filter used to process this data.

Selection of the filters for optimal performance is discussed in this paper.

The harmonic magnitude image in (c) extracted from a using the filter in (b) shows the geometry of the heart.

And the harmonic phase image in (d) contains the motion of the myocardium in horizontal direction.

In practice, tagged images from two directions (both horizontal and vertical, i.e.,

is 1 and 2) are processed to provide a 2D motion map in the image plane.

Notice that the harmonic phase images are computed by taking the inverse tangent of the imaginary part divided by the real part of

might be called a harmonic phase (HARP) image, but only

, we have: The Newton–Raphson interactive method is used to find a solution, which is: In practice, since

The result of HARP tracking of one frame of cardiac MRI is shown in the figure.

It is obtained by calculating both motions from horizontal direction and vertical direction, resulting in a 2D vector field showing the motion of every material point on the myocardium at this time frame.

The entire HARP algorithm takes only a few minutes to perform on a normal computer and the motion tracking result is accurate (with a typical error range of

As a result, it is now widely adopted by the medical image analysis community as a standard processing technique for tagged MRI.

Demonstration of the HARP processing of a tagged cardiac MRI slice. (a) An MR image with vertical SPAMM tags. (b) shows the magnitude of its Fourier transform. By extracting the spectral peak inside the circle, a complex image is produced with a magnitude (c) and a phase (d).
Result of HARP tracking of a tagged cardiac MRI slice