Skip to main content
NIHPA Author Manuscripts logoLink to NIHPA Author Manuscripts
. Author manuscript; available in PMC: 2013 Apr 29.
Published in final edited form as: J Microsc. 2013 Apr;250(1):57–67. doi: 10.1111/jmi.12018

Localizing and Extracting Filament Distributions from Microscopy Images

Saurav Basu *, Kris Noel Dahl , Gustavo Kunde Rohde
PMCID: PMC3638952  NIHMSID: NIHMS457479  PMID: 23458491

Abstract

Detailed quantitative measurements of biological filament networks represent a crucial step in understanding architecture and structure of cells and tissues, which in turn explain important biological events such as wound healing and cancer metastases. Confocal microscope images of biological specimens marked for different structural proteins constitute an important source for observing and measuring meaningful parameters of biological networks. Unfortunately, current efforts at quantitative estimation of architecture and orientation of biological filament networks from microscopy images are predominantly limited to visual estimation and indirect experimental inference. Here we describe a new method for localizing and extracting filament distributions from 2D confocal microscopy images. The method combines a filter-based detection of pixels likely to contain a filament with a constrained reverse diffusion-based approach for localizing the filaments centerlines. We show with qualitative and quantitative experiments, using both simulated and real data, that the new method can provide more accurate centerline estimates of filament in comparison to other approaches currently available. In addition, we show the algorithm is more robust with respect to variations in the initial filter-based filament detection step often used. We demonstrate the application of the method in extracting quantitative parameters from an experiment that seeks to quantify the effects of carbon nanotubes on actin cytoskeleton in live HeLa cells. We show that their presence can disrupt the overall actin cytoskeletal organization in such cells.

Keywords: Biological filament networks, curvilinear structures, local network topology, centerline curvature

1 Introduction

Curvilinear structures with complex network topology can be observed in a wide variety of biological systems including the extracellular matrix and cytoskeletal filaments. These filaments typically have persistence lengths (μm to mm) that are much greater than the resolution of fluorescent imaging (200 nm) and form complex networks. For example, the actin cytoskeleton is required for mechanical integrity, force generation, cytokinesis and motility. The cytoskeleton also contributes to a wide range of cellular mechanisms including intracellular signaling and differentiation (Disanza et al., 2005). Widefield, confocal, and total internal reflectance fluorescence (TIRF) microscopy have been extensively used in recent years to image actin with the end goal of studying the effect of external perturbations on the structural alterations of such networks. The measurement of several architectural parameters of biological networks such as filament lengths (Lichtenstein et al., 2003; Shariff et al., 2010), persistence length (Ott et al., 1993), local orientation (Petroll et al., 1993; Thomason et al., 1996; Karlon et al., 1999; Weichsel et al., 2010), curvature distribution and local filament organization (Fleischer et al., 2007) are critical for quantifying the role of network geometry in cellular and tissue functions.

Recent advances in imaging capabilities for visualizing biological structures, including microscopy hardware and computational post-processing, have allowed increased resolution at nanometer length scales (Huang et al., 2010; Selvin et al., 2010). However, quantitative analysis of cellular filaments in situ by fluorescence is complicated by optical blurring, noise, clutter, as well as the geometric complexity of such dense networks inside cells. As such, for most experimental scientists, the process of identifying filament distributions from microscopy images is largely qualitative due to the lack of accurate quantitative evaluation of architecture, orientation and topology of specific networks.

The complete enumeration and characterization of biological filament networks from fluorescence microscopy images remains a challenging problem. Partial solutions such as local orientation (Petroll et al., 1993; Thomason et al., 1996; Karlon et al., 1999; Weichsel et al., 2010) and total filament length (Lichtenstein et al., 2003) have been proposed in the recent past. However, a successful methodology that localizes centerlines of individual filaments despite the confounding factors associated with diffraction-based blurring and complicated filament architecture remains a largely unsolved problem. Local thresholding methodologies (Gonzales and Woods, 1992) or filament enhancement schemes followed by some sort of binary thinning (Loss et al., 2011), for example, are often inadequate solutions to the above-mentioned question since the thresholding parameter is difficult to guess and binary thinning ignores the intensity profile of the enhanced images.

Several researchers have pursued approaches for measuring partial topological parameters of filament networks from different calculable image properties. Petroll et al. (1993) use Fourier methods to estimate actin stress fiber orientation and Thomason et al. (1996) employ fractals to analyze cytoskeletal structure. The accuracy of these methods is difficult to test due to the complete decoupling of the biological components of a filament network from the actual pixel-wise image properties. Karlon et al. (1999) propose an improved orientation measurement compared to (Petroll et al., 1993; Thomason et al., 1996) by accumulating image gradients into histograms defined over local image windows. Weichsel et al. (2010) propose a similar method to Karlon et al. (1999) where they calculate local coherency of the structure tensor in order to estimate the principal orientation of filaments. Although these estimated orientations have higher order information, calculations are independent of any actual segmentation of the actin fibers and are derived from image properties that relate to network topology only indirectly.

Lichtenstein et al. (2003) develop a somewhat generative model for detection of filament pixels in fluorescence microsope images. This process is statistically amenable, but it does not explicitly address network geometry. Shariff et al. (2010) also investigate a generative approach combined with indirect (inverse) estimation of the generative model to estimate basic parameters (number, mean length) from live and fixed cells. Fleischer et al. (2007) propose an interesting methodology for measuring actin network morphology by fitting geometric tessellation models to actin network images. Finally, Xu et al. (2011) use multiple open active contours to segment in-vitro actin filament populations. This method can provide individual filament information. However, contour merging and splitting rules are difficult to prescribe.

Finally, we mention that there exist a few commercially available software packages that perform some form of filament tracing, including Bitplane (2012); Wearne et al. (2005); Longair (2010). We note, however, that the functionality of these softwares is limited to tracing structures similar to neurons where the resolution of the image is higher relative to the filaments (neurons) being traced. As a result the neuronal branches are clearly separated and the geometry of the branch cross sections are relatively uniform. In contrast, our images are populated with dense filament networks where the filament thickness is much below the optical resolution of fluorescent imaging. The result is optical blurring, low signal-to-noise ratio, and ambiguity in delineating junctions and intersections in a dense network. Most of the commercially available softwares use techniques such as finding unambiguous and clearly separated seed points along well separated filament branches, which are infeasible at the resolution of confocal images we work with. Additionally, manual placement of seed points is often a preprocessing step in these software (Longair, 2010), an involved and time consuming process that we strive to avoid.

Our Algorithm and Contributions

Here we describe an image analysis method that can take as input microscopy images of biological filament networks and, despite confounding factors such as background fluorescence, clutter, and dense placement of filaments, can accurately localize centerline pixels of filaments. This layout of centerline filaments can be subsequently used for various important computations such as filament curvature distributions, local connectivity and topology, orientation distributions, placement within the cell, as well as total estimated lengths.

More specifically, we present a new constrained diffusion-based filament centerline localization that accurately estimates filament centerlines in fluorescence confocal microscope images even in the presence of high filament density, background clutter, filament intersections and bifurcations. The algorithm works by utilizing a filament orientation map, which in our case is estimated with a matched filter approach, followed by a ‘constrained’ local mean shift approach, to estimate the location of filaments. We have applied our algorithm to estimate filaments from simulated data, as well as real confocal microscopy images of actin filaments, and compare it to other approaches (Chang et al., 2001; Donoho et al., 2001). We show, qualitatively and quantitatively, increased performance in comparison to existing methods. As an example application, we use the software to extract quantitative information about actin filament distributions in cells treated with a carbon nano wall solution. There are numerous chemical perturbations to actin including depolymerization (by latrunculin A and cytochalasin D) or stabilization (by phalloidin or jasplakinolide). However, addition of short (150 nm), dispersed single wall carbon nanotubes has shown a dramatic reorganization of actin filaments in vitro and in cells (Holt et al., 2010). We demonstrate the utility of the method in characterizing changes in actin filament morphology caused by the presence of single wall carbon nanotubes.

2 Method

We illustrate the sequential blocks in our algorithm and give examples along the way to demonstrate the intuition behind each step. The three main steps in our procedure are, in order, (1) matched filter-based filament likelihood estimation, (2) constrained diffusion-based thinning to localize filament center locations and (3) the determination of the local connectivity and topology of the filament distribution via a minimum spanning three method. From the output of step three we are able to compute local connectivity maps, as well as several important filament network-related quantities such as: curvature, orientation, as well as local filament topology. Figure 1 contains an example of each step applied to an image of actin filaments (Wang, 2007).

Figure 1.

Figure 1

Overview of filament localization procedure. The input image (leftmost panel) is first analyzed to determine the likelihood that a filament is present at any given pixel (second panel). The likelihood function is then thresholded to obtain an initial estimate of the filament locations. The initial estimate is ‘evolved’ with the constrained reverse diffusion-based algorithm described in the text so as to estimate the centerlines of each likely filament (third panel from the left). The estimated filament centerlines are then analyzed so as to determine their local connectivity and topology (right most panel).

2.1 Filament Likelihood Estimation

Any filament recovery process has to first distinguish the fluorescence signal from acquisition noise, and also determine whether a fluorescence signal belongs to a filamentous protein or is simply background clutter from very short filaments. There are several possible approaches for testing whether a particular pixel contains an underlying filament. Methods range from pixelwise differential operators such as (Frangi et al., 1998), morphology based detectors (Chang et al., 2001) to more global matched filter- based approaches (Donoho et al., 2001). We note that several of these approaches also apply to edge delineation in image data, though here we focus our discussion to filament distributions. In our implementation, we adopt a matched filter-based estimation procedure because we are sufficiently certain of the local filament width (given by the point spread function of the imaging instrument being used), and therefore can use locally accurate templates that can accumulate evidence from surrounding pixels.

The idea is to consider local evidence for the presence or absence of a filament. We do this in a given image by finding regions that at the same time 1) have the ‘appearance’ of a filament type structure and 2) have relatively high intensity values (a fluorescent filament has higher intensity than a background pixel). To that end, we create a set of filament filters modeled by a quadratic function. Let ϕ(x) = ax2, with a the curvature parameter. In addition, given a sub-window of size s, we sample ϕ(x) at the set of grid coordinates (x0, · · ·, xs−1) provided by the sub-window. Then the set of coordinates x⃗i = [xi, ϕ(xi)] is rotated by a prescribed fixed angle θ. Using these operations we are able to create a sub window that has intensity equal to one at sampled coordinates x⃗ = [xi, ϕ(xi)] (which can be rotated by some angle θ) and zero elsewhere. This binary sub window is finally convolved with an estimate point spread function (PSF) for the image(s) whose filaments are to be localized. In our work we utilize a Gaussian function approximation of the PSF. More accurate estimates of the PSF can be estimated using known imaging parameters such as fluorescence wavelength, and numerical aperture, for example (Goodman, 1996). Fig. 2 contains a few example filters we created using this procedure. We denote a particular sub window generated using this procedure as fs,θ,a(x⃗), where x⃗ is a 2D coordinate within the sub window of size s.

Figure 2.

Figure 2

Examples of filters used to measure evidence of filaments in sub-portions of a filament image. In this case we have shown straight line and curved line elements with varying degrees of rotation.

Given an input image I(x⃗), with x⃗ a 2D image coordinate, the likelihood that a particular pixel location x⃗ contains an underlying filament is estimated by:

L(x)=I(x)maxs,θ,a{Ifs,θ,a(x)} (1)

where the ★ operation denotes the normalized cross correlation (Haralick and Shapiro, 1992) between the image I and fs,θ,a. The maximization procedure above is performed exhaustively, for a pre-determined set of parameters (s, θ, a). In this work we have used the following parameters while searching for the solution for the maximization problem stated in 1: s = {5, 7, …, 15}, a = {0, 1, 2} and θ ranges from 0 to 360 degrees in steps of 5 degrees.

Finally, we note that the maximization problem stated above can also yield the angle θ that best describes the orientation of any underlying filament bundle at location x⃗. We denote this orientation vector, at location x⃗, by

O(x)=[sinθ¯cosθ¯]T. (2)

Smoothing the Orientation Field

The orientation vector given by eqn. (2), as can be expected, suffers from estimation noise (primarily contributed by the deviation from ideal filamentous structures in the real images) and lack of meaningful orientations in non-filamentous areas such as the background and the cytoplasm. However, a simple local smoothing filter applied to the individual components of the orientation field gives incorrect results in our formulation since the space of angles is highly redundant. For example, angles θ1 and π + θ2, where θ1 ~ θ2, although very similar in filament orientation, might be construed as mathematically vastly different while performing a simple smoothing.

Therefore, instead of locally smoothing the components of the orientation vectors, we locally smooth the respective components of the 2 × 2 Orientation Matrix O defined by

O(x)=L(x)[O(x)O(x)T]. (3)

The local smoothing of O(x⃗) is carried out component by component. In other words, we separate the 4 components of O(x⃗) at the pixel locations and smooth them individually over the pixel locations using a chosen smoothing filter. Note that, in equation (3), if O(x⃗1) = [sin θ̄ cos θ̄]T and O(x⃗2) = [sin (π + θ̄) cos (π + θ̄)]T, then O(x⃗1) = O(x⃗2) (assuming Inline graphic(x⃗1) = Inline graphic(x⃗2)). Also note that the orientation matrix is weighed by the likelihood image so that we do not incorporate meaningless orientation vectors from regions which have low possibility of having filaments.

Suppose the (component-wise) smoothed matrix is called Os(x⃗), then, the smoothed orientation vector (we also call it O(x⃗) by an abuse of notation) can be recovered from Os(x⃗) by setting it to the eigenvector of Os(x⃗) with the higher eigenvalue. For the component-wise smoothing of O(x⃗), we have used a 5 × 5 Gaussian filter with 0 mean and standard deviation equal to 1 pixel length.

We also note that a possible alternative to the sequential steps of estimating an orientation filed and subsequent smoothing of the orientation field can be an iterative optimization process that determines an optimal orientation filed that satisfies some smoothness criteria. However, such a joint optimization step would consume considerably higher computational resources compared to the current procedure of sequential estimation, and (within the operational confines of our experimental setup) no perceivable improvement in accuracy. The focus of the orientation filed estimation is to generate a guiding path for the subsequent particle evolution, and the outcome of our algorithm is not crucially dependent on its accuracy.

2.2 Filament Centerline Localization by Reverse Diffusion

The map Inline graphic(x⃗) provides an estimate of the likely presence of a filament at pixel location x⃗. A logical next step is to select locations x⃗ for which Inline graphic(x⃗) is greater than some threshold α as potential candidates for filament positions. This procedure, however, can be inaccurate and the standard choice is to follow the thresholding by the standard skeletonization procedure described in Chang et al. (2001). We here describe a different skeletonization procedure that is able to produce robust estimates of filament locations by utilizing more information from the likelihood and smoothed orientation functions described earlier. The idea is to define filament centerline locations as the ‘crests’ of the likelihood function Inline graphic(x⃗), where ‘crests’ are defined as local maxima in the direction perpendicular to the local orientation map.

We start with a coarse binary segmentation of the likelihood image Inline graphic(x⃗) > α. The set of coordinates that satisfy this inequality are denoted as X→ = [x1, x2, · · ·, xN ] and serve as starting ‘particles’ to which we apply our reverse diffusion process. However, we constrain the movement of the particles to be along the direction perpendicular to O(x⃗), denoted by Ô(x⃗). The differential equation describing this process is given by:

dxi(ti)dt=O^(xi(ti)). (4)

The time ti here is an artificial parameter allowing us to specify the iterative maximization of the following objective function:

E(t1,t2,,tn)=λi=1nL(xi(ti))-(1-λ)j=1nk=1nK(xk(tk),xj(tj))(xk(tk)-xj(tj))2, (5)

where λ ∈ [0, 1] is a parameter that weights the two terms in the equation above, and K(xi,xj)=1/2πσ2e-(xi-xj)2/2σ2. In the results shown below, we have set λ = 0.5. The first term i=1nL(xi(ti)) gives preference for positions where the likelihood function is highest. The second term aims to make particles move towards each other so that they do not move independently of each other. The goal is then to find variables t1, t2, · · ·, tn that, through equation (4), maximize equation (5).

To that end, we utilize the standard gradient ascent method with fixed step size. Differentiating E(t1, t2, …, tn) in equation (5) with respect to ti we obtain the gradient descent step for the maximization of E as

Δti=τEti=τλ(L(xi)O^(xi))-τ(1-λ)(k=1n(4K(xi,xk)(xi-xk)+2K(xi,xk)ti(xi-xk)2)) (6)

where we imply xi(ti) by xi, and where τ is an iteration time step that can be chosen arbitrarily or by a suitable line-search method (Box et al., 1969). We note that ● denotes the vector dot product. Thus the gradient ascent equation can be written as

xi(ti+Δti)=xi(ti)+ΔtivO^(xi(ti)), (7)

and the explicit evolution equation for the particles xiX is given by combining equations (4),(6), and (7):

xi(ti+Δti)=xi(ti)+(τλ(L(xi)O^(xi))-τ(1-λ)(k=1n(4K(xi,xk)(xi-xk)+2δK(xi,xk)δti(xi-xk)2))O^(xi). (8)

The third panel in Figure 1 shows the output of this procedure when applied to the likelihood image shown in the second panel of the same figure.

Convergence

Anytime a new iterative approach is presented, it is important to consider whether the method is guaranteed to converge or if the iterative method could go on forever. To understand that the method described above converges, in this case, it suffices to show that 1) the optimization function is bounded, and 2) each successive iteration augments the value of the objective function being maximized. In this case, it is clear that the objective function (5) is bounded above by λn maxi Inline graphic(yi), where yi correspond to all pixels in the input image. Now we note that the method we utilize to maximize this procedure is based on the steepest ascent procedure which, given a small enough choice of τ or the use of an appropriate line search method, guarantees that each step in the procedure increases the value of the cost function.

2.3 Local Filament Centerline Extraction by a Minimum Spanning Tree

The final part of our algorithm infers the local centerlines by connecting the converged centerline particles from the previous step through a minimum spanning tree (MST) (Graham and Hell, 1985), where each converged particle is treated as a graph node and the edge distance between any two nodes is the simple Euclidean distance separating them. We also can reasonably assume that for a dense set of nodes such as the output from the reverse diffusion step, two nodes on one filament centerline and connected by the MST cannot be too far apart, therefore we disconnect edges in the MST that are longer than a prescribed length. The output of this procedure is shown in the last panel of Figure 1. The local filament elements output by the MST can be utilized to calculate local curvatures of the filaments at non-bifurcating points. This is an important measurement in cytometry where perturbation of the cytoskeleton by external agents frequently express themselves as a change of curvature distribution of the network.

3 Experiments

Our filament localization algorithm has been tested on a database of real and simulated images to test for both accuracy and applicability. To generate our filter bank, we used a filament width w = 3μm and a fine sampling of curvatures, orientations and scales in our filter bank. In all results shown, the threshold parameter for the likelihood function was set to α = 0.1. In all experiments, the width of the Gaussian function Inline graphic(x⃗i, x⃗j) was set to σ = 15μm.

3.1 Validation on simulated images

We have tested the filament localization step on 94 simulated images of size 128 × 128 pixels consisting of filament networks that vary in complexity and background noise. The lowest filament count per image is eighty and the highest is one hundred and thirty, with each filament count having two independently generated images. The length of individual filaments are drawn randomly from a Gaussian distribution of mean 40 pixel lengths and a standard deviation of 5 pixel lengths. The starting point of each filament in each image is chosen randomly, and the filament is allowed to grow to the sampled length incrementally, with the direction of each incremental selected randomly. Panels (a), (b), and (c) of Figure 3 show three example images.

Figure 3.

Figure 3

(a), (b) and (c) show three images from a simulated database of artificial filaments with filament counts of 95, 100 and 105 respectively. (d) and (e) show two real images of HeLa cells with rhodamine phalloidin labeled F-actin.

Fig. 4 shows the result of our filament localization step vis-a-vis two other popular filament detection methods from real or binary images, the standard binary thinning procedure (Chang et al., 2001) and Beamlet decomposition (Donoho et al., 2001). In Fig. 4(e), the Y axis shows the percentage of correctly localized centerline points with respect to the starting points; here we call the ‘correctly localized centerline points’ as the proportion of pixels that are correctly localized on real filament centers with respect to the total number of pixels output by the algorithm as filament centers. Any output pixel that is within a unit pixel distance from an actual filament centerline pixel in the ground truth is deemed a ‘correct’ localization. In Fig. 4(f), the Y axis shows the percentage of correctly covered centerline points in the ground-truth with respect to the points output by the three competing algorithms; here by a ‘correctly covered’ centerline point, we mean that at least one point output by the respective algorithm is within one pixel distance of the true centerline point in question. The X axis in both Figs. 4 (e) and (f) are plotted with increasing filament density (starting with eighty and ending at one hundred and thirty randomly generated filaments per image), and hence complexity of the image. Figs. 4(a) shows an example of an original simulated image. Panels (b), (c) and (d) of the same figure show the result of applying binary thinning (Chang et al., 2001) method, the Beamlet extraction ((Donoho et al., 2001)), and our method respectively. The panels 4(b) and 4(c) show comparable performance. Panel 4(c) is evidently not a good choice for filament localization. Fig. 4(e) and (f) shows the result of applying our method, binary thinning and the Beamlet extraction method to the database of 94 images (The results of the two independent realizations of each filament count has been averaged and reported). For simulated images generated with a Gaussian psf, binary thinning gives comparable performances to our method, except in congested areas where a thresholding of the likelihood image produces confusing boundaries. Our method slightly outperforms binary thinning in this simulation. However, we note that, as this plot shows, the constrained reverse diffusion-based approach nearly always (with the exception of two data points) outperforms the other methods tested.

Figure 4.

Figure 4

Part (a) shows a simulated filament image having 94 filaments from our database. Parts (b), (c) and (d) show the filament localized images after application of binary thinning ((Chang et al., 2001)), Beamlet extraction ((Donoho et al., 2001)) and our method respectively. (e) shows the result of applying our method, binary thinning and the Beamlet extraction method to the database of 94 images. The Y axis shows the percentage of correctly localized centerline points (false positive) with respect to the starting points (see text for more details). (f) shows the proportion of the true centerline pixels that are within one pixel distance (false negative) of any output particle by our method, binary thinning and the Beamlet extraction method to the database of 94 images. There are two images for each setting of the filament count and random parameters for both (e) and (f), the results of the two cases have been averaged.

3.2 Real Filament Images

We have applied the filament localization step to image datasets of cells. Our real cell image dataset consists of HeLa cells that have been fixed and labeled with rhodamine phallodine that preferentially binds to actin filaments. Cells were then imaged at 60x (1.4 NA) using confocal microscopy and compressed in the z-axis (Holt et al., 2010). Fluorescent actin filaments are densely clustered and are difficult to localize in these images due to optical aliasing, sensor noise and background clutter from short filaments. In these images, the pixel resolution is 1.5μm in both dimensions and all the images have a size of 256 × 256 pixels. Parts (d) and (e) of Figure 3 show two examples of real cell images stained for actin. Figure 5 shows the result of applying both the method we describe here (second column) and the binary thinning method (third column from the left) on the raw images. We note that both the reverse diffusion-based approach and the binary thinning method utilized the same likelihood function, as well as the same initial threshold.

Figure 5.

Figure 5

(a), (d) and (g) show original confocal microscope images of three HeLa cells, where the actin filaments have been labeled with rhodamine phalloidin. (b), (e) and (h) show the corresponding localized centerline points output from our localization algorithm in red, describing the local network structure. (c), (f) and (j) show results of the binary thinning (Chang et al., 2001) on (a), (d) and (g), demonstrating that (Chang et al., 2001) is not an ideal way to localize dense filaments with irregular profile geometry.

In order to further quantify the differences between the method we propose and the standard binary thinning algorithm, in Figure 6 we demonstrate the application of both methods to an image sub-region, where the ground truth has been manually delineated. Part (a) shows the unaltered image, part (b) shows the estimated likelihood function, and part (c) shows the manual delineation. The second row of this figure shows our method as well as the standard binary thinning method being applied after the likelihood image was thresholded using α = 0.1. Finally the third row both methods applied when α = 0.05. As shown here, the reverse diffusion-based approach is significantly more robust to changes in the initial threshold.

Figure 6.

Figure 6

(a) shows a close-up of a zoomed in area of Fig. 5(d). (b) shows the enhanced filament image from (a). (c) shows a manual delineation of the strongly oriented filaments in (b) in red. (d) and (f) show the result of application of our algorithm (in green) to (b) with threshold α = 0.1 and α = 0.05 respectively. Similarly, (e) and (g) show the application of (Chang et al., 2001) to (b) with the same respective values of α (in magenta).

In addition, we have quantified how well both methods match the ground truth displayed in part (c) of Figure 6. We have manually delineated the ground-truth in a set of real filament images and performed a similar comparison of our method vis-a-vis the standard binary thinning as in Figure 6. The resultant average pixel distance error for our method after the likelihood image was thresholded using α = 0.1 and α = 0.05 were 0.9606 and 0.9710 respectively, while the same errors with the standard binary thinning and the respective thresholds were 1.3070 and 2.1391. This shows that while our method performs better on dense real filaments it is also considerably robust to the threshold α, whereas binary thinning is heavily dependent on the threshold and the error increases by 64% for a slight change in the initial threshold.

The tree of centerline pixels output by our method can be subsequently used in calculation of many important biological properties of filament networks in cells. As an example, consider the two HeLa cells in subimages (a) and (d) in Fig. 5. Fig. 5(a) shows a control HeLa cell which has been stained with rhodamine phalloidin for actin. Fig. 5(d) shows a HeLa cell treated with short walled carbon nano tubes (SWCNT) which alters its actin cytoskeletal structure (again stained with rhodamine phalloidin). We have applied our algorithm to a set of four untreated HeLa cells and a set of four SWCNT treated HeLa cells in an attempt to quantify differences and similarities in filament distribution information between the two sets of cells. Fig. 7 shows the combined orientation and curvature distributions for the control and SWCNT treated sets (the orientation and curvature measurements were accumulated for each set instead of individual histograms for each image) using the centerline trees calculated (in red) as in Figs. 5(b) and (e). As far as filament orientation goes, the data show that the SWCNT treated cells are much more disperse in their orientation profile. As far as the curvature distribution is concerned, the data show that both sets of cells have similar distributions, with the SWCNT cells showing a slightly greater percentage of centerlines with higher curvatures (mean curvature being 0.21 as opposed to 0.18 for the control set). These figures, however, are not statistically significant (in part due to the small sample size).

Figure 7.

Figure 7

The top and bottom figures show the orientation and normalized curvature histograms respectively for the actin filaments in the set of control HeLA cells similar to Fig. 5(a) (in blue bold) and the set of SWCNT treated HeLa cells similar to Fig. 5(d) (in red dotted).

4 Summary and Discussion

We have described an algorithm to extract the location of curvilinear structures in microscopy images. We demonstrate the feasibility of our approach by applying our tool to estimate actin filament networks in confocal microscope images of filament distributions in several cells. We show that quantitative measurement of filament centerlines is possible even in the case of dense networks with complicated intersections and bifurcations. Although in this work we focus on extracting information related to actin network from microscopy images, we note that the constrained diffusion algorithm can be used as a general linear network estimator, as well as a line thinning algorithm. Experiments using real and simulated data showed that our method outperformed two other existing algorithms (Donoho et al., 2001; Chang et al., 2001). In addition, we have demonstrated how our method can be used to extract meaningful information about actin networks in complicated geometric configurations. From the results above, we are able to conclude that single wall carbon nanotubes can disrupt the orientation organization of actin fibers. Their overall curvature profile, however, remains mostly unchanged, as far as this dataset can support.

We note that in the simulated data experiments our method slightly outperforms the standard binary thinning method. Qualitative and quantitative results on real data, however, show a more pronounced improvement both in accuracy of the centerline locations, the ability to deal with complicated topologies, as well as robustness with respect to changes in the initial threshold. We stipulate that this is due to the fact that it is difficult to simulate the intricate complexity of real images. Real images have several artifacts which we have not implemented in our simulation. Some of which are varying depth of focus issues, combinations of very long and very short filaments, as well as blurring from out of focus fluorescence, to name a few. We believe that if these were included our simulation, the improvements over binary thinning in the simulated data results could have been greater. In addition we note that our algorithm showed greater robustness to slight variations in the threshold used in the filter bank detection step. This represents an important advantage since it translates to reduced effort in ‘calibrating’ the method to different types of data.

Finally, we believe it is useful to discuss a few of the inherent drawbacks of the procedure we describe here. The first obvious one is that our current implementation is for 2D images. This is not a severe impediment, however, since the same method could be applied to 3D images by extending the methodology to 3D as well. In addition, we note that computation time for this process is significantly higher than for the binary thinning method for example. For instance, our method, when applied to a sampled version of Fig. 5(d) with size 210 × 210, took 35.57 secs to complete, while when applied to the full image with the original size of 420 × 420, it required 463 secs for completion. The corresponding times for binary thinning were only 0.01 secs and 0.11 secs respectively. We note, however, that our algorithm was implemented in the Matlab (Mathworks, 2012) programming language, with extensive use of ‘FOR’ loops, which are notoriously slow. We believe the time of computation, however could be significantly improved by implementing the code in a compiled (as opposed to interpreted) language. Lastly, we note that the method can be applied to localize filaments where the complexity of the network (number of filaments and their proximity) is not so high as to, combined with optical blurring due to diffraction, eliminate the ‘crests’ that our algorithm depends on. In such cases, we believe an inverse modeling approach such as the one discussed in Shariff et al. (2010) would be a better estimation method.

The Matlab script for filament localization (for academic purposes) is available through contact with the corresponding author.

Acknowledgments

The authors would like to thank Mohammad F. Islam and the multiphoton laser scanning confocal facility in Material Science at Carnegie Mellon University (NSF MRI DMR-0619424, also to KND). SB and GKR acknowledge support from grant NIH GM090033.

Contributor Information

Saurav Basu, Email: sauravb@cmu.edu.

Kris Noel Dahl, Email: kndahl@cmu.edu.

Gustavo Kunde Rohde, Email: gustavor@cmu.edu.

References

  1. Bitplane. Bitplane Scientific Software. 2012. [Google Scholar]
  2. Box MJ, Davies D, Swann WH. Non-linear optimisation techniques. Oliver & Boyd; 1969. [Google Scholar]
  3. Chang S, Kulikowski CA, Dunn SM, Levy S. Biomedical image skeletonization: a novel method applied to fibrin network structures. Medinfo. 2001;84(2):901–906. [PubMed] [Google Scholar]
  4. Disanza A, Steffen A, Hertzog M, Frittoli E, Rottner K, Scita G. Actin polymerization machinery: the finish line of signaling networks, the starting point of cellular movement. Cell Mol Life Sci. 2005;62(3):955–970. doi: 10.1007/s00018-004-4472-6. [DOI] [PMC free article] [PubMed] [Google Scholar]
  5. Donoho DL, Huo X, Jermyn I, Jones P, Lerman G, Levi O, Natterer F. Multiscale and Multiresolution Methods. Springer; 2001. Beamlets and multiscale image analysis; pp. 149–196. [Google Scholar]
  6. Fleischer F, Ananthakrishnan R, Eckel S, Schmidt H, Ks J, Svitkina T, Schmidt V, Beil M. Actin network architecture and elasticity in lamellipodia of melanoma cells. New Journal of Physics. 2007;9(11):420. [Google Scholar]
  7. Frangi RF, Niessen WJ, Vincken KL, Viergever MA. Proc MICCAI’98 LNCS. Springer-Verlag; 1998. Multiscale vessel enhancement filtering; pp. 130–137. [Google Scholar]
  8. Gonzales R, Woods R. Digital Image Processing. Addison-Wesley Publishing Company; 1992. [Google Scholar]
  9. Goodman J. Introduction to Fourier Optics. McGraw-Hill; 1996. [Google Scholar]
  10. Graham RL, Hell P. On the history of the minimum spanning tree problem. IEEE Ann Hist Comput. 1985;7(1):43–57. [Google Scholar]
  11. Haralick RM, Shapiro LG. Computer and Robot Vision. II. Addison-Wesley; 1992. [Google Scholar]
  12. Holt BD, Short PA, Rape AD, Wang Y-l, Islam MF, Dahl KN. Carbon nanotubes reorganize actin structures in cells and ex vivo. ACS Nano. 2010;4(8):4872–4878. doi: 10.1021/nn101151x. [DOI] [PubMed] [Google Scholar]
  13. Huang B, Babcock H, Zhuang X. Breaking the diffraction barrier: super-resolution imaging of cells. Cell. 2010;143(7):1047–1058. doi: 10.1016/j.cell.2010.12.002. [DOI] [PMC free article] [PubMed] [Google Scholar]
  14. Karlon WJ, Hsu P-P, Li S, Chien S, McCulloch AD, Omens JH. Measurement of orientation and distribution of cellular alignment and cytoskeletal organization. Annals of Biomedical Engineering. 1999;27:712–720. doi: 10.1114/1.226. [DOI] [PubMed] [Google Scholar]
  15. Lichtenstein N, Geiger B, Kam Z. Quantitative analysis of cytoskeletal organization by digital fluorescent microscopy. Cytometry A. 2003;54(1):8–18. doi: 10.1002/cyto.a.10053. [DOI] [PubMed] [Google Scholar]
  16. Longair M. Simple Neurite Tracer. 2010. [DOI] [PubMed] [Google Scholar]
  17. Loss L, Bebis G, Parvin B. Iterative tensor voting for perceptual grouping of ill-defined curvilinear structures. Medical Imaging, IEEE Transactions on. 2011;30(8):1503–1513. doi: 10.1109/TMI.2011.2129526. [DOI] [PMC free article] [PubMed] [Google Scholar]
  18. Mathworks. MATLAB. 2012. [Google Scholar]
  19. Ott A, Magnasco M, Simon A, Libchaber A. Measurement of the persistence length of polymerized actin using fluorescence microscopy. Phys Rev E. 1993;48:R1642–R1645. doi: 10.1103/physreve.48.r1642. [DOI] [PubMed] [Google Scholar]
  20. Petroll WM, Cavanagh HD, Barry P, Andrews P, Jester JV. Quantitative analysis of cell fiber orientation during corneal wound contraction. J Cell Sci. 1993;104(2):353–363. doi: 10.1242/jcs.104.2.353. [DOI] [PubMed] [Google Scholar]
  21. Selvin PR, Syed R, Sobh N. Illinois tool: Fiona (fluorescence imaging with one nanometer accuracy) 2010. [Google Scholar]
  22. Shariff A, Murphy RF, Rohde GK. A generative model of microtubule distributions, and indirect estimation of its parameters from fluorescence microscopy images. Cytometry Part A. 2010;77A(5):457–466. doi: 10.1002/cyto.a.20854. [DOI] [PMC free article] [PubMed] [Google Scholar]
  23. Thomason DB, Anderson O, Menon V. Fractal analysis of cytoskeleton rearrangement in cardiac muscle during head-down tilt. Journal of Applied Physiology. 1996;81(4):1522–1527. doi: 10.1152/jappl.1996.81.4.1522. [DOI] [PubMed] [Google Scholar]
  24. Wang YL. Noise-induced systematic errors in ratio imaging: serious artefacts and correction with multi-resolution denoising. Journal of Microscopy. 2007;228(2):123–131. doi: 10.1111/j.1365-2818.2007.01834.x. [DOI] [PMC free article] [PubMed] [Google Scholar]
  25. Wearne SL, Rodriguez A, Ehlenberger DB, Rocher AB, Henderson SC, Hof PR. New techniques for imaging, digitization and analysis of three-dimensional neural morphology on multiple scales. Neuroscience. 2005;136(3):661–680. doi: 10.1016/j.neuroscience.2005.05.053. [DOI] [PubMed] [Google Scholar]
  26. Weichsel J, Herold N, Lehmann MJ, Krusslich HG, Schwarz US. A quantitative measure for alterations in the actin cytoskeleton investigated with automated high-throughput microscopy. Cytometry Part A. 2010;77A(1):52–63. doi: 10.1002/cyto.a.20818. [DOI] [PubMed] [Google Scholar]
  27. Xu T, Li H, Shen T, Ojkic N, Vavylonis D, Huang X. Extraction and analysis of actin networks based on open active contour models. Biomedical Imaging: From Nano to Macro, 2011 IEEE International Symposium on; 2011. pp. 1334–1340. [DOI] [PMC free article] [PubMed] [Google Scholar]

RESOURCES