Blind Inpainting with Object-aware Discrimination for Artificial Marker Removal

Xuechen Guo,Wenhao Hu,Chiming Ni,Wenhao Chai,Shiyan Li,Gaoang Wang
2024-10-31
Abstract:Medical images often incorporate doctor-added markers that can hinder AI-based diagnosis. This issue highlights the need of inpainting techniques to restore the corrupted visual contents. However, existing methods require manual mask annotation as input, limiting the application scenarios. In this paper, we propose a novel blind inpainting method that automatically reconstructs visual contents within the corrupted regions without mask input as guidance. Our model includes a blind reconstruction network and an object-aware discriminator for adversarial training. The reconstruction network contains two branches that predict corrupted regions in images and simultaneously restore the missing visual contents. Leveraging the potent recognition capability of a dense object detector, the object-aware discriminator ensures markers undetectable after inpainting. Thus, the restored images closely resemble the clean ones. We evaluate our method on three datasets of various medical imaging modalities, confirming better performance over other state-of-the-art methods.
Computer Vision and Pattern Recognition,Machine Learning,Image and Video Processing
What problem does this paper attempt to address?
The problem that this paper attempts to solve is: **How to automatically repair artificial markers (such as those added by doctors) in medical images without manually - labeled masks (mask), in order to improve the accuracy of AI - assisted diagnosis**. ### Specific problem description: 1. **Background problems**: - Medical images often contain markers added by doctors (such as cross - hairs, crosses, etc.), and these markers will interfere with AI - based lesion detection and classification. - Existing image inpainting methods usually require manually - labeled masks as input, which is not only time - consuming and labor - intensive, but also error - prone, limiting their application scenarios. 2. **Research objectives**: - Propose a new blind inpainting method that can automatically identify and repair damaged areas (i.e., markers added by doctors) in images without mask input. - By introducing an object - aware discriminator, ensure that the repaired image is as similar as possible to the original clean image, so that the repaired image no longer contains obvious markers. ### Solution overview: - **Blind reconstruction network**: This network contains two branches. One branch is used to predict the damaged areas in the image, and the other branch is used to repair the content of these areas. These two tasks are carried out simultaneously, thus eliminating the need for a specific mask. - **Object - aware discriminator**: Utilize the powerful recognition ability of dense object detectors (such as YOLOv5) to ensure that the markers in the repaired image cannot be detected, so that the repaired image is closer to the original clean image. ### Main contributions: 1. Proposed a novel end - to - end blind repair network specifically for removing artificial markers in medical images. 2. Designed a mask - free two - branch reconstruction network that can simultaneously predict marked areas and repair damaged content. 3. Introduced an object - aware discriminator to ensure that the repaired image is highly similar to the clean image. 4. Verified the effectiveness of this method on multiple medical image datasets and significantly outperformed existing blind repair methods. Through these innovations, this paper provides a more efficient and practical solution that can automatically repair markers in medical images without human intervention, thereby improving the accuracy and reliability of AI - assisted diagnosis.