Keywords

1 Introduction

With some advanced medical devices, like CT, MRI, being widely used, medical 3D reconstruction has been increasingly important research topic in recent years [1, 2]. 3D reconstruction can largely help doctors detect and diagnose some sickness. Nowadays, more and more surgeries are operated under the guide of scheme designed by computer. Besides, 3D reconstruction has many application in kinds of medical sub-topics, such as tissue segmentation [2], tumor detection and location.

Mostly, the first processing steps is to collect data from patients by CT or MRI. Then reconstruct the 3D model of region of interest (ROI), like the knee joint or brain. Among all these tasks, tissue segmentation is the most basic and simplest one. Because independent ROI can provide the most direct object without any other noise and interference. However, tissue data from CT/MRI can hardly be segmented well due to rough source data and the existed techniques. Especially for soft tissue, segmentation would become much harder [3, 4]. Most of soft tissues has the similar scanning values, and CT scan seems to react same to all soft tissue. For example, inside knee joint, there are mainly three kinds soft tissues, Anterior Cruciate Ligament (ACL), Posterior Cruciate Ligament (PCL) and meniscus. And with the interference of fleshy tissue, it would be a large challenge to segment ROI from them.

ACL segmentation is very important because it the key step of injury detection. With the heavy traffic and more sports activities, more and more people suffer from the injury of ACL. Now the accurate way to ACL injury detection is to observe the biological characteristic of ACL under the arthroscope [5], and this way is called as arthroscopy. However arthroscopy is minimally invasive operation after all, it can hardly be accepted by each patient. Then the ideal way is to reconstruct 3D model of ACL and to detect its physical parameters to give the correct diagnosis. Segmentation of ACL from scanning data of knee joint then become so important.

The most widely used method is segmentation by threshold of gray values and Mimics editor. As said before, gray values is not sensitive among soft tissues, so ACL segmentation by gray values threshold would be cause large error. Editing by people is not also a good choice, because it would need much time for people and it is not impersonal, and cannot be applied by each one. In this paper, we propose a novel ACL segmentation method: Space Model Contrast Clustering-based (SMC-based) ACL Segmentation which relies 3D model of knee joint to segment soft tissue by self-adaptive K-means clustering. Extensional experiments demonstrate that the proposed method can be capable of solving the problem of soft-tissue segmentation well and has achieved higher ACL segmentation efficiency.

The remainder of the paper is organized as follow: the proposed method: SMC-based ACL segmentation is introduced in Sect. 2. The experimental settings and results are demonstrated in Sect. 3. Finally, we make a conclusion objectively in Sect. 4.

2 The Proposed Method

Knee joint is one of the most important tissue to keep stable for people. Nowadays the most widely used way to segment ACL from knee joint is to edit the scanning data using some software like Mimics. The most important factor which would affect result is the experience of editor. Always, only some clinician who have been familiar with the anatomical structure of knee joint are eligible. From the anatomical data, we find that the main interior structure is always the same, especially for adults, and they have the same structure of knee joint. So we think it is feasible to refer the existed space distribution of interior structure of knee joint to achieve ACL segmentation from scanning data. Then the SMC-based ACL segmentation method is proposed. As shown in Fig. 1, the anatomical structure of knee joint is constant to each man. It has the main tissue, as following: bones, including Thighbone, Patella, Fibula and Tibia; soft tissue, like Anterior cruciate ligament, Posterior cruciate ligament, Lateral collateral ligament, Medial collateral ligament, Lateral meniscus, Medial meniscus. Our study in this paper has not taken collateral ligaments into consideration due to they are not connected with ACL and PCL. So the main task is to segment ACL from bones and soft tissues, including PCL and meniscuses. The 3D model of these tissue can be seen like shown in Fig. 2. The structure model with green color is ACL.

Fig. 1
figure 1

The anatomical structure of knee joint

Fig. 2
figure 2

3D model of the main tissues inside knee joint

For these point clouds, following parameters would have great impact on segmentation result: barycenter (G), angles across with X, Y, Z plane respectively \( (\alpha ,\beta ,\delta ) \), and the distance between the point and origin (d). The barycenter G can be computed by these equations:

$$ G_{x} = \frac{{\int \int \int_{\varOmega } x\rho (x,y,z)dv}}{{\int \int \int_{\varOmega } \rho (x,y,z)dv}} $$
(1)
$$ G_{y} = \frac{{\int \int \int_{\varOmega } y\rho (x,y,z)dv}}{{\int \int \int_{\varOmega } \rho (x,y,z)dv}} $$
(2)
$$ G_{z} = \frac{{\int \int \int_{\varOmega } z\rho (x,y,z)dv}}{{\int \int \int_{\varOmega } \rho (x,y,z)dv}} $$
(3)

where \( G_{x} ,G_{y} \,{\text{and}}\,G_{z} \) are three dimensional value respectively, \( v \) is the volume of point cloud model, and \( \rho (x,yz) \) denotes the density of the model structure. For us human body, each organ is made by some certain materials, so in medical measurement, the density of organ is constant which would greatly help solve the equations above. Then barycenter G of each model can be computed by another simple method, Eq. (4) as follow:

$$ G = \frac{1}{N}\sum\limits_{i = 1}^{N} G^{i} $$
(4)

where N is the total number of points in each model, and \( G^{i} \) denotes the ith point in point cloud. Compared to the former equations, Eq. (4) could reduce the time consumption dramatically. The distance d can be computed by Eq. (5):

$$ d = \sqrt {x^{2} + y^{2} + z^{2} } $$
(5)

Then the angles can be solved with distance d using the following equations:

$$ \cos \alpha = \frac{{\sqrt {x^{2} + y^{2} } }}{d} $$
(6)
$$ \cos \beta = \frac{{\sqrt {x^{2} + z^{2} } }}{d} $$
(7)
$$ \cos \delta = \frac{{\sqrt {y^{2} + z^{2} } }}{d} $$
(8)

All of these data from model can be used as arguments into segmentation method. In our study, we choose K-means for the consideration of its simplicity [68]. K-means is an unsupervised classification algorithm based on clustering, the basic theory is described in Eqs. (9)–(10).

$$ J = \sum\limits_{i = 1}^{N} \sum\limits_{k = 1}^{N} ||X_{i} - u_{k} ||^{2} \gamma_{ik} $$
(9)
$$ u_{k} = \frac{{\sum\nolimits_{i} \gamma_{ik} x_{i} }}{{\sum\nolimits_{i} \gamma_{ik} }} $$
(10)

Assuming that there are N data points in total, they are divided into K cluster. The K-means algorithm is to minimize J, \( \gamma_{ik} \) is 1 or 0. When we get the smallest \( J,u_{k} \) should be met Eq. (10). The iteration cannot be stopped until its convergence. K-means is a high-efficiency method to clustering, however there are two problems hindering on the way. The two existed problems are how to initialize and how to judge convergence well. And the difference in our study is that we use the model data to set initialization and convergence condition.

As the input into K-means, the scanning data of knee joint has the following structure that the algorithm need to segment: Thighbone, Patella, Fibula and Tibia; Anterior cruciate ligament, Posterior cruciate ligament, Lateral collateral ligament, Medial collateral ligament, Lateral meniscus, Medial meniscus. To reduce the time consumption of this task, the algorithm can remove the collateral ligaments directly due to they are outside the knee bones gap. So the number of clusters (K) is 7, 4 kinds of bones and 3 kinds of soft tissues including ACL. Then the barycenter G of these 7 model structures, which are computed by Eqs. (1)–(3), would be used as centriods in initialization processing. And the most important is convergence condition. Experimental results demonstrate that the best segmentation can hardly be extracted. And the algorithm always miss the and the global optimization between two iterations. In this paper, to reduce the time consumption and the risk of local optimization, we take the variance of angles and distance into consideration of convergence. The convergence condition is shown in Eq. (11).

$$ C = \left\| {\begin{array}{*{20}c} {{\varDelta }d} & {{\varDelta }\cos \alpha } \\ {{\varDelta }\beta } & {{\varDelta }\cos \delta } \\ \end{array} } \right\| $$
(11)

where C denotes the convergence conditional value. The evaluation setting is also important to the segmentation. No matter large or small, it would cause the bad results we cannot stand. We will talk about it in experiments part.

The proposed segmentation method in this paper need the other two traditional segmentation method: threshold segmentation and software editing to remove some other noise data, such as skin and fat. And the proposed processing algorithm is concluded in Algorithm 1 as follow:

Algorithm 1: SMC-based ACL Segmentation

  1. Step1:

    Threshold segmentation to extracted bones and soft tissue;

  2. Step2:

    erasing editor to remove the noise data;

  3. Step3:

    Model data computing using Eqs. (1)–(8);

  4. Step4:

    Initialization using Model parameters;

  5. Step5:

    K-means iteration until convergence C met condition value.

3 Experiments and Analysis

In this paper, the experimental setting is as follow, hardware: Thunderobot with Inter(R) Core(TM) i7-4710 CPU@2.5 GHz, 16GRAM, NVIDIA GTX 870; software: Windows 8, Mimics 16.0, Geomagic Studio 12.0, MatlabR2012b, SPSS19.0, Geomagic Studio 2012. And the MRI scanning data all are provided by Chongqing Xinqiao Hospital.

Threshold segmentation and erasing editor are two necessary steps in the SMC-based ACL Segmentation method. The basic processing flow of threshold segmentation is shown in Fig. 3. Mimics provides the analysis tool to extract threshold which is different in different patient because it can be affected by some other factors, such as weather, machine. The threshold range of soft tissue of the patient in Fig. 3 is from 1100 to 1800. Then these extracted thresholds can be used to produce segmentation masks. Figure 4a shows us the mask we set in which the green is bone mask while the yellow is soft tissue mask. This figure demonstrates threshold segmentation causes so much noise. Figure 4b shows the results after erasing editor.

Fig. 3
figure 3

Threshold segmentation processing flow

Fig. 4
figure 4

Threshold and editing segmentation results on tomography

Threshold and editing segmentation are the most widely used method in medical processing, and it can segment bones from soft tissue well. As shown in Fig. 5a is the 3D objects by threshold masks while (b) is soft tissue 3D object. But the structure of ACL and other soft tissue cannot be observed by any users. The proposed SMC method can segment different soft tissue, like shown in Fig. 5c in which the green is ACL, the red one is PCL while the violet one is meniscus.

Fig. 5
figure 5

Results from kinds of method

In this paper, we also use Geomagic Studio 2012 to optimize the ACL 3D object. Nurbs curve surface is made by some non-uniform ration B-splines [9] which is shown in Eq. (12). And GS2012 can optimize the B splines to remove some corners and to make ACL more smooth, like the comparison shown in Fig. 6 in which (a) is the results from SMC segmentation method, while (b) is the optimization result.

Fig. 6
figure 6

ACL 3D results and its optimization model

$$ s(u,v) = \frac{{\sum\nolimits_{i = 0}^{m} \sum\nolimits_{j = 0}^{n} W_{i,j} P_{i,j} N_{i,k} (u)N_{j,l} (v)}}{{W_{i,j} N_{i,k} (u)N_{j,l} (v)}} $$
(12)

where \( P_{i,j} \) is corner point, \( N_{j,k} (u) \), \( N_{j,l} (v) \) are B-splines in u, v directions respectively, \( W_{i,j} \) is weight factor.

Figure 7 shows us the segmentation results of 3D model of ACL. In this figure, the segmented ACL has unambiguous edges which would help doctors diagnose. In our study, we use model parameters to initialize K-mean clustering. Experimental results demonstrate that this initialization greatly reduce the iterations and time consumption of algorithm processing. Tables 1 and 2 show the iterations and the time consumption. Of the tables, the data in the parentheses are the results from random initialization. From the comparison, parameters initialization reduces at least half of iterations of random initialization. For ACL segmentation task, iterations are cut down to 1.4 from 7.5, and the time consumption is also reduced into 138 ms from 682 ms.

Fig. 7
figure 7

ACL segmentation results

Table 1 Iterations of K-means in SMC-based ACL segmentation
Table 2 Time consumption of K-means in SMC-based ACL segmentation (unit ms)

4 Conclusion

In this paper, we propose a new segmentation method: SMC-based ACL Segmentation which can segment ACL from knee joint well. This new method solves the traditional medical problem, segmentation of soft tissue. The ACL 3D objects from SMC has unambiguous edges which would help doctors diagnose. And model parameters initialization greatly reduce the iterations and time consumption of the proposed algorithm processing.