Image processing method and apparatus for elimination of depth artifactsпатент