Related Experiment Video
Updated: Feb 11, 2026

Bacterial Immobilization for Imaging by Atomic Force Microscopy
Published on: August 10, 2011
Automated image segmentation-assisted flattening of atomic force microscopy images
Yuliang Wang1,2, Tongda Lu1, Xiaolai Li1
1School of Mechanical Engineering and Automation, Beihang University, Beijing 100191, P.R. China.
Abstract:
Atomic force microscopy (AFM) images normally exhibit various artifacts. As a result, image flattening is required prior to image analysis. To obtain optimized flattening results, foreground features are generally manually excluded using rectangular masks in image flattening, which is time consuming and inaccurate. In this study, a two-step scheme was proposed to achieve optimized image flattening in an automated manner. In the first step, the convex and concave features in the foreground were automatically segmented with accurate boundary detection. The extracted foreground features were taken as exclusion masks. In the second step, data points in the background were fitted as polynomial curves/surfaces, which were then subtracted from raw images to get the flattened images. Moreover, sliding-window-based polynomial fitting was proposed to process images with complex background trends. The working principle of the two-step image flattening scheme were presented, followed by the investigation of the influence of a sliding-window size and polynomial fitting direction on the flattened images. Additionally, the role of image flattening on the morphological characterization and segmentation of AFM images were verified with the proposed method.
Related Concept Videos
Atomic Force Microscopy
The AFM Probe
The probe is regarded as the heart of any AFM setup and comprises the...
Imaging Biological Samples with Optical Microscopy
In optical microscopy, the specimen to be viewed is placed on a glass slide and clipped on the stage...
Atomic Orbitals
Intermolecular Forces
The Energies of Atomic Orbitals
Intermolecular vs Intramolecular Forces

