We show that a near-field scanning thermal microscope, which essentially
detects the local density of states of the thermally excited electromagnetic
modes at nanometer distances from some material, can be employed for nanoscale
imaging of structures on that material's surface. This finding is explained
theoretically by an approach which treats the surface structure perturbatively