Artifact Removal and Image Restoration in AFM:A Structured Mask-Guided Directional Inpainting Approach
Juntao Zhang, Angona Biswas, Jaydeep Rade, Charchit Shukla, Juan Ren, Anwesha Sarkar, Adarsh Krishnamurthy, Aditya Balu

TL;DR
This paper introduces a fully automated, lightweight framework for detecting, segmenting, and restoring artifacts in AFM images, enhancing image quality while preserving nanoscale details through a structured directional inpainting approach.
Contribution
The authors propose a novel, integrated pipeline combining artifact detection, custom segmentation, adaptive mask expansion, and directional inpainting tailored for AFM images, improving restoration accuracy.
Findings
Effective artifact removal demonstrated on AFM data.
Preserves nanoscale surface details during restoration.
Supports real-time processing and batch analysis.
Abstract
Atomic Force Microscopy (AFM) enables high-resolution surface imaging at the nanoscale, yet the output is often degraded by artifacts introduced by environmental noise, scanning imperfections, and tip-sample interactions. To address this challenge, a lightweight and fully automated framework for artifact detection and restoration in AFM image analysis is presented. The pipeline begins with a classification model that determines whether an AFM image contains artifacts. If necessary, a lightweight semantic segmentation network, custom-designed and trained on AFM data, is applied to generate precise artifact masks. These masks are adaptively expanded based on their structural orientation and then inpainted using a directional neighbor-based interpolation strategy to preserve 3D surface continuity. A localized Gaussian smoothing operation is then applied for seamless restoration. The system…
Peer Reviews
No public reviews on file for this paper yet. If you reviewed it on a platform where reviews are public (OpenReview, ICLR, NeurIPS, ICML), you can paste yours below so the community can read it here.
Videos
No videos yet. Explain this paper in a talk, walkthrough, or lecture? Add one.
Taxonomy
TopicsForce Microscopy Techniques and Applications · Piezoelectric Actuators and Control · Image Processing Techniques and Applications
