Atomic Force Microscopy (AFM) is a suitable tool to perform tribological characterization of materials down to the nanometer scale. An important aspect in nanofriction measurements of corrugated samples is the local tilt of the surface, which affects the lateral force maps acquired with the AFM. This is one of the most important problems of state-of-the-art nanotribology, making difficult a reliable and quantitative characterization of real corrugated surfaces. A correction of topographic spurio...