SuperEllipseTrace3D

From FarsightWiki
(Difference between revisions)
Jump to: navigation, search
(Software Usage)
Line 166: Line 166:
 
where  
 
where  
 
:ImageFileName should the name of the file containing the 3D image (like tif, pic, lsm)  
 
:ImageFileName should the name of the file containing the 3D image (like tif, pic, lsm)  
:Grid spacing (default = 10 pixels) indicates the spacing between seed points detected in step 1. For a dense network this number should be between 10 and 20, for a sparse network this number is 50-60.
+
:Grid spacing (default = 10 pixels) indicates the spacing between seed points detected in step 1. For a dense network this parameter value should be between 10 and 20, for a sparse network this parameter value can be upto 50 or 70.
:Aspect Ratio (default = 2) This the ratio of maximum allowable deformation between the largest cross section and the axial dimension of the superellipsoid. This number can be between 1.5 and 3.  
+
:Aspect Ratio (default = 2) This the ratio of maximum allowable deformation between the largest cross section and the axial dimension of the superellipsoid. This parameter value can be between 1.5 and 3.
  
 
==References==
 
==References==

Revision as of 13:44, 12 May 2009

This page presents automated methods for robust modeling and analysis of 3-D vascular images using a cylindroidal superellipsoid to model localized segments of vasculature[1]. The proposed vessel model has an explicit, low-order parameterization, allowing for joint estimation of boundary and centerline information, thereby approximating the medial axis of tubular structures. Further, this explicit parameterization provides a geometric framework for traversing vessels in a directed manner. Topological information like branch point location and connectivity can also be detected as a side effect. An M-estimators provide robust region-based statistics that are used to drive the superellipsoid toward a vessel boundary. The proposed methodology behaves quite well across scale-space, shows a high degree of insensitivity to adjacent structures and implicitly handles branching.


Contents


Local vascular modelling using Superellipsoid

The superellipsoid provides the basis for a simple shape model that describes localized vessel segments. It has an explicit low-order parameterization relating directly to the local pose of a vessel segment. Using this geometric information, it is straightforward to traverse entire vascular networks.Also, since the superellipsoid model furnishes joint estimates of the boundary and centerpoint of a vessel, the resulting traversal approximates the medial axis of each vessel in the vasculature. Another key advantage when using the superellipsoid model is that its local nature allows us to adapt vessel intensity estimates across different regions of the vasculature. Also, since the superellipsoid model furnishes joint estimates of the boundary and centerpoint of a vessel, the resulting traversal approximates the medial axis of each vessel in the vasculature.

Vascular local shape modelling using superellipsoid

Figure1: Shows the boundary of a superellispoid while the shape parameter ε1 is varied between 1.0 and 0.25 and ε2 is set to 1.


Superellipsoids are geometric modeling primitives first introduced in early computer vision literature [2]. Superellipsoids are expressed implicitly as:

Figure2:The figure shows a vessel labeled with the parameters needed to describe its local coordinate frame. The dashed line labelled μ denotes the offset from the origin to the center of a vessel segment. The principal axes of the localized vessel segment are denoted \left[\mathbf{P}_{1},\mathbf{P}_{2},\mathbf{P}_{3}\right]. The dark ellipse oriented relative to the principal axes indicates the local vessel boundary and is labelled with the vessel cross-sectional scale values σ1 and σ2. The line labelled σ3 describes the approximate length over which the vessel segment is locally cylindriodal.


\left(\left|x\right|^{\frac{2}{\epsilon_{2}}}+\left|y\right|^{\frac{2}{\epsilon_{2}}}\right)^{\frac{\epsilon_{2}}{\epsilon_{1}}}+\left|z\right|^{\frac{2}{\epsilon_{1}}}=1,

where the parameters ε = (ε12) control the shape of the superellipsoid. To understand the role of the shape parameters, first note that with ε1 = ε2 = 1 equation of superellipsoid is simply an ellipsoid. With ε1 < = 1 and ε2 = 1 the superellipsoid becomes a cylindroid, i.e., the implicit surface bounds a convex region, where for constant z, the 2-D level curves are elliptical. Setting ε12 to other values produces a variety of shapes including cuboids and pinched cuboids [2]. Since the goal in this work is to find an approximation to an elliptical cylinder, we will restrict our focus to cylindroidal forms. This means that ε2 in equation is set to unity.


Starting with a set of points in the set  X=\left\{\mathbf{x}|S(\mathbf{x};\epsilon)=1\right\} (ε is fixed), a transformation given by T(\mathbf{x})=\mathbf{R}({\phi})\mathbf{D}({\sigma})\mathbf{x}+{\mu} can be performed. This transformation preserves orthogonality of the local coordinate frame while allowing for anisotropic scaling. The action of T(\mathbf{x}) is to first scale \mathbf{x} by \mathbf{D}({\sigma}), which is a 3\times 3 matrix with scale parameters {\sigma}=\left(\sigma_{1},\sigma_{2},\sigma_{3}\right) on the diagonal. Then, a rotation is performed via the 3\times 3 matrix \mathbf{R}({\phi}) with three degrees of freedom that is parameterized by φ. Finally, a shift via {\mu}=\left(\mu_{x},\mu_{y},\mu_{z}\right)^{T} is performed. This transformation leads to a new superellipsoid defined by the set having 10 degrees of freedom in 3D, X'=\left\{\mathbf{x}|S(T^{-1}(\mathbf{x});\epsilon)=1\right\}, where, 
T^{-1}(\mathbf{x})=\mathbf{D}({\sigma})^{-1}\mathbf{R}({\phi})^{T}(\mathbf{x}-{\mu}).


Robust Vascular Intensity model

When estimating the background, the main challenge is to deal with the fact that the image data invariably contains vessel, background clutter, and uncorrelated noise. Taken as a whole, the resulting image data is a mixture of various components. Finding the single component corresponding to the background region can be difficult.

This is especially true since the actual background voxels may not be a majority population in the mixture. This often happens when a small vessel is adjacent to a very large one. Hence, the median may no longer be a good choice. The real problem in this case is that when estimating the background one must deal with pseudo-outliers, i.e., data that appears as an outlier to the current process but might be an inlier to another process. For example an adjacent vessel appears as an outlier when estimating the local background intensity. However, the data is actually an inlier to the adjacent vessel.

To deal with these outliers, we propose the skipped median which simply restricts the support of the signum function of the M-Estimator, thereby excluding very large residuals from the intensity estimate. The corresponding psi-function is given by:


\psi_{med(s)}=\text{sgn}(r) \times
1_{[-s,s]}(r)=\left\{\begin{array}{r}\text{sgn}(r),|r|\leq
s\\0,|r|>s\end{array}\right..

where the cutoff value is chosen as s=0.5\times|I_{B}-I_{F}|.


When estimating the superellipsoid model parameters we will assume that a vessel segment consists of two piece-wise constant regions with intensities denoted IF for foreground and IB for background and that the vessel boundary separating these regions is well-modeled by a superellipsoid. The local vessel intensities are modeled using a homogeneous grayscale appearance model as


V(\mathbf{x};{\theta})= I_{B}-(I_{B}-I_{F})\times
1_{\left[S(\mathbf{x},{\beta})<1\right]},

where {\theta}=\left(I_{F},I_{B},{\beta}\right) is the full parameter set of the superellipsoid vessel model. This includes the intensity parameters \left(I_{F},I_{B}\right) that describe the foreground and background intensities respectively, as well as the underlying parameters of the superellipsoid shape model, i.e., S(\mathbf{x},{\beta}). The notation 1_{\left[\cdot\right]} denotes an indicator function that evaluates to one on the set specified in the subscript and is zero elsewhere.


The strategy for maximizing equation is to alternate between estimating the intensity parameters and then updating the boundary using a gradient search. The following two subsections will detail each step.

Generalized likelihood ratio test

Consider the image data I(\textbf{x}) with discrete domain \textbf{x}_{i}\in\Gamma and the hypothesis pair:

H_{0}:I(\mathbf{x})= I_{B}+N;
H_{1}:I(\mathbf{x})= I_{B}-(I_{B}-I_{F})\times
1_{\left[S(\mathbf{x},{\beta})<1\right]} + N.

Here, H0 is the hypothesis that the image data is from the background process centered at IB and corrupted by independent identically distributed (i.i.d) noise denoted N with marginal distribution f. The alternative, H1, is the hypothesis that the image data contains a vessel that is well-modeled by the superellipsoid model given in equation.


Traversing Vessels Using Superellipsoid

Figure3: Illustrating vessel traversal. Figure shows a sequence of superellipsoidal fits denoted k, k + 1, and k + 2 superimposed on a vessel. Note that the traversal is directed using the local pose to determine the next step in the traversal.



The algorithm for traversing entire vascular networks using the local superellipsoid model is given as follows

  • Extract a set of candidate seeds
  • for each seed point
      • Fit an initial superellipsoid
      • Traverse the vessel in the forward direction by shifting the model center in the direction of the major axis;
      • Refine the parameter estimates from the previous step;
      • When the forward traversal terminates, restart the procedure in the reverse direction.
      • select next seed point


Shown in Figure 4 is an example of the algorithm run on a sample dataset.


Figure4: (Left) shows a typical vascular network (middle) shows the loci of the superellipsoid traversal (right) shows the traces inside the volume rendered image.

Software Usage

Use the trace 3D package from Farsight and type the following in command line

Trace3D.exe [ImageFileName] [GridSpacing] [Aspect Ratio]

where

ImageFileName should the name of the file containing the 3D image (like tif, pic, lsm)
Grid spacing (default = 10 pixels) indicates the spacing between seed points detected in step 1. For a dense network this parameter value should be between 10 and 20, for a sparse network this parameter value can be upto 50 or 70.
Aspect Ratio (default = 2) This the ratio of maximum allowable deformation between the largest cross section and the axial dimension of the superellipsoid. This parameter value can be between 1.5 and 3.

References

[1] James Alexander Tyrrell, Emmanuelle di Tomaso, Danel Fuja, Ricky Tong, Kevin Kozak, Edward B. Brown, Rakesh Jain, Badrinath Roysam, “Robust 3-D Modeling of Vasculature Imagery Using Superellipsoids,” vol. 26, no. 2, pp. 223-237, IEEE Transactions on Medical Imaging, Feb 2007.

[2] Barr, A.H., "Superquadrics and Angle-Preserving Transformations," IEEE Computer Graphics and Applications, 1(1), pp. 11-23, 1981.

[3] K. Al-Kofahi, S. Lasek, D. Szarowski, C. Pace, G. Nagy, J. N.Turner, and B. Roysam, "Rapid automated three-dimensional tracing of neurons from confocal image stacks," IEEE Transactions on Information and Technology in Biomedicine, 6(2), pp. 171-187, 2002.

Personal tools