Wolfram Language & System 10.0 (2014)|Legacy Documentation

This is documentation for an earlier version of the Wolfram Language.View current documentation (Version 11.2)

Foreground Separation and Removal

Foreground and background of an image can be nicely separated if one major dominant color is used.

Find the dominant color of the fence to be removed.
In[4]:=
Click for copyable input
Out[5]=
Separate the green fence from the scene behind it using RemoveBackground.
In[6]:=
Click for copyable input
Out[7]=
Remove the fence using Inpaint.
In[8]:=
Click for copyable input
Out[8]=
In[40]:=
Click for copyable input