Keywords

1 Introduction

Stroke is the leading cause of disability and second leading cause of death worldwide [1]. Diagnosis and treatment decisions of patients with ischemic and hemorrhagic stroke depend heavily on radiological imaging. Recently, various automated methods of CT image analysis of stroke patients have been introduced: infarct core quantification [2], hemorrhage quantification [3], and ASPECTS scoring [4]. In these methods, accurate ventricle segmentation plays a key role in correctly locating and quantifying these lesions.

Several methods have been proposed for segmenting the ventricles either in healthy or slightly deformed brains. These methods were based on techniques such as region growing [5, 6], cognition network [7], low-level segmentation combined with high-level template matching [8], and active model-based segmentation [9,10,11]. In stroke patients, severe deformation of the brain is quite common. However, this deformation issue is not normally addressed in existing literatures. In general, ventricle segmentation for stroke patients shared a common trait, such as difficulty in distinguishing infarct regions from the ventricles due to similar intensity and also the stroke regions are often located adjacent to the ventricle. For example, in ischemic stroke patients, the density of infarct regions can be in the proximity of that of cerebrospinal fluid (CSF) within the ventricles. Moreover, in other cases such as hemorrhagic stroke, blood often leaks inside the ventricles, yielding problems with existing segmentation methods.

Up to now, only several ventricle segmentation methods that are dedicated for stroke patients have been proposed [10, 12, 13]. These studies, however, focused on either ischemic or hemorrhagic stroke patients, but not both. We tried to take an approach from the perspective of brain deformation due to stroke.

The aim of our study was to design a robust automated ventricular segmentation method for CT images suitable for patients with severe brain deformation due to ischemic or subarachnoid hemorrhagic stroke to aid subsequent image analyses, such as infarct quantification and subarachnoid hemorrhage detection tools.

2 Materials and Methods

2.1 Patient Selection

Early follow-up whole-brain non-contrast CT (NCCT) image data of 50 patients with a clinical diagnosis of ischemic stroke or subarachnoid hemorrhage (SAH) were collected. Brain image data with 5 mm slice thickness were used, resulting in volumes with 24–51 slices. We retrieved 1-week follow-up NCCT image data of ischemic stroke patients from the MR CLEAN database [14], while baseline NCCT image data of SAH patients were retrieved from the local data base from our institute. From our initial image database of 50 patients, patients with hemicraniectomy (n = 4) and incomplete image data (n = 11) were excluded. The image data were anonymized before analyses.

2.2 Method Overview

The proposed ventricle segmentation approach is based on localized region-based active contours [15]. Since active contours require a good initial estimation, we divided our method into two stages: (1) initial contour estimation using atlas-based ventricle segmentation and (2) active contours based ventricle segmentation.

First stage: Initial contour estimation.

In the first stage, we performed an atlas-based segmentation on skull-stripped brain images. The skull-stripping algorithm is performed using a thresholding operation [3] to exclude the skull and non-brain tissues from the subject image. We considered regions >100 HU as the skull and excluded them from the brain image. Registrations were performed using open source software Elastix (version 4.3; http://elastix.isi.uu.nl) [16, 17] with mutual information set as similarity measure. Rigid, affine, and B-splined (grid spacing: 15 mm) transformations were applied sequentially. Subsequently, we applied the transformation parameter from the registered image to the ventricle atlas. For this purpose, we used an in-house-developed ventricle atlas that contains labels of the two lateral ventricles, third ventricle, fourth ventricle, and nonventricular CSF regions. The atlas-based segmentation resulted in masks of the ventricles of the patient image (See Fig. 1).

Fig. 1.
figure 1

Examples of atlas-based segmentation on a skull-stripped image (First column shows the original brain image with skull, second column shows the brain image without skull (regions >100 HU excluded), third column shows the registered image, fourth column shows atlas-based segmentation on the skull-stripped image).

Subsequently in the masked areas, CSF and hemorrhage within the ventricles were segmented using density-based thresholding. All voxels within the masked image with a density of 0–16HU and 55–90HU were labeled as CSF and intraventricular blood respectively. Voxels with a density between 16 and 55 HU were considered as normal brain tissue.

The result of the procedure described above included false positives, which consist of adjacent infarct regions, adjacent hemorrhagic regions, and non-ventricular CSF regions, which mostly occur around the segmentation of lateral ventricles. To detect false positive regions, in every axial slice of the lateral ventricles, a connected component analysis was performed, subsequently followed by region growing operation on each of the components. The region growing was performed to include neighboring pixels with density slightly range slightly higher than the CSF segmentation [0–19 HU] to ensure connectivity to nonventricular CSF regions. When the result of region growing overlaps more than 75% with the original segmentation, the seed component is considered as a true positive. On the other hand, when the result spread towards previously unsegmented region, the component is removed from the original segmentation (See Fig. 2).

Fig. 2.
figure 2

Illustration of false-positives regions that were detected by region-growing algorithm. The component which was used as the seed is labelled as a potential leak and excluded from the refinement process

Second Stage: Active contours based ventricle segmentation.

Localized region-based active contours was used in the refinement stage [15, 18]. Uniform energy modeling was used as internal energy measure. The foreground (CSF/ventricle) and background (white matter, gray matter) are modeled as constant intensity values represented by their means. Because of the large differences between in-plane resolution and slice thickness, active contours was applied in 2D axial slices rather than in a 3D volume, with the following parameters: radius of local area (rad = 10), coefficient curvature regularization term (α = 0.001), smoothness (ε = 10), number of iterations (n = 500). This 2D approach also allowed the active contours to filter out small noise regions.

We first performed active contours on the main slice of the lateral ventricles. We defined the main slice as the axial slice that contains the largest two-dimensional (2D) connected component from the initial estimation. For the main slice, the initial segmentation from the previous stage is used as the initial contour. The segmentation result from the main slice is then used to calculate patient-specific CSF threshold. This segmentation result is propagated to its adjacent inferior and superior slices to be used as an input for the next initial contour.

Subsequently, the third, fourth, and the remainder of lateral ventricles slices were segmented using active contours in a propagative manner. This order was chosen due to the interconnectedness of the ventricle regions. To compensate to the large distance between slices, initial contours were obtained by combining the estimation from the first stage and the projection from the segmentation from the previous slice, masked with the patient-specific CSF threshold.

Finally, intraventricular calcification regions were identified to be included as ventricles in the segmentation. In slices that contain the posterior and inferior horns (axial slices between the roof of the 3rd and roof of the 4th ventricle); dilation morphological operation with a structuring element of 5 × 5 mm was applied to include calcifications.

2.3 Accuracy

Ventricles in 35 CT images (17 ischemic stroke and 18 SAH patient images) were manually delineated by trained observers and when necessary corrected by experienced radiologists (L.F.B and C.B.M, both with >10 years of experience). The manually delineated ventricles were used as reference standard to evaluate the accuracy of our method.

The accuracy was measured by calculating the Intraclass Correlation Coefficient (ICC) and performing Bland-Altman analysis. Furthermore, the Dice similarity coefficient (DSC) between the automated and manual segmentation was determined to calculate the overlap.

3 Results

The automated segmentation was successfully performed on all 35 NCCT images (17 ischemic stroke and 18 SAH patients) without any manual intervention or adjustment. The median ventricle volume was 33.2 mL [IQR: 23.7–43.2] and 28.1 mL [IQR: 25.5–45.9], according to the automated and manual delineations, respectively. The ventricle segmentation took 10–20 min per patient to complete on a Core i7, 2.67 GHz PC with 6 GB RAM. This execution time is without the time to perform the atlas-based segmentation, which took 15–30 min per patient. Some segmentation results are shown in Fig. 3.

Fig. 3.
figure 3

Examples of segmented ventricles (1st column represents the original atlas-based segmentations with false-positive regions. The 2nd column represents the segmentations after removal of the false-positive regions. The 3rd column represents the final segmentations. The last column represents the delineations by experts, which was used as a reference standard). On the first and second column cyan represents the lateral ventricles, green and red represent non-ventricular CSF regions. On the third and fourth column red represents the final segmentation. The first and second row show ischemic and subarachnoid hemorrhagic stroke patient images, respectively. (Color figure online)

The ICC of the automatic and manual ventricle volume measurement was excellent: 0.93 (95%CI 0.88–0.96; p < 0.001). Bland-Altman analysis indicated a mean difference in ventricle volume of 2 mL between the automatic and manual measurements, with limits of agreement ranging from −18 to 15 mL. The Dice coefficient of the manual and automatic measurements had a median of 0.79 [IQR: 0.72–0.84]. Overall, the accuracy for segmentations in ischemic stroke is higher compared to the SAH patients (ICC: 0.97 vs 0.88, DSC: 0.82 vs 0.72). Bland-Altman analysis also show narrower limits of agreement in the ischemic stroke segmentation compared to the SAH (−10 to 9.6 mL as opposed to −24 to 17 mL). See Table 1.

Table 1. Accuracy of manual ventricle volume measurement and comparison of the manual and automated segmentation.

Our method successfully distinguished between CSF and infarcts or hemorrhages. However, some minor leakages were still observed in 5 (14.3%) of the segmentations, for example into non-ventricular CSF regions, infarcts, and hemorrhages. Additionally, in some cases the proposed method did not recognize narrow or small regions such as the cerebral aqueduct between the third and fourth ventricle.

4 Discussion

We introduced an automated ventricle segmentation method in NCCT images of patients with ischemic stroke or SAH with a severely deformed brain. The segmentation method is fully automated and applicable to severely deformed brain. Evaluation with 35 patients showed a good agreement with manual assessment, with limits of agreement between −18 and 15 mL compared with the manual reference method. The accuracy of the automated method was high.

To our knowledge, the presented method is the first that is robust in segmenting ventricles in severely deformed brains for both ischemic stroke and SAH patients. Compared to previous methods [10, 12, 13], the accuracy of our method for ischemic stroke patients is slightly lower. However, it should be noted that we only selected severely deformed ventricles in our study. In addition, the presented method works well in a wide range of ventricle size from our sample data. Previous studies reported some difficulties in segmenting small sized ventricles [12], while in other studies smaller size ventricles, such as the fourth ventricle [7, 9, 11] and third ventricle [5] were excluded in the process.

Recent study from Qian et al. [13] showed an impressive result in segmenting ventricle and distinguishing stroke regions. However, we find that the method relies on symmetry of the brain which is not often the case for severely deformed brain. Moreover, we tried to generalize our method to cover different cases of stroke and not specific to ischemic stroke.

We used atlas based segmentation for our initial contours by performing non-linear registration on skull-stripped brain images. We found this approach suitable for our cases with deformed brain. Other approaches, such as the above mentioned symmetric based approach is not suitable for our dataset. In terms of active contours segmentation, we used a propagated 2D approach instead of 3D approach in order to detect leaking as early as possible. By putting a size threshold on the contours, the extent of leakage is minimized. The novelty of our method lies in the removal of false-positives using region-growing algorithm. We took advantage of the leaking characteristics of region growing to detect false-positive segmentations.

In our study, we have chosen to develop a method that allows the segmentation of severely deformed ventricles for both ischemic stroke as well as subarachnoid hemorrhage patients. Alternatively, it could also be possible to combine two different segmentation techniques that are optimized for either ischemic stroke or subarachnoid hemorrhages and select the optimal result retrospectively. However, it was beyond the scope of this study to explore this strategy.

There are a few limitations in our method. Our method is computationally demanding. Even though the localized region-based active contours has shorter computation time compared to the global variant [15], our implementation took around 20–30 min per patient. A limitation is that we evaluated the accuracy on the same image data set as was used for its development. This may, therefore, overestimate its accuracy. Because of the limited number of severely deformed ventricles, we used the same dataset for both training and evaluation purposes.

Using our method, the accuracy of the segmentation in SAH patients was somewhat lower compared to ischemic stroke patients. In SAH patients, there is commonly a large amount of blood within or adjacent to the ventricle, especially around the posterior and inferior horns. The ventricle segmentation is the most difficult for these patients because of the indistinct boundary between intra-and-extra ventricular hemorrhages.

This automated approach enables a reproducible and observer-independent analysis. Our method offers the following improvements compared to previously presented methods: complete segmentation of all ventricles (lateral, third, and fourth ventricles), accurate in patients with subarachnoid hemorrhages, and a control to prevent excessive segmentation leakage to infarct and non-ventricular CSF regions.

There is still some room for improvement. Future work may address improvement of the initial contour estimation, reduction of computation time of the active contours, and improvement in the detection of intra vs. extra-ventricular hemorrhages.

We have presented a robust automatic method for ventricle segmentation in CT images of ischemic stroke and SAH patients with severely deformed brains. The segmentation accuracy is sufficient to assist additional automated methods that require ventricle segmentation such as the detection of infarcts and subarachnoid hemorrhages.