Interfaces between different materials and phases play a crucial role in many physical and chemical phenomena. When performing simulations of matter at the atomic scale, however, it is often not trivial to characterize these interfaces, particularly when they are rough or diffuse. Here we discuss a generalization of a construction, due to Willard and Chandler, that allows one to obtain a smooth dividing surface that follows the irregular, ever changing shape of these fluctuating interfaces. We show how this construction can be used to study the surface that separates a solid material from its melt and how analyses of the Fourier modes for the capillary fluctuations of this instantaneous dividing surface can be performed. This particular analysis is useful as one can compute the specific free energy excess of the interface, and its dependence on orientation relative to the bulk phases, from the average amplitude of the Fourier modes. We therefore discuss the efficiency of this approach, both in terms of system size and statistical sampling.