|
1.IntroductionThe measurement of sperm motility has been a major focus of basic and clinical sperm research for over . In fertility studies, the 1 to 5 (slowest-to-fastest) speed of progression (SOP) score is often used to characterize overall motility of a semen sample and to assess sperm quality.1 This kind of scoring system is subjective and can be replaced by a quantitative measure based on objective computer scoring system. Computer-assisted sperm analysis (CASA) systems have been commercially available since the mid-1980s. The goal of CASA systems has been to obtain objective data on sperm motility that can be used in research, human fertility clinics, and animal breeding programs. A detailed review of CASA can be found in Amann (2004)2 and Mortimer (1994).3 Widely used commercial CASA systems include the HTM-IVOS (Hamilton-Thorne Bioscience, Beverly, Massachusetts), the SM-CMA system (Stromberg-Mika, Bad Feilnbach, Germany), and the Hobson Sperm Tracker (Hobson Sperm Tracking Ltd, Sheffield, United Kingdom). There are also several noncommercial laboratory CASA systems.4, 5, 6, 7 The percentage of motile sperm and velocity parameters such as swimming speed (curvilinear velocity), average path velocity, and straight line swimming speed are determined by these systems. The CASA systems differ in their grayscale bit-depth, search region for finding the sperm in the next frame, frame rate, number of consecutive frames analyzed, grayscale thresholding method, image segmentation method to determine the pixel coordinates of the sperm, head versus mid-piece tracking, strategies for handling collisions and/or near-miss cases with other bright particles or sperm, and loss of focus during tracking. Optical tweezers to measure sperm swimming force and swimming properties is a very different method to study sperm motility.8 Effects of optical trapping on sperm motility were first described by Tadir (1989).9 The measurement and calculation of laser trapping forces on human sperm was described by Konig (1996)10 and the effect of cryopreservation on the relative laser trapping escape force was reported by Dantas (1995).11 The correlation between sperm swimming forces, their swimming speed, and the SOP score was recently reported by Nascimento (2006).12 Thus far, sperm trapping experiments involve single sperm studies and require manually driven video analysis in a frame-by-frame manner to measure swimming velocities prior to and after trapping. Additionally, stable three-dimensional laser trapping requires a high numerical aperture (NA) oil immersion objective lens, which characteristically has very shallow depths of field (a few microns). As a result, swimming sperm routinely move in and out of focus as compared to imaging with a low NA air immersion objective lens. As a first attempt to automate tracking prior to and after trapping, video recorded during laser trapping experiments was played back into the HTM-IVOS CASA system (version 12.1, Hamilton Thorne Biosciences, 2004) equipped with an add-on feature for postvideo analysis and access to single sperm data. We found their algorithm failed to accurately report swimming parameters. Three error types that we noticed are (1) miscounting a single sperm as multiple sperm in a discontinuous path during transient focus change, (2) miscounting a single sperm as multiple sperm as two sperm paths intersect, and (3) cross-over events in which two sperm trajectories are swapped after their paths intersect. These errors are not mutually exclusive. It became necessary to develop a more robust automated sperm tracking algorithm for single sperm trapping studies. A key design criterion was to transition the analysis away from offline postexperiment computation into a real-time video rate program with the goal of taking the joystick out of the hands of the experimenter. In previously published laser tweezers studies,8, 9, 10, 12 the experimenter controlled the microscope stage via joystick to position a sperm-of-interest in the laser trap, a procedure that precluded experiments on fast swimming sperm. This paper describes a novel automatic sperm tracking algorithm called the single sperm tracking algorithm (SSTA), which solves the problems inherent in existing systems. A future publication will describe applying the algorithm in a video rate hands-free system for long-term tracking that culminates with computer-controlled trapping of the selected sperm, that is, “tack and trap.” 2.Methods2.1.Image AcquisitionThe system setup and sperm preparation methods for laser trapping have been described in detail in Nascimento (2006),12 and Wang (2005).13 A suspension12 of 30 000 sperm per milliliter of Biggers, Whittens, and Whittingham (BWW) were loaded into a deep cell culture chamber and placed on the microscope stage. The microscope stage was controlled by a joystick to locate and place a sperm-of-interest under the laser trap. A single sperm was held in the trap with either constant or decaying laser power. Prior to laser trapping, the microscope stage was momentarily halted to record video footage of the swimming sperm, after which the sperm was positioned in the laser trap. Similar footage was acquired after trapping. The frames of each video sequence were converted offline into bitmap format with ADOBE PREMIER PRO 1.5 (Adobe Systems Incorporated, San Jose, Califarnia). 2.2.Image Contrast EnhancementSSTA was developed in the LABVIEW 7.1 language (National Instrument, Austin, Texas). SSTA loads and displays the first frame of a video sequence and a sperm-of-interest (i.e., the tracked sperm) is interactively selected with the computer’s mouse. A square region of interest (ROI) is automatically created around the selected pixel as shown in Fig. 1 . A background intensity was estimated, after calculation of the ROI’s intensity histogram, as the sum of the most frequent intensity and the standard deviation. The background intensity was subtracted from each pixel in the ROI and the resulting image was linearly stretched to fill the intensity range (0 to 255), as shown in Fig. 1b. In order to continuously track a sperm with a high NA objective, it is essential to be able to extract the sperm from the background even when it appears slightly out of focus. Axial displacements on the order of a few microns will significantly change the focus quality and the contrast of the image. 2.3.Image SegmentationSSTA uses custom image segmentation to create a binary image mask from each ROI to identify the sperm-of-interest. We found that the two-class thresholding algorithm was not suitable for tracking sperm in phase contrast. Tracked sperm may approach bright high contrast debris, nonmotile sperm, or other motile sperm within the ROI, as exemplified in Fig. 2a . One sperm is clearly brighter than the second. Application of contrast enhancement [Fig. 2b] and a two-class thresholding dismisses the dim sperm as background [Fig. 2c]. Figure 2e used two phantom objects to represent the contrast enhanced image. The upper-left particle A represents an out-of-focus sperm-of-interest, while the lower-right particle B, represents an in-focus bright particle. Two-class thresholding dismisses A as background (not shown). SSTA calls the LABVIEW function IMAQ AutoMthreshold.vi, which implements an interative clustering method seeking four pixel classes within the intensity histogram. Then the LABVIEW function IMAQ Threshold.vi is called once for each of the three brightest pixel classes to create a corresponding binary mask [Figs. 2f, 2g, 2h]. The first (and brightest) class contains the central bright region of particle B [Fig. 2f], while dimmer pixels of B lie in the second and third classes [Figs. 2g and 2h]. The fourth class contains background pixels. Since B is represented in all three classes, it must be “merged” again into a single object. Binary dilation with a structuring element is applied to the first class and projected onto the second class, setting the corresponding pixel value to zero. The process is repeated on the second class pixels and projected onto the third class. Resulting masks for the three classes are combined with a binary OR operator to calculate the final mask, which contains both particles as shown in Fig. 2i. This method identifies both sperm in Fig. 2a as shown in Fig. 2d. The LABVIEW function IMAQ Particle Analysis.vi measures the area, centroid , and the bounding box for each particle. An area threshold of was applied to remove small debris identified in the final mask. 2.4.Speed CheckWe found that image segmentation alone could not consistently find the sperm-of-interest in the presence of other high-contrast objects. Speed check uses the curvilinear swimming speed (VCL) to further filter out interfering objects. SSTA uses the nearest neighbor method3 to associate objects in consecutive image frames. For those two frames, the instantaneous-VCL (IVCL) of an object is calculated as displacement divided by elapsed time. When image segmentation fails to identify the tracked sperm, IVCL will take on an uncharacteristic value as compared to VCL calculated over all previous frames. It was found that over time the VCL asymptotically stabilizes and variations in IVCL with respect to VCL are bound [Fig. 3a ]. Let be the minimum number of consecutive frames required to estimate the VCL within a defined range. Let define the height of a window about VCL that bounds variations in IVCL. Let be the species-dependent upper bound on IVCL. SSTA exploits these three physiologically derived bounds for its speed-check feature. That is, the most recently calculated IVCL is checked against two conditions where is the current frame number and condition 2 acts as a ceiling condition 1.and can be determined by analyzing a multitude of sperm swimming trajectories validated to contain no collisions or errors due to high contrast debris. We analyzed 200 such sperm trajectories. For each trajectory, let be the first frame after which the VCL of all subsequent frames is within 20% of the final VCL corresponding to that trajectory. The distribution of was examined over 200 trajectories to determine a suitable value for [Fig. 3b]. Define as where is the swimming speed at the ’th frame of the ’th trajectory and is the final VCL of the ’th trajectory. can be determined by examining the distribution of across all 200 trajectories [Fig. 3c]. Similarly, can be determined by examining the distribution of IVCL values across the sperm [Fig. 3d].If either condition 1 or 2 fails, it is assumed that the detected particle in the current frame was erroneously identified. In the event that speed check detects a tracking error, pixel values within the bounding box (lengthened by 50%) of the incorrectly identified particle are replaced by the minimum intensity value of the ROI image. Image contrast enhancement and image segmentation are reapplied iteratively on the same frame until the conditions of speed check are satisfied or until all particles fail, in which case the next frame is acquired. 2.5.Collision DetectionAs multiple sperm swim freely in the cell chamber, their paths often intersect. Collision detection is used to detect these events and to engage the algorithm of Sec. 2.6 to identify the correct sperm after intersection. In some cases, two sperm will collide resulting in a change of swimming direction, as illustrated in Fig. 4a , while in other cases, axially separated sperm pass near each other only appearing to collide as demonstrated in Fig. 4b. These were termed “real” and “perceived” collisions, respectively.3 In the transverse image plane, two sperm may pass very close without colliding (remaining mutually distinguishable), as demonstrated in Fig. 4c. This is termed a “near-miss.” SSTA regards near misses as collisions if a single sperm in one frame [i.e., the 9th point of B in Fig. 4c] is the nearest neighbor to both sperm in the previous frame [i.e., the 8th point of A and B in Fig. 4c]. SSTA employs collision detection to monitor for these three collisions. From the first frame where additional particles (including sperm) are detected in the ROI, an additional ROI is created for each particle. The nearest neighbor method is then run in parallel for each particle within its ROI. The size of the ROIs were chosen such that, in accordance with Nyquist sampling theory, two sperm traveling directly toward each other at would require at least two frames before they could collide, thus avoiding aliasing. Let be the first frame in which two sperm are detected in the ROI of the tracked sperm. Collision detection registers a collision if any of the following occurs:
2.6.Postcollision AnalysisConsider Fig. 5a where tracked sperm A swimming from point and second sperm B from point collide at point (coinciding with ). The two sperm separate along new trajectories toward points and , respectively. The purpose of postcollision analysis is to identify which of the new trajectories represent the precollision tracked sperm. Let be the collision frame number and be the number of frames analyzed before and after . and occur at , while and occur at . Net displacements are defined as from to , from to , from to , from to , and from to , as shown in Fig. 5b. Three linearly independent criteria based on measurements of VCL , net displacement , and swimming angle , were combined into a single cost function evaluated for each sperm such that the sperm with the greatest cost is identified as the correct sperm. To correctly calculate the VCL postcollision, was chosen to be twice the minimum frame number . Collision-free trajectories were tracked to form distributions of the following two quantities:
or will be unity whenever VCL or net sperm displacement are unaltered by the collision. SSTA transforms and through the Gaussian probability density function where is or , is unity, and the standard deviation serves as a tunable parameter whereby the user can change the “steepness” of the transition from 1 to 0.For a collision between sperm A and sperm B, let ( or B) be the VCL ratio and be the net displacement ratio where is the VCL from point to point [Figs. 5a and 5b], and is the VCL of sperm A from frame 1 to frame . Equation 6 is used to create two cost functions whereby variations observed in noncolliding sperm are used to rank the likelihood of variations observed following a collision. where and are the standard deviations, which are tunable parameters used to adjust SSTA’s sensitivity to variation.The analysis of noncollision sperm trajectories does not provide information on sperm swimming angle following real collisions. Therefore the cost function for is not based on the noncollision sperm trajectories, but is chosen to favor small angle changes over large ones. The cost function is defined as whereand where or B. In Eq. 11, increases monotonically from 0 to 1 as increases from .The three cost functions for sperm are multiplied and the sperm with the highest is selected by SSTA as the correct sperm to continue tracking.To compare SSTA to the popular commercial CASA system HTM-IVOS, identical image sequences must be analyzed. From 80 to 100 frames of video images, played back by a mini–digital video camcorder with a tape-time overlay, were captured by the HTM-IVOS system and analyzed. A HTM-IVOS add-on feature allows downloading of individual sperm trajectories within an analyzed image sequence. The same image frames were then selected for offline SSTA analysis. Trajectories were compared. 3.ResultsFigure 3a plots IVCL and VCL for a sperm chosen at random from the 200 noncollision dog sperm trajectories. Figure 3b graphs the distribution of normalized by the number of observations. The 1st bin contains 60% of the values. was selected for the speed-check feature. Over two million values of were measured in the 200 trajectories. Figure 3c graphs the distribution of normalized by the number of observations. is mostly bound by , where corresponds to , and corresponds to . was selected for Eq. 1 of the speed-check feature. Figure 3d graphs the distribution of IVCL normalized by the number of observations (over 950). The maximum observed . was set to in SSTA. Sperm swimming at can travel per frame and so the ROI dimension was set to (four times over sampling). and were found to be unimodal and nonnormally distributed. Figure 6 shows their distributions with best-fit Gaussian curves as well as the corresponding SSTA equations [9, 10 ]. The distributions were first properly normalized so that integration was unity and then scaled by their maximum frequency value in order to compare to Eqs. 9, 10. Figures 5c, 5d, 5e, 5f, 5g, 5h shows selected frames taken before, during, and after a perceived collision event. The tracked sperm A swims from the lower-right to the upper-left corner of the field. Sperm A’s ROI is indicated by the white box. A passing sperm B swims from the field’s center to the lower-right corner entering the ROI in frame 29 [Fig. 5c raw image, 5d contrast enhanced]. Sperm A’s and Sperm B’s images overlap in frame 34 [Fig. 5e] with separation in frame 39 [Fig. 5f]. The nearest neighbor method mistakenly chose sperm B as sperm A since sperm B’s centroid is nearer the overlapping sperm in the previous frame. For the next 20 frames, the ROI was assigned to sperm B [Fig. 5g]. Table 1 shows the collision cost function values for both sperm. Sperm A’s score was higher by nearly 1000-fold, and sperm A was correctly selected for continued tracking as shown in frame 60 [Fig. 5h]. Table 1Calculated parameters for the postcollision analysis of the video sequence represented in Fig. 5. The cost function C was orders of magnitude higher for sperm A, the correct sperm to track postcollision.
Table 2 compares key features used by SSTA and the HTM-IVOS for sperm tracking. Figures 7a and 7b show trajectories of two fluorescently labeled sperm (SYBR 14 dye) undergoing a near-miss collision. HTM-IVOS counted sperm 1 twice. SSTA correctly tracked both sperm, as validated by manual inspection. Table 3 lists VCL values for each track in Fig. 7. Differences in the two method’s VCLs were 6.2 and 7.2% of the SSTA value for sperms 1 and 2, respectively. Figures 7c and 7d shows trajectories for another fluorescent image sequence with a near-miss collision type. Here the sperm-of-interest (sperm 3) crosses paths with a nearly orthogonally swimming sperm (sperm 4). HTM-IVOS terminated sperm 3’s trajectory near the collision while merging sperm 4 and the continuation of sperm 3 into a single trajectory. SSTA was able to distinguish the two trajectories throughout the collision. As seen in Table 3, difference in VCL for sperms 5 and 6 were less than of the SSTA value. Table 2Comparison of key features used by SSTA and the HTM-IVOS system for sperm tracking.
Table 3VCLs and number of consecutive frames in the track for the six sperm represented in Fig. 7. Sperm labels correspond to labels in the figures. Results from the HTM-IVOS system and from SSTA are shown. The split rows for sperm 1 in the HTM-IVOS column represent the two tracks resulting from erroneous truncation of the single trajectory. The last column represents the percent difference in VCL values with respect to SSTA.
Figures 8a and 8b show sperm trajectories from phase contrast images for the collision in Fig. 5. HTM-IVOS reported three sperm tracks: (1) sperm A prior to collision, (2) sperm B prior to collision merged with sperm A postcollision (labeled as ), (3) sperm B postcollision (labeled as ). SSTA correctly tracked both sperm, as validated by manual inspection. Figures 8c and 8d and Table 4 show trajectories for another phase contrast sequence. The nonintersecting sperm (sperms 7, 8, 9) have VCL differences as high as 22% of the SSTA values, with the SSTA’s VCL values consistently higher. For the collision of sperms 10 and 11, the HTM-IVOS counted sperm 10 twice while SSTA tracked both sperm, again validated manually. There was a 19% difference in sperm 11’s VCL. Table 4VCLs and number of consecutive frames in the track for the five sperm represented in Figs. 8c and 8d. Sperm labels correspond to labels in the figure. Results from the HTM-IVOS system and from SSTA are shown. The split rows for sperm 10 in the HTM-IVOS column represents the two tracks resulting from erroneous truncation of the single trajectory. The last column represents the percent difference in VCL values with respect to SSTA.
4.DiscussionSSTA has been developed for use in laser trapping studies on sperm motility.12 The algorithm was developed because the turnkey HTM-IVOS system committed frequent tracking errors as sperm swam out of focus. This is likely due to the high NA objective used in this study, which limits the depth of field to the scale of a sperm head. Consequently, even slight changes in axial position during swimming can significantly change the contrast of a sperm. The HTM-IVOS system is intelligently designed so that the chamber thickness matches the working distance of the objective lens and is therefore not sensitive to slight axial displacements of the sperm. It is reasonable that their algorithm struggled with the images in the laser trapping application. HTM-IVOS’s inability to handle collision is well documented3 and was confirmed here. To address the focus issue, SSTA uses standard image contrast enhancement and custom four-class thresholding to extract sperm swimming with transient focus quality. SSTA’s speed-check feature acts as a check on the thresholding method to find out-of-focus sperm swimming near high-contrast debris. To handle collisions, SSTA tracks all sperm in the ROI prior to and after a collision and uses its postcollision analysis to statistically identify each sperm. To train the system for collision events, SSTA analyzes noncolliding sperm trajectories to develop a statistical measure of normal deviations from mean swimming behaviors across multiple trajectories. From this analysis, SSTA constructs costs functions to choose the most likely association before and after a collision based on the likelihood of pairing each precollision sperm with each postcollision sperm. SSTA allows the user to manually adjust the cost functions through the parameter, which changes the rate at which Eqs. 9, 10 fall off toward zero as and depart from unity. The “naïve” samples of dog sperm tracked in Nascimento 12 were analyzed by SSTA using parameters obtained from the 200 trajectories described here. Fluorescent images provide a “fair” test of SSTA tracking, in that the SYBR 14 dye produces bright nuclei with dark backgrounds making segmentation highly reliable. This allows a comparison of the SSTA’s tracking to that of the HTM-IVOS independent of the challenges of segmenting phase contrast images. For sperm swimming in noncolliding trajectories, there was only a difference in VCL as assessed by both systems (Table 3). This suggests that SSTA tracks well-defined objects in a similar way as the HTM-IVOS. However, sperm swimming in colliding trajectories had larger differences in VCL due to tracking errors in the commercial system. The advantage of SSTA for tracking single sperm is its ability to track colliding sperm, thereby avoiding miscounting or merging of trajectories. However, commercial CASA systems allow analysis of all sperm in the field even if collisions are mishandled. Differences in VCL between SSTA and the HTM-IVOS when using phase contrast imaging are likely attributed to SSTA seeking the mask centroid and the HTM-IVOS seeking the brightness-weighted average to define the sperm center. While it is difficult to determine which is the correct method in the presence of blurring (caused as the sperm head rapidly moves from side to side), there is no justification in using brightness weighting because in phase contrast imaging the brightest pixels may not represent the geometrical center of the sperm head. An algorithm based on the SSTA is being developed that can analyze all the sperm in the field and measure population statistics. While SSTA was developed to track a single sperm during laser trapping experiments (paper in press), it also offers an improved general method for tracking and measuring sperm. AcknowledgmentsWe thank Dr. Barbara Durrant and her research group in the Arnold and Mabel Beckman Center for Conservation and Research of Endangered Species at the San Diego Wild Animal Park for providing the dog sperm for our experiments. This work was supported by grants to MWB from the Air Force Office of Scientific Research (AFOSR Grant No. F9620-00-1-0371) and the National Institute of Health (Grant No. NIH RR 14892). ReferencesY. Zhao,
N. Vlahos,
D. Wyncott,
C. Petrella,
J. Garcia,
H. Zacur, and
E. E. Wallach,
“Impact of semen characteristics on the success of intrauterine insemination,”
J. Assist Reprod. Genet., 21
(5), 143
–148
(2004). 1058-0468 Google Scholar
R. P. Amann, and
D. F. Katz,
“Reflections on CASA after ,”
J. Androl, 25
(3), 317
–325
(2004). 0196-3635 Google Scholar
D. Mortimer, Practical Laboratory Andrology, Oxford University Press, New York
(1994). Google Scholar
J. S. Samuels and
G. Van der Horst,
“Sperm swimming velocity as evaluated by frame lapse videography and computer analysis,”
Arch. Androl, 17
(2), 151
–155
(1986). 0148-5016 Google Scholar
D. T. Stephens,
R. Hickman, and
D. D. Hoskins,
“Description, validation, and performance characteristics of a new computer-automated sperm motility analysis system,”
Biol. Reprod., 38
(3), 577
–586
(1988). 0006-3363 Google Scholar
J. P. Le Pichon and
J. C. Quero,
“Microcomputer-based system for human sperm motility assessment and spermatozoon track analysis,”
Med. Biol. Eng. Comput., 32
(4), 472
–475
(1994). 0140-0118 Google Scholar
W. Warchol,
J. B. Warchol,
K. Filipiak,
Z. Karas, and
F. Jaroszyk,
“Analysis of spermatozoa movement using a video imaging technique,”
Histochem. Cell Biol., 106
(5), 521
–526
(1996). 0948-6143 Google Scholar
M. J. Lang and
S. M. Block,
“LBOT-1: Laser-based optical tweezers,”
Am. J. Phys., 71
(3), 201
–215
(2003). https://doi.org/10.1119/1.1532323 0002-9505 Google Scholar
Y. Tadir,
W. H. Wright,
O. Vafa,
T. Ord,
R. H. Asch, and
M. W. Berns,
“Micromanipulation of sperm by a laser generated optical trap,”
Fertil. Steril., 52
(5), 870
–873
(1989). 0015-0282 Google Scholar
K. Konig,
L. Svaasand,
Y. Liu,
G. Sonek,
P. Patrizio,
Y. Tadir, and
M. W. Berns,
“Determination of motility forces of human spermatozoa using an optical trap,”
Cell Mol. Biol. (Paris), 42
(4), 501
–509
(1996). 0145-5680 Google Scholar
Z. N. Dantas,
E. Araujo,
Y. Tadir,
M. W. Berns,
M. J. Schell, and
S. C. Stone,
“Effect of freezing on the relative escape force of sperm as measured by a laser optical tr,”
Google Scholar
J. Nascimento,
E. L. Botvinick,
L. Z. Shi,
B. Durrant, and
M. W. Berns,
“Analysis of sperm motility using optical tweezers,”
J. Biomed. Opt.,
(2006)
(1083-3668) Google Scholar
Y. Wang,
E. L. Botvinick,
Y. Zhao,
M. W. Berns,
S. Usami,
R. Y. Tsien, and
S. Chien,
“Visualizing the mechanical activation of Src.,”
Nature (London), 434
(7036), 1040
–1045
(2005). https://doi.org/10.1038/nature03469 0028-0836 Google Scholar
|