A Deep Learning Algorithm for One-step Contour Aware Nuclei Segmentation of Histopathological Images
This paper addresses the task of nuclei segmentation in high-resolution histopathological images. We propose an automatic end-to-end deep neural network algorithm for segmentation of individual nuclei. A nucleus-boundary model is introduced to predict nuclei and their boundaries simultaneously using a fully convolutional neural network. Given a color normalized image, the model directly outputs an estimated nuclei map and a boundary map. A simple, fast and parameter-free post-processing procedure is performed on the estimated nuclei map to produce the final segmented nuclei. An overlapped patch extraction and assembling method is also designed for seamless prediction of nuclei in large whole-slide images. We also show the effectiveness of data augmentation methods for nuclei segmentation task. Our experiments showed our method outperforms prior state-of-the-art methods. Moreover, it is efficient that one 1000X1000 image can be segmented in less than 5 seconds. This makes it possible to precisely segment the whole-slide image in acceptable time.
deep learning, nulcei segmentation, fully convolutional neural network, data augmentation
With the progress of image processing and pattern recognition techniques, computer-assisted diagnosis(CAD) has been widely utilized to assist medical professionals to interpret medical images. Digital pathology,as an important aspect of CAD application, is earning more and more attention from both image analysis researchers and pathologists due to the advent of whole-slide imaging. Its aim is to acquire, manage and interpret pathology information generated from digitized glass slides, among which the development of computational algorithms to automatically analyze digital tissue images is the key. The potential applications of digital pathology span a wide range such as segmentation of desired regions or objects, counting normal or cancel cells, recognizing tissue structures, classifying cancer grades, prognosis of cancers, etc [, ]. It is able to dramatically decrease human’s workload and has the potential to work better than pathologists due to its objectiveness in the interpretation.
As an essential part of digital pathology, histopathology image analysis is playing increasingly important role in cancer diagnosis, which can provide direct and reliable evidence to diagnose the grade and type of cancer. This paper deals with nuclei segmentation, an important step in histopathological image analysis. The purpose of nuclei semgentation is not only counting the number of nuclei but also obtaining the detailed information of each nucleus. So unlike nuclei detection, here the outputs are the contour of each nucleus instead of only the position of their central points. Hence we can exactly extract each nucleus from the image and make it available for further analysis. For example, the features of the individual nucleus and the distribution of nuclei clusters can be used to grade and classify status of breast cancers [, ]. Because of appearance variation such as color, shape, and texture, nuclei segmentation from histopathological images could be very challenging, as illustrated in Fig.5, in which it is very challenging even for human to recognize and segment all nuclei within the images. Fig.5 and Fig.5 illustrate two histopathological images from different organs. Fig.5 and Fig.5 are two histopathological images from same organ but have different cancer grade.
The study of nuclei segmentation in histopathological images can be traced back to 10 years ago. A large number of methods have been proposed to pursue accurate segmentation on images of a variety of categories. The procedure of most traditional nuclei segmentation methods can be divided into two separate steps: first,detecting the nuclei and then obtaining each nucleus’ contour. The detection step is expected to generate the area of nuclei or the seed of each nucleus. One popular and convenient method to detect the nucleus is intensity thresholding as used in Otsu’s method[]. However, it has an obvious limitation: it only works under the scenario that all the nuclei in the images have consistent intensity differences against the background. Another popular approach for nuclei detection is clustering including K-mean clusting[], Grab Cut[] and etc. Furthermore, a few filtering based on methods have been proposed by utilizing the features of the nuclei[, ]. All of above methods have one common weakness: they are only effective for one or a few specific types of nuclei or images and are usually highly sensitive to manually set parameters. Since the appearances of nuclei are so diverse that we can hardly develop a single model or method suitable for all these different images. In recent years, supervised learning based approaches are becoming more and more attractive. They classify each pixel into one of two categories: nuclei or background[, , ]. After the nuclei detection stage yields the nuclei area, the next step would be splitting the touching and overlapped nuclei areas. This could be achieved by methods such as bottleneck detection[] and ellipse fitting[, ]. If the seed of a nucleus is generated, its contour could be obtained by using marker controlled watershed[, ] or region growing[].
Recently, deep learning based methods are becoming increasingly popular in image segmentation due to their dominating performance in many tasks of computer vision. They have significantly impacted all the research areas in computer vision such as object classification, object detection and segmentation. Since 2014, numerous convolutional neural network based image segmentation methods have been proposed. Long. et al firstly introduced fully convolutional neural network (FCN)[] to semantic segmentation. Compared to prior models, it is demonstrated that the FCN algorithm is much more efficient and accurate. Converting fully connected layers into convolutional neural networks makes it possible to predict the heatmap of the objects in the image that needs to be segmented. U-net [], an FCN based network architecture won the Grand Challenge for Computer-Automated Detection of Caries in Bitewing Radiography at ISBI 2015. Later, a skip-architecture first introduced in residual networks [] is also applied to fuse different levels of semantic information.
Inspired by the U-net algorithm[], we propose to apply the FCN network to the nuclei segmentation problem. Current deep learning methods for nuclei segmentation usually need complex post-processing procedure to obtain the final nuclei boundries. Naylor [] employs FCN to discriminate the nuclei from background and then applies the watershed method to split the nuclei. However the resulting boundaries are not accurate. Xing [] proposed a sophisticated shape deformation method to generate each nucleus’s boundary. Kumar[] designed a CNN3 model to predict the nuclei and its boundary from the image. But a time consuming post-processing step is needed. Here we designed an end-to-end fully convolutional neural network architecture for nuclei segmentation. Unlike prior binary classifiers [, , ], which only discriminate nuclei against the background, our nuclei-boundary segmentation model predicts the nuclei and their contours at the same time. Due to the accurate prediction of nucleus and boundary in our approach, the final segmentation can be generated by a simple and fast post-processing procedure. To segment the whole-slide image, a pixel-wise segmentation strategy is necessary. However the border area of each patch cannot be predicted accurately because of lacking contextual information. A seamless patch extraction and assembling method is proposed to handle this problem. The main contributions of this paper are as follows:
We propose a nuclei-boundary model to explicitly detect nuclei and their boundaries simultaneously from histopathology images. Detecting boundary is able to improve the accuracy of nuclei detection and help split the touched and overlapped nuclei. Given the raw segmentation results by our nuclei-boundary model, only a simple dilation operation and noise removing steps are needed to produce the final segmentation results.
We develop an effective approach to segment extra-large high-resolution images that U-net cannot handle due to limited GPU memory using a seamless patch-wise segmentation. A weighted loss map is utilized to train the model and a vote mechanism is used to assemble the patches.
Extensive studies on the effects of a variety of data augmentation methods for nuclei segmentation are provided.
We introduce four evaluation criteria for more accurate nuclei segmentation performance evaluation: missing detection rate, false detection rate, under-segmentation rate, and over-segmentation rate. They are designed to help the pathologist obtain more in-depth understanding of the performance of automatic segmentation methods and choose the right one for their specific application.
Our nuclei segmentation method adopts an end-to-end deep learning framework. The only preprocessing procedure is image color normalization. In the training phase, without extracting any features, even the H-channel, we directly apply the histopathology images in normalized RGB colors to the deep neural network to train the nucleus-boundary model. During the testing phase, the prediction result of raw normalized images yielded by the nucleus-boundary detector shows clear inside nuclei area and the boundaries. At last, we will obtain the area of each nucleus via a simple, fast and parameterless post-processing procedure. Fig.6 shows the procedure to segment nuclei from color normalized images in our algorithm.
2.2 Data Preprocessing
H&E stain is the most widely used stain protocol in medical diagnosis. Typically, the nuclei of cells are stained to blue by Haematoxylin while cytoplasm is colored to pink by Eosin. But in practice, the color of H&E stained images could vary a lot due to variation in the H&E reagents, staining process, scanner and the specialist who performs the staining, as shown in Fig.5. A few H&E stain normalization methods[, , ] have been proposed to eliminate the negative interference caused by color variation. We tried two of them[, ] to normalize the raw H&E stained images. For our segmentation algorithm, we did not find any considerable difference between these two normalization methods. Particularly, the result shown in experiment section 3 is generated based on the images normalized by the method in []. Given a target image, this method is able to convert one image’s color into the target image’s color space based on sparse non-negative matrix factorization(NMF). We choose one best stained H&E image as the target and convert other images into its color space. According to the recommendation in [], the hyper-parameter should be set between 0.01 and 0.1. In our experiment, is set to 0.1.
Intuitively, the pure Haematoxylin-channel grayscale image would be much easier than RGB images to distinguish the foreground (nuclei) from the background (cytoplasm). A large number of nuclei segmentation methods[, , ] employ some deconvolution algorithms to extract the H-channel from H&E stained images. However, based on our experiments, we noticed that our deep fully convolutional neural network extracts the nuclei from raw RGB images better than from H-channel grayscale images. The reason would be that the H-channel might miss some information that might be helpful for distinguishing nuclei and the cytoplasm. Given well-labelled training images, the deep neural network can then learn the optimal way to extract the features that discriminate between each category of samples. So we skip extracting H-channel and directly apply the RGB color image as the input to our deep neural network.
2.3 Nucleus-boundary model
Traditional supervised nuclei segmentation methods usually apply a binary classifier to segment the nuclei area and the background area by classifying each pixel. These methods usually predict the category of the central pixel given a small patch. To segment the whole image, it needs to extract all the sliding windows(patches) with stride of 1 pixel and predict each of these patches. The most limitation of this strategy is high computational complexity. For example, if there is an image of size 1000X1000 pixel, this method needs to process one million sliding windows in order to segment this single image. Nevertheless, the typical whole slide of histopathology image may have billions of pixels, making it impossible to process it in an acceptable time using this strategy. Instead, our method is based on fully convolutional network (FCN) framework, which allows predicting the category of all the pixels of an image with only one pass. The input of the network is one image, the output is the estimated class map.
The task of nuclei segmentation can be roughly divided into two stages: the first stage is extracting the foreground(nuclei), the second stage is segmenting the connected foreground area into separated nuclei and finding out the boundary of each nucleus. Our method intends to merge these two steps by extracting the nuclei and their edges at the same time. That is the reason why it is named ”nuclei-boundary(NB) model”. As shown in Fig.7, the output of the NB model has three channels, each has the same height and width with the input image. Its values represent the probabilities of each pixel being , or class, respectively. The manual annotation for our segmentation problem is the boundary of each nucleus. A pixel belonging to the class means that it is on or inside an annotated boundary and within 2 pixel from the boundary. Pixels of the class are those that are inside annotated boundary but are not pixels. Correspondingly, the output can be regarded as an RGB image and the estimated maps of the , and are represented by red, green and blue, respectively, as shown in Fig.7. To generate the ternary mask for training, we apply a morphology operator to each nucleus to obtain the pixels, and then subtract pixels from the nucleus to get pixels.
The architecture of our NB network
Fig.7 shows the network architecture of our algorithm, which consists of a couple of encoding and decoding layers. The encoding layers are used to extract different levels of contextual feature maps. The decoding layers are designed to combine these feature maps produced by the encoding layers to generate the desired segmentation maps. Due to the memory limitation of our GPU, the size of the input layer is set to 128X128 in our experiments. But we noticed that larger input layer may lead to better performance. The weight of each convolutional layer is initialized by glorot uniform[] and bias is initialized to 0. The glorot uniform is defined as:
where means the initialized weight, means the size of the convolutional layer .
The scaled exponential linear units(SELUs) [] activation function is used in all convolutional layers. SELUs is designed to make the forward neural network(FNN) to have self-normalizing capability[]. The FNN using SELUs are shown to be able to outputperform the ones using explicit normalization methods, such as batch normalization, layer normalization, and weight normalization. This is why our network does not have any normalization layers. The selu activation function is defined as:
where and . The padding property of each convolutional layer is the ’same’ in order to ensure it keeps the same size with its previous layer. The size of all convolutional filters is . Each convolutional layer is followed by a dropout layer with 0.2 drop rate. The network is trained by Adam optimizer[]. This stochastic optimization method is able to compute adaptive learning rate for each parameter. It automatically controls the learning rate along the training, so it is not necessary to manually set the momentum and decay.
Deep learning models often have millions of parameters so that it needs large-scale sample dataset to avoid the overfitting problem. In fact, the datasets of our nuclei segmentation task often contain only tens of images. Moreover, labeling an 1000*1000 image which contains hundreds of nuclei usually cost a specialist at least 5 hours. Hence it is impossible to manually label sufficient and nuclei boundaries accurately for training deep learning models. Data augmentation is an essential approach to overcome the over-fitting problem caused by lacking samples. The training samples, i.e.the patches, are randomly extracted from the H&E stained images in the training datasets. Five augmentation techniques are used together in our experiments including random elastic transformation, rescale, affine transformation, shift, flip and rotate. Each training sample(one patch extracted from a whole image) as well as the corresponding target are processed by the data augmentation procedure. Given a training sample, which is a RGB image with its corresponding ground truth , we transform to and to . and are the real input and target of the neural network. The rescaling factors are set as a random number between 0.5-1.5. We employ Simard’s method[] to do elastic transforming. Two hyper-parameters and need to be manually set to control how dramatic the original image is transformed. In our experiment, is set to a random number between 100-200, is set to 12.
Besides transforming the input sample, it is necessary to do the same transformation on targets to maintain consistency. The one-hot encoding target consists of only binary values. However, the transformed target has some float-point numbers caused by bilinear interpolation we used for elastic transformation. They need to be binarized by the following rules:
Let the value of one pixel is , where , and represents the label for , and respectively.
1. if , , else
2. if and , , else
3. if or , , else
An example of data augmentation is illustrated in Fig.12.
The U-net[] model tends to predict the pixels with full context in the input image, which leads to generation of a smaller segmentation map than the input image. The border area of the input image is not predicted because of lacking enough context information. This strategy can solve the problem that the prediction of the border area is not accurate to some extent. One issue of this is that this U-net defines a fixed-size border area whose size is not changable without modifying the network structure. However, in practice, the border area size could vary in different histopathological images and it mainly depends on the size of the nuclei. Another limitation is that we have to do some cropping operation in neural network training to make the size of layers match each other, which might lose useful surrounding information.
As a trade-off of these issues, we designed a weighted loss and a scheme for patch extraction and assembling to allow the neural network to predict an segmentation map of equal size without concerning the lack of context issue in the border area.
The model is trained by minimizing the categorical softmax cross-entropy loss between predictions and targets, which is described in eq.2:
where denotes the true label of the pixel at (i,j) position, is the output of soft-max activation layer which indicates the probability of the pixel at (i,j) being . is the proposed weight map, which is defined as:
where is the weight of position i, j, , is the distance from border, denotes the distance from center. and are the height and width of the map, respectively.
Extra-large Image Segmentation Using Overlapped Patch Extraction and Assembling
Current medical image segmentation algorithms based on U-net and its derivatives has an unsolved problem for segmenting extra-large high-resolution histopathological images: due to the limited memory of the GPU, it is possible to feed the whole slide image into the deep neural network. It has to be cut into patches and perform patch-wise training and prediction. However, there is no reported solution for deal with this issue.
With close examination, we found the the main issue of U-net algorithm on patch-based segmentation is that the prediction at the border area is not accurate as demonstrated in 38. Here we propose an overlapped patch extraction and assembling method. The patches are extracted by sliding window with a stride. For assembling, a vote mechanism is applied to predict each pixel using
where is the final prediction of the pixel at position (i,j) in an image. means the position of it in the patch.
From Fig.18, we can see that the raw prediction results already show clear nucleus areas and boundaries. Due to this reliable prediction results, we no longer need the complex region growing algorithms [, ] and splitting algorithms [] to extract the final segmented areas. These methods usually strongly rely on manual parameter tuning to get good performance and is computationally demanding. Instead, we use a parameter-free postprocessing procedure that runs in a negligibly short time. Since our NB model detects both and classes, all we need is the class map. Then the class map is transformed to a binary map using a constant threshold . In this way, each connected component in the binary image indicates the area of one nucleus. At the end, in order to recover the shape, we can simply apply the dilation operation to each connected component.
3.1 Evaluation criteria
Two level of criteria are usually used to measure the performance of nuclei segmentation methods: one is object-level criteria, another is pixel-level criteria. The most common object-level criteria for object detection tasks include , , . is defined as:
is defined as:
considers both of the and , as shown in following equation.
where the is true positives, means false positives and means false negatives. Given a manually labelled ground truth nucleus , if there is one nucleus in automatic segmentation result that matches , can be counted as one .
is the harmonic average of and and its value is in the range of [0,1].
We noticed that can be caused by two different types of errors: one is miss-detection(nuclei is predicted as cytoplasm), another is under-segmentation(Multiple ground truth nuclei are detected as one nucleus, hence only one of these nuclei ground truth nucleus has corresponding detected nucleus.).Similarly, consists two types of errors: one is false detection (Cytoplasm is detected as nuclei), another is over-segmentation(One ground-truth nucleus is segmented into several nuclei. Each of them is a part of the ground truth nucleus and at most only one among them can be considered as the corresponding detected nucleus). Let us think about this situation: one segmentation method is weak on discriminating the nuclei and cytoplasm while another one is weak on splitting the nuclei area. But they may have similar and , even . Apparently, , , and their combination fail to differentiate the performance of these two segmentation methods. To handle this issue, we introduce four new criteria to evaluate automatic nuclei segmentation methods: missing detection rate(MDR), false detection rate(FDR), under-segmentation rate(USR), over-segmentation rate(OSR), as shown in Eq. 4.
where is the number of missing detections, indicates the number of false detections, means the number of nuclei which are not detected caused by undersegmentation. is the number of ground truth nuclei in the region of , which can be defined as . means the number of false positives caused by oversegmentation and means the number of segmented nuclei in the region of ’s corresponding ground truth nuclei, which can be defined as . The combination of and measures the capacity of discriminating the nuclei and cytoplasm while the combination of and measures the performance of handling overlapped nuclei area. On the other hand, value is negatively correlated with and while is negatively correlated with and . These four criteria are able to help pathologists to select proper automatic segmentation methods for specific tasks.
The pixel-level criteria are used to measure the accuracy of a segmentation algorithms in predicting the shape and size of the detected nuclei. The most essential one is Dice’s coefficient, which is defined as:
where indicates a manual segmentation and means its corresponding automatic segmentation. That is, a manual segmentation is considered as a FP if there is no corresponding automatic segmentation with a Dice coefficient of at least 0.2.
We evaluate the performance our method on three public available nuclei segmentation datasets. One is a multiple organ H&E stained image dataset[](MOD). It consists of 30 images which were captured from 7 organs: breast, liver, kidney, prostate, bladder, colon and stomach. The resolution of each image is 1000X1000. Totally, about 21,000 nuclear boundaries are manually annotated. These 30 images are split into two subsets: the training set with 16 images composed of 4 from breast, 4 from liver, 4 from kidney and 4 from prostate and the test set with 14 images composed of 2 images from each organ.
The second dataset is the breast cancer histopathology image dataset(BCD). It contains two subsets: subsetA and subsetB. SubsetA includes 21 images and subsetB has 18 images. In [], SubsetA is used to tune the parameters. In a similar way, we utilize subsetA as the training set and subsetB as the test set. Since one image may contains thousands of nuclei, it is impractical to manually label all the training images. We randomly select five images from subsetA and crop a 1000*1000 subimage from each of them to build the training set. It is manually annotated under the supervision of a specialist.
The third one is also a breast cancer image dataset(BNS)[]. It is composed of 33 H&E stained images of size 512X512 from 7 triple negative breast cancer patients. There are totally 2754 manually annotated nuclei.
3.2 Experiment result
Figure 18 shows how our method segments the nuclei step by step. The color variety is well controlled by the color normalization procedure. The prediction result shows clear nuclear areas and nucleus boundaries. In the final segmentation result and ground truth image, each nucleus is represented by a different color.
First, We test our method on the MOD dataset. Unfortunately, the dataset publicly provided online doesn’t explicitly divide the whole dataset into the training set and test set. We do not know which image belongs to the training set exactly as introduced in their paper []. To make a fair comparison, we randomly select 16 images from breast, liver, kidney and prostate. Then we combine the remaining 8 images of these four types and the 6 images from bladder, colon and stomach to build the test images. 12000 patches are randomly extracted from 12 training images to train our model. To eliminate the bias caused by random selection, 5 different training sets and the corresponding test sets are randomly generated. Then the model is trained and tested on the 5 pairs of training set and test set separately. All of the models are trained for 300 epoch in 7.5 hours. For testing, the stride of overlapped patch extraction is set to 64. The quantitative comparison is listed in Table 1, which demonstrates that our method outperforms the state-of-the-art method CNN3 as reported in [] in terms of both F1 score and Dice’s Coefficient. Moreover, it shows that the under-segmentation error is much more significant than over-segmentation error and it achieves a balance between the false detection error and missing detection error. Figure 23 shows a visual comparison between our method and []. As shown in the sample images, our segmentation result has fewer false negatives and higher accuracy in terms of nuclei boundaries than []. Our method is not only more accurate but also much faster. It takes about 5 seconds to predict a 1000 * 1000 image by one Nvidia Titan X GPU and the time used for post-processing is less than 0.1 seconds. Given the same hardware environment and test images, [] takes about 4 minutes to predict one image and 80 seconds to do the post-processing. Additionally, a 10-folder cross-validation is performed to validate our method. The result is shown in Table 1 NB model *.
|NB model 1(our method)||0.813||0.914||0.854||0.812||0.09||0.09||0.09||0.01|
|NB model 2||0.861||0.856||0.846||0.808||0.05||0.13||0.08||0.03|
|NB model 3||0.880||0.864||0.854||0.818||0.07||0.11||0.05||0.03|
|NB model 4||0.812||0.925||0.861||0.805||0.09||0.07||0.09||0.01|
|NB model 5||0.814||0.910||0.846||0.803||0.10||0.08||0.10||0.01|
|NB model *||0.845||0.892||0.850||0.81||0.06||0.11||0.02||0.08|
To show the benefit of our proposed evaluation metrics for nuclei segmentation, we compared the performance of our algorithm and the baseline CNN3 over two images with similar precision and recall, but different segmentation quality. As shown in Fig. 26, the CNN3 algorithm got similar precision and recall scores on these two images. From our proposed criteria, we can find that the segmentation error on the first image is mainly caused by under-segmentation and false detections while that it is mainly caused by oversegmentation, missing detection and false detection in the second image. This observation can be verified by the sample segmentation result.
Second, we test our method on the BCD dataset.The manually labeled training set consists of five 1000*1000 images. Instead of training the models from random initialization, we use the training data to fine-tune the network model trained on the MOD dataset. Thus the model would adjust to a new dataset with much shorter time by training on a limited training set for a small number of epochs. In this experiment, only 2000 patches are extracted to fine-tune the pre-trained model. It takes about 10 seconds to train one epoch and the training is terminated after 70 epochs. Figure 30 shows the visual comparison between our algorithm and algorithm in [] in terms of segmentation results. At last, we follow the same strategy in [] to validate our method. The strategy is called leave-one-patient-out cross-validation. That is every time we train the model on 6 patient and use the rest one for validation. Table 2 shows that our method outperforms the state-of-the-art breast cancer nuclei segmentation method by a large margin in terms of precision, recall and F1 score.
Data augmentation for fully convolutional networks
Data augmentation is a widely used technique to handle the overfitting issue caused by limited training samples. In image segmentation tasks, one can generate more images from one image using image transformation methods. The most common methods include rotation, flipping, shifting and rescaling. Elastic deformation transform, a higher level transformation method, is also employed in some image segmentation works. Ronneberger et al. [] claim that elastic deformation is the key method to do data augmentation for a segmentation network with very limited annotated images.
However, to the best of our knowledge, there is no systematic study of the effectiveness of these image transformation methods for nuclei segmentation using a fully convolutional network. We compare different training processes using rotation, flipping, shifting, rescaling and elastic deformation transform to augment the training data. To make fair comparisons, we let the training set and validation set have similar appearances by splitting each whole image into two sub-images and placing one in the training set and another one in the validation set. We randomly extract 6000 patches from the training set to train our neural networks and 6000 patches from the validation set for validation. The setting of these transformation methods is same with those reported in section 2.3.2. The comparison is shown in Fig.33. ’no’ means don’t apply data augmentation. ’combination’ means data augmentation is performed by combining elastic deformation, flip, rotate, shift and rescale. It is very clear that without data augmentation, the network has severe overfitting issue, validation loss starts to increase rapidly from epoch 5. Unexpectedly, rotating rather than elastic deformation has achieved the best performance in performance improvement. But only rotating operation still cannot prevent the overfitting. One has to combine all of these transform methods together to do data augumentation to get good performance as done in this paper.
Nuclei Segmentation on Extra-large Images
To evaluate the effectiveness of the proposed weight map and overlapped patch extraction and assembling method for extra-large image segmentation, we compared the segmentation results with and without the proposed method in Fig. 38. We can see that the raw segmentation results without using those two techniques contain obvious seams between the patches. It also demonstrates that the predictions in the border area is not accurate. As shown in Fig. 38, if we employ the overlapped patch extraction and assembling but without the weight map (which means all the pixels in a patch have the same weight) the segmentation result still shows noticeable seams. Fig.38 and Fig. 38 has the same stride, which is 64.
NB model versus the mixed nucleus model + boundary model
An alternative way to detect nuclei and their boundaries is training two binary classifiers to detect and the boundary separately and then merge the detections together. We apply the same method with our NB model to train the nucleus model and boundary model except that the three-class classification is replaced by binary classification. Fig. 39 depicts why the NB model outperforms the mixed nucleus model + boundary model. The NB model is able to learn the latent relationships between , and . That is, there should be no gaps between and class and should not cross the class. From the samples shown in Fig. 39, we can easily find out that NB model predicts the class and class more precisely.
In this paper, we have presented a state-of-the-art supervised fully convolutional neural network method for nuclei segmentation in histopathological images. First, the histopathological images are normalized into the same color space. To handle the extra-large image issue, one whole image is split into overlapping patches for succeeding processing. Next, we propose a novel nucleus-boundary model to detect nuclei and boundaries on each patch. Then the predictions of all the patches are seamlessly reassembled to build the raw prediction result of the whole image. At the end, we apply a fast and non-parameter post-processing to generate the final nuclei segmentation results. The nucleus-boundary model is trained on very limited number of images and has been tested on the images that may have different appearances. Comparison with the state-of-the-art algorithm shows that our proposed method is accurate, robust, and fast. It is also found that our idea of simultaneous nucleus-boundary identification model can be applied to other image segmentation tasks such as cell segmentation, bacteria segmentation and so on.
We gratefully acknowledge the support of NVIDIA Corporation with the donation of the Titan X Pascal GPU used for this research.
- M. Veta, J. P. Pluim, P. J. van Diest, and M. A. Viergever, “Breast cancer histopathology image analysis: a review,” IEEE Trans Biomed Eng, vol. 61, no. 5, pp. 1400–1411, May 2014.
- Z. Gandomkar, P. C. Brennan, and C. Mello-Thoms, “Computer-based image analysis in breast pathology,” J Pathol Inform, vol. 7, p. 43, 2016.
- S. Nawaz and Y. Yuan, “Computational pathology: Exploring the spatial dimension of tumor ecology,” Cancer letters, 2015.
- J.-M. Chen, A.-P. Qu, L.-W. Wang, J.-P. Yuan, F. Yang, Q.-M. Xiang, N. Maskey, G.-F. Yang, J. Liu, and Y. Li, “New breast cancer prognostic factors identified by computer-aided image analysis of he stained histopathology images,” Scientific reports, vol. 5, 2015.
- N. Otsu, “A threshold selection method from gray-level histograms,” Automatica, vol. 11, no. 285-296, pp. 23–27, 1975.
- P. Filipczuk, M. Kowal, and A. Obuchowicz, “Automatic breast cancer diagnosis based on k-means clustering and adaptive thresholding hybrid segmentation,” in Image processing and communications challenges 3. Springer, 2011, pp. 295–302.
- C. Rother, V. Kolmogorov, and A. Blake, “Grabcut: Interactive foreground extraction using iterated graph cuts,” in ACM transactions on graphics (TOG), vol. 23, no. 3. ACM, 2004, pp. 309–314.
- Y. Al-Kofahi, W. Lassoued, W. Lee, and B. Roysam, “Improved automatic detection and segmentation of cell nuclei in histopathology images,” IEEE Transactions on Biomedical Engineering, vol. 57, no. 4, pp. 841–852, 2010.
- M. Veta, P. J. van Diest, R. Kornegoor, A. Huisman, M. A. Viergever, and J. P. Pluim, “Automatic nuclei segmentation in h&e stained breast cancer histopathology images,” PloS one, vol. 8, no. 7, p. e70221, 2013.
- A. Mouelhi, M. Sayadi, F. Fnaiech, K. Mrad, and K. B. Romdhane, “Automatic image segmentation of nuclear stained breast tissue sections using color active contour model and an improved watershed method,” Biomedical Signal Processing and Control, vol. 8, no. 5, pp. 421–436, 2013.
- J. Xu, L. Xiang, Q. Liu, H. Gilmore, J. Wu, J. Tang, and A. Madabhushi, “Stacked sparse autoencoder (ssae) for nuclei detection on breast cancer histopathology images,” IEEE transactions on medical imaging, vol. 35, no. 1, pp. 119–130, 2016.
- K. Sirinukunwattana, S. E. A. Raza, Y.-W. Tsang, D. R. Snead, I. A. Cree, and N. M. Rajpoot, “Locality sensitive deep learning for detection and classification of nuclei in routine colon cancer histology images,” IEEE transactions on medical imaging, vol. 35, no. 5, pp. 1196–1206, 2016.
- M. Liao, Y.-q. Zhao, X.-h. Li, P.-s. Dai, X.-w. Xu, J.-k. Zhang, and B.-j. Zou, “Automatic segmentation for cell images based on bottleneck detection and ellipse fitting,” Neurocomputing, vol. 173, pp. 615–622, 2016.
- H. Su, F. Xing, J. D. Lee, C. A. Peterson, and L. Yang, “Automatic myonuclear detection in isolated single muscle fibers using robust ellipse fitting and sparse representation,” IEEE/ACM Transactions on Computational Biology and Bioinformatics, vol. 11, no. 4, pp. 714–726, 2014.
- N. Kharma, H. Moghnieh, J. Yao, Y. P. Guo, A. Abu-Baker, J. Laganiere, G. Rouleau, and M. Cheriet, “Automatic segmentation of cells from microscopic imagery using ellipse detection,” IET Image Processing, vol. 1, no. 1, pp. 39–47, 2007.
- A. Qu, J. Chen, L. Wang, J. Yuan, F. Yang, Q. Xiang, N. Maskey, G. Yang, J. Liu, and Y. Li, “Two-step segmentation of hematoxylin-eosin stained histopathological images for prognosis of breast cancer,” in Bioinformatics and Biomedicine (BIBM), 2014 IEEE International Conference on. IEEE, 2014, pp. 218–223.
- F. Xing, Y. Xie, and L. Yang, “An automatic learning-based framework for robust nucleus segmentation,” IEEE transactions on medical imaging, vol. 35, no. 2, pp. 550–566, 2016.
- J. Long, E. Shelhamer, and T. Darrell, “Fully convolutional networks for semantic segmentation,” in Proceedings of the IEEE Conference on Computer Vision and Pattern Recognition, 2015, pp. 3431–3440.
- O. Ronneberger, P. Fischer, and T. Brox, “U-net: Convolutional networks for biomedical image segmentation,” in International Conference on Medical Image Computing and Computer-Assisted Intervention. Springer, 2015, pp. 234–241.
- K. He, X. Zhang, S. Ren, and J. Sun, “Deep residual learning for image recognition,” in Proceedings of the IEEE conference on computer vision and pattern recognition, 2016, pp. 770–778.
- P. Naylor, M. Laé, F. Reyal, and T. Walter, “Nuclei segmentation in histopathology images using deep neural networks,” in Biomedical Imaging (ISBI 2017), 2017 IEEE 14th International Symposium on. IEEE, 2017, pp. 933–936.
- N. Kumar, R. Verma, S. Sharma, S. Bhargava, A. Vahadane, and A. Sethi, “A dataset and a technique for generalized nuclear segmentation for computational pathology,” IEEE Transactions on Medical Imaging, 2017.
- A. Vahadane, T. Peng, S. Albarqouni, M. Baust, K. Steiger, A. M. Schlitter, A. Sethi, I. Esposito, and N. Navab, “Structure-preserved color normalization for histological images,” in Biomedical Imaging (ISBI), 2015 IEEE 12th International Symposium on. IEEE, 2015, pp. 1012–1015.
- A. M. Khan, N. Rajpoot, D. Treanor, and D. Magee, “A nonlinear mapping approach to stain normalization in digital histopathology images using image-specific color deconvolution,” IEEE Transactions on Biomedical Engineering, vol. 61, no. 6, pp. 1729–1738, 2014.
- M. Macenko, M. Niethammer, J. Marron, D. Borland, J. T. Woosley, X. Guan, C. Schmitt, and N. E. Thomas, “A method for normalizing histology slides for quantitative analysis,” in Biomedical Imaging: From Nano to Macro, 2009. ISBI’09. IEEE International Symposium on. IEEE, 2009, pp. 1107–1110.
- Y. Cui and J. Hu, “Self-adjusting nuclei segmentation (sans) of hematoxylin-eosin stained histopathological breast cancer images,” in Bioinformatics and Biomedicine (BIBM), 2016 IEEE International Conference on. IEEE, 2016, pp. 956–963.
- P. Wang, X. Hu, Y. Li, Q. Liu, and X. Zhu, “Automatic cell nuclei segmentation and classification of breast cancer histopathology images,” Signal Processing, vol. 122, pp. 1–13, 2016.
- X. Glorot and Y. Bengio, “Understanding the difficulty of training deep feedforward neural networks,” in Proceedings of the Thirteenth International Conference on Artificial Intelligence and Statistics, 2010, pp. 249–256.
- M. Herrera de la Muela, E. Garcia Lopez, L. Frias Aldeguer, and P. Gomez-Campelo, “Protocol for the BRECAR study: a prospective cohort follow-up on the impact of breast reconstruction timing on health-related quality of life in women with breast cancer,” BMJ Open, vol. 7, no. 12, p. e018108, Dec 2017.
- G. Klambauer, T. Unterthiner, A. Mayr, and S. Hochreiter, “Self-normalizing neural networks,” arXiv preprint arXiv:1706.02515, 2017.
- D. Kingma and J. Ba, “Adam: A method for stochastic optimization,” arXiv preprint arXiv:1412.6980, 2014.
- P. Y. Simard, D. Steinkraus, J. C. Platt et al., “Best practices for convolutional neural networks applied to visual document analysis.” in ICDAR, vol. 3, 2003, pp. 958–962.
- M. Paramanandam, M. OâByrne, B. Ghosh, J. J. Mammen, M. T. Manipadam, R. Thamburaj, and V. Pakrashi, “Automated segmentation of nuclei in breast cancer histopathology images,” PloS one, vol. 11, no. 9, p. e0162053, 2016.
- H. Noh, S. Hong, and B. Han, “Learning deconvolution network for semantic segmentation,” in Proceedings of the IEEE International Conference on Computer Vision, 2015, pp. 1520–1528.