Removing artefacts from DTM grid

And since that figure seems to have been made with Mirone, you can try the option “Roi Crop Tools -> Slice peaks” available after drawing a polygon around a region of interest and right-clicking on the polygon. It should work reasonably well to tear of the trees on the country fields.