Introduction

Imaging evaluation of hepatic nodules is usually based on the subjective judgment of the sonographer or radiologist. Diagnostic accuracy can thus vary with experience. Quantitative image analysis might be helpful to improve imaging diagnosis even for readers with less experience.

Ultrasound image analysis for the diagnosis of liver disease has been performed based on: texture analysis for chronic liver disease [16]; diagnosis of hepatic tumors using a time–intensity curve during contrast-enhanced ultrasonography [7]; and assessment of liver fibrosis according to the arrival time of the contrast agent [8].

Morphological ultrasound image analysis of hepatic tumors has been performed with artificial neural networks [3, 9, 10] and computer-aided algorithms [11]. In those reports, image analysis was used for classification into hepatocellular carcinoma (HCC), liver metastasis, hemangioma, or cyst. In addition, software for image analysis has recently become easily accessible on the internet for free [12].

The present study applied this technique for the evaluation of hepatic nodules. The aim of this study was to investigate the feasibility of quantitative image analysis to differentiate hepatic nodules.

Materials and methods

Patients

Patients were randomly selected from among those with hepatic nodules who underwent ultrasonography between January 2004 and July 2014. The study group comprised 71 men and 40 women (median age 67 years; range 17–91 years). Median tumor size was 23 mm (range 6–67 mm). We retrospectively evaluated 35 nodules from 31 patients with histopathological evidence of HCC (1 early HCC, 4 well-differentiated HCCs, 23 moderately differentiated HCCs, and 7 poorly differentiated HCCs), 60 nodules from 58 patients with liver hemangioma, and 22 nodules from 22 patients with liver metastases that had been previously confirmed on contrast-enhanced ultrasonography, contrast-enhanced computed tomography, or contrast-enhanced magnetic resonance imaging (Table 1).

Table 1 Patient characteristics

This cross-sectional study was performed in accordance with the principles of the Declaration of Helsinki. Comprehensive informed consent regarding the use of data was obtained in writing from each subject. Clinical data including serological and follow-up data were obtained from hospital records for all cases. The institutional review board of our university judged that this retrospective study did not require board approval.

Imaging techniques

LOGIQ 7 or LOGIQ E9 ultrasonic equipment (GE Healthcare Japan, Tokyo, Japan) was used in this study with a 9L linear transducer (frequency, 9 MHz). Sonographic examination was performed with the patient in the decubitus position under fasting conditions. The right arm of the patient was elevated and respiratory conditions were modified properly. A sonographic image was captured at maximum diameter of the tumor by an experienced operator. Dynamic range and gain were not altered. A single focus was set at the deepest margin of the nodule. Tissue harmonic imaging was used in all cases. The acquired data were digitally stored on a hard disk as raw data.

Imaging analysis

Image data captured at maximum tumor diameter were saved in JPEG format on a personal computer and analyzed using ImageJ version 1.47 software (National Institutes of Health, available at http://rsb.info.nih.gov/ij). Outlines of hepatic nodules were drawn free-hand by three hepatologists who were board-certified Fellows of the Japan Society of Ultrasonics in Medicine (FJSUM), and analyzed in “ROI Manager” mode. Analyzed values were circularity, solidity, aspect ratio, median gray value, mean gray value, modal gray value, minimum gray value, maximum gray value, and standard deviation of gray value. These parameters were automatically calculated using ImageJ software. Each analyzed value was defined as follows (Figs. 1, 2) [12].

$$ {{\text{Circularity}} = 4\pi \times \frac{{ [ {\text{Area]}}}}{{ [ {\text{Perimeter]}}^{ 2} }}} $$
$$ {{\text{Solidity}} = \frac{{ [ {\text{Area]}}}}{{ [ {\text{Convex}} \cdot {\text{area]}}}}} $$
$$ {\text{Aspect ratio}} = \frac{1}{4} \times {\frac{{\pi \times [ {\text{Major}} \cdot {\text{axis]}}^{ 2} }}{{ [ {\text{Area]}}}}} $$
Fig. 1
figure 1

Illustration for circularity, solidity, and aspect ratio. These parameters are calculated from area (area surrounded by a solid line), convex area (area surrounded by a dotted line), perimeter, and major axis. Convex area can be thought of as a rubber band wrapped tightly around the area

Fig. 2
figure 2

Illustration for median, mean, modal, minimum, and maximum gray values. Histogram (left) revealed the gray value of the hepatic tumor (right)

Median gray value = median gray-scale value within the selected region of interest. This is the sum of the gray values of all pixels in the selection divided by the number of pixels.

Mean gray value = average gray-scale value within the selected region of interest.

Modal gray value = most frequently occurring gray value within the selected region of interest.

Minimum and maximum gray value = minimum and maximum gray-scale values within the selected region of interest.

Standard deviation = standard deviation of gray-scale values used to generate the mean gray-scale value.

The range of gray values between Min and Max is divided into 256 bins.

Validation study

Three hepatologists drew outlines of the same image of HCC, metastasis, and hemangioma, with each making 10 attempts. Data obtained from ROI Manager were analyzed. Each value was validated using the Smirnov–Grubbs test.

Subjective judgment of ultrasonic images

All images were reviewed independently by three readers who had experience in abdominal ultrasonography. When two or three reviewers provided the same opinion, that opinion was accepted as the result. If all three reviewers offered different opinions, the case was excluded from analysis. The readers had no knowledge of the results of other imaging modalities or the histological diagnosis.

All hepatic nodules were classified by echogenicity into “hyper,” “iso,” “hypo,” or “mixed” patterns, by shape into “irregular” or “round,” and by surface into “rough” or “smooth.” Halo, mosaic pattern, and lateral shadows were recognized as features of malignancy [13].

Statistical analysis

Data are expressed as mean ± standard deviation. The statistical significance of sonographic image findings was calculated using the Mann–Whitney U test and the Chi-square test. Kruskal–Wallis test was used in Tables 1, 2, and 3 for comparison between each group. Multivariate analysis was carried out by logistic regression with the backward elimination method. Values of P < 0.05 were considered statistically significant for all analyses. The Statistical Program for Social Sciences software package (SPSS 11.5 for Windows, SPSS, Chicago, IL) was used to perform statistical analysis.

Table 2 Comparison between subjective judgement and image analysis
Table 3 Image analysis of each hepatic nodule

Results

Validation of reproducibility for drawing outlines of each hepatic tumor

Outliers were detected for standard deviation of HCC, median gray value and solidity of liver metastasis, and median gray value of hemangioma. Other data were not detected as outliers (Fig. 3). Mean values for HCC were as follows: aspect ratio 1.237 (range 1.161–1.297); circularity 0.895 (range 0.823–0.939); solidity 0.975 (range 0.954–0.982); minimum gray value 18 (range 18–21); maximum gray value 144 (range 144–144); median gray value 65 (range 63–66); mean gray value 66.3 (range 65.2–67.5); modal gray value 60 (range 60–71); and standard deviation of gray value 22.8 (range 22.3–23.0).

Fig. 3
figure 3

Validation of reproducibility for drawing outline of HCC, metastasis, and hemangioma with longitudinal axis as value of data. AR aspect ratio, Min minimum gray value, Max maximum gray value, Median median gray value, Mean mean gray value, Mode modal gray value, StdDev standard deviation

Mean values for hemangioma were as follows: aspect ratio 1.203 (range 1.143–1.266); circularity 0.820 (0.754–0.875); solidity 0.960 (0.926–0.977); minimum gray value 14 (12–14); maximum gray value 173 (153–207); median gray value 68 (67–70); mean gray value 69.1 (67.8–70.4); modal gray value 71 (71–71); and standard deviation of gray value 20.9 (18.4–21.2).

Mean values for liver metastasis were as follows: aspect ratio 1.849 (range 1.667–1.992); circularity 0.745 (0.680–0.784); solidity 0.947 (0.920–0.963); minimum gray value 5 (5–6); maximum gray value 130 (111–156); median gray value 47 (43–49); mean gray value 49.2 (45.4–51.6); modal gray value 43 (43–43); and standard deviation of gray value 19.8 (17.0–21.6).

Comparison of subjective judgment and image analysis

Hepatic nodules were judged as hyperechoic (n = 60), isoechoic (n = 4), hypoechoic (n = 28), or mixed pattern (n = 19) by the three reviewers (Table 2). Median, mean, modal, minimum, and maximum gray values showed no significant differences among the four echogenicity groups. Standard deviation was higher in the hyperechoic group than in the hypoechoic group (P = 0.001).

Circularity was lower in the irregular group (median 0.823, range 0.641–0.915) than in the round group (median 0.892, range 0.784–0.932, P = 3.21 × 10−10). Solidity was lower in the rough group (median 0.957, range 0.894–0.986) than in the smooth group (median 0.968, range 0.933–0.988, P = 1.53 × 10−4) (Fig. 4).

Fig. 4
figure 4

Circularity was lower in the irregular group than in the round group (left), and solidity was lower in the rough group than in the smooth group (right)

Image analysis findings for each tumor

HCC and liver metastasis showed higher circularity and solidity than hemangioma (Table 3). HCC and liver metastasis displayed lower median, mean, modal, and minimum gray values than hemangioma. Aspect ratio and standard deviation showed no significant differences.

Multivariate analysis of malignancy on image analysis

Univariate findings revealed significant differences in circularity, solidity, median, mean, modal, and minimum gray values. Multivariate analysis showed circularity [standardized odds ratio (OR), 2.077; 95 % confidential interval (CI) = 1.295–3.331; P = 0.002] and minimum gray value (OR 0.482, 95 % CI = 0.956–0.990, P = 0.001) as factors predictive of malignancy (Table 4).

Table 4 Multivariate logistic regression for diagnosis of malignancy

Diagnostic accuracy of combining subjective judgment and image analysis

The prevalence of halo, mosaic pattern, and lateral shadows in the malignancy (HCC and metastasis) group and hemangioma group was 47.4 % vs. 6.8 % (P = 5.88 × 10−7), 24.6 % vs. 3.4 % (P = 9.73 × 10−4), and 31.6 % vs. 3.4 % (P = 4.64 × 10−5), respectively.

When two of the predictive factors based on subjective judgment (halo, mosaic pattern, or lateral shadow) were positive, the area under the curve (AUC) for malignancy was 0.623 (sensitivity 26.3 %; specificity 98.3 %).

Regarding imaging analysis, circularity offered 54.4 % sensitivity, 78.3 % specificity, and 0.888 cutoff with AUC = 0.704. Minimum gray value offered 68.4 % sensitivity, 75.0 % specificity, and 22.0 cutoff with AUC = 0.701.

The combination of subjective judgment and image analysis provided 58.3 % sensitivity and 89.5 % specificity with AUC = 0.739, representing an improvement over subjective judgment alone (P = 0.008) (Fig. 5).

Fig. 5
figure 5

When either subjective judgment or one image analysis factor was positive, diagnostic accuracy of malignancy was improved over subjective judgment alone

Discussion

In this study, image analysis correlated with subjective judgment in terms of shape and surface, but echogenicity revealed some discordance. The diagnostic accuracy of malignancy was improved by adding image analysis to subjective judgment. Image analysis showed differences among HCC, liver metastasis, and hepatic hemangioma. HCC and metastasis showed higher circularity and solidity values and lower median, mean, modal, and minimum gray values compared to hemangioma. In other words, HCC and metastasis showed smoother outlines and more circular shapes, and were more hypoechoic compared to hemangioma.

Sonographic gray-scale findings of hepatic tumor have been described in various reports [1315]. Although color Doppler imaging and contrast-enhanced ultrasonography provide large amounts of information, gray-scale findings remain important to diagnose hepatic tumors. HCCs typically show features of a hypoechoic rim, mosaic pattern, posterior echo enhancement, and lateral shadows [13]. Hepatic hemangiomas have an irregular shape, clear borders, and hyperechoic rim [13, 15]. Previous reports have described 77.1 % of hemangiomas as hyperechoic [15]. Liver metastasis occasionally shows a thick hypoechoic rim appearing as a “bull’s eye” [16]. Morphological features of hepatic tumors have been decided based on the subjective opinions of operators rather than quantitative analysis to date. In the present study, image analysis revealed the form and color of each type of tumor.

Ultrasound image analysis for liver disease has been reported from various sources [16]. Research into quantitative analyses for chronic liver disease has been seeing progress, and texture analysis has been the predominant method. Although staging of liver fibrosis has typically been attempted in those studies [16], accuracy has not been as high as in liver biopsy. Various studies of quantitative sonographic image analysis for liver tumors have been published [3, 911]. These have revealed the possibility of differentiating between hepatic malignancies and hepatic hemangiomas based on texture analysis using wavelet packets [9], and superior-order co-occurrence matrices [10]. The above investigations aimed at maximizing accuracy for each hepatic nodule using computer-aided algorithms, but morphological features remained unknown. Our results revealed higher circularity and minimum gray values as specific findings compared with HCC and liver metastasis. Imaging analysis can thus provide detailed findings of lesions that human readers may not recognize.

Correlations between subjective judgment and image analysis were good for shape and surface of the hepatic nodules (Fig. 4). Circularity correlated with a round shape, and solidity correlated with a smooth surface. In contrast, no gray values other than standard deviation correlated with subjective judgment of echogenicity. This discrepancy can be explained by the fact that the reviewers judged echogenicity of the hepatic nodules based on differences between the nodule and hepatic parenchyma. On the other hand, the combination of subjective judgment and image analysis improved the diagnostic accuracy for malignancy in this study.

This study has several limitations that need to be considered when interpreting the results. First, free-hand drawing does not provide accurate sampling for the outline of hepatic nodules. Automating the creation of outlines is difficult in this software, even if the image threshold is adjusted. Validation of this free-hand method is provided in Fig. 3. Meanwhile, the minimum gray value does not depend on our measurement procedure, and is considered reliable. Recently, a method for tumor boundary detection using gradient vector flow was reported [17]. This technique would lead to improved quantitativity of image analysis. Second, although this method can be used to analyze two-dimensional images, three-dimensional data cannot be measured. Third, the morphology and color of HCCs and liver metastasis show various forms in each case. For instance, HCCs exhibit several morphological types: early HCC, single nodular type, single nodular type with extra-nodular growth, contiguous multi-nodular type, and poorly demarcated nodular type [18]. Hepatic hemangiomas are affected by patient position and respiration [19].

In the future, this method could be applied to other organs or imaging modalities. We believe that image analysis could “translate” various subjective expressions such as “smooth,” “rough,” “irregular,” or “round” to quantitative data.