add bilateral filtering