The trilateral filter for high contrast images and meshes | Synapse