Skip to main content
Journal of Nanotechnology in Engineering and Medicine logoLink to Journal of Nanotechnology in Engineering and Medicine
. 2016 Mar 17;6(3):0310031–0310035. doi: 10.1115/1.4032170

Three-Dimensional Reconstruction of Blood Vessels of the Human Retina by Fractal Interpolation

Hichem Guedri 1, Jihen Malek 2, Hafedh Belmabrouk 3
PMCID: PMC4843852  PMID: 27222695

Abstract

In this work, data from two-dimensional (2D) images of the human retina were taken as a case study. First, the characteristic data points had been removed using the Douglas–Peucker (DP) method, and subsequently, more data points were added using random fractal interpolation approach, to reconstruct a three-dimensional (3D) model of the blood vessel. By visualizing the result, we can see that all the small blood vessels in the human retina are more visible and detailed. This algorithm of 3D reconstruction has the advantage of being fast with calculation time less than 40 s and also can reduce the 3D image storage level on a disk with a reduction ratio between 78% and 96.65%.

Introduction

Today, with the advent and development of new technologies for 3D imaging and high calculation capacity of computers, the observation of internal anatomical structures can be performed virtually, without alteration of the specimen. But, the downside of 3D data, they are very memory intensive. The aims of procedural generation is to create algorithms to generate with very little information at the beginning a large amount of data if possible with the presence of many details with less errors. The applications are in the creation of virtual model. In this paper, we will use the fractal technique for 3D model generation.

There are many useful methods for reconstructing 3D models from a single image [1]. Sturm and Maybank [2] presented an approach for 3D reconstruction of objects from a single image, their method is based on user-provided coplanarity, parallelism, and perpendicularity constraints. Perpendicularity of constraints is used to calibrate the image, and the other two constraints are used to perform the 3D reconstruction. Colombo et al. [3] used reconstruction process and the texture of the 3D acquisition metric of surfaces of revolution from a single uncalibrated picture. Horry et al. [4] proposed a technique called tour in the image, to rebuild part models wise to plan for paintings or photographs. Zhang et al. [5] proposed a method that combines a sparse set of constraints specified by the user, such as the position of the surface normal and folds, to generate a 3D surface that behaves well to satisfy these constraints. All the above techniques can create realistic models. Inspired by these techniques, we proposed a fractal approach to reconstruct models of the blood vessels of the human retina in 3D from a single image with less user interaction.

In this paper, we have studied and developed the fractal geometric modeling as an extension of classical forms geometric [6]. We start from the iterated function system (IFS) model [7], which provides access to an extremely varied range of shapes while being simple to use. The classical fractal geometric forms take as parameters a set of control points. These control points are the entry parameters of the IFS algorithm, which uses predefined matrices to calculate the new points [8]. If one starts with a classical geometric form and that this operator is applied repeatedly, it converges to the invariant [9].

The first stage of work is the acquisition of the retina image [10] and implementing 2D filters to overcome the different noises in the image [11–15]. The next step is to determine the characteristic points from the curve of the vessels [16–19] and modulate them with 3D circles [20,21]. The crucial step in the work is to generate connections between the characteristic points with the 3D fractal interpolation [22–25].

The paper is structured as follows: In Sec. 2, we introduce the algorithm used in this paper. Moreover, we present two algorithms for generating fractals in 3D. In Sec. 3, we describe the image segmentation. In Sec. 4, detailed explanation of 3D fractal interpolation is provided. Furthermore, in Sec. 5 we present experimental results and some examples presenting our algorithm. Finally, in Sec. 6 we present our conclusion.

General Algorithm of 3D Reconstruction by the Fractal Method

There are many fractal 3D reconstruction algorithms, for example, Sun [20,21] introduced the mathematical model of fractal interpolation from a surface and gave its matlab program, and Chen and Bi [22] explored the use of 3D IFS to create fascinating scenes fractals. Algorithm 1 illustrates the algorithm followed in this work. The implementation of this algorithm is relatively complex. In the following, the different steps will be detailed.

Algorithm1.: 3D fractal reconstruction

Start

 • Read the image.

 • Binarization image.

 • Skeletonization image.

 • Determining the different types of pixels.

 • Determining the characteristic points.

 • The construction of the 3D circle and using the characteristic points as center, and extracting the coordinates (x, y, z).

 • Calculate matrices ai, bi, ci, di, ei, fi, si, oi.

 • Implement IFS.

 • Plot the coordinates (Xnew, Ynew, Znew)

End

Pretreatments 2D

Image Segmentation.

The separation of blood vessels in the retina image is of great interest. We propose an automated method for the identification and separation of retinal vessels in a tree image. The skeleton of the segmented blood vessel tree is extracted to reduce this complexity by finding the optimum curve of the blood vessel segments. This technique does not take into account the width of the blood vessel, but could measure other qualities, such as orientation, the vessel segments length, also the presence of gaps, and detecting connection points and crossover points.

We have adopted a methodology using information from 2D shapes to detect the centerline of blood vessels [11,12]. Then, we have tried to determine a relationship between a point O (i, j) that belongs to the centerline and the vector P (x, y, z) (the set of points of the 3D circle located at the distance of the point O). The 3D circle is defined by its center O and radius R.

The first step toward this aim would be to generate the detailed skeleton of the human retina (Fig. 1(a)): the complete set of vessels constitutes the internal support structure that gives shape to the retina (Fig. 1(b)). Then, we classify the pixels of the skeleton into three classes [13,14]: endpoints, bifurcation points, and centerline points. This classification depends on the number of their neighboring pixels which could be one, two, or three to eight, respectively (Fig. 1(c)). In this figure, the circle symbol represents the endpoint, the rectangle pixels are bifurcation points [15], and others are centerline points. Some redundant pixels of the skeleton should be removed because vessel segments become very short and create false branches. The false branches pixels are deleted when the distance between the endpoint and bifurcation points is less than a threshold value (for example, the length of six pixels).

Fig. 1.

Fig. 1

(a) Original image, (b) the skeleton of image, and (c) pixel classification

Determining Characteristics Points.

Simplification is an operation that reduces the details of a curve. Many algorithms exist in computational geometry simplification. White [24] conducted a study of three algorithms of simplification, based on the work of Marino [25] on the characteristic points. It showed that the method of DP was the best among the three methods, the result obtained shows that the simplifications produced by Douglas algorithm are believed to be the best examples of perceptual representations of original lines in 86% of all the tests.

DP Algorithm.

DP algorithm is to reduce the number of points (vertices) of which it is composed, the polyline, trying to keep as close to the original. The algorithm takes as input a polyline or a curve (an orderly continuation of points) and a distance threshold also called tolerance ɛ [16,17]. The operation is as follows:

(1) Connect the two endpoints of a polyline (the first and last points) with the line segment P0P1¯ as shown in Fig. 2.

Fig. 2.

Fig. 2

The different stages of DP algorithm

(2) At each stage, it traverses all points between terminals and calculates the orthogonal distance D relative to the segment.

(3) Find the point farthest from the line P0P1¯.

If D > ɛ

(4) The polyline is divided by the farthest point of the segment, which has the effect of creating two new polylines P0P2¯ and P2P1¯.

(5) Repeat the same work on the new polylines.

(6) Continue the process until all the orthogonal distance is below the tolerance ɛ.

Else

Return.

End if.

Three-Dimensional Circle Reconstruction.

This methods use the natural shape of the blood vessel: a vessel has a cylindrical shape which may be represented as a combination of an axis and a surface represented as a stack of contours. To create a cylinder, a set of successive 3D circles are required [18].

Taking a classic circle parameterization (Fig. 3), the center of circles O (x0, y0) and radius r lead to the following parametric equation [19]:

Fig. 3.

Fig. 3

Three-dimensional circle

{X(t)=x0+r* cos (θ)Y(t)=y0+r* sin (θ)Z(t)=r* sin (θ) with θ∈[0:2π] (1)

IFS Theory

The IFS model was introduced initially in a set-formulation directly translating intuitive property of self-similarity. IFS is a finite set of transformations Contracting {Wi, i ∈ Σ} [6,7]. These transformations or operators are defined on a complete metric space (X, d) (usually provided R2 or R3 of the Euclidean distance) [8]. The geometric shape modeled by IFS is the nonempty X compact checking A = ∪i∈ Σ Wi (A) [9]. A sufficient condition for the existence of this transformation is that each compacted Wi contracts.

Building the 3D Model With IFS.

Consider a set {Pi (xi, yi, zi)} i = 0. N points that one seeks to interpolate. IFS theory can be used to interpolate. For this, we use N affine applications Wi (although the affinity is not required). The N applications realize a partition of the interval [x0, xN] to [x0, x1] ∪ [x1, x2] ∪. ∪ [xn−1, xn]

w(P)=w1(P)∪w2(P)∪w3(P)∪…..wn(P)

The affine transformation Wi component IFS is defined as follows:

wi(xyz)=(aici0bidi000si)(xyz)+(eifioi) (2)

Wi includes two transformations and can be written as γi(φi(A∩Pi)) with φi  as defined by the coefficients ai, bi, ci, di, ei, and fi, and γi by the coefficients si and oi. φi  is an affine spatial transformation [7,8].

In order to obtain a homogeneous coordinate system, the terms of the matrix 3 × 3 represents the scaling and rotation of the 3D point (x, y, z) by the parameter ai, bi, ci, di, and si. Then, a translation by the matrix [ei, fi, oi].

Each Wi transformation can generate from a Pi pixel of image to a set of pixels Pj+1, this operation is referred to as bonding. The spatial transformation, φi, contracts, if the determining module |aibicidi| is less than 1. Let y and z axis has no rotation term, i.e., parameter b = 0, Si = 1, and Oi = 0 in formula (1). When 0 < di < 1, IFS has a single attractor and this attractor must be the diagram of certain continuous functions and crossing original data point.

With the coefficients ai, ci, ei, and fi

ai=xi−xi−1xN−x1 (3)
ci=yi−yi−1xN−x1−di*yN−y1xN−x1 (4)
ei=xNxi−1−x1xixN−x1 (5)
fi=xnyi−1−x1yixN−x1−di*xNy1−x1yNxN−x1 (6)

Dimension of IFS Attractor.

Fractal dimension (FD) in IFS is associated with the perpendicular scaling factor di. It can be learned from the theorem proposed in Refs. [2,3] that if the total number of data points is n, ai (i = 2,3,., n) follows the above-mentioned affine transformation IFS, when 0 < di < 1 and ∑i=2Ndi>1 [6,9], suppose interpolation data points are not collinear, then attractor FD is the only real solution of the following equation:

∑i=2NdiaiDF-1 (7)

When x axis components of data points are equal-interval distributed, or xi − xi−1 = constant, then ai = 1/(N − 1). Let perpendicular scaling component di = d be fixed. Then, the equation above can be simplified as follows [26]:

d=(N−1)DF−2 (8)

Generation of Blood Vessel Models by IFS.

Our method is based on the use of characteristic points determined by the DP algorithm. These points are considered the centers of 3D circles, and Eq. (1) is used to determine their coordinates. Fractal interpolation is applied to generate the intermediate points between these circles. This algorithm therefore takes as argument the previously defined function in Eqs. (3)–(7) to determine the Wi matrices (2) got from the initial form P0 (3D circle), and the IFS is applied for a number of well-defined iterations to have the image of blood vessels in 3D. This method will then create a list of Wi successive images in the following form:

{P0,W0(P0),W1(W0(P0)),.Wij(P0)}

Finally, it remains to show each point of this list obtained.

Experimental Result

We have used the stare database images [10] (Fig. 4) to show the example of a raw image obtained from this database, the reconstruction time takes into account the time required for image segmentation and the time needed for the interpolation fractal. All these results were obtained on a workstation equipped with an Intel Pentium B960 central processing unit at 2.20 GHz and 4 GB of RAM processor.

Fig. 4.

Fig. 4

Example of a raw image in jpeg

DP Algorithm.

The tolerance parameter (ɛ) is the minimum distance to keep a point in the process between a peak and the reference line. It is difficult to find the appropriate tolerance value. We made the choice to do a sensitivity analysis and calculate the rate simplification dark count rate (DCR) for each value of these tolerances parameters for the image used in Fig. 1

With DCR = ((N − n)/N) × 100

And the number of pixels in the image N = 1077

Table 1 shows the results obtained after the simulation of the DP algorithm for different tolerance values ε. Six tolerance values ε described in this table are selected to analyze the rates simplification. For ε = 2 pixels, there are 35 feature points extracted from 1077 point of the image, which means that 96.65% of them have been reduced in the representation of blood vessels curve. Then, for ε = 0.5, the feature points are reduced to 238 points, which indicate that 78% of the curve points are rejected. As the results show that when ε value is large, the rates simplification is at a relatively high level. Conversely, if ε value is smaller, then the rates simplification decreases.

Table 1.

Number of pixels features and DCR% for different values of ε

Tolerance, ɛ Number of characteristic points (n) Rate simplification DCR (%)
0.5 238 78
0.8 113 89.5
1 68 93.68
1.5 53 95
1.8 44 95.91
2 36 96.65

The DP algorithm has been used by Chen et al. [26] to reduce data of the geographic profiles. His research is collected from the digital elevation model data of the island of Taiwan, with a resolution of 40 m. They selected two profiles East–West and North–South, each profile has 1000 points. The study result indicates that the reduction rate of East–West profile data can amount to 96% and North–South to 95%.

In terms of reduction rates by the DP method to calculate the characteristic points of retina image, it is found, from comparing the results obtained by Chen et al. [26] and the test result in Table 1 (the reduction rate achieved may reach 96%), that the results are almost identical. In terms of skill of DP method, they are not only fast in reduction but also high in reduction rate.

Figure 5 shows the result obtained by the DP algorithm for the tolerance ε = 1.

Fig. 5.

Fig. 5

Douglas-Peucker (DP) algorithm for ε = 1 (the rectangle symbol represents the: characteristic point and white pixel: blood vessel)

Simulation of the 3D Reconstruction Algorithm.

Figure 6 shows a measurement data group on an example of the blood vessel. The interval of data points is 2130, and the numbers of interpolated points are 210001.

Fig. 6.

Fig. 6

Three-dimensional fractal interpolation example

We presented in Fig. 7 the behavior of the 3D reconstruction algorithm with fractal interpolation applied to the human retina image of N = 1076 points in 2D images and 3D object of a synthetic P = 32,280 points.

Fig. 7.

Fig. 7

The different stages of reconstruction 3D with fractal interpolation

By visually comparing the constructed model, we see that all the folds of blood vessels in the human retina are very visible and detailed. But if we want very precise measurements on blood vessels, this model cannot be used in a medical procedure, such as diagnostics or surgery, our virtual model is not really suitable.

The advantage of this model is that it allows us to preserve the topology of the vascular network and calculates the geometric quantities, such as the local orientation or curvature of the structure, and it also determines the different geometric parameters of the blood vessels, such as the length and diameter.

For the simulation of the algorithm proposed, the following principle is used: for each value of the iteration number, calculate the corresponding value of interpolated point and thereafter varying the value of the number of iterations until being the minimum error.

According to the results in Table 2 and after the change in a number of iterations, we notice that error increases with decreasing the number of iteration. However, we find an error decrease with the increase in the number of iteration, this is justified by increasing the number of interpolated point and the scanning of all set of image.

Table 2.

Performance of our reconstruction method for various point clouds (calculation time in seconds)

Number of iterations 50 100 200 300 500 700 1000
Number of interpolated point (×106) 3.46 6.93 13.86 20.79 34.65 48.51 69.3
Execution time (s) 4.04 5.88 9.09 13.3 21.5 27.6 39.2
Number of points that do not appear 2545 1879 1284 956 662 311 255
Error % 7.88 5.82 3.977 2.96 2.05 0.96 0789

This method has many advantages. First, the algorithm starts with reduced number of points, which allows reduction of the memory consumption of the 3D image, which reduces costs and equivalently reduce the transmission time. Then, the execution time of the algorithm is short since they do not exceed 40 s. Also, this method uses all the information provided by the 2D image segmentation, it combines the strengths of 2D and 3D to ensure the best view the image in 3D. Finally, we find that the built 3D fractal interpolation can produce data points with a higher resolution than initially observed and reconstructed profile gets more natural and real details.

Despite all these advantages, the method has drawbacks. The first one is that it requires specialized hardware, because this algorithm needs high computing power. We even noticed that this type of compression does not standardize the use and not yet fully democratized since we have problems in terms of determining the iterations number required and its stop points.

Conclusion

In this paper, we propose an approach to reconstruct the blood vessels of the human retina in 3D from a single image by fractal interpolation, this approach is within the framework of 2D/3D techniques. In the first part, we have quickly presented a background of imaging techniques and processing a 2D image, it is very important to find graphical topology of the skeleton of the human retina and classify the different types of the pixel. Then, we determine the characteristic points of the vascular networks by DP algorithm. The second part is devoted to a detailed description of the 3D reconstruction, 3D reconstruction starts by stacking 3D segmentation results 2D. IFS is applied to determine the parameters of the 3D fractal interpolation to generate new points and model the blood vessels in 3D. By visually comparing the result, we see that all the folds of blood vessels in the human retina are very visible and detailed; this algorithm has the advantage of being fast and also can reduce the 3D image storage level.

Contributor Information

Hichem Guedri, Electronics and Microelectronics Laboratory, , Faculty of Science, , Monastir 5019, Tunisia , e-mail: himougu@yahoo.fr.

Jihen Malek, Electronics and Microelectronics Laboratory, , Faculty of Science, , Monastir 5019, Tunisia , e-mail: Jihenemalek14@gmail.com.

Hafedh Belmabrouk, Electronics and Microelectronics Laboratory, , Faculty of Science, , Monastir 5019, Tunisia , e-mail: hafedh.belmabrouk@fsm.rnu.tn.

Nomenclature

Σ =

finite set of indices

References

  • [1]. Zeng, J. , Zhang, Y. , and Zhan, S. , 2006, “ 3D Tree Models Reconstruction From a Single Image,” ISDA’06, pp. 445–450.
  • [2]. Sturm, P. , and Maybank, S. J. , 1999, “ A Method for Interactive 3D Reconstruction of Piecewise Planar Objects From Single Images,” BMVC, pp. 265–274.
  • [3]. Colombo, C. , Del Bimbo, A. , and Pernici, F. , 2005, “ Metric 3D Reconstruction and Texture Acquisition of Surfaces of Revolution From a Single Uncalibrated View,” Pattern Anal. Mach. Intell., 27(1), pp. 99–114. 10.1109/TPAMI.2005.14 [DOI] [PubMed] [Google Scholar]
  • [4]. Horry, Y. , Aniyo, K. , and Arai, K. , 1997, “ Tour Into the Picture: Using a Spidery Mesh Interface to Make Animation From a Single Image,” ACM SIGGRAPH, pp. 225–232.
  • [5]. Zhang, L. , Dugas-Phocion, G. , Samson, J. S. , and Seitz, S. M. , 2001, “ Single View Modeling of Free-Form Scenes,” Computer Vision and Pattern Recognition (CVPR), pp. 990–997.
  • [6]. Barnsley, M. F. , and Harrington, A. N. , 1989, “ The Calculus of Fractal Interpolation Functions,” J. Approximation Theory, 57(1), pp. 14–34. 10.1016/0021-9045(89)90080-4 [DOI] [Google Scholar]
  • [7]. Mandelbrot, B. B. , 1977, Fractals: Form, Chance and Dimension, W.H. Freeman, San Francisco, CA. [Google Scholar]
  • [8]. Barnsley, M. F. , 1988, Fractals Everywhere, Academic Press, Boston, MA. [Google Scholar]
  • [9]. Barnsley, M. F. , 1986, “ Fractal Functions and Interpolations,” Constr. Approximation, 2(1), pp. 303–329. 10.1007/BF01893434 [DOI] [Google Scholar]
  • [10].STARE (Structured Analysis of the Retina) project website, http://www.ces.clemson.edu/∼ahoover/stare
  • [11]. Gegúndez-Arias, M. E. , Aquino, A. , Bravo, J. M. , and Marín, D. , 2012, “ A Function for Quality Evaluation of Retinal Vessel Segmentations,” IEEE Trans. Med. Imaging, 31(2), pp. 231–239. 10.1109/TMI.2011.2167982 [DOI] [PubMed] [Google Scholar]
  • [12]. Hoover, A. , Kouznetsova, V. , and Goldbaum, M. , 2000, “ Locating Blood Vessels in Retinal Images by Piecewise Threshold Probing of a Matched Filter Response,” IEEE Trans. Med. Imaging, 19(3), pp. 931–935. 10.1109/42.845178 [DOI] [PubMed] [Google Scholar]
  • [13]. Zhang, E. , Zhang, Y. , and Zhang, T. , 2002, “ Automatic Retinal Image Registration Based on Blood Vessel Feature Point,” First International Conference on Machine Learning and Cybernetics, Vol. 4, pp. 2010–2015. [Google Scholar]
  • [14]. El Abbadi, N. K. , and El Saadi, E. H. , 2013, “ Automatic Detection of Vascular Bifurcations and Crossovers in Retinal Fundus Image,” IJCSI Int. J. Comput. Sci. Issues, 10(6), pp. 162–166. 10.1109/SITIS.2007.86 [DOI] [Google Scholar]
  • [15]. Shahzad, R. , Li, H. K. , Metz, C. , Tang, H. , Schaap, M. , van Vliet, L. , Niessen, W. , and van Walsum, T. , 2013, “ Automatic Segmentation, Detection and Quantification of Coronary Artery Stenoses on CTA,” Int. J. Cardiovasc. Imaging, 29(8), pp. 1847–1859. 10.1007/s10554-013-0271-1 [DOI] [PubMed] [Google Scholar]
  • [16]. White, E. R. , 1985, “ Assessment of Line-Generalization Algorithms Using Characteristic Point,” Am. Cartographer, 12(1), pp. 17–27. 10.1559/152304085783914703 [DOI] [Google Scholar]
  • [17]. Marino, J. S. , 1979, “ Identification of Characteristic Points Along Naturally Occurring Lines,” Cartographic A: Int. J. Geogr. Inf. Geovisualization, 16(1), pp. 70–80. 10.3138/AG00-3264-1Q31-P216 [DOI] [Google Scholar]
  • [18]. Spiegel, M. , Redel, T. , Struffert, T. , Hornegger, J. , and Doerfler, A. , 2011, “ A 2D Driven 3D Vessel Segmentation Algorithm for 3D Digital Subtraction Angiography Data,” Phys. Med. Biol., 56(19), pp. 6401–6419. 10.1088/0031-9155/56/19/015 [DOI] [PubMed] [Google Scholar]
  • [19]. Bourke, P. D. , and Felinto, D. Q. , 2010, “ Blender and Immersive Gaming in a Hemispherical Dome,” Computer Games & Allied Technology 10 (CGAT10), Vol. 1, pp. 280–284. [Google Scholar]
  • [20]. Sun, H. , 2012, “ A Practical MATLAB Program for Multifractal Interpolation Surface,” 8th International Conference on Natural Computation (ICNC), pp. 909–913. [Google Scholar]
  • [21]. Sun, H. , 2012, “ The Theory of Fractal Interpolated Surface and Its MATLAB Program,” IEEE Symposium on Electrical & Electronics Engineering (EEESYM), pp. 231–234. [Google Scholar]
  • [22]. Chen, Y. Q. , and Bi, G. , 1997, “ 3-D IFS Fractals as Real-Time Graphics Model,” Comput. Graphics, 21(3), pp. 367–370. 10.1016/S0097-8493(97)00014-9 [DOI] [Google Scholar]
  • [23]. Sun, H. , 2012, “ The Theory of Fractal Interpolated Surface and Its MATLAB Program,” IEEE Symposium on Electrical and Electronics Engineering (EEESYM), pp. 231–234. 10.1109/EEESym.2012.6258632 [DOI] [Google Scholar]
  • [24]. Chen, Y. Q. , and Bi, G. , 1997, “ 3-D IFS Fractals as Real-time Graphics Model,” Computers & Graphics, 21(3), pp. 367–370. 10.1016/S0097-8493(97)00014-9 [DOI] [Google Scholar]
  • [25]. Guérin, E. , Tosan, E. , and Baskurt, A. , 2001, “ Fractal Approximation of Surfaces Based on Projected IFS Attractors,” The Eurographics Association, 9(1), pp. 95–103. [Google Scholar]
  • [26]. Chen, C. , Lee, T. , Huang, Y. M. , and Lai, F. , 2009, “ Extraction of Characteristic Points and Its Fractal Reconstruction for Terrain Profile Data,” Chaos, Solitons Fractals, 39(4), pp. 1732–1743. 10.1016/j.chaos.2007.06.074 [DOI] [Google Scholar]

Articles from Journal of Nanotechnology in Engineering and Medicine are provided here courtesy of American Society of Mechanical Engineers

RESOURCES