NeurIPS 2026Coming to NeurIPS?Explore papers, orals & directions

Improving the Segmentation Accuracy of Ovarian-Tumor Ultrasound Images Using Image Inpainting

Lijiang Chen, Changkun Qiao, Meijing Wu, Linghan Cai, Cong Yin, Mukun Yang, Xiu‐Bo Sang, Wenpei BaiBioengineering 2023

TL;DR

This paper tackles the problem of noisy ovarian tumor ultrasound images, which are cluttered with physician-added symbols that hinder AI-based segmentation. They introduce a novel Mask-Guided Generative Adversarial Network (MGGAN) that effectively removes these symbols using Fast Fourier Convolutions and an attention mechanism, leading to significantly improved lesion segmentation accuracy.

What Problem Does This Paper Address?

Accurate segmentation of ovarian tumors from ultrasound images is crucial for diagnosis. However, clinical ultrasound images often contain various annotations—like fingers, crosses, dashed lines, and text—added by physicians to mark lesions, measure sizes, or indicate location. These symbols, especially when located within or near the tumor boundary, can confuse AI models, leading to reduced accuracy in feature extraction, classification, and segmentation. The paper highlights that while these symbols might provide some information to human experts, they are detrimental to AI models and are not present in "clean" clinical images, making direct training on annotated data problematic. The core challenge is to remove these artificial symbols without requiring a separate set of perfectly clean images, thereby improving the reliability of AI for ovarian tumor diagnosis.

Methods

The authors propose a novel framework called the Mask-Guided Generative Adversarial Network (MGGAN) for image inpainting. The MGGAN consists of a generator and a discriminator.

The generator is designed to remove symbols and reconstruct realistic image regions. Key innovations include:

  • Fast Fourier Convolutions (FFCs): These are used to expand the receptive field of the network, allowing it to capture global image context more effectively than traditional convolutions. FFCs process information in both local and global frequency domains.
  • Channel Attention Mechanism (specifically, a Squeeze-and-Excitation layer): This mechanism helps the model focus on relevant features and suppress irrelevant ones, particularly the artificial symbols, guiding the inpainting process towards more realistic results.
  • Mask-Guided Input: The network uses a generated mask to guide the inpainting process, focusing its efforts on the regions that need repair.

The discriminator works to distinguish between real and inpainted images, pushing the generator to produce highly realistic outputs.

The paper also details a specific mask generation strategy during training, which involves creating random, irregular masks outside the symbolic regions to better simulate real-world scenarios and improve the model's generalization.

Datasets

  • MMOTU dataset: This is a publicly available dataset of 2D ovarian ultrasound images used as the base for creating their custom dataset.
  • 2D Ovarian-Tumor Ultrasound Image Inpainting Dataset: This is a newly created dataset by the authors. They took images from the MMOTU dataset and meticulously annotated the various symbols (fingers, crosses, dashed lines, letters, numbers, yellow lines) to generate corresponding masks. This dataset contains 1469 annotated images.

Key Insights and Ideas

  • Symbols are detrimental to AI segmentation: Despite their utility for human interpretation, artificial symbols in medical images significantly degrade the performance of AI models for tasks like lesion segmentation.
  • Inpainting as a pre-processing step is crucial: Removing these symbols via image inpainting is essential for reliable AI-assisted diagnosis.
  • FFCs capture global context effectively: Fast Fourier Convolutions are a powerful tool for enhancing the receptive field and capturing global image structures, which is vital for realistic inpainting.
  • Attention mechanisms refine focus: Channel attention helps the model prioritize genuine image features over artificial symbols, leading to more accurate reconstructions.
  • Mask generation matters: The way masks are generated during training significantly impacts the inpainting quality and the model's ability to handle irregular corrupted regions.

Key Results

  • Superior Inpainting Performance: The proposed MGGAN model achieved state-of-the-art results on their inpainting dataset, outperforming several robust baselines (PC, GL, DF1, DF2, LaMa) in terms of SSIM, FID, and LPIPS metrics.
  • At 256x256 resolution: SSIM of 0.9246, FID of 22.66, LPIPS of 0.07806.
  • At 512x512 resolution: SSIM of 0.9208, FID of 25.52, LPIPS of 0.08300.
  • Significant Segmentation Improvement: Using the inpainted images for training segmentation models (Unet and PSPnet) led to substantial accuracy gains on clean test images:
  • Unet: Accuracy improved from 71.51% to 76.06%.
  • PSPnet: Accuracy improved from 61.13% to 66.65%.
  • Qualitative Results: The MGGAN successfully removed symbols, reconstructed lesion boundaries realistically, and maintained texture and structure, producing visually superior results compared to other methods.

Limitations and Future Work

  • Ground Truth Segmentation: The study acknowledges that their current work did not use ground truth segmentation masks for the inpainting dataset, which could further improve the similarity of lesion boundaries in inpainted images.
  • Edge Information: The authors suggest future work could explore incorporating edge information of the lesion into the model to make boundaries even more similar to the original image.
  • Generalization to Other Modalities: They propose extending their model to other medical imaging modalities like CT and MRI.

Summary updated

BibTeX
@inproceedings{chen2023improving,
  author = {Lijiang Chen and Changkun Qiao and Meijing Wu and Linghan Cai and Cong Yin and Mukun Yang and Xiu‐Bo Sang and Wenpei Bai},
  title = {{Improving the Segmentation Accuracy of Ovarian-Tumor Ultrasound Images Using Image Inpainting}},
  booktitle = {Bioengineering},
  year = {2023},
  doi = {10.3390/bioengineering10020184},
}
Figure