Blending trees with their background using a painting brush