A new version of anisotropic kernel based on bilateral filering