Abstract
Purpose
To develop an automated reference frame selection (ARFS) algorithm to replace the subjective approach of manually selecting reference frames for processing adaptive optics scanning light ophthalmoscope (AOSLO) videos of cone photoreceptors.
Methods
Relative distortion was measured within individual frames before conducting image-based motion tracking and sorting of frames into distinct spatial clusters. AOSLO images from nine healthy subjects were processed using ARFS and human-derived reference frames, then aligned to undistorted AO-flood images by nonlinear registration and the registration transformations were compared. The frequency at which humans selected reference frames that were rejected by ARFS was calculated in 35 datasets from healthy subjects, and subjects with achromatopsia, albinism, or retinitis pigmentosa. The level of distortion in this set of human-derived reference frames was assessed.
Results
The average transformation vector magnitude required for registration of AOSLO images to AO-flood images was significantly reduced from 3.33 ± 1.61 pixels when using manual reference frame selection to 2.75 ± 1.60 pixels (mean ± SD) when using ARFS (P = 0.0016). Between 5.16% and 39.22% of human-derived frames were rejected by ARFS. Only 2.71% to 7.73% of human-derived frames were ranked in the top 5% of least distorted frames.
Conclusion
ARFS outperforms expert observers in selecting minimally distorted reference frames in AOSLO image sequences. The low success rate in human frame choice illustrates the difficulty in subjectively assessing image distortion.
Translational Relevance
Manual reference frame selection represented a significant barrier to a fully automated image-processing pipeline (including montaging, cone identification, and metric extraction). The approach presented here will aid in the clinical translation of AOSLO imaging.
Keywords: adaptive optics, image processing, cone mosaic, retina
Introduction
The application of adaptive optics (AO) to ophthalmoscopes has revolutionized vision research by allowing diffraction-limited imaging of the living retina. AO flood-illuminated ophthalmoscopy (AO-flood),1 AO scanning light ophthalmoscopy (AOSLO),2,3 AO-line scanning ophthalmoscopy (AO-LSO),4 and AO-optical coherence tomography (AO-OCT)5–7 are used by basic scientists and clinical researchers to examine healthy8–14 and diseased retinas.15–21 Confocal AOSLO is commonly used to visualize wave-guided light from cone and rod photoreceptors,22 and multiply scattered, nonconfocal reflected light may be split and recombined to visualize photoreceptor inner segments,23 the retinal pigment epithelium,24 or retinal ganglion cells.25 These techniques have led to strategies for informing candidacy for human gene therapies19,23,26,27 and offer a new avenue in studying mechanisms underlying retinal health in animal models.28–36
While much of the focus in advancing AO technology has been on hardware,37 the rate-limiting step in applying AO more broadly to clinical settings is often the processing and analysis of the images. Without an efficient processing pipeline, AO ophthalmoscopes are impractical for clinical use due to the significant effort currently required for processing and analysis. Advances have been made in automatic montaging of images of the cone photoreceptor mosaic4,10,38 and identification of individual cones,4,10,12,39–42 yet software for processing the raw image sets is still lacking. Due to involuntary eye motion and the relatively low signal from retinal reflectance, AO image sequences must be registered to a reference frame and averaged to increase the signal-to-noise ratio (SNR).43–48 Reference frame selection traditionally requires expert manual oversight,4,44,46,47,49 which is subjective and time consuming. This process typically involves estimating the overall eye motion within an image sequence so that the reference frame will have a significant overlapping area with other frames (hereby, referred to as being spatially representative), and closely examining features between frames to detect subtle expansions and compressions that result from over- or under-sampling regions of the retina during tremor and drift.45,50 Frequently, humans may select multiple reference frames within a video that appear to be spatially segregated in order to increase coverage of the retinal area. This approach aids the montaging step where processed images from different retinal locations are stitched together to form a large composite image of the retina.
Algorithms that employ template-independent image quality metrics (e.g., sharpness, contrast, brightness) or statistical methods for automated reference frame selection from AO-flood,51–53 AO-LSO,40 and AO-telescopes54 have been proposed; however, these metrics are not robust for detecting motion artifacts within AOSLO images. Unsupervised registration algorithms of raw AO-flood image sequences have been developed,55,56 however their efficacy in handling large motion artifacts has not been demonstrated. Acquisition and postprocessing schemes have been developed for OCT and AO-OCT to correct for involuntary eye motion, but still require manual selection of a registration template,49,57,58 or require orthogonal raster scanning,59 which has not been implemented in AOSLO. Real-time eye tracking combined with AOSLO has been reported,60 which would enable automated reference frame selection through image analysis if motion artifacts were eliminated. However, even with optical and digital image stabilization, motion artifacts persist in a significant portion of frames and could benefit from an automated method of selecting minimally distorted reference frames.
Here, we sought to develop an automated reference frame selection (ARFS) algorithm optimized for our primary imaging modality: confocal AOSLO of the photoreceptor mosaic. Our algorithm comprises two main modules: distortion detection to select the least distorted frame(s) from an image sequence and motion tracking to allow selection of multiple reference frames from distinct spatial locations to potentially increase coverage and aid in the creation of montages. We compared the level of residual distortion in images processed by ARFS and one expert human observer (RFC), assessed the accuracy of motion tracking, and determined how frequently a group of human observers select one of the least distorted frames in a sequence identified by ARFS. ARFS may reduce the data backlog inherent in AO imaging and allow researchers and clinicians to focus on analyzing61 and interpreting62 AO images of the retina.
Methods
Image Sequences
Image sequences were obtained using previously described AOSLO22,50 and AO-flood systems.50 The AO-flood had an exposure time of 6 ms, and the AOSLO had frame rate of 16.6 Hz with a line rate of approximately 15 kHz. Static sinusoidal distortion resulting from use of a resonant scanner was corrected in AOSLO images.2,3 To determine the planar scale of retinal images in micrometers per pixel, images of a Ronchi ruling were acquired at the focal plane of a 19-mm focal length lens, and an adjusted axial length method63 was used to estimate the retinal magnification factor based on the subjects' axial length measurements obtained via IOL Master (Carl Zeiss Meditec, Dublin, CA). AO-flood images were upsampled with bicubic interpolation to match the scale of the corresponding AOSLO images using Photoshop CS6 (Adobe, San Jose, CA). This study followed the tenets of the Declaration of Helsinki and was approved by the institutional review board at the Medical College of Wisconsin.
Algorithm Workflow
This algorithm was implemented in Matlab (MathWorks, Inc., Natick, MA) and proceeded as follows (Fig. 1). First, to eliminate frames that were either saturated or acquired during blinks, frames were kept only if their mean pixel intensity (Ī) was not an outlier (μ − 3σ ≤ Ī ≤ μ + 3σ), where μ and σ are the average and SD of a given metric for the sequence, respectively. To eliminate frames with large motion artifacts and measure intraframe distortion (full description following; Fig. 2), coefficients of determination (R2) obtained from linear regression of the processed discrete Fourier transform (DFT) of frame strips were summed (ΣR2), and outliers were rejected (ΣR2 ≥ μ + 3σ). To identify spatially segregated clusters of frames, motion tracking (Fig. 3) and clustering (Fig. 4) were conducted and outliers were rejected by the following metrics: normalized cross-correlation (NCC) peak height: (NCC ≤ μ − 3σ), and distance (d) to cluster centroid (d ≥ μ + 3σ). NCC peak heights are reduced by intraframe distortion, so we conducted an additional “strict” rejection by removing frames with the lowest 20% of NCC peak heights. The frames from each distinct spatial cluster with the lowest ΣR2 values from the intraframe motion module were then output to the user for use in their preferred method of registration and combination. Also, output to the user was the relative coordinates of each frame, cluster assignment, and number of frames in each cluster to inform the registration process. Many parameters are currently hard-coded, and should be tuned to the user's dataset; a list of parameters with tuning suggestions is given in Supplementary Table S1.
Intraframe Motion Detection
The goal of this module was to estimate distortion within frames by detecting disruptions in the characteristic frequency representation of the photoreceptor mosaic. To begin, each frame was divided into strips along the fast-scanning axis (strip size: 40 pixels) and the DFT was calculated with 512 × 512 sampling (512 is the nearest base-2 unit to the image width [∼600 pixels], chosen to optimize speed without too much aliasing). The strip size of 40 pixels was chosen because it typically encompasses two to four rows of photoreceptors (depending on field-of-view, retinal location, health, etc.) and gives an adequate sample of local photoreceptor geometry. The DFTs were cropped to the lower 25% of frequency components that, for our images, spared Yellott's ring41,64 (an annulus representing the modal spacing of photoreceptors). Pixels less than the mean of the non-zero magnitude coefficients were set to zero to include only frequencies with a significant contribution to the image in the analysis. The maximum coefficient in each column was found, and the positions of the maxima were recorded. In a strip without distortion, the coordinates of the maxima are expected to be arranged in an annulus centered about the zero-frequency component, with a radius indicative of the modal spacing of the photoreceptors (Fig. 2B).41,64 However, local distortion results in a shift from a circular to a more linear arrangement of the coordinates (Fig. 2C). Conducting linear regression on the coordinates of the maxima and obtaining the R2 value detected this. R2 values from each strip in a frame were summed, and ΣR2 was used as a metric for intraframe motion. Frames with a ΣR2 greater than μ + 3σ for the sequence were treated as outliers and rejected from consideration. Figure 2A shows a frame that would be rejected by this module due to its relatively high intraframe motion, compared with the frame in Figure 2D. This metric was used as the final output criterion for a minimally distorted reference frame after additional rejections by other modules (following), as it was the best independent measure of distortion employed.
Interframe Motion Tracking
Despite careful practice in image acquisition in a controlled environment, involuntary eye movements have a significant impact on the temporal and spatial relationships between consecutive frames at the level of magnification afforded by AO. Currently, humans select multiple reference frames within a video from subjectively determined spatial loci while viewing the sequence consecutively. We sought to develop this module to objectively determine the relative spatial positions of the frames, and sort them into spatial clusters (below), such that the least distorted frame from each cluster could be output automatically. To accomplish this, image-based motion tracking was conducted using full-frame NCC between consecutive frames (first pass) and groups of frames (second pass; Fig. 3). We used an implementation of NCC that was developed in-house using the Matlab function fft2.46 The position of the maximum value in an NCC matrix signifies the linear transformation that results in maximum signal overlap. Due to edge artifacts inherent in NCC, an elliptical window was centered at the zero displacement position with radii that were two-thirds the dimensions of a frame (allowing a maximum displacement between frames of ∼400 pixels). For two frames capturing overlapping regions of the retina, there will be a distinct peak in NCC matrix with a full-width-half maximum (FWHM) related to feature size, image contrast, and distortion within and between frames.
The height of this distinct peak may not be the global maximum for the NCC matrix if there are artifacts in the image such as partial blinks, or prominent features (e.g., blood vessels, pathological hyporeflectivity, etc.) that move into view between frames due to eye motion. For this reason, we developed a custom peak-finding algorithm tailored to our distribution of image and photoreceptor sizes. First, a square mask with a side length of 21 pixels (slightly larger than the average size of the FWHM of an NCC peak) was centered on the global maximum and it was determined whether any other element in the NCC matrix exceeds 1 – (1/e) times the global maximum. If not, the global maximum was accepted as the true peak of the NCC matrix and the relative spatial positions were recorded. If there were competing local maxima, the NCC matrix was smoothed using a Gaussian kernel (size: 10 pixels, σ: 1) and the absolute values of horizontal and vertical gradients were calculated to find local maxima. The parameters of the smoothing kernel were found to be effective in eliminating low amplitude peaks without diminishing distinct peaks in our images. The horizontal and vertical gradient matrices were subjected to element-wise multiplication, and the peak of this combined matrix was detected as an outlier (μ + eσ; this time using a slightly more liberal outlier definition). If a single distinct peak could not be detected using this outlier criterion, the relative position of the sample frame was not offset from the template frame, and it was noted that no connection could be made between the template and the sample frames. Otherwise, the position of the peak in the gradient matrix was used as the center of a 21 × 21-pixel window on the NCC matrix, and the maximum and its position were calculated within that window. This process continued for each frame in the image sequence, and an approximate set of coordinates was generated from the relative offsets (Fig. 3C).
A second pass was then conducted under the assumption that connections between consecutive frames could not be made due to a large saccade. Frames were grouped based on successful peak finding, such that a new group was defined at each failure to find a peak in the NCC matrix of two consecutive frames (Fig. 3F). Groups could have length greater than or equal to 1, which allowed for the special case where the first frame in a sequence had no overlapping area with the next frame in the sequence (Fig. 3G). This is especially important for subjects with severe nystagmus, as consecutive frames rarely overlap, and it becomes necessary to attempt to align frames from across the sequence. Groups were combined by attempting to register a few key frames between a template and a sample group: the first and last frames in each group, as well as the frame nearest the template group centroid (referred to as template central). The comparisons conducted were: template first to sample first, template last to sample last, and template central to sample first. It was designed this way to minimize the number of NCC calculations while conducting a diverse search to find an overlapping area. This was conducted in order of decreasing group size and included all nonredundant group comparisons. Each time a peak was successfully detected, its position and magnitude was recorded. A transformation vector was then constructed whose direction and magnitude was determined by a weighted average of the square of the NCC peak heights detected, and the coordinates of all frames in the group were transformed by this vector (Fig. 3H). Using a weighted average vector helps ensure that the alignment of groups is biased toward high signal overlap and robust to false peak detection errors. If no connections can be made between a group and any other, it is considered an isolated group without any spatial connection to the remaining frames, and is processed separately for the remainder of the algorithm. During motion tracking, the average NCC maximum of each successful connection (note that most frames are compared twice) was recorded and used as an inference of intraframe distortion. This was used as an additional criterion for outlier rejection (NCC ≤ μ − 3σ).
Clustering
All frames whose relative positions could be determined by NCC were then sorted into spatial clusters (Fig. 4). The number of clusters was automatically determined using the silhouette statistic65 and the cluster assignments were determined using the k-means++ algorithm (Fig. 4B).66 The maximum number of clusters allowed in this first step was the number of remaining candidate frames divided by a threshold for the minimum number of frames per cluster set by the user. k-means was conducted with five replicates to balance speed and accuracy. Recall that groups of frames defined during interframe motion tracking could have lengths less than this threshold and would be processed separately if they could not be absorbed into another group; these groups would be rejected at this stage. During k-means partitioning, each coordinate is treated as a discrete point, rather than a range of coordinates with overlapping area, which may result in over-clustering. To account for this, a frame was absorbed into another cluster if its area had at least 75% overlap with the centroid of that cluster (Figs. 4C–E). The threshold of 75% overlap was arbitrarily chosen as a balance between improving SNR and increasing retinal coverage with multiple processed images. This progressed in order of decreasing cluster size (i.e., the number of members in a cluster). After a frame was absorbed, it could not be absorbed by any other cluster (Fig. 4E). Clusters containing fewer than the user-defined threshold for the minimum number of frames per cluster were rejected as being insufficient to boost SNR (Fig. 4F). The distance between each frame and its cluster centroid was recorded and frames that were considered outliers (μ + 3σ) were rejected. This allowed for dynamic correction of underclustering, but may benefit in the future by an absolute rejection threshold related to the aforementioned absorption threshold.
Distortion Analysis
To assess the ability of ARFS to select minimally distorted reference frames, residual distortion in registered AOSLO image sequences was compared between ARFS- and manually-derived reference frames. All manually derived reference frames were identified by one expert observer (RFC). For nine healthy subjects (age: 24.6 ± 3.5 years; μ ± σ; 7 males, 2 females), 10 reference frames were selected from one video at 1° temporal from the foveola (1T; Supplementary Table S2). A 1.8° × 0.8° field-of-view (FOV) AO-flood image sequence was obtained at the same locations, and processed as previously described (Fig. 5A).50 Briefly, AO-flood images underwent flat-field correction for uneven illumination, RFC manually selected a reference frame with minimal motion blur, and the 80 frames with the highest cross-correlation were registered to the reference frame and the stack was averaged. Averaged AOSLO images (Fig. 5B) were manually aligned to the undistorted AO-flood image in Photoshop CS6, and cropped to a common 0.55° area. The AO-flood and AOSLO images were subjected to local histogram equalization, then registered using a rigid transform in ImageJ software (National Institutes of Health, Bethesda, MD).67 Strip-registration46 was then conducted using the AO-flood image as the reference frame, maintaining all registration parameters set by the human observer. Distortion in the AOSLO images was calculated as the mean registration transform magnitude (henceforth, referred to as pixel shift vector, or “PSV” magnitude) for every row in the AOSLO image. A representative example for ARFS is shown in Figure 5C. The distributions of mean PSV magnitudes for each ARFS- and human-derived reference frame were compared by Mann-Whitney U test due to violation of the normality assumption requisite of parametric tests. Descriptive statistics were also calculated to determine which distribution is shifted more toward the ideal PSV magnitude (0 pixels).
Motion Tracking Validation
To validate the motion-tracking module, a motion trace was obtained from the same image sequences as in the distortion analysis (Supplementary Table S2), and each group of frames with known spatial locations were registered together and cropped to a common area. Using the first frame as a reference, the frames were reordered to minimize mean squared error (MSE) between images calculated using the Matlab function immse. The cumulative MSE for the stack of images was calculated under the assumption that registration errors would result in significant increases in MSE between frames. This was compared against the cumulative MSE for unregistered and strip-registered sequences.
Comparison of Human Frame Selection and ARFS Metrics
The agreement between human and ARFS reference frame selection was assessed. Datasets were obtained from 5 to 10 subjects each from 4 pathological categories (normal, n = 9 datasets processed by 7 observers; subject age: 25.2 ± 3.2 years; 7 males, 2 females), achromatopsia (ACHM; n = 10 datasets processed by 9 observers; subject age: 24.4 ± 12.1 years; 5 males, 5 females), albinism (n = 5 datasets processed by 1 observer; subject age: 16.2 ± 12.9 years; 5 females), and retinitis pigmentosa (RP; n = 10 datasets processed by 6 observers; subject age: 39.5 ± 13.8 years; 6 males; 4 females; Supplementary Table S3). The discrepancy in the number of datasets is the result of an initial examination of an arbitrary division of datasets between beginner and expert reference frame selectors. No significant difference was found between the groups so the data were pooled. All albinism datasets were processed by a single “expert,” so only five were included. For this analysis, the minimum frame per cluster threshold in ARFS was held at five. The proportion of frames selected by humans that were not rejected by ARFS was calculated, and for those that were rejected, the module responsible for the rejection was recorded. Because intraframe motion is our final determinant for ranking, we determined the intraframe motion rank of each frame selected by humans and determined the distribution of ranks for each pathological category.
Results
Distortion Analysis
ARFS-derived reference frames resulted in a significant decrease in residual distortion relative to manually derived reference frames. ARFS- and human (RFC)-derived reference frames resulted in PSV magnitudes of 2.75 ± 1.60 pixels and 3.33 ± 1.61 pixels (P = 0.0016; Mann-Whitney U test; n = 90), respectively (Fig. 5D). The medians for the PSV distributions were 2.42 and 3.29 pixels for ARFS and RFC, respectively. The skewness for ARFS was +2.12 and +1.33 for RFC, indicating ARFS was more right-skewed (Fig. 5E).
Motion Tracking Validation
ARFS-registered sequences reduced cumulative MSE compared with unregistered sequences, but not as well as strip-registered sequences. The average slope of increasing MSE of unregistered, ARFS-registered, and strip-registered sequences are 0.063, 0.044, and 0.022, respectively (Fig. 6). From a visual inspection of all registered videos, it was found that the ARFS motion tracking process led to a registration error in a few videos of approximately 10 pixels, but the primary source of the increased MSE was local distortion between frames, which is not corrected for by full-frame NCC (Supplementary Video S1).
Comparison of Human Frame Selection and ARFS Metrics
Humans were more likely to select a reference frame rejected by ARFS for videos acquired from subjects with pathology than for subjects with healthy retinas, varying widely from 5.16% to 39.22% (Table 1). The most common ARFS rejection method, on average, for all human-derived reference frames was cluster size, ranging from 0.32% to 21.39% of frames, while the least common was mean pixel intensity, ranging from 0% to 0.36% of frames. It was relatively uncommon that a human would select a frame that was rejected based on intraframe motion, with a range of 1.94% to 5.35%. More commonly, humans would select frames that were rejected based on NCC, ranging from 2.26% to 12.30%. Figure 7 shows the distribution of intraframe motion rankings of human-derived reference frames (1 is best, 0 is worst). 5.24, 2.71, 7.73, and 3.89% (normal, ACHM, albinism, and RP, respectively) of human-derived reference frames ranked in the 95th to 100th percentile for intraframe motion. Put another way, on average, humans selected a minimally distorted reference frame 4.89% of the time.
Table 1.
Discussion
The results from the distortion analysis show that ARFS can automatically select minimally distorted reference frames from AOSLO image sequences. Automatically determining minimally distorted frames is an important step in validating the technique of AOSLO, and increases the accuracy of measures of photoreceptor geometry.50 It is important to note that even the least-distorted image in a sequence may be unacceptably distorted, as is often the case with images obtained from patients with nystagmus. For example, if the frame with the lowest ΣR2 value for the sequence had an average R2 of 0.5, it is likely that this frame would be visibly distorted, but because ARFS does not employ absolute thresholds, it would still be output as the “minimally distorted frame” from that image sequence. Thus, the burden still lies on the user to verify that the reference frames selected are likely accurate representations of the subject's retina. This problem could eventually be corrected if the measurements from ARFS were aggregated for a large number of subjects and used to create absolute thresholds for acceptable intraframe motion and NCC values. Further, rather than selecting the least-distorted frame, some of the measurements made by ARFS could be combined to construct an artificial frame from the least-distorted regions of multiple frames to best approximate an undistorted image.47,48,50
When examining Table 1, it is important to note that rejection criteria are intentionally strict, and perceptually acceptable frames may be rejected. Further, all rejections are based on statistics calculated for sets of observations that are commonly not normally distributed, which warrants further investigation into more complex statistical criteria for rejection. This approach is useful as it is adaptive and accounts for a wide range of factors that influence the images, such as tear-film and fixation instability, lens opacity, and detector gain. Approximately 95% of human-selected frames from healthy subjects were not rejected by ARFS, which suggests that when a frame is determined to be an outlier, it is probably obvious enough for a human to recognize. The remaining 5% almost certainly harbored subtle distortions that were missed by humans. It is apparent that ARFS and humans agree less when examining image sequences obtained from subjects with pathologies. With nystagmus, it becomes difficult to estimate eye motion for an image sequence unless there are prominent and unique features present. Because ARFS compares groups of frames from across the image sequence, where humans are usually confined to viewing them in order, it is better equipped to assign frames to spatial groups and build clusters of frames. A human may see a minimally distorted frame out of its spatial context, but it would fail to register due to insignificant overlap. This is a possible explanation for the relatively high proportion of human-selected frames rejected by the cluster-size method. One alarming finding is the frequency at which humans select frames that are rejected based on intraframe motion or NCC, which means that any metrics extracted from those processed images are likely to be confounded by significant local distortions. This is especially concerning in cases of disease, where the presence of these distortions may confound our metrics, and thus our understanding, of the organization of the retina.50
The distributions in Figure 7 are not skewed toward highly ranked frames as one might expect, indicating that humans do not tend to select frames objectively determined to be minimally distorted. Severe eye motion can significantly reduce the population of perceptually acceptable frames, increasing the likelihood for humans to select a minimally distorted frame; this may explain the increase in selection of the top 5% of frames in the albinism datasets relative to normal datasets. The roughly even distributions highlight the difficulty in selecting the least distorted frame in a sequence. While there may be a large population of seemingly acceptable frames, the least distorted frame will yield the most accurate measurements of the photoreceptor mosaic.50
With 32-GB random access memory and a 3.30-GHz central processing unit, ARFS processing time for a video may range from approximately 2 to 8 minutes per video, depending on the amount of eye motion and subsequent number of frame groups. The rate-limiting step is calculating NCC matrices, which is more computationally complex than other registration methods, but more robust to variations in illumination and image features.46 While expert observers may select frames at a rate of approximately 2 frames/minute, setting the parameters to run ARFS on a dataset (frequently comprising hundreds of image sequences) requires approximately 2 to 5 minutes, which drastically reduces the total human interaction time.
It is important to note that many parameters used in this algorithm were determined empirically based on our distribution of image and feature sizes (∼600 × 600 pixels and 5–10 pixels, respectively), and may need to be adjusted for use with other systems and image sets (Supplementary Table S1). This is especially important for the intraframe motion calculation, which assumes a range of photoreceptor spacing before cropping the DFT. With significantly increased or decreased magnification, too little of the relevant frequency components or too many irrelevant frequency components, respectively, would be included, and thus decrease the sensitivity and specificity of the analysis. A potential solution to this example would be estimating modal spacing with automated detection of Yellott's ring41,64 to inform the size of the cropping window. Further investigation into dynamically optimizing the parameters employed by ARFS is warranted.
A major limitation of this algorithm is its image feature-specific nature. Currently, ARFS only functions properly on confocal images of the cone photoreceptors. The intraframe motion module was designed to detect disruptions to a mosaic of regularly spaced circular objects, and as such, would have an adverse effect when applied to images of the nerve fiber layer or capillaries. Adaptations of other methods may bridge this gap.52 Further, ARFS performance has not been rigorously tested in image sequences where there is significant disruption to the cone mosaic such that ARFS may mistake aberrantly shaped or organized cones as being compressed or stretched. Subjectively, sampling a large strip of the retina typically makes the intraframe motion module robust to such disruptions, and tuning this parameter may resolve this issue. In the conceivable event that a motion artifact expands a patch of cones that are pathologically compressed, the intraframe motion module may be biased to select this frame; however, it is also possible that this frame would be rejected due to a weak NCC peak height caused by intraframe motion.
Our lab also collects multiply scattered nonconfocal AOSLO images referred to as split-detector23 and dark-field,24 but ARFS does not currently function properly on these modalities. The broader intensity profile in the features of these images results in overmasking of the DFT's during the intraframe motion module, and the peaks of the NCC matrices are wider than for confocal, rendering the peak-finding algorithm ineffective during the motion tracking module. For subjects with pathologies affecting the wave guiding of cone outer segments, such as ACHM, cone inner segments are still visible in split-detector images.19 Using the registration transforms for split-detector images and applying them to simultaneously acquired confocal images has been useful in identifying any residual signal in the confocal channel that would otherwise be too weak to use for registration. Thus, there is significant motivation to adapt ARFS to other modalities and image features using more generalizable methods.
Supplementary Material
Acknowledgments
The authors thank Taly Gilat-Schmidt, Brian Higgins, Moataz Razeen, Ben Sajdak, Phyllis Summerfelt, and Vesper Williams for their assistance with this work.
Supported by grants from the National Eye Institute and the National Institute of General Medical Sciences of the National Institutes of Health under award numbers T32EY014537, T32GM080202, P30EY001931, R01EY017607, and R01EY024969. This investigation was conducted in part in a facility constructed with support from a Research Facilities Improvement Program, Grant Number C06RR016511 from the National Center for Research Resources, NIH.
Disclosure: A.E. Salmon, None; R.F. Cooper, None; C.S. Langlo, None; A. Baghaie, None; A. Dubra, None; J. Carroll, None
References
- 1. Liang J,, Williams DR,, Miller D. Supernormal vision and high-resolution retinal imaging through adaptive optics. J Opt Soc Am A Opt Image Sci Vis. 1997; 14: 2884–2892. [DOI] [PubMed] [Google Scholar]
- 2. Roorda A,, Romero-Borja F,, Donnelly WJ, III,, Queener H,, Hebert T,, Campbell M. Adaptive optics scanning laser ophthalmoscopy. Opt Express. 2002; 10: 405–412. [DOI] [PubMed] [Google Scholar]
- 3. Dubra A,, Sulai Y,, Norris JL,, et al. Noninvasive imaging of the human rod photoreceptor mosaic using a confocal adaptive optics scanning ophthalmoscope. Biomed Opt Express. 2011; 2: 1864–1876. [DOI] [PMC free article] [PubMed] [Google Scholar]
- 4. Mujat M,, Ferguson RD,, Iftimia N,, Hammer DX. Compact adaptive optics line scanning ophthalmoscope. Opt Express. 2009; 17: 10242–10258. [DOI] [PMC free article] [PubMed] [Google Scholar]
- 5. Zhang Y,, Rha J,, Jonnal R,, Miller D. Adaptive optics parallel spectral domain optical coherence tomography for imaging the living retina. Opt Express. 2005; 13: 4792–4811. [DOI] [PubMed] [Google Scholar]
- 6. Zawadzki RJ,, Jones SM,, Olivier SS,, et al. Adaptive-optics optical coherence tomography for high-resolution and high-speed 3D retinal in vivo imaging. Opt Express. 2005; 13: 8532–8546. [DOI] [PMC free article] [PubMed] [Google Scholar]
- 7. Jonnal RS,, Kocaoglu OP,, Zawadzki RJ,, Liu Z,, Miller DT,, Werner JS. A review of adaptive optics optical coherence tomography: technical advances, scientific applications, and the future. Invest Ophthalmol Vis Sci. 2016; 57: OCT51–OCT68. [DOI] [PMC free article] [PubMed] [Google Scholar]
- 8. Roorda A,, Williams DR. Optical fiber properties of individual human cones. J Vis 2002; 2 5: 404–412. [DOI] [PubMed] [Google Scholar]
- 9. Putnam NM,, Hofer HJ,, Doble N,, Chen L,, Carroll J,, Williams DR. The locus of fixation and the foveal cone mosaic. J Vis. 2005; 5 7: 632–639. [DOI] [PubMed] [Google Scholar]
- 10. Xue B,, Choi SS,, Doble N,, Werner JS. Photoreceptor counting and montaging of en-face retinal images from an adaptive optics fundus camera. J Opt Soc Am A Opt Image Sci Vis. 2007; 24: 1364–1372. [DOI] [PMC free article] [PubMed] [Google Scholar]
- 11. Song H,, Chui TY,, Zhong Z,, Elsner AE,, Burns SA. Variation of cone photoreceptor packing density with retinal eccentricity and age. Invest Ophthalmol Vis Sci. 2011; 52: 7376–7384. [DOI] [PMC free article] [PubMed] [Google Scholar]
- 12. Garrioch R,, Langlo C,, Dubis AM,, Cooper RF,, Dubra A,, Carroll J. Repeatability of in vivo parafoveal cone density and spacing measurements. Optom Vis Sci. 2012; 89: 632–643. [DOI] [PMC free article] [PubMed] [Google Scholar]
- 13. Chiu SJ,, Lokhnygina Y,, Dubis AM,, et al. Automatic cone photoreceptor segmentation using graph theory and dynamic programming. Biomed Opt Express. 2013; 4: 924–937. [DOI] [PMC free article] [PubMed] [Google Scholar]
- 14. Zawadzki RJ,, Choi SS,, Werner JS,, et al. Two deformable mirror adaptive optics system for in vivo retinal imaging with optical coherence tomography. Presented at: Biomedical Topical Meeting. Fort Lauderdale, FL: OSA; 2006: WC2. [Google Scholar]
- 15. Duncan JL,, Zhang Y,, Gandhi J,, et al. High-resolution imaging with adaptive optics in patients with inherited retinal degeneration. Invest Ophthalmol Vis Sci. 2007; 48: 3283–3291. [DOI] [PubMed] [Google Scholar]
- 16. Tojo N,, Nakamura T,, Fuchizawa C,, Oiwake T,, Hayashi A. Adaptive optics fundus images of cone photoreceptors in the macula of patients with retinitis pigmentosa. Clin Ophthalmol. 2013; 7: 203–210. [DOI] [PMC free article] [PubMed] [Google Scholar]
- 17. Makiyama Y,, Ooto S,, Hangai M,, et al. Macular cone abnormalities in retinitis pigmentosa with preserved central vision using adaptive optics scanning laser ophthalmoscopy. PLoS One. 2013; 8: e79447. [DOI] [PMC free article] [PubMed] [Google Scholar]
- 18. Baraas RC,, Carroll J,, Gunther KL,, et al. Adaptive optics retinal imaging reveals S-cone dystrophy in tritan color-vision deficiency. J Opt Soc Am A Opt Image Sci Vis. 2007; 24: 1438–1447. [DOI] [PMC free article] [PubMed] [Google Scholar]
- 19. Langlo CS,, Patterson EJ,, Higgins BP,, et al. Residual foveal cone structure in CNGB3-associated achromatopsia. Invest Ophthalmol Vis Sci. 2016; 57: 3984–3995. [DOI] [PMC free article] [PubMed] [Google Scholar]
- 20. Panorgias A,, Zawadzki RJ,, Capps AG,, Hunter AA,, Morse LS,, Werner JS. Multimodal assessment of microscopic morphology and retinal function in patients with geographic atrophy. Invest Ophthalmol Vis Sci. 2013; 54: 4372–4384. [DOI] [PMC free article] [PubMed] [Google Scholar]
- 21. Choi SS,, Zawadzki RJ,, Lim MC,, et al. Evidence of outer retinal changes in glaucoma patients as revealed by ultrahigh-resolution in vivo retinal imaging. Br J Ophthalmol. 2011; 95: 131–141. [DOI] [PMC free article] [PubMed] [Google Scholar]
- 22. Dubra A,, Sulai Y. Reflective afocal broadband adaptive optics scanning ophthalmoscope. Biomed Opt Express. 2011; 2: 1757–1768. [DOI] [PMC free article] [PubMed] [Google Scholar]
- 23. Scoles D,, Sulai YN,, Langlo CS,, et al. In vivo imaging of human cone photoreceptor inner segments. Invest Ophthalmol Vis Sci. 2014; 55: 4244–4251. [DOI] [PMC free article] [PubMed] [Google Scholar]
- 24. Scoles D,, Sulai YN,, Dubra A. In vivo dark-field imaging of the retinal pigment epithelium cell mosaic. Biomed Opt Express. 2013; 4: 1710–1723. [DOI] [PMC free article] [PubMed] [Google Scholar]
- 25. Rossi EA,, Granger CE,, Sharma R,, et al. Imaging individual neurons in the retinal ganglion cell layer of the living eye. Proc Natl Acad Sci U S A. 2017; 114: 586–591. [DOI] [PMC free article] [PubMed] [Google Scholar]
- 26. Godara P,, Dubis AM,, Roorda A,, Duncan JL,, Carroll J. Adaptive optics retinal imaging: emerging clinical applications. Optom Vis Sci. 2010; 87: 930–941. [DOI] [PMC free article] [PubMed] [Google Scholar]
- 27. Sundaram V,, Wilde C,, Aboshiha J,, et al. Retinal structure and function in achromatopsia: implications for gene therapy. Ophthalmology. 2014; 121: 234–245. [DOI] [PMC free article] [PubMed] [Google Scholar]
- 28. Hunter JJ,, Masella B,, Dubra A,, et al. Images of photoreceptors in living primate eyes using adaptive optics two-photon ophthalmoscopy. Biomed Opt Express. 2010; 2: 139–148. [DOI] [PMC free article] [PubMed] [Google Scholar]
- 29. Roorda A,, Metha AB,, Lennie P,, Williams DR. Packing arrangement of the three cone classes in primate retina. Vision Res. 2001; 41: 1291–1306. [DOI] [PubMed] [Google Scholar]
- 30. Geng Y,, Dubra A,, Yin L,, et al. Adaptive optics retinal imaging in the living mouse eye. Biomed Opt Express. 2012; 3: 715–734. [DOI] [PMC free article] [PubMed] [Google Scholar]
- 31. Sajdak B,, Sulai YN,, Langlo CS,, et al. Noninvasive imaging of the thirteen-lined ground squirrel photoreceptor mosaic. Vis Neurosci. 2016; 33: e003. [DOI] [PMC free article] [PubMed] [Google Scholar]
- 32. Zawadzki RJ,, Zhang P,, Zam A,, et al. Adaptive-optics SLO imaging combined with widefield OCT and SLO enables precise 3D localization of fluorescent cells in the mouse retina. Biomed Opt Express. 2015; 6: 2191–2210. [DOI] [PMC free article] [PubMed] [Google Scholar]
- 33. Guevara-Torres A,, Williams DR,, Schallek JB. Imaging translucent cell bodies in the living mouse retina without contrast agents. Biomed Opt Express. 2015; 6: 2106–2119. [DOI] [PMC free article] [PubMed] [Google Scholar]
- 34. Wahl DJ,, Jian Y,, Bonora S,, Zawadzki RJ,, Sarunic MV. Wavefront sensorless adaptive optics fluorescence biomicroscope for in vivo retinal imaging in mice. Biomed Opt Express. 2016; 7: 1–12. [DOI] [PMC free article] [PubMed] [Google Scholar]
- 35. Sharma R,, Schwarz C,, Williams DR,, Palczewska G,, Palczewski K,, Hunter JJ. In vivo two-photon fluorescence kinetics of primate rods and cones. Invest Ophthalmol Vis Sci. 2016; 57: 647–657. [DOI] [PMC free article] [PubMed] [Google Scholar]
- 36. Sharma R,, Williams DR,, Palczewska G,, Palczewski K,, Hunter JJ. Two-photon autofluorescence imaging reveals cellular structures throughout the retina of the living primate eye. Invest Ophthalmol Vis Sci. 2016; 57: 632–646. [DOI] [PMC free article] [PubMed] [Google Scholar]
- 37. Hammer DX,, Ferguson RD,, Bigelow CE,, Iftimia NV,, Ustun TE,, Burns SA. Adaptive optics scanning laser ophthalmoscope for stabilized retinal imaging. Opt Express. 2006; 14: 3354–3367. [DOI] [PMC free article] [PubMed] [Google Scholar]
- 38. Chen M,, Cooper RF,, Han GK,, Gee J,, Brainard DH,, Morgan JI. Multi-modal automatic montaging of adaptive optics retinal images. Biomed Opt Express. 2016; 7: 4899–4918. [DOI] [PMC free article] [PubMed] [Google Scholar]
- 39. Li KY,, Roorda A. Automated identification of cone photoreceptors in adaptive optics retinal images. J Opt Soc Am A Opt Image Sci Vis. 2007; 24: 1358–1363. [DOI] [PubMed] [Google Scholar]
- 40. Mujat M,, Ferguson RD,, Patel AH,, Iftimia N,, Lue N,, Hammer DX. High resolution multimodal clinical ophthalmic imaging system. Opt Express. 2010; 18: 11607–11621. [DOI] [PMC free article] [PubMed] [Google Scholar]
- 41. Cooper RF,, Langlo CS,, Dubra A,, Carroll J. Automatic detection of modal spacing (Yellott's ring) in adaptive optics scanning light ophthalmoscope images. Ophthalmic Physiol Opt. 2013; 33: 540–549. [DOI] [PMC free article] [PubMed] [Google Scholar]
- 42. Cunefare D,, Cooper RF,, Higgins B,, et al. Automatic detection of cone photoreceptors in split detector adaptive optics scanning light ophthalmoscope images. Biomed Opt Express. 2016; 7: 2036–2050. [DOI] [PMC free article] [PubMed] [Google Scholar]
- 43. Wade A,, Fitzke F. A fast, robust pattern recognition system for low light level image registration and its application to retinal imaging. Opt Express. 1998; 3: 190–197. [DOI] [PubMed] [Google Scholar]
- 44. Stevenson SB,, Roorda A. Correcting for miniature eye movements in high resolution scanning laser ophthalmoscopy. : Manns F,, Soederberg PG,, Ho A,, Stuck BE,, Belkin M, Ophthalmic Technologies XV. San Jose: SPIE; 2005: 145–151. [Google Scholar]
- 45. Vogel CR,, Arathorn DW,, Roorda A,, Parker A. Retinal motion estimation in adaptive optics scanning laser ophthalmoscopy. Opt Express. 2006; 14: 487–497. [DOI] [PubMed] [Google Scholar]
- 46. Dubra A,, Harvey Z. Registration of 2D images from fast scanning ophthalmic instruments. In: Fischer B, Dawant B, Lorenz C, Biomedical Image Registration. Berlin: Springer-Verlag; 2010: 60–71. [Google Scholar]
- 47. Huang G,, Zhong Z,, Zou W,, Burns SA. Lucky averaging: quality improvement of adaptive optics scanning laser ophthalmoscope images. Opt Lett. 2011; 36: 3786–3788. [DOI] [PMC free article] [PubMed] [Google Scholar]
- 48. Mujat M,, Patel A,, Iftimia N,, Akula JD,, Fulton AB,, Ferguson RD. High-Resolution Retinal Imaging: Enhancement Techniques. SPIE BiOS. San Francisco: International Society for Optics and Photonics; 2015: 930703–930705. [Google Scholar]
- 49. Capps AG,, Zawadzki RJ,, Yang Q,, et al. Correction of Eye-Motion Artifacts in AO-OCT Data Sets. SPIE BiOS. San Francisco: International Society for Optics and Photonics; 2011: 78850D–78857D. [Google Scholar]
- 50. Cooper RF,, Sulai YN,, Dubis AM,, et al. Effects of intraframe distortion on measures of cone mosaic geometry from adaptive optics scanning light ophthalmoscopy. Transl Vis Sci Technol. 2016; 5 1: e10. [DOI] [PMC free article] [PubMed] [Google Scholar]
- 51. Ramaswamy G,, Devaney N. Pre-processing, registration and selection of adaptive optics corrected retinal images. Ophthalmic Physiol Opt. 2013; 33: 527–539. [DOI] [PubMed] [Google Scholar]
- 52. Ramaswamy G,, Lombardo M,, Devaney N. Registration of adaptive optics corrected retinal nerve fiber layer (RNFL) images. Biomed Opt Express. 2014; 5: 1941–1951. [DOI] [PMC free article] [PubMed] [Google Scholar]
- 53. Kolar R,, Tornow RP,, Odstrcilik J,, Liberdova I. Registration of retinal sequences from new video-ophthalmoscopic camera. Biomed Eng Online. 2016; 15: 57. [DOI] [PMC free article] [PubMed] [Google Scholar]
- 54. Roggemann M,, Stoudt CA,, Welsh BM. Image-spectrum signal-to-noise-ratio improvements by statistical frame selection for adaptive-optics imaging through atmospheric turbulence. Opt Eng. 1994; 33: 3254–3264. [Google Scholar]
- 55. Kulcsár C,, Le Besnerais G,, Ödlund E,, Lévecq X. Robust processing of images sequences produced by an adaptive optics retinal camera. Adaptive optics: methods, analysis and applications : Optical Society of America; 2013: OW3A.3. [Google Scholar]
- 56. Kulcsár C,, Fezzani R,, Le Besnerais G,, Plyer A,, Levecq X. Fast and robust image registration with local motion estimation for image enhancement and activity detection in retinal imaging. Paris, France, November 1–2, 2014. 2014 International Workshop on Computational Intelligence for Multimedia Understanding (IWCIM). [Google Scholar]
- 57. Kocaoglu OP,, Lee S,, Jonnal RS,, et al. Imaging cone photoreceptors in three dimensions and in time using ultrahigh resolution optical coherence tomography with adaptive optics. Biomed Opt Express. 2011; 2: 748–763. [DOI] [PMC free article] [PubMed] [Google Scholar]
- 58. Kocaoglu OP,, Turner TL,, Liu Z,, Miller DT. Adaptive optics optical coherence tomography at 1 MHz. Biomed Opt Express. 2014; 5: 4186–4200. [DOI] [PMC free article] [PubMed] [Google Scholar]
- 59. Kraus MF,, Potsaid B,, Mayer MA,, et al. Motion correction in optical coherence tomography volumes on a per A-scan basis using orthogonal scan patterns. Biomed Opt Express. 2012; 3: 1182–1199. [DOI] [PMC free article] [PubMed] [Google Scholar]
- 60. Sheehy CK,, Tiruveedhula P,, Sabesan R,, Roorda A. Active eye-tracking for an adaptive optics scanning laser ophthalmoscope. Biomed Opt Express. 2015; 6: 2412–2423. [DOI] [PMC free article] [PubMed] [Google Scholar]
- 61. Cooper RF,, Lombardo M,, Carroll J,, Sloan KR,, Lombardo G. Methods for investigating the local spatial anisotropy and the preferred orientation of cones in adaptive optics retinal images. Vis Neurosci. 2016; 33. [DOI] [PMC free article] [PubMed] [Google Scholar]
- 62. Razeen MM,, Cooper RF,, Langlo CS,, et al. Correlating photoreceptor mosaic structure to clinical findings in Stargardt disease. Transl Vis Sci Technol. 2016; 5 2: 6. [DOI] [PMC free article] [PubMed] [Google Scholar]
- 63. Bennett AG,, Rudnicka AR,, Edgar DF. Improvements on Littmann's method of determining the size of retinal features by fundus photography. Graefes Arch Clin Exp Ophthalmol. 1994; 232: 361–367. [DOI] [PubMed] [Google Scholar]
- 64. Yellott JI., Jr. Spectral analysis of spatial sampling by photoreceptors: topological disorder prevents aliasing. Vision Res. 1982; 22: 1205–1210. [DOI] [PubMed] [Google Scholar]
- 65. Rousseeuw PJ. Silhouettes: a graphical aid to the interpretation and validation of cluster analysis. J Comput Appl Math. 1987; 20: 53–65. [Google Scholar]
- 66. Arthur D. Vassilvitskii S. k-means++: The advantages of careful seeding. Proceedings of the eighteenth annual ACM-SIAM symposium on discrete algorithms. Philadelphia: Society for Industrial and Applied Mathematics; 2007: 1027–1035. [Google Scholar]
- 67. Schneider CA,, Rasband WS,, Eliceiri KWNIH. Image to ImageJ: 25 years of image analysis. Nat Methods. 2012; 9: 671–675. [DOI] [PMC free article] [PubMed] [Google Scholar]
Associated Data
This section collects any data citations, data availability statements, or supplementary materials included in this article.