It is well-known that the surface roughness of materials plays an important role in the operation and performance of technological systems. The roughness influences key parameters, such as friction and wear, and is directly connected to the functionality and durability of the respective system. Tactile methods are widely used for the measurement of surface roughness, but a destructive measurement procedure and the lack of feasibility of online monitoring are crucial drawbacks. In the last decades, several non-contact, usually optical systems for surface roughness measurements have been developed, e.g., white light interferometry, light scatter analysis, or speckle correlation. These techniques are in turn often unable to assign the roughness to a certain surface area or involve inappropriate adjustment procedures. One promising and straightforward optical measurement method is the surface roughness measurement by analyzing the fringe visibility of an interferometric fringe pattern. In our work, we employed a spatial light modulator in the interferometric setup to vary the fringe visibility and provide a stable and reliable measurement system. In previous research, either the averaged fringe visibility or the fringe visibility along a defined observation profile were analyzed. In this article, the analysis of the fringe visibility is extended to generate a complete roughness map of the measurement target. Thus, surface defects or areas of different roughness can be easily located.