Skip to main content
The American Journal of Pathology logoLink to The American Journal of Pathology
. 2023 Apr;193(4):404–416. doi: 10.1016/j.ajpath.2022.12.011

Enhanced Pathology Image Quality with Restore–Generative Adversarial Network

Ruichen Rong ∗, Shidan Wang ∗, Xinyi Zhang ∗, Zhuoyu Wen ∗, Xian Cheng ∗, Liwei Jia †, Donghan M Yang ∗, Yang Xie ∗,‡,§, Xiaowei Zhan ∗,, Guanghua Xiao ∗,‡,§,∗
PMCID: PMC10123520  PMID: 36669682

Abstract

Whole slide imaging is becoming a routine procedure in clinical diagnosis. Advanced image analysis techniques have been developed to assist pathologists in disease diagnosis, staging, subtype classification, and risk stratification. Recently, deep learning algorithms have achieved state-of-the-art performances in various imaging analysis tasks, including tumor region segmentation, nuclei detection, and disease classification. However, widespread clinical use of these algorithms is hampered by their performances often degrading due to image quality issues commonly seen in real-world pathology imaging data such as low resolution, blurring regions, and staining variation. Restore–Generative Adversarial Network (GAN), a deep learning model, was developed to improve the imaging qualities by restoring blurred regions, enhancing low resolution, and normalizing staining colors. The results demonstrate that Restore-GAN can significantly improve image quality, which leads to improved model robustness and performance for existing deep learning algorithms in pathology image analysis. Restore-GAN has the potential to be used to facilitate the applications of deep learning models in digital pathology analyses.


Microscopic examination of tissue plays an important role in disease diagnosis, research, and patient care. For example, reading and interpreting hematoxylin and eosin (H&E)–stained tissue slides is the foundation of cancer diagnosis and staging. However, traditional manual examination of H&E tissue slides is laborious and time-consuming. In addition, some diagnostic tasks require experienced pathologists to distinguish subtle patterns, a process that is prone to error and inconsistency. Recently, with the advance of imaging technology, whole slide image scanning of tissue slides is becoming a routine clinical procedure and producing a massive amount of data that capture histopathologic details in high resolution. Furthermore, deep learning algorithms, especially convolutional neural networks (CNNs), have achieved promising performance in many image recognition benchmarks and in solving complex real-world problems.1, 2, 3 For example, state-of-the-art CNN-based algorithms can automatically extract intricate imaging representations of complex structures from large amounts of data.4 These algorithms greatly increase the efficiency and accuracy of imaging analysis.5, 6, 7

Classification and segmentation are two major categories for imaging analysis tasks. They are the foundation of most of the advanced analysis methods in pathology image analysis, such as tumor classification and segmentation,8, 9, 10, 11 nuclei segmentation,12, 13, 14, 15, 16 prognosis analysis,14,17 as well as integration of pathology imaging and genomic data.18 Classification aims to sort given images or patches into predefined categories, whereas segmentation aims to identify segments (eg, region, object, or pixels) of interest. Segmentation can be further categorized into two subcategories: semantic segmentation that assigns labels to every pixel of a given image and instance segmentation that further separates multiple objects of the same class as distinct objects. Because of the advancements in computational capacity and the scale of large labeled data sets (such as ImageNet,19,20 COCO,21 and PASCAL VOC22), several powerful and robust algorithms have been developed for image classification [such as VGG,23 ResNe(X)t,24,25 DenseNet,26 MobileNet version 1 to version 3,27, 28, 29 and EfficientNet30] and segmentation [such as U-Net,31 Deeplab(v3+),32,33 and Mask R-CNN34].

Although deep learning algorithms perform increasingly better in many computational challenges in biomedical imaging analysis, their performances often largely deteriorate when applied to digital pathology images.35 The generalization capability of these models is limited by diagnostic/labeling uncertainty and bias, biased patient cohorts, sample quality control variability, and frankly analytical shortcomings that often fail to capture concordance issues in anatomic pathology. Despite the above issue, image variations and quality also restrict the robustness of deep learning. For example, there are large variations in the quality of digital pathology slides in terms of the image sharpness, resolution, noise level, and amplification magnitude,36 caused by differences among tissue quality, reserving time, staining procedure, scanner types, and scanning condition. In H&E-stained histopathology image analysis, a well-known challenge is the color variation caused by variation in experimental parameters, such as slide thickness, stain concentration, time elapsed, and environmental temperatures on staining.37,38 These image quality issues and staining variations may cause suboptimal performances of deep learning models, hindering their real clinical applications. Two research directions can be taken to reduce the impact of image quality and staining variation on deep learning models:

  • i)

    Improve model robustness through transfer learning and data augmentation. Transfer learning and data augmentation are commonly used methods to enhance the robustness of deep learning models. However, training a robust deep learning model requires massive training data sets with large amounts of computational resources. As real data sets, especially for pathology images, have limited scale, transfer learning is an effective approach to improve model robustness, as it can borrow the knowledge from other large and comprehensive data sets to reduce the risk of overfitting on a small data set in the training process.39,40 Moreover, to further enhance the model robustness against potential unseen problems, image augmentations are often integrated into the training stage to mimic possible data varieties.41 Color augmentation, affine or projective transformation, and flipping are effective strategies to stabilize the model performance for color and shape variation.23,42 When using data augmentation to improve model generalization, the degree and pattern should be carefully limited to target irrelevant features.43

  • ii)

    Improve image quality. Because of the limitations of image quality and model architecture, not all problems can be tackled through transfer learning and data augmentation. For instance, blurred patches/regions decrease the performance of classification and semantic segmentation tasks that highly rely on local structure and details. Small crowded objects limit the performance of instance segmentation algorithms, such as Mask R-CNN.44, 45, 46 Therefore, in digital pathology, instance segmentation algorithms are usually trained on high-magnification pathology images (20× and 40×) and are hard to apply to low-magnification images (10× and 5×) by transfer learning. In addition, staining and color variations across different pathology slides could reduce the performance of deep learning methods in digital pathology, and proper color normalization could improve the performance under this scenario. Thus, proper image enhancing techniques are necessary to compensate for the weakness of existing deep learning models in addition to transfer learning and data augmentation. In this direction, researchers have proposed various methods in improving the quality47,48 and normalizing the staining variation49, 50, 51, 52 in the digital pathology area.

In this study, an algorithm was developed to enhance image qualities until the resulting images had high fidelity and resolution. The best algorithms to achieve this goal are the Generative Adversarial Network (GAN) and its variations. GAN is a class of machine learning models built with two competing subnetworks: a generator network and a discriminator network.53 In the training stage, the generator network learns to generate fake images that are hard to distinguish from real images by the discriminator. Meanwhile, the discriminator network aims to separate the generated fake images from real images. Once competition between the discriminator and the generator reaches equilibrium, the generator is able to produce like-real images that cannot be distinguished by the discriminator. Unlike conventional generative models (eg, Variational Autoencoders54) that sample from an explicitly learned distribution from data, GAN skips the process of fitting distributions but implicitly masters the way of sampling directly. Thus GAN-synthesized images usually provide finer local structures and details than other generative models.55 GAN has developed rapidly in recent years. For example, the generative adversarial network for single image super-resolution (SRGAN) framework can enhance natural images for 4× upscaling factors.56 A similar network structure was developed to blindly deblur images.57 Shortly after, pix2pix,58 an advanced conditional-GAN framework,59 was released and achieved high-quality image-to-image translation. The pix2pix framework was adapted in Deblur-GAN60,61 to restore motion-blurred images. The pix2pix framework was further extended in CycleGAN to transfer styles and contents from one image into another.62 Since then, the CycleGAN/pix2pix framework has been widely adopted to enhance image resolution, improve image quality, and achieve style transfer. Zong et al63 proposed local CycleGAN to enhance images from complex deep water environment; Yu and Ma64 reviewed multiple studies of using GAN to enhance image quality in geophysics. In digital pathology research, StainGAN65 has been trained on the CycleGAN framework to normalize H&E staining variation. It was further used to digitally restain immunohistochemistry-stained images into H&E-stained images.66

The usage of GAN and related deep convolutional networks has been adapted in brain and chest computed tomography/magnetic resonance image enhancing and denoising.67,68 The fundamental concept to achieve these goals with GAN is to train a restoring model to decrappify artificially corrupted images until restored images are almost the same as the real uncorrupted images.69, 70, 71 For instance, researchers have used down-sampled images from high-quality images as the corrupted images to train SRGAN to restore the original resolution.72,73 Variations of CycleGAN and other models were designed to enhance resolution, deblur local regions, or apply color deconvolution.70,74, 75, 76, 77 However, to our knowledge, there are no algorithms in digital pathology that incorporate multiple enhancing tasks in one model without prior assumptions. Sequentially applying single-task models would potentially make algorithms influence each other and lead to unexpected effect checkboard and bright/dark spots. Also, none of the above studies quantified the influence of image quality on existing robust deep learning models or the ability of existing image enhancers to restore the model performance. In this study, Restore-GAN, a deep image enhancer and restoration tool, was developed to enhance the quality of pathology images. Restore-GAN can restore blurred regions, enhance image resolution, as well as reduce staining variation. The current results demonstrate that Restore-GAN significantly improved image quality and reach or even exceed state-of-the-art superresolution algorithms and deblurring algorithms. Thus, downstream image analysis tasks (eg, pretrained classification and segmentation models) can significantly benefit from Restore-GAN, especially for images with enhanced resolutions from Restore-GAN. Furthermore, this Restore-GAN is lightweight and efficient; it can enhance the quality of 32 500 × 500 image patches in an average of 0.145 seconds on a 32-GB memory graphics processing unit (GPU) and 2.0 seconds on central processing unit (CPU). In summary, Restore-GAN is a powerful tool for enhancing image quality and improving the robustness of deep learning models for digital pathology image analysis.

Materials and Methods

Restore-GAN, a GAN-based deep learning model, was developed to restore blurred regions and enhance low resolution/magnification into high resolution. A variation of Restore-GAN, Restore-GAN-c, which can additionally perform color normalization to reduce staining variation, is also provided.

Experiment Design

Data Sets and Evaluation Measurements

The training, validation, and testing data sets came from the pathologic images in The Cancer Genome Atlas data set.78 The study used the Lung Screening Trial data set79 for the evaluation and comparison on the effect of image enhancement and color normalization on the classification and segmentation tasks.

Twenty six, 20, and 19 high-quality slides with different coloring styles were selected for training, validation, and testing, respectively. For each slide, 10 to 15 500 × 500 patches were randomly extracted from different regions of interest. Specifically, there are 275, 275, and 200 patches in training, validation, and testing data sets, respectively. Restore-GAN was compared with other existing models by computing the structural similarity index measure and peak signal/noise ratio scores between generated images and ground truth images in the validation and testing data sets.

Restore-GAN was further compared with other methods on classification and instance segmentation tasks to evaluate the effect of Restore-GAN on the performance of existing models. For the classification task, a ResNet-101 classifier was built for previously published data80 as the benchmark model, as the ResNet-101 model has higher performance than the Inception-v3 model in the original article. This data set contains 5344 patches (300 × 300 pixels) from 30 slides under 40× magnitude in the Lung Screening Trial data set. These patches belong to three different classes [tumor region (2475), normal region (2139), and white region (730)] and are split into training, validation, and testing images based on their slide identifier. Specifically, 3847 patches from 21 slides are grouped in training, 428 patches from another 3 slides are assigned as validation, and the 1069 patches coming from the remaining 6 slides are held for testing. The study used normalized classification accuracy, tumor true positive rate, tumor specificity, and confusion matrix to evaluate the performance of combining different image deblurring and enhancing techniques with pretrained high-resolution models. Second, for the segmentation task, the instance segmentation algorithm Mask R-CNN was fine-tuned with the published data set.81 The nuclei segmentation task on lung cancer is sensitive to image quality and resolution as correctly classifying and segmenting small nuclei relies on fine details of images. This data set contained 127 patches (500 × 500 pixels) extracted from 39 pathologic regions of interest in the Lung Screening Trial data set. Cell nuclei in these patches are manually segmented and labeled into six different categories: tumor nuclei, stromal nuclei, lymphocyte nuclei, macrophage nuclei, red blood cells, and karyorrhexis. The labeled patches were divided into training, validation, and testing sets based on the slide and region of interest. To ensure independence among these data sets, 99 patches from 29 slides are grouped as training, 12 patches from 4 slides are included as validation, and the remaining 16 patches from 6 slides are left as testing. More than 12,000 cell nuclei were included in the training set (tumor nuclei, 24.1%; stromal nuclei, 23.9%; lymphocytes, 29.5%; red blood cells, 5.8%; macrophages, 1.5%; and karyorrhexis, 15.2%), whereas 1639 and 1086 nuclei are included in the validation and testing sets, respectively. Nuclei detection coverage and nuclei classification accuracy were used to evaluate the performance of the Mask R-CNN algorithm. The nuclei detection coverage measures the percentage of the cells in the original images that were successfully detected by Mask R-CNN. A cell was considered to be successfully detected when the intersection over union between the predicted cell and the original cell was >0.6. The nuclei classification accuracy measures the percentage of the aforementioned detected cells that are correctly classified by the model.

Experiments and Benchmarks

The following experiments were proposed for the classification and segmentation models to compare the effect of Restore-GAN as well as some other techniques: i) run pretrained model on the high-quality images; ii) run pretrained model on the low-quality images; and iii) run pretrained model on the low-quality images enhanced by Restore-GAN or other methods. The study used the results in i) as the benchmark to indicate the performances of the state-of-the-art algorithms on published high-quality high-resolution pathologic patches. The results in ii) were compared with i) to demonstrate the limitations of image quality on model performance and transfer learning. The results in iii) were further compared with i) and ii) to evaluate the effect of Restore-GAN as well as other techniques. To generate a fair comparison, none of the validation and test patches used for the classification and segmentation models was used to train and validate Restore-GAN models. All validation and testing patches and enhanced patches were processed with the same procedures and parameters proposed in the original article without any further treatment. And the same inference hyperparameters and post-processing procedures were applied to all evaluations.

Methods

Restore-GAN Architecture

Generator and discriminator architecture

Restore-GAN was constructed under the pix2pix framework with customized designs and variations, as illustrated in Figure 1. For the generator, Restore-GAN uses the nine-block residual neural network (ResNet) backbone but replaces the transpose convolution layer with pixel shuffle82 in the decoder, as the pixel shuffle layers can help avoid checkerboard artifacts in generated images. For the discriminator, Restore-GAN uses a three-layer pixelGAN instead of the 70 × 70 patchGAN recommended in the original pix2pix article. Compared with the patch classifier, the pixelGAN provided better discrimination power on image skeletons. It sped up the training process and provided sharper borders and enhanced resolution. When feeding images into discriminator, low-quality patches were fed and high-quality patches were generated condition to the combination of true high-quality patch as well as its skeleton border.

Figure 1.

Figure 1

Restore–Generative Adversarial Network (GAN) architecture. High-quality (HQ) images are randomly cropped into small patches. The ResNet encoder-decoder generator takes randomly blurred low-quality (LQ) patches to generate fake HQ patches, then the generated patches and blurred patches are concatenated with true HQ patches [x and G(z); conditional to the original ground truth patch]. x and G(z) are then fed into the Least Squares Generative Adversarial Network (LSGAN) discriminator to calculate D(x) and D[G(z)]. D(x) and D[G(z)] are used to calculate discriminator loss VLSGAN(D) to update the discriminator. D[G(z)] is used to calculate generator loss VLSGAN(G) to update the generator. The diamond boxed areas indicate necessary preprocessing and augmentation. The dashed-dotted line represents concatenation operation. The dashed line indicates the path to update generator and discriminator during the training.

Loss functions

When updating the discriminator, the standard LSGAN83 was selected and mean square error loss was used. LSGAN discriminator was found to generate more realistic images comparing with competitors like WGAN-GP84,85 and EB-GAN.86 When updating the generator, the study used a combination with the following losses: i) mean square error adversarial loss, ii) pixel-space mean square error loss, iii) content-space euclidean distance from a VGG19 conv3_3 feature map87 (perceptual loss), and iv) total variation loss. These four losses were used with the given weights: 0.001, 1.0, 0.006, and 2 × 10−8.

Ladv=12Ez∼pz[(D(G(z))−1)2] (1)
Lpixel=mse(TrueHQpatch,FakeHQpatch) (2)
Lperceptual=mse(VGG(TrueHQpatch),VGG(FakeHQpatch)) (3)
LTV=1N∑(∇hG(TrueHQpatch)2+∇wG(TrueHQpatch)2) (4)
LG=0.001×∗Ladv+1.0×Lpixel+0.006×Lperceptual+2⋅10−8×LTV (5)

Implementation

The Restore-GAN framework was implemented using PyTorch version 1.10.1 (https://pytorch.org/get-started/previous-versions/#v1101). In the training phase, the study paired each high-quality image with a randomly distorted low-quality image and randomly cropped an image patch from the pair. The following distortions were used to simulate different conditions: i) To simulate the effect of blurring, the images were globally/locally blurred with Gaussian blur, median blur, and motion blur. ii) To simulate the effect of the resolution, the images were shrunk with a random scale (0.25× to 0.5×) using different interpolation algorithms: nearest, bilinear, biquadratic, and bicubic. Then, they were resized back to the original size with bicubic interpolation. iii) To simulate the staining variation, the colors were intensively augmented by randomly shifting the global mean and channel means of RGB channels as well as adjusting the hue, saturation, and contrast. A similar data generator was used for the validation phase, with the fixed augmentation applied on the whole image instead of random augmentation on a cropped patch. For color normalization, hematoxylin (H) and eosin (E) channels were separated by deconvoluting the original images with sparse nonnegative matrix factorization88,89 and then restoring the high-quality images with a standard H&E staining matrix.

Adam90 optimizer with a small learning rate of 1 × 10−4 was selected to update the model weights. The weights of the discriminator and generator were updated alternatively in each iteration. The whole train/validation process ran up to 400 epochs on two 16-GB P100 GPUs (PCLink) in 6 hours. The best generator was selected on the basis of the peak signal/noise ratio and structural similarity index measure scores on the validation data set.

During the inference phase, only the generator was necessary to enhance the quality of the given image. Restore-GAN contains only 12.5 million parameters and was able to inference a batch of images (500 × 500) on a low-end P4 GPU in 0.145 seconds.

Results

Restore-GAN Synthesizes High-Quality Images

Standard Restore-GAN

To evaluate the performance of improving image quality, the structural similarity index measure and peak signal/noise ratio between high-quality ground truth images were compared with images generated by Restore-GAN from low-quality images without color normalization and other algorithms. For the image deblurring task, images generated by Restore-GAN achieved the highest structural similarity index measure and highest peak signal/noise ratio (Table 1) in both validation and testing data sets. For enhancing resolution tasks, Restore-GAN met the performance of SRGAN on 10× and 20× patches (Table 1). The deblur effect and enhance resolution effect of Restore-GAN are visualized in Figure 2, A–D. These results indicate that Restore-GAN integrates successfully restored blurred regions and enhanced resolution. Additionally, the model was able meet or even outperform state-of-the-art algorithms for each task.

Table 1.

Image Restoration and Enhancing Performance Comparison of Different Algorithms

Method SSIM (val) PSNR (val) SSIM (test) PSNR (test)
Deblurring
 Restore-GAN 0.936 ± 0.016 29.711 ± 1.647 0.949 ± 0.020 30.678 ± 1.624
 Deblur-GAN 0.859 ± 0.114 26.710 ± 3.292 0.945 ± 0.027 29.278 ± 1.162
 Deep-deblur 0.859 ± 0.114 26.710 ± 3.292 0.945 ± 0.027 29.278 ± 1.162
 Wavelet 0.838 ± 0.054 25.838 ± 1.844 0.875 ± 0.048 27.093 ± 1.957
 Wiener 0.838 ± 0.054 25.838 ± 1.844 0.875 ± 0.048 27.093 ± 1.957
 Blurred image 0.838 ± 0.054 25.838 ± 1.844 0.875 ± 0.048 27.093 ± 1.957
Enhance 10×
 Restore-GAN 0.887 ± 0.025 27.147 ± 1.642 0.908 ± 0.036 28.288 ± 1.892
 SRGAN 0.885 ± 0.025 27.529 ± 1.663 0.908 ± 0.037 28.811 ± 2.123
 Deblur-GAN 0.839 ± 0.036 25.335 ± 1.484 0.868 ± 0.045 26.113 ± 1.105
 Deep-deblur 0.839 ± 0.036 25.335 ± 1.484 0.868 ± 0.045 26.113 ± 1.105
 Resize (bilinear) 0.800 ± 0.048 24.886 ± 1.766 0.835 ± 0.065 26.029 ± 2.242
 Resize (bicubic) 0.800 ± 0.048 24.886 ± 1.766 0.835 ± 0.065 26.029 ± 2.242
Enhance 20×
 Restore-GAN 0.976 ± 0.005 33.183 ± 1.512 0.980 ± 0.008 34.019 ± 1.431
 SRGAN 0.979 ± 0.005 34.528 ± 1.722 0.984 ± 0.008 35.543 ± 1.723
 Deblur-GAN 0.946 ± 0.007 29.040 ± 1.019 0.956 ± 0.011 29.672 ± 0.539
 Deep-deblur 0.946 ± 0.007 29.040 ± 1.019 0.956 ± 0.011 29.672 ± 0.539
 Resize (bilinear) 0.960 ± 0.011 31.969 ± 1.914 0.970 ± 0.014 33.462 ± 2.179
 Resize (bicubic) 0.960 ± 0.011 31.969 ± 1.914 0.970 ± 0.014 33.462 ± 2.179

Image-enhancing resolution performance (10×) comparison of different algorithms. Image-enhancing resolution performance (20×) comparison of different algorithms. The best indicators in each column are highlighted in bold.

GAN, Generative Adversarial Network; PSNR, peak signal/noise ratio; SSIM, structural similarity index measure; SRGAN, generative adversarial network for single image super-resolution; test, testing data set; val, validation data set.

Figure 2.

Figure 2

Restore–Generative Adversarial Network (GAN)/Restore-GAN-c enhanced images. Each subfigure contains three channels: low-quality patch, Restore-GAN(-c) enhanced results, and high-quality ground truth. A–D: Restore-GAN enhanced/restored patches. E and F: Restore-GAN-c synthesized images. A: The results to enhance a 10× patch to 40× resolution with zoom in region. B: The results to deblur a global Gaussian blurred patch with zoom in region. C: The results to deblur a median blurred patch. D: The results to restore a local blurred region (red triangle). E: The results to enhance 20× patches, same as A plus color normalization with Restore-GAN-c. F: The results to deblur a Gaussian blurred patch, same as B plus color normalization from Restore-GAN-c.

The strength of the model was further tested on image patches from different scanners and a supplementary image set from metastatic melanoma (Supplemental Figure S1). At each location, aligned image patches were generated by Versa-200 using z-stacking of 10 planes with spacing of 4 μm. One mildly off-focused image patch was fed into the model and the Restore-GAN enhanced image was compared with the best focused image patch. The results show that Restore-GAN sharpened the nuclei border and inside texture. Some generated patches have even better visual effect than the best focused patches.

Restore-GAN with Color Normalization (Restore-GAN-c)

A color normalization option was provided in the Restore-GAN model (Restore-GAN-c) to normalize different staining variations to standard H&E staining. Colorization differences were observed between the standard Restore-GAN (without color normalization) and Restore-GAN-c (with color normalization) (Figure 2, A and B, compared with Figure 2, E and F). The normalized patches visually shared the same quality as the standard version but with a more realistic purplish H&E style instead of the original bluish frozen style.

Utility of Restore-GAN in Improving Classification Performance

The extent to which Restore-GAN can benefit deep learning algorithms on the image classification tasks was quantified next. The classification task aimed to classify a given image patch as normal tissue, cancer region, or white region.

Restore Blurred Patches

The classification accuracy of the ResNet101 model was severely reduced on blurred validation and testing data set (Figure 2). The performance of pretrained classifier was significantly improved after enhancing blurred patches with Restore-GAN. Analysis of the sensitivity and specificity for tumor patches against normal patches indicated that blurring effects led to large amounts of tumor tissue patches being misclassified into normal regions (low sensitivity/true-positive rate). Restore-GAN was able to successfully recover the abnormally low sensitivity to standard level.

Enhance Low-Resolution Patches

Reducing the resolution of patches also leads to low accuracy and low sensitivity in the high-resolution classification model. In Table 2, the ResNet101 classification accuracy decreased around 10% on 10× patches and 1% to 3% on 20× patches. With the help of Restore-GAN, the pretrained model achieved the same accuracy as high-resolution patches at 20×. And for 10× patches enhanced by Restore-GAN, the accuracy was significantly improved (8% on both validation and testing data set) and almost reached the same level as the original high-resolution patches. As seen with blurring images, low sensitivity was observed on running the classifier on low-resolution patches, which was recovered after applying Restore-GAN to enhance the resolution. Restore-GAN slightly outperformed SRGAN on both 10× (0.9186 versus 0.8961 for validation, and 0.8944 versus 0.8882 for testing) and 20× patches (0.9503 versus 0.9407 for validation, and 0.9357 versus 0.9321 for testing), which indicates that Restore-GAN can generate higher-quality images for the classification task than SRGAN. The assumption is that some of the original patches are blurred or contain blurred regions. Restore-GAN restored blurred regions as well as enhanced resolution and thus provided slightly higher accuracy than benchmark and SRGAN, which can increase resolution only.

Table 2.

Image Restoration and Enhancing Performance Comparison for Classification Task

Method ACC (val) TPR (val) TNR (val) ACC (test) TPR (test) TNR (test)
Deblurring
 Restore-GAN 0.9216 0.8333 0.9825 0.9129 0.8283 0.9790
 Deblur-GAN 0.8892 0.8434 0.9766 0.8688 0.8606 0.9650
 Deep-deblur 0.8892 0.8434 0.9766 0.8688 0.8606 0.9650
 Wavelet 0.8494 0.6616 0.9883 0.8627 0.6889 0.9813
 Wiener 0.8247 0.7121 0.9825 0.8529 0.7394 0.9907
 Blurred image 0.8494 0.6616 0.9883 0.8627 0.6889 0.9813
 Benchmark 0.9441 0.9293 0.9708 0.9310 0.9192 0.9766
Enhance 10×
 Restore-GAN 0.9186 0.9141 0.9942 0.8944 0.9051 0.9836
 SRGAN 0.8961 0.7677 0.9883 0.8882 0.7697 0.9907
 Deblur-GAN 0.9121 0.7879 0.9825 0.9133 0.8202 0.9813
 Deep-deblur 0.8810 0.8131 0.9825 0.8868 0.8869 0.9790
 Resize (bilinear) 0.8382 0.6111 0.9883 0.8369 0.6182 0.9883
 Resize (bicubic) 0.8382 0.6111 0.9883 0.8369 0.6182 0.9883
 Benchmark 0.9441 0.9293 0.9708 0.9310 0.9192 0.9766
Enhance 20×
 Restore-GAN 0.9503 0.9141 0.9708 0.9357 0.9152 0.9673
 SRGAN 0.9407 0.9192 0.9708 0.9321 0.9111 0.9743
 Deblur-GAN 0.9122 0.9646 0.9415 0.8987 0.9697 0.9182
 Deep-deblur 0.9344 0.9217 0.9664 0.8987 0.9697 0.9182
 Resize (bilinear) 0.9345 0.8889 0.9825 0.9238 0.8929 0.9813
 Resize (bicubic) 0.9345 0.8889 0.9825 0.9238 0.8929 0.9813
 Benchmark 0.9441 0.9293 0.9708 0.9310 0.9192 0.9766

Numbers in bold indicate the best accuracy among compared algorithms.

ACC, accuracy normalized by class sample size; GAN, Generative Adversarial Network; test, testing data set; TNR, true-negative rate/specificity; TPR, true-positive rate/sensitivity; val, validation data set.

Utility of Restore-GAN in Improving Nuclei Detection and Segmentation Performance

The extent to which Restore-GAN can benefit deep learning algorithms on segmentation tasks was evaluated next. Whether the nuclei segmentation task could correctly detect and classify nuclei and segment their region was used as an evaluation criterion. A pretrained Mask R-CNN model was deployed under 40× magnification on the image patches enhanced by different algorithms. The pretrained Mask R-CNN algorithm achieved 0.8225 coverage with 0.8168 accuracy on the validation data set and achieved 0.8352 coverage with 0.8204 accuracy on the testing data set (Supplemental Table S1). The above values were used as a benchmark performance when comparing different image quality enhancement algorithms.

Restore Blurred Patches

The nuclei detection coverage and classification accuracy of the Mask R-CNN algorithm significantly decreased on blurred validation and testing images (Table 3). Restoring these blurred images with Restore-GAN resulted in the Mask R-CNN model missing and misclassifying only an additional 2% to 3% cells compared with the benchmark model. The detection coverage rate on the validation data set was much higher than other algorithms, indicating that Restore-GAN is a better option to restore blurred regions/patches, and the images restored by Restore-GAN can be better adapted to Mask R-CNN algorithms. Non–deep learning–based methods, including shift-variant wavelet and unsupervised wiener deconvolution, failed to restore the blurred image back to the original quality. While wavelet focuses on denoising and further blurring the image instead of increasing the sharpness of blurred regions, wiener deconvolution heavily relies on the given point spread function. Therefore, they are not reliable methods for blind deblurring without prior knowledge about the image.

Table 3.

Image Restoration and Enhancing Performance Comparison for Nuclei Detection and Segmentation Task

Method Coverage (val) Accuracy (val) Overall (val) Coverage (test) Accuracy (test) Overall (test)
Deblurring
 Restore-GAN 0.8139 0.7991 0.6504 0.8158 0.7995 0.6522
 Deblur-GAN 0.7566 0.7847 0.5937 0.8122 0.8224 0.6679
 Deep-deblur 0.7523 0.7885 0.5932 0.8122 0.8140 0.6611
 Wavelet 0.7279 0.7581 0.5518 0.7762 0.7777 0.6037
 Wiener 0.5930 0.7279 0.4317 0.6510 0.7364 0.4794
 Blurred image 0.7279 0.7575 0.5513 0.7753 0.7780 0.6032
 Benchmark 0.8225 0.8168 0.6718 0.8352 0.8204 0.6851
Enhance 10×
 Restore-GAN 0.7822 0.7922 0.6196 0.8029 0.8013 0.6434
 SRGAN 0.7895 0.7928 0.6259 0.8103 0.7814 0.6332
 Deblur-GAN 0.7584 0.7828 0.5937 0.7735 0.7931 0.6134
 Deep-deblur 0.7584 0.8063 0.6115 0.7818 0.8026 0.6275
 Resize (bilinear) 0.7169 0.7348 0.5268 0.7182 0.7324 0.5261
 Resize (bicubic) 0.7401 0.7606 0.5629 0.7459 0.7458 0.5563
 Benchmark 0.8225 0.8168 0.6718 0.8352 0.8204 0.6851
Enhance 20×
 Restore-GAN 0.8157 0.8171 0.6666 0.8260 0.8142 0.6725
 SRGAN 0.8145 0.8147 0.6636 0.8315 0.8105 0.6739
 Deblur-GAN 0.8011 0.8018 0.6423 0.8195 0.8193 0.6714
 Deep-deblur 0.8072 0.8109 0.6546 0.8278 0.8181 0.6772
 Resize (bilinear) 0.7956 0.8007 0.6371 0.8223 0.7930 0.6521
 Resize (bicubic) 0.7968 0.8056 0.6419 0.8324 0.8060 0.6709
 Benchmark 0.8225 0.8168 0.6718 0.8352 0.8204 0.6851

Coverage: the percentage of the nucleus detected by algorithms with intersection over union >0.6. Accuracy: the percentage of correctly classified nucleus over the total number of the detected nucleus. Overall: coverage times the accuracy. The best coverage, accuracy, and overall performance are highlighted in bold.

GAN, Generative Adversarial Network; test, testing data set; val, validation data set.

Enhance Low-Resolution Patches

Standard Mask R-CNN models detect small crowded objects. The coverage decreased around 20% for a 20× Mask R-CNN model transfer learned from the benchmark 40× Mask R-CNN model (Supplemental Table S2). This indicates that it is difficult to build a low-resolution Mask R-CNN model by transfer learning from a high-resolution model. A feasible alternative approach is to enhance low-resolution patches to high-resolution (40×) patches and then adapt a pretrained high-resolution Mask R-CNN model on the enhanced patches.

For 10× patches, Restore-GAN and SRGAN outperformed other methods, with around 3% higher coverage with the same level of classification accuracy (Table 3). For 20× patches, nearly all methods were able to achieve reliable results, but Restore-GAN and SRGAN were still the best (lost 1% on detection coverage) (Table 3). The above results indicate that Restore-GAN can successfully enhance the image resolution and provide a feasible way to apply a high-resolution instance segmentation algorithm, like Mask R-CNN, to low-resolution images. The comparison between Restore-GAN and other methods further proves that Restore-GAN is comparable to the state-of-the-art superresolution tools and outperforms other alternatives.

Discussion

Facilitate Slide Collection

An automatic high-quality scanner is expensive and not accessible to common facilities. Scanning a large batch of slides under high resolution (40×) while guaranteeing the quality with a nonautomatic scanner is time-consuming. Also, reanalyzing old slides with abnormal colorization is not always possible. Although an ideal and perfect nuclei segmentation model is expected to detect every nucleus correctly in all complicated cases, the limitation of existing algorithms may fail on outlier images. As accessing more training data and switching to other nuclei segmentation algorithms is not feasible,91, 92, 93 Restore-GAN and Restore-GAN-c provide a feasible way to solve the above problems to increase the nuclei detection performance. Figure 3 compares the nuclei detection results of a low- and a high-quality patch from the same scanner. The low-quality patch was imaged under 10× magnitude with an improper exposure and focal distance, whereas the high-quality patch was imaged under 40× magnitude with precise focal distance. In the Restore-GAN enhanced and restored image, Mask R-CNN successfully detected three lymphocytes that were missing in the low-quality patch. More nuclei were further recovered with Restore-GAN-c compared with the low-quality image. As low-resolution slides take less storage and scanning slides under 10× magnitude is much faster than scanning under 40× magnitude, Restore-GAN can help researchers efficiently scan and store a large number of slides under low resolution with near 40× quality. Restore-GAN-c can further adapt slides with abnormal staining in data collection. The quality and speed enhancement allow researchers to collect pathology images much more efficiently in terms of scanning time and data storage. Furthermore, it also allows users with limited resources to perform digital pathology tasks using a regular microscope and a camera instead of advanced image scanners.

Figure 3.

Figure 3

Restore–Generative Adversarial Network (GAN)/Restore-GAN-c enhances image quality and normalizes colorization on a low-end scanner. Bounding boxes instead of masks of successfully detected nuclei are shown for clarity. Green indicates tumor nuclei; red, stroma nuclei; blue, lymphocyte nuclei; and pink, blood cell. Dotted lines indicate missed/misclassified nuclei by Mask R-CNN; and solid lines, correctly identified nuclei by Mask R-CNN. A: Low quality from scanner. B: Restore-GAN-c. C: Restore-GAN. D: High quality from scanner. After enhancing resolution, missing lymphocytes (blue) were successfully recovered by Mask R-CNN. After further normalizing the colorization, an extra lymphocyte and two tumor nuclei are observed. However, color normalization led to two nuclei being misclassified to stroma by Mask R-CNN. This figure is for illustration purpose.

Color Normalization Advantages and Limitations

Staining normalization can reduce the stability of models if certain color patterns are unobserved during the training. However, normalizing staining variation can also cause severe misleading information if not handled correctly. Additional lymphocytes and tumor nuclei were observed by Mask R-CNN with the help of Restore-GAN-c (Figure 3). However, two tumor nuclei were misclassified into stroma. Color normalization can accidentally modify rare but important color-related features in the training data set, and lead to unexpected results. Figure 4 shows a patch in the testing data set of Mask R-CNN benchmark. A large number of the brown macrophage nuclei were transferred to purplish color by Restore-GAN-c. This misleading color normalization makes results in Mask R-CNN model failing to detect some of the macrophages, and the existence of such patches leads to a reduction in performance shown in Table 4 (test accuracy and coverage). The present results were compared with existing color normalization and staining tools such as sparse nonnegative matrix factorization color deconvolution,89 wavelet color deconvolution,94 and StainGAN,65 and a similar problem was observed (Supplemental Figure S2). Therefore, the color normalization option of Restore-GAN, as well as other staining normalization algorithms, should be used with caution. This study supports the existing research that introducing color variation during the training is more robust than applying color normalization during the inference.41 When training or transfer learning a new model, we recommend applying intensive color augmentation to increase the model robustness against different colorization styles. However, during inference, we recommend using Restore-GAN if the model is robust during the training and to use Restore-GAN-c if the model is not robust to color variation and all staining patterns have been observed by Restore-GAN-c.

Figure 4.

Figure 4

Applying existing nuclei detection algorithm on Restore-GAN-c enhanced patch results in misclassified nucleus types. Bounding boxes instead of masks of successfully detected nuclei are shown for clarity. Green indicates tumor nuclei; red, stroma nuclei; blue, lymphocyte nuclei; pink, blood cell; and yellow, macrophage. A: Ground truth image. B: Results of Mask R-CNN on Restore-GAN enhanced image. C: Plot of the Restore-GAN-c enhanced image patch and the results of Mask R-CNN on this patch. Restore-GAN-c changes the brownish macrophage region into pink. A fine-tuned Mask R-CNN model with intensive color augmentation can correctly classify macrophage in Restore-GAN enhanced image patch. However, for Restore-GAN-c enhanced image patch, macrophages are misclassified into other categories by Mask R-CNN. This figure is for illustration purpose.

Table 4.

Restore-GAN and Restore-GAN-c Comparison for Nuclei Detection on Enhanced 10× Patches

Enhanced 10× patches Coverage (val) Accuracy (val) Overall (val) Coverage (test) Accuracy (test) Overall(test)
Restore-GAN 0.7822 0.7922 0.6196 0.8029 0.8013 0.6434
Restore-GAN-c 0.7950 0.7955 0.6324 0.7744 0.7949 0.6156
Benchmark 0.8225 0.8168 0.6718 0.8352 0.8204 0.6851

Restore-GAN-c has better performance in val, and Restore-GAN achieves higher coverage and accuracy on test (highlighted in bold).

GAN, Generative Adversarial Network; test, testing data set; val, validation data set.

Conclusion

This study introduces an advanced image enhancement tool, Restore-GAN, for pathology image analysis. This algorithm can recover blurred regions and low-resolution images by restoring fine details learned from high-quality images. Restore-GAN performs better than many existing image restoration tools for deblurring tasks and achieves the same performance as the state-of-the-art model for enhancing resolution tasks (SRGAN). This algorithm provides an efficient way to obtain high-quality pathologic images from low-quality scanners and repair the blurred region. The improved images can facilitate downstream imaging analysis and provide a feasible way to cover the limitations of data augmentation and model architectures. This will release the burden of complicated model architecture design and time-consuming transfer learning. Furthermore, an optional color normalization feature was integrated in Restore-GAN to reduce the staining differences between slides. However, color normalization should be used with caution to avoid accidently removing unique features. In the future, we plan to merge style-transfer GAN into our Restore-GAN to further increase the model capability on frozen slides and fluorescence images.

Footnotes

Supported in part by NIH grants R01GM140012 (G.X.), R01GM141519 (G.X.), 1R01DE030656 (G.X.), 1U01CA249245 (G.X.), P30CA142543 (Y.X.), and R35GM136375 (Y.X.); and the Cancer Prevention and Research Institute of Texas grants RP190107 (G.X.) and RP180805 (Y.X.).

Disclosures: None declared.

Supplemental material for this article can be found at http://doi.org/10.1016/j.ajpath.2022.12.011.

Supplemental Data

Supplemental Figure S1

Apply Restore–Generative Adversarial Network (GAN) on aligned off-focused image patches. A: Off-focused image patches. B: Restore-GAN enhanced image patches. C: The best focused image patches. The off-focused patches and focused patches are generated with z-stacking. Restore-GAN successfully sharpened the nuclei border and generated like-real texture. Some regions in Restore-GAN generated patches (highlighted in orange circles) have better resolution and details than the focused ground truth image.

mmc1.pdf (3.4MB, pdf)
Supplemental Figure S2

Sparse nonnegative matrix factorization (SNMF) deconvolution, StainGAN, and wavelet deconvolution change the brownish macrophage region into another color. StainGAN was trained on the same training and validation data set as Restore-GAN-c. For color deconvolution, the stain matrix was estimated based on raw image. The image was deconvoluted based on the estimated stain matrix, and the image was reconstructed based on standard hematoxylin and eosin stain matrix.

mmc2.pdf (2MB, pdf)
Supplemental Table S1
mmc3.docx (13.6KB, docx)
Supplemental Table S2
mmc4.docx (13.4KB, docx)

References

  • 1.LeCun Y., Bengio Y., Hinton G. Deep learning. Nature. 2015;521:436–444. doi: 10.1038/nature14539. [DOI] [PubMed] [Google Scholar]
  • 2.Krizhevsky A., Sutskever I., Hinton G.E. ImageNet classification with deep convolutional neural networks. Adv Neural Information Processing Systems. 2012;25 [Google Scholar]
  • 3.Goodfellow I., Bengio Y., Courville A. MIT Press; Cambridge, MA: 2016. Deep Learning. [Google Scholar]
  • 4.Guo Y., Liu Y., Oerlemans A., Lao S., Wu S., Lew M.S. Deep learning for visual understanding: a review. Neurocomputing. 2016;187:27–48. [Google Scholar]
  • 5.Litjens G., Kooi T., Bejnordi B.E., Setio A.A.A., Ciompi F., Ghafoorian M., Van Der Laak J.A., Van Ginneken B., Sánchez C.I. A survey on deep learning in medical image analysis. Med Image Anal. 2017;42:60–88. doi: 10.1016/j.media.2017.07.005. [DOI] [PubMed] [Google Scholar]
  • 6.Janowczyk A., Madabhushi A. Deep learning for digital pathology image analysis: a comprehensive tutorial with selected use cases. J Pathol Inform. 2016;7:29. doi: 10.4103/2153-3539.186902. [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 7.Wang S., Yang D.M., Rong R., Zhan X., Fujimoto J., Liu H., Minna J., Wistuba I.I., Xie Y., Xiao G. Artificial intelligence in lung cancer pathology image analysis. Cancers. 2019;11:1673. doi: 10.3390/cancers11111673. [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 8.Wang D., Khosla A., Gargeya R., Irshad H., Beck A.H. Deep learning for identifying metastatic breast cancer. arXiv. 2016 doi: 10.48550/arXiv.1606.05718. [Preprint] doi: [DOI] [Google Scholar]
  • 9.Tabibu S., Vinod P., Jawahar C. Pan-renal cell carcinoma classification and survival prediction from histopathology images using deep learning. Sci Rep. 2019;9:1–9. doi: 10.1038/s41598-019-46718-3. [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 10.Folmsbee J., Liu X., Brandwein-Weber M., Doyle S., editors. Active deep learning: improved training efficiency of convolutional neural networks for tissue classification in oral cavity cancer. 2018 IEEE 15th International Symposium on Biomedical Imaging (ISBI 2018) IEEE; 2018. [Google Scholar]
  • 11.Amgad M., Elfandy H., Hussein H., Atteya L.A., Elsebaie M.A., Abo Elnasr L.S., Sakr R.A., Salem H.S., Ismail A.F., Saad A.M. Structured crowdsourcing enables convolutional segmentation of histology images. Bioinformatics. 2019;35:3461–3467. doi: 10.1093/bioinformatics/btz083. [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 12.Xing F., Yang L. Robust nucleus/cell detection and segmentation in digital pathology and microscopy images: a comprehensive review. IEEE Rev Biomed Eng. 2016;9:234–263. doi: 10.1109/RBME.2016.2515127. [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 13.Kumar N., Verma R., Sharma S., Bhargava S., Vahadane A., Sethi A. A dataset and a technique for generalized nuclear segmentation for computational pathology. IEEE Trans Med Imaging. 2017;36:1550–1560. doi: 10.1109/TMI.2017.2677499. [DOI] [PubMed] [Google Scholar]
  • 14.Wang S., Yang D.M., Rong R., Zhan X., Xiao G. Pathology image analysis using segmentation deep learning algorithms. Am J Pathol. 2019;189:1686–1698. doi: 10.1016/j.ajpath.2019.05.007. [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 15.Amgad M., Atteya L.A., Hussein H., Mohammed K.H., Hafiz E., Elsebaie M.A., Mobadersany P., Manthey D., Gutman D.A., Elfandy H. Explainable nucleus classification using decision tree approximation of learned embeddings. Bioinformatics. 2022;38:513–519. doi: 10.1093/bioinformatics/btab670. [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 16.Duanmu H., Wang F., Teodoro G., Kong J. Foveal blur-boosted segmentation of nuclei in histopathology images with shape prior knowledge and probability map constraints. Bioinformatics. 2021;37:3905–3913. doi: 10.1093/bioinformatics/btab418. [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 17.Cheng J., Mo X., Wang X., Parwani A., Feng Q., Huang K. Identification of topological features in renal tumor microenvironment associated with patient survival. Bioinformatics. 2018;34:1024–1030. doi: 10.1093/bioinformatics/btx723. [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 18.Ren M., Zhang S., Zhang Q., Ma S. HeteroGGM: an R package for Gaussian graphical model-based heterogeneity analysis. Bioinformatics. 2021;37:3073–3074. doi: 10.1093/bioinformatics/btab134. [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 19.Deng J., Dong W., Socher R., Li L.-J., Li K., Fei-Fei L., editors. Imagenet: a large-scale hierarchical image database. 2009 IEEE Conference on Computer Vision and Pattern Recognition. IEEE; 2009. [Google Scholar]
  • 20.Russakovsky O., Deng J., Su H., Krause J., Satheesh S., Ma S., Huang Z., Karpathy A., Khosla A., Bernstein M. Imagenet large scale visual recognition challenge. Int J Computer Vision. 2015;115:211–252. [Google Scholar]
  • 21.Lin T.-Y., Maire M., Belongie S., Hays J., Perona P., Ramanan D., Dollár P., Zitnick C.L., editors. Microsoft coco: common objects in context. European Conference on Computer Vision. Springer; 2014. [Google Scholar]
  • 22.Everingham M., Eslami S., Van Gool L., Williams C.K., Winn J., Zisserman A. The pascal visual object classes challenge: a retrospective. Int J Computer Vision. 2015;111:98–136. [Google Scholar]
  • 23.Simonyan K., Zisserman A. Very deep convolutional networks for large-scale image recognition. arXiv. 2014 doi: 10.48550/arXiv.1409.1556. [Preprint] doi: [DOI] [Google Scholar]
  • 24.He K., Zhang X., Ren S., Sun J., editors. Deep residual learning for image recognition. Proceedings of the IEEE Conference on Computer Vision and Pattern Recognition. IEEE; 2016. [Google Scholar]
  • 25.Xie S., Girshick R., Dollár P., Tu Z., He K., editors. Aggregated residual transformations for deep neural networks. Proceedings of the IEEE Conference on Computer Vision and Pattern Recognition. IEEE; 2017. [Google Scholar]
  • 26.Huang G., Liu Z., Van Der Maaten L., Weinberger K.Q., editors. Densely connected convolutional networks. Proceedings of the IEEE Conference on Computer Vision and Pattern Recognition. IEEE; 2017. [Google Scholar]
  • 27.Howard A.G., Zhu M., Chen B., Kalenichenko D., Wang W., Weyand T., Andreetto M., Adam H. MobileNets: efficient convolutional neural networks for mobile vision applications. arXiv. 2017 doi: 10.48550/arXiv.1704.04861. [Preprint] doi: [DOI] [Google Scholar]
  • 28.Sandler M., Howard A., Zhu M., Zhmoginov A., Chen L.-C., editors. Mobilenetv2: inverted residuals and linear bottlenecks. Proceedings of the IEEE Conference on Computer Vision and Pattern Recognition. IEEE; 2018. [Google Scholar]
  • 29.Howard A., Sandler M., Chu G., Chen L.-C., Chen B., Tan M., Wang W., Zhu Y., Pang R., Vasudevan V., editors. Searching for mobilenetv3. Proceedings of the IEEE/CVF International Conference on Computer Vision. 2019. [Google Scholar]
  • 30.Tan M., Le Q., editors. Efficientnet: rethinking model scaling for convolutional neural networks. International Conference on Machine Learning. PMLR; 2019. [Google Scholar]
  • 31.Ronneberger O., Fischer P., Brox T., editors. U-net: convolutional networks for biomedical image segmentation. International Conference on Medical Image Computing and Computer-Assisted Intervention. Springer; 2015. [Google Scholar]
  • 32.Chen L.-C., Papandreou G., Kokkinos I., Murphy K., Yuille A.L. Deeplab: semantic image segmentation with deep convolutional nets, atrous convolution, and fully connected crfs. IEEE Trans Pattern Anal Mach Intell. 2017;40:834–848. doi: 10.1109/TPAMI.2017.2699184. [DOI] [PubMed] [Google Scholar]
  • 33.Chen L.-C., Zhu Y., Papandreou G., Schroff F., Adam H., editors. Encoder-decoder with atrous separable convolution for semantic image segmentation. Proceedings of the European Conference on Computer Vision (ECCV) 2018. [Google Scholar]
  • 34.He K., Gkioxari G., Dollár P., Girshick R., editors. Mask R-CNN. Proceedings of the IEEE International Conference on Computer Vision. IEEE; 2017. [Google Scholar]
  • 35.Maier-Hein L., Eisenmann M., Reinke A., Onogur S., Stankovic M., Scholz P., Arbel T., Bogunovic H., Bradley A.P., Carass A. Why rankings of biomedical image analysis competitions should be interpreted with care. Nat Commun. 2018;9:1–13. doi: 10.1038/s41467-018-07619-7. [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 36.Gurcan M.N., Boucheron L.E., Can A., Madabhushi A., Rajpoot N.M., Yener B. Histopathological image analysis: a review. IEEE Rev Biomed Eng. 2009;2:147–171. doi: 10.1109/RBME.2009.2034865. [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 37.Roy S., kumar Jain A., Lal S., Kini J. A study about color normalization methods for histopathology images. Micron. 2018;114:42–61. doi: 10.1016/j.micron.2018.07.005. [DOI] [PubMed] [Google Scholar]
  • 38.Alsubaie N., Trahearn N., Raza S.E.A., Snead D., Rajpoot N.M. Stain deconvolution using statistical analysis of multi-resolution stain colour representation. PLoS One. 2017;12:e0169875. doi: 10.1371/journal.pone.0169875. [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 39.Pan S.J., Yang Q. A survey on transfer learning. IEEE Trans Knowledge Data Engineering. 2009;22:1345–1359. [Google Scholar]
  • 40.Torrey L., Shavlik J. In: Soria Olivas E., Martín Guerrero J.D., Martinez-Sober M., Magdalena-Benedito J.R., Serrano López A.J., editors. IGI Global; Hershey, PA: 2010. Transfer learning, Handbook of Research on Machine Learning Applications and Trends: Algorithms, Methods, and Techniques; pp. 242–264. [Google Scholar]
  • 41.Tellez D., Litjens G., Bándi P., Bulten W., Bokhorst J.-M., Ciompi F., Van Der Laak J. Quantifying the effects of data augmentation and stain color normalization in convolutional neural networks for computational pathology. Med Image Anal. 2019;58:101544. doi: 10.1016/j.media.2019.101544. [DOI] [PubMed] [Google Scholar]
  • 42.Shorten C., Khoshgoftaar T.M. A survey on image data augmentation for deep learning. J Big Data. 2019;6:1–48. doi: 10.1186/s40537-021-00492-0. [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 43.Otálora S., Atzori M., Andrearczyk V., Khan A., Müller H. Staining invariant features for improving generalization of deep convolutional neural networks in computational pathology. Front Bioeng Biotechnol. 2019:198. doi: 10.3389/fbioe.2019.00198. [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 44.Huang J., Rathod V., Sun C., Zhu M., Korattikara A., Fathi A., Fischer I., Wojna Z., Song Y., Guadarrama S., editors. Speed/accuracy trade-offs for modern convolutional object detectors. Proceedings of the IEEE Conference on Computer Vision and Pattern Recognition. IEEE; 2017. [Google Scholar]
  • 45.Cai Z., Vasconcelos N., editors. Cascade R-CNN: delving into high quality object detection. Proceedings of the IEEE Conference on Computer Vision and Pattern Recognition. IEEE; 2018. [Google Scholar]
  • 46.Zhao Z.-Q., Zheng P., Xu S.-t., Wu X. Object detection with deep learning: a review. IEEE Trans Neural Netw Learn Syst. 2019;30:3212–3232. doi: 10.1109/TNNLS.2018.2876865. [DOI] [PubMed] [Google Scholar]
  • 47.Singh A., Ohgami R.S. Super-resolution digital pathology image processing of bone marrow aspirate and cytology smears and tissue sections. J Pathol Inform. 2018;9:48. doi: 10.4103/jpi.jpi_56_18. [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 48.Komura D., Ishikawa S. Machine learning methods for histopathological image analysis. Comput Struct Biotechnol J. 2018;16:34–42. doi: 10.1016/j.csbj.2018.01.001. [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 49.Khan A.M., Rajpoot N., Treanor D., Magee D. A nonlinear mapping approach to stain normalization in digital histopathology images using image-specific color deconvolution. IEEE Trans Biomed Eng. 2014;61:1729–1738. doi: 10.1109/TBME.2014.2303294. [DOI] [PubMed] [Google Scholar]
  • 50.Vahadane A., Peng T., Sethi A., Albarqouni S., Wang L., Baust M., Steiger K., Schlitter A.M., Esposito I., Navab N. Structure-preserving color normalization and sparse stain separation for histological images. IEEE Trans Med Imaging. 2016;35:1962–1971. doi: 10.1109/TMI.2016.2529665. [DOI] [PubMed] [Google Scholar]
  • 51.Janowczyk A., Basavanhally A., Madabhushi A. Stain normalization using sparse autoencoders (StaNoSA): application to digital pathology. Comput Med Imaging Graph. 2017;57:50–61. doi: 10.1016/j.compmedimag.2016.05.003. [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 52.BenTaieb A., Hamarneh G. Adversarial stain transfer for histopathology image analysis. IEEE Trans Med Imaging. 2017;37:792–802. doi: 10.1109/TMI.2017.2781228. [DOI] [PubMed] [Google Scholar]
  • 53.Goodfellow I., Pouget-Abadie J., Mirza M., Xu B., Warde-Farley D., Ozair S., Courville A., Bengio Y. Generative adversarial nets. Adv Neural Information Processing Systems. 2014;27 [Google Scholar]
  • 54.Kingma D.P., Welling M. Auto-encoding variational bayes. arXiv. 2013 doi: 10.48550/arXiv.1312.6114. [Preprint] doi: [DOI] [Google Scholar]
  • 55.Huang H., Yu P.S., Wang C. An introduction to image synthesis with generative adversarial nets. arXiv. 2018 doi: 10.48550/arXiv.1803.04469. [Preprint] doi: [DOI] [Google Scholar]
  • 56.Ledig C., Theis L., Huszár F., Caballero J., Cunningham A., Acosta A., Aitken A., Tejani A., Totz J., Wang Z., editors. Photo-realistic single image super-resolution using a generative adversarial network. Proceedings of the IEEE Conference on Computer Vision and Pattern Recognition. IEEE; 2017. [Google Scholar]
  • 57.Nah S., Hyun Kim T., Mu Lee K., editors. Deep multi-scale convolutional neural network for dynamic scene deblurring. Proceedings of the IEEE Conference on Computer Vision and Pattern Recognition. IEEE; 2017. [Google Scholar]
  • 58.Isola P., Zhu J.-Y., Zhou T., Efros A.A., editors. Image-to-image translation with conditional adversarial networks. Proceedings of the IEEE Conference on Computer Vision and Pattern Recognition. IEEE; 2017. [Google Scholar]
  • 59.Mirza M., Osindero S. Conditional generative adversarial nets. arXiv. 2014 doi: 10.48550/arXiv.1411.1784. [Preprint] doi: [DOI] [Google Scholar]
  • 60.Kupyn O., Budzan V., Mykhailych M., Mishkin D., Matas J., editors. Deblurgan: blind motion deblurring using conditional adversarial networks. Proceedings of the IEEE Conference on Computer Vision and Pattern Recognition. IEEE; 2018. [Google Scholar]
  • 61.Kupyn O., Martyniuk T., Wu J., Wang Z., editors. Deblurgan-v2: deblurring (orders-of-magnitude) faster and better. Proceedings of the IEEE/CVF International Conference on Computer Vision. 2019. [Google Scholar]
  • 62.Zhu J.-Y., Park T., Isola P., Efros A.A., editors. Unpaired image-to-image translation using cycle-consistent adversarial networks. Proceedings of the IEEE International Conference on Computer Vision. IEEE; 2017. [Google Scholar]
  • 63.Zong X., Chen Z., Wang D. Local-CycleGAN: a general end-to-end network for visual enhancement in complex deep-water environment. Appl Intelligence. 2021;51:1947–1958. [Google Scholar]
  • 64.Yu S., Ma J. Deep learning for geophysics: current and future trends. Rev Geophys. 2021;59 e2021RG000742. [Google Scholar]
  • 65.Shaban M.T., Baur C., Navab N., Albarqouni S., editors. Staingan: stain style transfer for digital histological images. 2019 IEEE 16th International Symposium on Biomedical Imaging (ISBI 2019) IEEE; 2019. [Google Scholar]
  • 66.Xu Z., Moro C.F., Bozóky B., Zhang Q. GAN-based virtual re-staining: a promising solution for whole slide image analysis. arXiv. 2019 doi: 10.48550/arXiv.1901.04059. [Preprint] doi: [DOI] [Google Scholar]
  • 67.Kazeminia S., Baur C., Kuijper A., van Ginneken B., Navab N., Albarqouni S., Mukhopadhyay A. GANs for medical image analysis. Artif Intell Med. 2020;109:101938. doi: 10.1016/j.artmed.2020.101938. [DOI] [PubMed] [Google Scholar]
  • 68.Yi X., Walia E., Babyn P. Generative adversarial network in medical imaging: a review. Med Image Anal. 2019;58:101552. doi: 10.1016/j.media.2019.101552. [DOI] [PubMed] [Google Scholar]
  • 69.Fang L., Monroe F., Novak S.W., Kirk L., Schiavon C.R., Yu S.B., Zhang T., Wu M., Kastner K., Latif A.A. Deep learning-based point-scanning super-resolution imaging. Nat Methods. 2021;18:406–416. doi: 10.1038/s41592-021-01080-z. [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 70.Tschuchnig M.E., Oostingh G.J., Gadermayr M. Generative adversarial networks in digital pathology: a survey on trends and future potential. Patterns. 2020;1:100089. doi: 10.1016/j.patter.2020.100089. [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 71.Niazi M.K.K., Parwani A.V., Gurcan M.N. Digital pathology and artificial intelligence. Lancet Oncol. 2019;20:e253–e261. doi: 10.1016/S1470-2045(19)30154-8. [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 72.Çelik G., Talu M.F. Resizing and cleaning of histopathological images using generative adversarial networks. Physica A: Stat Mech Its Appl. 2020;554:122652. [Google Scholar]
  • 73.Jose L., Liu S., Russo C., Nadort A., Di Ieva A. Generative adversarial networks in digital pathology and histopathological image processing: a review. J Pathol Inform. 2021;12:43. doi: 10.4103/jpi.jpi_103_20. [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 74.Cho H., Lim S., Choi G., Min H. Neural stain-style transfer learning using GAN for histopathological images. arXiv. 2017 doi: 10.48550/arXiv.1710.08543. [Preprint] doi: [DOI] [Google Scholar]
  • 75.Duggal R., Gupta A., Gupta R., Mallick P., editors. SD-layer: stain deconvolutional layer for CNNs in medical microscopic imaging. International Conference on Medical Image Computing and Computer-Assisted Intervention. Springer; 2017. [Google Scholar]
  • 76.Khoshdeli M., Parvin B. Feature-based representation improves color decomposition and nuclear detection using a convolutional neural network. IEEE Trans Biomed Eng. 2017;65:625–634. doi: 10.1109/TBME.2017.2711529. [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 77.Abousamra S., Fassler D., Hou L., Zhang Y., Gupta R., Kurc T., Escobar-Hoyos L.F., Samaras D., Knudson B., Shroyer K., editors. Weakly-supervised deep stain decomposition for multiplex IHC images. 2020 IEEE 17th International Symposium on Biomedical Imaging (ISBI) IEEE; 2020. [Google Scholar]
  • 78.Tomczak K., Czerwińska P., Wiznerowicz M. The Cancer Genome Atlas (TCGA): an immeasurable source of knowledge. Contemp Oncol (Pozn) 2015;19:A68. doi: 10.5114/wo.2014.47136. [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 79.Kramer B.S., Berg C.D., Aberle D.R., Prorok P.C. SAGE Publications; London, UK:: 2011. Lung Cancer Screening with Low-Dose Helical CT: Results from the National Lung Screening Trial (NLST) pp. 109–111. [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 80.Wang S., Chen A., Yang L., Cai L., Xie Y., Fujimoto J., Gazdar A., Xiao G. Comprehensive analysis of lung cancer pathology images to discover tumor shape and boundary features that predict survival outcome. Sci Rep. 2018;8:1–9. doi: 10.1038/s41598-018-27707-4. [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 81.Wang S., Rong R., Yang D.M., Fujimoto J., Yan S., Cai L., Yang L., Luo D., Behrens C., Parra E.R. Computational staining of pathology images to study the tumor microenvironment in lung cancer. Cancer Res. 2020;80:2056–2066. doi: 10.1158/0008-5472.CAN-19-1629. [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 82.Shi W., Caballero J., Huszár F., Totz J., Aitken A.P., Bishop R., Rueckert D., Wang Z., editors. Real-time single image and video super-resolution using an efficient sub-pixel convolutional neural network. Proceedings of the IEEE Conference on Computer Vision and Pattern Recognition. IEEE; 2016. [Google Scholar]
  • 83.Mao X., Li Q., Xie H., Lau R.Y., Wang Z., Paul Smolley S., editors. Least squares generative adversarial networks. Proceedings of the IEEE International Conference on Computer Vision. IEEE; 2017. [Google Scholar]
  • 84.Arjovsky M., Chintala S., Bottou L., editors. Wasserstein generative adversarial networks. International Conference on Machine Learning. PMLR; 2017. [Google Scholar]
  • 85.Gulrajani I., Ahmed F., Arjovsky M., Dumoulin V., Courville A.C. Improved training of wasserstein gans. Adv Neural Information Processing Systems. 2017;30 [Google Scholar]
  • 86.Zhao J., Mathieu M., LeCun Y. Energy-based generative adversarial network. arXiv. 2016 doi: 10.48550/arXiv.1609.03126. [Preprint] doi: [DOI] [Google Scholar]
  • 87.Johnson J., Alahi A., Fei-Fei L., editors. Perceptual losses for real-time style transfer and super-resolution. European Conference on Computer Vision. Springer; 2016. [Google Scholar]
  • 88.Hoyer P.O. Non-negative matrix factorization with sparseness constraints. J Machine Learning Res. 2004;5:1457–1469. [Google Scholar]
  • 89.Xu J., Xiang L., Wang G., Ganesan S., Feldman M., Shih N.N., Gilmore H., Madabhushi A. Sparse non-negative matrix factorization (SNMF) based color unmixing for breast histopathological image analysis. Comput Med Imaging Graph. 2015;46:20–29. doi: 10.1016/j.compmedimag.2015.04.002. [DOI] [PubMed] [Google Scholar]
  • 90.Kingma D.P., Ba J. Adam: a method for stochastic optimization. arXiv. 2014 doi: 10.48550/arXiv.1412.6980. [Preprint] doi: [DOI] [Google Scholar]
  • 91.Schmidt U., Weigert M., Broaddus C., Myers G., editors. Cell detection with star-convex polygons. International Conference on Medical Image Computing and Computer-Assisted Intervention. Springer; 2018. [Google Scholar]
  • 92.Weigert M., Schmidt U., Haase R., Sugawara K., Myers G., editors. Star-convex polyhedra for 3D object detection and segmentation in microscopy. Proceedings of the IEEE/CVF Winter Conference on Applications of Computer Vision. 2020. [Google Scholar]
  • 93.Graham S., Vu Q.D., Raza S.E.A., Azam A., Tsang Y.W., Kwak J.T., Rajpoot N. Hover-net: simultaneous segmentation and classification of nuclei in multi-tissue histology images. Med Image Anal. 2019;58:101563. doi: 10.1016/j.media.2019.101563. [DOI] [PubMed] [Google Scholar]
  • 94.Lyashenko V., Kobylin O., Shafronenko A., editors. Wavelet analysis and decomposition into color spaces in researching of human fluorescently labeled images tissues. 2019 IEEE 8th International Conference on Advanced Optoelectronics and Lasers (CAOL) IEEE; 2019. [Google Scholar]

Associated Data

This section collects any data citations, data availability statements, or supplementary materials included in this article.

Supplementary Materials

Supplemental Figure S1

Apply Restore–Generative Adversarial Network (GAN) on aligned off-focused image patches. A: Off-focused image patches. B: Restore-GAN enhanced image patches. C: The best focused image patches. The off-focused patches and focused patches are generated with z-stacking. Restore-GAN successfully sharpened the nuclei border and generated like-real texture. Some regions in Restore-GAN generated patches (highlighted in orange circles) have better resolution and details than the focused ground truth image.

mmc1.pdf (3.4MB, pdf)
Supplemental Figure S2

Sparse nonnegative matrix factorization (SNMF) deconvolution, StainGAN, and wavelet deconvolution change the brownish macrophage region into another color. StainGAN was trained on the same training and validation data set as Restore-GAN-c. For color deconvolution, the stain matrix was estimated based on raw image. The image was deconvoluted based on the estimated stain matrix, and the image was reconstructed based on standard hematoxylin and eosin stain matrix.

mmc2.pdf (2MB, pdf)
Supplemental Table S1
mmc3.docx (13.6KB, docx)
Supplemental Table S2
mmc4.docx (13.4KB, docx)

Articles from The American Journal of Pathology are provided here courtesy of American Society for Investigative Pathology

RESOURCES