Transformation of surfaces and their applications to spectral theory